Lines Matching refs:fc
524 u16 status, fc; in hostap_dump_rx_header() local
534 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
537 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_rx_header()
538 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_rx_header()
541 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_rx_header()
542 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_rx_header()
555 u16 fc; in hostap_dump_tx_header() local
562 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header()
565 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_tx_header()
566 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_tx_header()
569 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_tx_header()
570 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_tx_header()
589 int hostap_80211_get_hdrlen(__le16 fc) in hostap_80211_get_hdrlen() argument
591 if (ieee80211_is_data(fc) && ieee80211_has_a4 (fc)) in hostap_80211_get_hdrlen()
593 else if (ieee80211_is_cts(fc) || ieee80211_is_ack(fc)) in hostap_80211_get_hdrlen()
595 else if (ieee80211_is_ctl(fc)) in hostap_80211_get_hdrlen()