| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | ieee80211.h | 489 __le16 frame_control; member 499 __le16 frame_control; member 508 __le16 frame_control; member 537 __le16 frame_control; member 626 __le16 frame_control; member 632 __le16 frame_control; member 712 __le16 frame_control; member 1118 fc = mgmt->frame_control; in ieee80211_is_bufferable_mmpdu() 1236 if (ieee80211_has_a4(hdr->frame_control)) in ieee80211_get_SA() 1238 if (ieee80211_has_fromds(hdr->frame_control)) in ieee80211_get_SA() [all …]
|
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | rx.c | 19 if (!ieee80211_is_data(hdr->frame_control)) in rtw_rx_stats() 53 if (ieee80211_is_beacon(hdr->frame_control)) in rtw_rx_phy_stat() 117 ieee80211_is_beacon(hdr->frame_control))) in rtw_rx_addr_match_iter() 137 ieee80211_is_ctl(hdr->frame_control)) in rtw_rx_addr_match() 168 if (ieee80211_is_beacon(mgmt->frame_control)) { in rtw_update_rx_freq_from_ie() 172 } else if (ieee80211_is_probe_resp(mgmt->frame_control)) { in rtw_update_rx_freq_from_ie()
|
| H A D | util.h | 30 __le16 fc = hdr->frame_control; in get_hdr_bssid()
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | tx.c | 212 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mld_get_offload_assist() 296 else if (ieee80211_hdrlen(hdr->frame_control) % 4) in iwl_mld_get_offload_assist() 499 memcpy(tx_cmd->hdr, hdr, ieee80211_hdrlen(hdr->frame_control)); in iwl_mld_fill_tx_cmd_hdr() 538 bool amsdu = ieee80211_is_data_qos(hdr->frame_control) && in iwl_mld_fill_tx_cmd() 557 hdr->frame_control); in iwl_mld_fill_tx_cmd() 558 } else if (!ieee80211_is_data(hdr->frame_control) || in iwl_mld_fill_tx_cmd() 604 __le16 fc = hdr->frame_control; in iwl_mld_get_tx_queue_id() 739 if (unlikely(ieee80211_is_any_nullfunc(hdr->frame_control))) in iwl_mld_tx_mpdu() 746 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control))) { in iwl_mld_tx_mpdu() 755 if (ieee80211_is_data(hdr->frame_control)) { in iwl_mld_tx_mpdu() [all …]
|
| H A D | rx.c | 67 if (queue == 0 || !ieee80211_is_data(hdr->frame_control) || in iwl_mld_check_pn() 83 extiv = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in iwl_mld_check_pn() 90 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mld_check_pn() 147 if (likely(!ieee80211_is_beacon(hdr->frame_control))) in iwl_mld_used_average_energy() 1419 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mld_build_rx_skb() 1525 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mld_is_dup() 1526 ieee80211_is_any_nullfunc(hdr->frame_control) || in iwl_mld_is_dup() 1530 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mld_is_dup() 1550 if (unlikely(ieee80211_has_retry(hdr->frame_control) && in iwl_mld_is_dup() 1641 if (ieee80211_is_data(hdr->frame_control) && in iwl_mld_rx_with_sta() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | tx.c | 50 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_csum() 140 else if (ieee80211_hdrlen(hdr->frame_control) % 4) in iwl_mvm_tx_csum() 155 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd() 525 if (likely(ieee80211_is_data(hdr->frame_control) && in iwl_mvm_use_host_rate() 576 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_set_tx_params() 595 hdr->frame_control); in iwl_mvm_set_tx_params() 596 } else if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_set_tx_params() 644 iwl_mvm_set_tx_cmd_rate(mvm, &tx_cmd->params, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params() 670 __le16 fc = hdr->frame_control; in iwl_mvm_get_ctrl_vif_queue() 776 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_skb_non_sta() [all …]
|
| H A D | rxmq.c | 32 if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_check_pn() 57 extiv = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_check_pn() 64 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mvm_check_pn() 101 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_create_skb() 264 if (likely(!ieee80211_is_beacon(hdr->frame_control))) in iwl_mvm_used_average_energy() 351 if (!ieee80211_is_beacon(hdr->frame_control)) in iwl_mvm_rx_mgmt_prot() 439 if (unlikely(ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_rx_crypto() 440 !ieee80211_has_protected(hdr->frame_control))) in iwl_mvm_rx_crypto() 443 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_rx_crypto() 586 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mvm_is_dup() [all …]
|
| H A D | rx.c | 53 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_pass_packet_to_mac80211() 145 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_set_mac80211_rx_flag() 221 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_rx_handle_tcm() 398 ieee80211_has_protected(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu() 444 if (trig && ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu() 462 ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu() 466 if (ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu() 540 if (unlikely((ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu() 541 ieee80211_is_probe_resp(hdr->frame_control)) && in iwl_mvm_rx_rx_mpdu() 545 if (unlikely(ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu() [all …]
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver_hostap.c | 71 fc = le_to_host16(hdr->frame_control); in handle_data() 127 fc = le_to_host16(hdr->frame_control); in handle_tx_callback() 157 fc = le_to_host16(hdr->frame_control); in handle_frame() 274 hdr->frame_control |= host_to_le16(BIT(1)); in hostap_send_mlme() 276 hdr->frame_control &= ~host_to_le16(BIT(1)); in hostap_send_mlme() 300 hdr->frame_control = in hostap_send_eapol() 302 hdr->frame_control |= host_to_le16(WLAN_FC_FROMDS); in hostap_send_eapol() 304 hdr->frame_control |= host_to_le16(WLAN_FC_ISWEP); in hostap_send_eapol() 1051 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in hostap_sta_deauth() 1089 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in hostap_sta_disassoc() [all …]
|
| H A D | driver_nl80211_monitor.c | 33 fc = le_to_host16(hdr->frame_control); in handle_tx_callback() 56 fc = le_to_host16(hdr->frame_control); in from_unknown_sta() 78 fc = le_to_host16(hdr->frame_control); in handle_frame()
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/cyw/ |
| H A D | core.c | 124 if (!ieee80211_is_auth(mgmt->frame_control)) in brcmf_cyw_mgmt_tx() 143 mf_params->frame_control = mgmt->frame_control; in brcmf_cyw_mgmt_tx() 165 le16_to_cpu(mf_params->frame_control), in brcmf_cyw_mgmt_tx() 307 mgmt_frame->frame_control = cpu_to_le16(IEEE80211_STYPE_AUTH); in brcmf_notify_auth_frame_rx()
|
| H A D | fwil_types.h | 78 __le16 frame_control; member
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | htt_tx.c | 1173 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid() 1204 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_mgmt_tx() 1205 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_mgmt_tx() 1206 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_mgmt_tx() 1207 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_mgmt_tx() 1289 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_hl() 1290 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_tx_hl() 1291 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_tx_hl() 1292 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_tx_hl() 1425 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_32() [all …]
|
| H A D | htt_rx.c | 1356 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_get_tid() 1430 int len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_nwifi_hdrlen() 1508 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw() 1511 if (ieee80211_is_data_qos(hdr->frame_control)) { in ath10k_htt_rx_h_undecap_raw() 1565 !ieee80211_has_morefrags(hdr->frame_control) && in ath10k_htt_rx_h_undecap_raw() 1571 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw() 1647 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_nwifi() 1719 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_find_rfc1042() 1790 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_eth() 1860 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_snap() [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | util.h | 52 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata() 54 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata()
|
| H A D | mt76_connac_mac.c | 410 __le16 fc = hdr->frame_control; in mt76_connac2_mac_write_txwi_80211() 422 } else if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211() 470 if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211() 587 bool multicast = ieee80211_is_data(hdr->frame_control) && in mt76_connac2_mac_write_txwi() 962 u16 frame_control; in mt76_connac2_reverse_frag0_hdr_trans() local 974 frame_control = le32_get_bits(rxd[6], MT_RXD6_FRAME_CONTROL); in mt76_connac2_reverse_frag0_hdr_trans() 975 hdr.frame_control = cpu_to_le16(frame_control); in mt76_connac2_reverse_frag0_hdr_trans() 981 switch (frame_control & (IEEE80211_FCTL_TODS | in mt76_connac2_reverse_frag0_hdr_trans() 1009 if (ieee80211_has_order(hdr.frame_control)) in mt76_connac2_reverse_frag0_hdr_trans() 1012 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt76_connac2_reverse_frag0_hdr_trans() [all …]
|
| H A D | tx.c | 25 if (!sta || !ieee80211_is_data_qos(hdr->frame_control) || in mt76_tx_check_agg_ssn() 26 !ieee80211_is_data_present(hdr->frame_control)) in mt76_tx_check_agg_ssn() 142 ieee80211_is_data(hdr->frame_control))) in mt76_tx_status_skb_add() 354 ieee80211_is_probe_req(hdr->frame_control))) in mt76_tx() 619 !ieee80211_is_data(hdr->frame_control) && in mt76_txq_schedule_pending_wcid() 621 ieee80211_is_deauth(hdr->frame_control) || in mt76_txq_schedule_pending_wcid()
|
| H A D | mac80211.c | 1303 if (ieee80211_is_beacon(hdr->frame_control) || in mt76_rx_convert() 1304 ieee80211_is_probe_resp(hdr->frame_control)) in mt76_rx_convert() 1361 if (ieee80211_is_mgmt(hdr->frame_control) && in mt76_check_ccmp_pn() 1362 !ieee80211_has_tods(hdr->frame_control)) in mt76_check_ccmp_pn() 1483 if (ieee80211_is_pspoll(hdr->frame_control) && !wcid && in mt76_check_sta() 1508 if (ieee80211_is_pspoll(hdr->frame_control)) { in mt76_check_sta() 1513 if (ieee80211_has_morefrags(hdr->frame_control) || in mt76_check_sta() 1514 !(ieee80211_is_mgmt(hdr->frame_control) || in mt76_check_sta() 1515 ieee80211_is_data(hdr->frame_control))) in mt76_check_sta() 1518 ps = ieee80211_has_pm(hdr->frame_control); in mt76_check_sta() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | dp_mon.h | 48 __le16 frame_control; member 59 __le16 frame_control; member
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | mac.c | 178 u16 frame_control; in mt7925_reverse_frag0_hdr_trans() local 194 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7925_reverse_frag0_hdr_trans() 195 hdr.frame_control = cpu_to_le16(frame_control); in mt7925_reverse_frag0_hdr_trans() 201 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7925_reverse_frag0_hdr_trans() 229 if (ieee80211_has_order(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans() 232 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7925_reverse_frag0_hdr_trans() 240 if (ieee80211_has_a4(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans() 586 fc = hdr->frame_control; in mt7925_mac_fill_rx() 666 __le16 fc = hdr->frame_control; in mt7925_mac_write_txwi_80211() 674 else if (ieee80211_is_mgmt(hdr->frame_control)) in mt7925_mac_write_txwi_80211() [all …]
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
| H A D | mac.c | 243 u16 frame_control; in mt7996_reverse_frag0_hdr_trans() local 262 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7996_reverse_frag0_hdr_trans() 263 hdr.frame_control = cpu_to_le16(frame_control); in mt7996_reverse_frag0_hdr_trans() 269 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7996_reverse_frag0_hdr_trans() 297 if (ieee80211_has_order(hdr.frame_control)) in mt7996_reverse_frag0_hdr_trans() 300 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7996_reverse_frag0_hdr_trans() 308 if (ieee80211_has_a4(hdr.frame_control)) in mt7996_reverse_frag0_hdr_trans() 706 fc = hdr->frame_control; in mt7996_mac_fill_rx() 800 __le16 fc = hdr->frame_control, sc = hdr->seq_ctrl; in mt7996_mac_write_txwi_80211() 815 } else if (ieee80211_is_mgmt(hdr->frame_control)) { in mt7996_mac_write_txwi_80211() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/mld/tests/ |
| H A D | rx.c | 299 hdr->frame_control = param->rx_pkt.fc; in setup_rx_pkt() 302 if (ieee80211_is_data_qos(hdr->frame_control)) { in setup_rx_pkt()
|
| H A D | agg.c | 507 .frame_control = cpu_to_le16(fc), in alloc_and_setup_skb() 515 if (ieee80211_is_data_qos(hdr.frame_control)) { in alloc_and_setup_skb() 525 skb_put_data(skb, &hdr, ieee80211_hdrlen(hdr.frame_control)); in alloc_and_setup_skb()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | dma.c | 57 if (ieee80211_is_data_qos(hdr->frame_control)) { in mt7603_rx_loopback_skb() 63 } else if (ieee80211_is_data(hdr->frame_control)) { in mt7603_rx_loopback_skb()
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | wnm_ap.c | 167 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_wnmsleep_resp() 403 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_bss_trans_mgmt_request() 852 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in wnm_send_disassoc_imminent() 919 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in wnm_send_ess_disassoc_imminent() 979 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in wnm_send_bss_tm_req() 1072 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in wnm_send_coloc_intf_req()
|