Home
last modified time | relevance | path

Searched refs:frame_control (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dieee80211.h452 __le16 frame_control;
462 __le16 frame_control;
471 __le16 frame_control;
500 __le16 frame_control;
572 __le16 frame_control;
578 __le16 frame_control;
658 __le16 frame_control;
1047 fc = mgmt->frame_control;
1150 if (ieee80211_has_a4(hdr->frame_control)) in ieee80211_is_frag()
1152 if (ieee80211_has_fromds(hdr->frame_control)) in ieee80211_is_frag()
450 __le16 frame_control; global() member
460 __le16 frame_control; global() member
469 __le16 frame_control; global() member
493 __le16 frame_control; global() member
565 __le16 frame_control; global() member
571 __le16 frame_control; global() member
649 __le16 frame_control; global() member
[all...]
/freebsd/sys/contrib/dev/rtw88/
H A Drx.c19 if (!ieee80211_is_data(hdr->frame_control)) in rtw_rx_stats()
53 if (ieee80211_is_beacon(hdr->frame_control)) in rtw_rx_phy_stat()
111 ieee80211_is_beacon(hdr->frame_control))) in rtw_rx_addr_match_iter()
131 ieee80211_is_ctl(hdr->frame_control)) in rtw_rx_addr_match()
H A Dutil.h30 __le16 fc = hdr->frame_control; in get_hdr_bssid()
H A Dtx.c20 if (!ieee80211_is_data(hdr->frame_control)) in rtw_tx_stats()
426 __le16 fc = hdr->frame_control; in rtw_tx_pkt_info_update()
761 __le16 fc = hdr->frame_control; in rtw_tx_queue_mapping()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Drxmq.c32 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()
299 if (!ieee80211_is_beacon(hdr->frame_control)) in iwl_mvm_rx_mgmt_prot()
383 if (unlikely(ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_rx_crypto()
384 !ieee80211_has_protected(hdr->frame_control))) in iwl_mvm_rx_crypto()
387 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_rx_crypto()
530 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mvm_is_dup()
531 ieee80211_is_any_nullfunc(hdr->frame_control) || in iwl_mvm_is_dup()
[all...]
H A Dtx.c49 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_csum()
139 else if (ieee80211_hdrlen(hdr->frame_control) % 4) in iwl_mvm_tx_csum()
154 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd()
534 if (likely(ieee80211_is_data(hdr->frame_control) && in iwl_mvm_set_tx_params()
585 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_set_tx_params()
604 hdr->frame_control); in iwl_mvm_skb_prepare_status()
605 } else if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_skb_prepare_status()
653 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_get_ctrl_vif_queue()
679 __le16 fc = hdr->frame_control; in iwl_mvm_probe_resp_set_noa()
785 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_skb_non_sta()
1520 iwl_mvm_tx_status_check_trigger(struct iwl_mvm * mvm,u32 status,__le16 frame_control) iwl_mvm_tx_status_check_trigger() argument
[all...]
H A Drx.c53 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 Ddriver_hostap.c71 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 Ddriver_nl80211_monitor.c33 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/athk/ath10k/
H A Dhtt_tx.c1175 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid()
1206 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_mgmt_tx()
1207 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_mgmt_tx()
1208 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_mgmt_tx()
1209 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_mgmt_tx()
1291 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_hl()
1292 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_tx_hl()
1293 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_tx_hl()
1294 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_tx_hl()
1427 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_32()
[all …]
H A Dhtt_rx.c1354 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_get_tid()
1428 int len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_nwifi_hdrlen()
1506 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw()
1509 if (ieee80211_is_data_qos(hdr->frame_control)) { in ath10k_htt_rx_h_undecap_raw()
1563 !ieee80211_has_morefrags(hdr->frame_control) && in ath10k_htt_rx_h_undecap_raw()
1569 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw()
1645 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_nwifi()
1716 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_find_rfc1042()
1787 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_eth()
1856 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_snap()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Ddp_mon.h45 __le16 frame_control; member
56 __le16 frame_control; member
H A Ddp_tx.c32 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath12k_dp_tx_encap_nwifi()
45 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); in ath12k_dp_tx_encap_nwifi()
55 else if (!ieee80211_is_data_qos(hdr->frame_control)) in ath12k_dp_tx_get_tid()
158 !ieee80211_is_data(hdr->frame_control)) in ath12k_dp_tx()
194 if (ieee80211_has_protected(hdr->frame_control)) in ath12k_dp_tx()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dutil.h150 hdr->frame_control &= ~val; in mt76_skb_set_moredata()
152 hdr->frame_control |= val; in mt76_skb_set_moredata()
H A Dmt76_connac_mac.c406 __le16 fc = hdr->frame_control; in mt76_connac2_mac_write_txwi_80211()
417 } else if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
458 if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
575 bool multicast = ieee80211_is_data(hdr->frame_control) && in mt76_connac2_mac_write_txwi()
944 u16 frame_control; in mt76_connac2_reverse_frag0_hdr_trans() local
956 frame_control = le32_get_bits(rxd[6], MT_RXD6_FRAME_CONTROL); in mt76_connac2_reverse_frag0_hdr_trans()
957 hdr.frame_control = cpu_to_le16(frame_control); in mt76_connac2_reverse_frag0_hdr_trans()
963 switch (frame_control & (IEEE80211_FCTL_TODS | in mt76_connac2_reverse_frag0_hdr_trans()
991 if (ieee80211_has_order(hdr.frame_control)) in mt76_connac2_reverse_frag0_hdr_trans()
994 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt76_connac2_reverse_frag0_hdr_trans()
[all …]
H A Dmac80211.c1123 if (ieee80211_is_beacon(hdr->frame_control) || in mt76_rx_convert()
1124 ieee80211_is_probe_resp(hdr->frame_control)) in mt76_rx_convert()
1166 !ieee80211_is_first_frag(hdr->frame_control)) in mt76_check_ccmp_pn()
1176 if (ieee80211_is_mgmt(hdr->frame_control) && in mt76_check_ccmp_pn()
1177 !ieee80211_has_tods(hdr->frame_control)) in mt76_check_ccmp_pn()
1298 if (ieee80211_is_pspoll(hdr->frame_control) && !wcid && in mt76_check_sta()
1323 if (ieee80211_is_pspoll(hdr->frame_control)) { in mt76_check_sta()
1328 if (ieee80211_has_morefrags(hdr->frame_control) || in mt76_check_sta()
1329 !(ieee80211_is_mgmt(hdr->frame_control) || in mt76_check_sta()
1330 ieee80211_is_data(hdr->frame_control))) in mt76_check_sta()
[all …]
H A Dagg-rx.c128 if (!ieee80211_is_ctl(bar->frame_control)) in mt76_rx_aggr_check_ctl()
131 if (!ieee80211_is_back_req(bar->frame_control)) in mt76_rx_aggr_check_ctl()
H A Dtx.c25 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()
141 ieee80211_is_data(hdr->frame_control))) in mt76_tx_status_skb_add()
350 !ieee80211_is_data(hdr->frame_control) && in mt76_tx()
H A Dmt792x_mac.c186 if (!ieee80211_is_assoc_resp(hdr->frame_control) && in mt792x_mac_assoc_rssi()
187 !ieee80211_is_auth(hdr->frame_control)) in mt792x_mac_assoc_rssi()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmac.c275 u16 frame_control; in mt7996_reverse_frag0_hdr_trans() local
291 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7996_reverse_frag0_hdr_trans()
292 hdr.frame_control = cpu_to_le16(frame_control); in mt7996_reverse_frag0_hdr_trans()
298 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7996_reverse_frag0_hdr_trans()
326 if (ieee80211_has_order(hdr.frame_control)) in mt7996_reverse_frag0_hdr_trans()
329 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7996_reverse_frag0_hdr_trans()
337 if (ieee80211_has_a4(hdr.frame_control)) in mt7996_reverse_frag0_hdr_trans()
696 fc = hdr->frame_control; in mt7996_mac_fill_rx()
772 __le16 fc = hdr->frame_control; in mt7996_mac_write_txwi_80211()
780 else if (ieee80211_is_mgmt(hdr->frame_control)) in mt7996_mac_write_txwi_80211()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dwnm_ap.c167 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()
/freebsd/sys/contrib/dev/athk/
H A Dmain.c70 return ieee80211_is_beacon(hdr->frame_control) && in ath_is_mybeacon()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmac.c264 u16 frame_control; in mt7615_reverse_frag0_hdr_trans() local
280 frame_control = le32_get_bits(rxd[4], MT_RXD4_FRAME_CONTROL); in mt7615_reverse_frag0_hdr_trans()
281 hdr.frame_control = cpu_to_le16(frame_control); in mt7615_reverse_frag0_hdr_trans()
287 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7615_reverse_frag0_hdr_trans()
315 if (ieee80211_has_order(hdr.frame_control)) in mt7615_reverse_frag0_hdr_trans()
319 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7615_reverse_frag0_hdr_trans()
327 if (ieee80211_has_a4(hdr.frame_control)) in mt7615_reverse_frag0_hdr_trans()
642 fc = hdr->frame_control; in mt7615_mac_fill_rx()
735 __le16 fc = hdr->frame_control; in mt7615_mac_write_txwi()
852 if (ieee80211_is_back_req(hdr->frame_control)) { in mt7615_mac_write_txwi()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddp_tx.c35 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath11k_dp_tx_encap_nwifi()
48 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); in ath11k_dp_tx_encap_nwifi()
58 else if (!ieee80211_is_data_qos(hdr->frame_control)) in ath11k_dp_tx_get_tid()
113 !ieee80211_is_data(hdr->frame_control))) in ath11k_dp_tx()
152 if (ieee80211_has_a4(hdr->frame_control) && in ath11k_dp_tx()
166 if (ieee80211_has_protected(hdr->frame_control)) in ath11k_dp_tx()
H A Dhal_rx.h90 u16 frame_control; member
162 u16 frame_control; member

1234