Lines Matching refs:fc
976 u16 fc; in prism2_send_mgmt() local
999 fc = type_subtype; in prism2_send_mgmt()
1013 fc |= IEEE80211_FCTL_FROMDS; in prism2_send_mgmt()
1025 hdr->frame_control = cpu_to_le16(fc); in prism2_send_mgmt()
2205 u16 fc, type, stype; in handle_ap_item() local
2211 fc = le16_to_cpu(hdr->frame_control); in handle_ap_item()
2212 type = fc & IEEE80211_FCTL_FTYPE; in handle_ap_item()
2213 stype = fc & IEEE80211_FCTL_STYPE; in handle_ap_item()
2219 if (!(fc & IEEE80211_FCTL_TODS) || in handle_ap_item()
2220 (fc & IEEE80211_FCTL_FROMDS)) { in handle_ap_item()
2229 fc); in handle_ap_item()
2962 u16 fc; in hostap_update_sta_ps() local
2973 fc = le16_to_cpu(hdr->frame_control); in hostap_update_sta_ps()
2974 hostap_update_sta_ps2(local, sta, fc & IEEE80211_FCTL_PM, in hostap_update_sta_ps()
2975 fc & IEEE80211_FCTL_FTYPE, in hostap_update_sta_ps()
2976 fc & IEEE80211_FCTL_STYPE); in hostap_update_sta_ps()
2992 u16 fc, type, stype; in hostap_handle_sta_rx() local
3000 fc = le16_to_cpu(hdr->frame_control); in hostap_handle_sta_rx()
3001 type = fc & IEEE80211_FCTL_FTYPE; in hostap_handle_sta_rx()
3002 stype = fc & IEEE80211_FCTL_STYPE; in hostap_handle_sta_rx()
3016 if (fc & IEEE80211_FCTL_TODS) { in hostap_handle_sta_rx()
3034 } else if (fc & IEEE80211_FCTL_FROMDS) { in hostap_handle_sta_rx()
3088 hostap_update_sta_ps2(local, sta, fc & IEEE80211_FCTL_PM, in hostap_handle_sta_rx()
3097 fc & IEEE80211_FCTL_TODS) { in hostap_handle_sta_rx()