Lines Matching refs:fc
23 u16 fc; in hostap_dump_tx_80211() local
33 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
35 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2, in hostap_dump_tx_80211()
36 (fc & IEEE80211_FCTL_STYPE) >> 4, in hostap_dump_tx_80211()
37 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "", in hostap_dump_tx_80211()
38 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : ""); in hostap_dump_tx_80211()
67 u16 fc, ethertype = 0; in hostap_data_start_xmit() local
139 fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA; in hostap_data_start_xmit()
152 fc |= IEEE80211_FCTL_FROMDS | IEEE80211_FCTL_TODS; in hostap_data_start_xmit()
161 fc |= IEEE80211_FCTL_TODS; in hostap_data_start_xmit()
187 fc |= IEEE80211_FCTL_FROMDS; in hostap_data_start_xmit()
194 fc |= IEEE80211_FCTL_TODS; in hostap_data_start_xmit()
209 hdr.frame_control = cpu_to_le16(fc); in hostap_data_start_xmit()
275 u16 fc; in hostap_mgmt_start_xmit() local
297 fc = le16_to_cpu(hdr->frame_control); in hostap_mgmt_start_xmit()
299 (fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_DATA) { in hostap_mgmt_start_xmit()
387 u16 fc; in hostap_master_start_xmit() local
436 fc = le16_to_cpu(hdr->frame_control); in hostap_master_start_xmit()
471 if (((fc & IEEE80211_FCTL_VERS) == BIT(1)) && in hostap_master_start_xmit()
476 fc &= ~IEEE80211_FCTL_VERS; in hostap_master_start_xmit()
477 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit()
486 !(fc & IEEE80211_FCTL_PROTECTED)) { in hostap_master_start_xmit()
500 fc |= IEEE80211_FCTL_PROTECTED; in hostap_master_start_xmit()
501 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit()