Home
last modified time | relevance | path

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

1234567

/linux/net/mac80211/
H A Drx.c66 fc = hdr->frame_control; in ieee80211_clean_skb()
79 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_ORDER); in ieee80211_clean_skb()
110 if (ieee80211_is_ctl(hdr->frame_control) && in should_drop_frame()
111 !ieee80211_is_pspoll(hdr->frame_control) && in should_drop_frame()
112 !ieee80211_is_back_req(hdr->frame_control)) in should_drop_frame()
288 if (!ieee80211_is_action(action.hdr.frame_control)) in ieee80211_handle_mu_mimo_mon()
991 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_parse_qos()
1014 if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_parse_qos()
1094 !ieee80211_is_beacon(hdr->frame_control)) in ieee80211_get_mmie_keyidx()
1116 __le16 fc = hdr->frame_control; in ieee80211_get_keyid()
[all …]
H A Dwep.c74 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_wep_add_iv()
79 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_add_iv()
100 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_remove_iv()
204 if (!ieee80211_has_protected(hdr->frame_control)) in ieee80211_wep_decrypt()
207 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_decrypt()
247 __le16 fc = hdr->frame_control; in ieee80211_crypto_wep_decrypt()
H A Dwme.c132 if (!ieee80211_is_data(hdr->frame_control)) { in ieee80211_select_queue_80211()
136 if (!ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_select_queue_80211()
202 if (!ieee80211_is_data_qos(hdr->frame_control)) in ieee80211_set_qos_hdr()
241 if (!ieee80211_is_qos_nullfunc(hdr->frame_control)) in ieee80211_set_qos_hdr()
H A Dtx.c92 if (ieee80211_is_ctl(hdr->frame_control)) { in ieee80211_duration()
168 if (ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_duration()
282 !ieee80211_is_probe_req(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
283 !ieee80211_is_any_nullfunc(hdr->frame_control)) in ieee80211_tx_h_check_assoc()
305 ieee80211_is_data(hdr->frame_control))) { in ieee80211_tx_h_check_assoc()
314 } else if (unlikely(ieee80211_is_data(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
407 if (ieee80211_has_order(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
410 if (ieee80211_is_probe_req(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
474 if (ieee80211_is_mgmt(hdr->frame_control) && in ieee80211_tx_h_unicast_ps_buf()
582 else if (ieee80211_is_mgmt(hdr->frame_control) && in ieee80211_select_link_key()
[all …]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dtxrx.c350 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb()
407 if (ieee80211_is_beacon(hdr->frame_control) || in wcn36xx_rx_skb()
408 ieee80211_is_probe_resp(hdr->frame_control)) in wcn36xx_rx_skb()
413 if (ieee80211_is_beacon(hdr->frame_control)) { in wcn36xx_rx_skb()
498 if (WARN_ON(!ieee80211_is_data_qos(hdr->frame_control))) in wcn36xx_tx_start_ampdu()
531 bool is_data_qos = ieee80211_is_data_qos(hdr->frame_control); in wcn36xx_set_tx_data()
575 if (ieee80211_is_any_nullfunc(hdr->frame_control)) { in wcn36xx_set_tx_data()
579 if (ieee80211_is_qos_nullfunc(hdr->frame_control)) in wcn36xx_set_tx_data()
613 if (ieee80211_is_mgmt(hdr->frame_control)) in wcn36xx_set_tx_mgmt()
617 else if (ieee80211_is_ctl(hdr->frame_control)) in wcn36xx_set_tx_mgmt()
[all …]
/linux/include/linux/
H A Dieee80211.h298 __le16 frame_control; member
310 __le16 frame_control; member
319 __le16 frame_control; member
329 __le16 frame_control; member
340 __le16 frame_control; member
807 return ieee80211_has_morefrags(hdr->frame_control) || in ieee80211_is_frag()
962 __le16 frame_control; member
993 __le16 frame_control; member
1288 __le16 frame_control; member
1295 __le16 frame_control; member
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dutil.c316 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in mwifiex_parse_mgmt_packet()
364 mgmt->frame_control = cpu_to_le16(IEEE80211_STYPE_DEAUTH); in mwifiex_host_mlme_disconnect()
428 if (ieee80211_is_mgmt(ieee_hdr->frame_control)) { in mwifiex_process_mgmt_packet()
443 (ieee80211_is_auth(ieee_hdr->frame_control) || in mwifiex_process_mgmt_packet()
444 ieee80211_is_deauth(ieee_hdr->frame_control) || in mwifiex_process_mgmt_packet()
445 ieee80211_is_disassoc(ieee_hdr->frame_control))) { in mwifiex_process_mgmt_packet()
446 if (ieee80211_is_auth(ieee_hdr->frame_control)) { in mwifiex_process_mgmt_packet()
467 if (ieee80211_is_deauth(ieee_hdr->frame_control)) { in mwifiex_process_mgmt_packet()
488 if (ieee80211_is_auth(ieee_hdr->frame_control)) in mwifiex_process_mgmt_packet()
492 if (ieee80211_is_deauth(ieee_hdr->frame_control)) in mwifiex_process_mgmt_packet()
[all …]
H A Duap_event.c117 if (ieee80211_is_assoc_req(event->frame_control)) in mwifiex_process_uap_event()
119 else if (ieee80211_is_reassoc_req(event->frame_control)) in mwifiex_process_uap_event()
130 (u8 *)&event->frame_control; in mwifiex_process_uap_event()
143 (u8 *)&event->frame_control + evt_len > in mwifiex_process_uap_event()
/linux/drivers/net/wireless/st/cw1200/
H A Dtxrx.c478 if (ieee80211_is_auth(t->hdr->frame_control)) { in cw1200_tx_h_pm()
491 if (ieee80211_is_data_qos(t->hdr->frame_control)) { in cw1200_tx_h_calc_tid()
494 } else if (ieee80211_is_data(t->hdr->frame_control)) { in cw1200_tx_h_calc_tid()
504 !ieee80211_has_protected(t->hdr->frame_control)) in cw1200_tx_h_crypt()
553 if (ieee80211_is_action(t->hdr->frame_control) && in cw1200_tx_h_action()
594 if (ieee80211_is_nullfunc(t->hdr->frame_control)) { in cw1200_tx_h_bt()
596 } else if (ieee80211_is_data(t->hdr->frame_control)) { in cw1200_tx_h_bt()
602 } else if (ieee80211_is_assoc_req(t->hdr->frame_control) || in cw1200_tx_h_bt()
603 ieee80211_is_reassoc_req(t->hdr->frame_control)) { in cw1200_tx_h_bt()
620 if (ieee80211_is_action(t->hdr->frame_control)) in cw1200_tx_h_bt()
[all …]
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_core.c412 if ((ieee80211_is_mgmt(wh->frame_control)) || in rsi_core_xmit()
413 (ieee80211_is_ctl(wh->frame_control)) || in rsi_core_xmit()
414 (ieee80211_is_qos_nullfunc(wh->frame_control))) { in rsi_core_xmit()
415 if (ieee80211_is_assoc_req(wh->frame_control) || in rsi_core_xmit()
416 ieee80211_is_reassoc_req(wh->frame_control)) { in rsi_core_xmit()
436 if (ieee80211_is_data_qos(wh->frame_control)) { in rsi_core_xmit()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dtx.c217 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mld_get_offload_assist()
301 else if (ieee80211_hdrlen(hdr->frame_control) % 4) in iwl_mld_get_offload_assist()
510 memcpy(tx_cmd->hdr, hdr, ieee80211_hdrlen(hdr->frame_control)); in iwl_mld_fill_tx_cmd_hdr()
549 bool amsdu = ieee80211_is_data_qos(hdr->frame_control) && in iwl_mld_fill_tx_cmd()
571 hdr->frame_control); in iwl_mld_fill_tx_cmd()
572 } else if (!ieee80211_is_data(hdr->frame_control) || in iwl_mld_fill_tx_cmd()
618 __le16 fc = hdr->frame_control; in iwl_mld_get_tx_queue_id()
764 if (unlikely(ieee80211_is_any_nullfunc(hdr->frame_control))) in iwl_mld_tx_mpdu()
771 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control))) { in iwl_mld_tx_mpdu()
780 if (ieee80211_is_data(hdr->frame_control)) { in iwl_mld_tx_mpdu()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c50 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 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()
216 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_rx_handle_tcm()
393 ieee80211_has_protected(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu()
439 if (trig && ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu()
453 ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu()
457 if (ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu()
531 if (unlikely((ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu()
532 ieee80211_is_probe_resp(hdr->frame_control)) && in iwl_mvm_rx_rx_mpdu()
536 if (unlikely(ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu()
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dutil.c403 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in nxpwifi_parse_mgmt_packet()
437 mgmt->frame_control = cpu_to_le16(IEEE80211_STYPE_DEAUTH); in nxpwifi_host_mlme_disconnect()
498 if (ieee80211_is_mgmt(ieee_hdr->frame_control)) { in nxpwifi_process_mgmt_packet()
514 (ieee80211_is_auth(ieee_hdr->frame_control) || in nxpwifi_process_mgmt_packet()
515 ieee80211_is_deauth(ieee_hdr->frame_control) || in nxpwifi_process_mgmt_packet()
516 ieee80211_is_disassoc(ieee_hdr->frame_control))) { in nxpwifi_process_mgmt_packet()
519 if (ieee80211_is_auth(ieee_hdr->frame_control)) { in nxpwifi_process_mgmt_packet()
538 if (ieee80211_is_deauth(ieee_hdr->frame_control)) { in nxpwifi_process_mgmt_packet()
559 if (ieee80211_is_auth(ieee_hdr->frame_control)) in nxpwifi_process_mgmt_packet()
563 if (ieee80211_is_deauth(ieee_hdr->frame_control)) in nxpwifi_process_mgmt_packet()
[all …]
H A Duap_event.c100 if (ieee80211_is_assoc_req(event->frame_control)) in nxpwifi_uap_event_sta_assoc()
102 else if (ieee80211_is_reassoc_req(event->frame_control)) in nxpwifi_uap_event_sta_assoc()
114 (u8 *)&event->frame_control; in nxpwifi_uap_event_sta_assoc()
124 (u8 *)&event->frame_control + evt_len > in nxpwifi_uap_event_sta_assoc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dtrx.c234 fc = le16_to_cpu(hdr->frame_control); in translate_rx_signal_stuff()
235 type = WLAN_FC_GET_TYPE(hdr->frame_control); in translate_rx_signal_stuff()
248 if (ieee80211_is_beacon(hdr->frame_control)) in translate_rx_signal_stuff()
316 (ieee80211_has_protected(hdr->frame_control))) in rtl8723e_rx_query_desc()
356 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_desc()
361 bool lastseg = ((hdr->frame_control & in rtl8723e_tx_fill_desc()
527 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_cmddesc()
/linux/drivers/net/wireless/ti/wlcore/
H A Drx.c151 ieee80211_hdrlen(hdr->frame_control))); in wl1271_rx_handle_data()
178 if (ieee80211_is_beacon(hdr->frame_control)) in wl1271_rx_handle_data()
180 if (ieee80211_is_data_present(hdr->frame_control)) in wl1271_rx_handle_data()
184 ieee80211_is_probe_resp(hdr->frame_control)); in wl1271_rx_handle_data()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/
H A Dcore.c123 if (!ieee80211_is_auth(mgmt->frame_control)) in brcmf_cyw_mgmt_tx()
141 mf_params->frame_control = mgmt->frame_control; in brcmf_cyw_mgmt_tx()
163 le16_to_cpu(mf_params->frame_control), in brcmf_cyw_mgmt_tx()
310 mgmt_frame->frame_control = cpu_to_le16(IEEE80211_STYPE_AUTH); in brcmf_notify_auth_frame_rx()
/linux/net/wireless/
H A Dmlme.c175 fc = mgmt->frame_control; in cfg80211_rx_mlme_mgmt()
256 fc = mgmt->frame_control; in cfg80211_tx_mlme_mgmt()
865 if (ieee80211_is_auth(mgmt->frame_control) || in cfg80211_allowed_random_address()
866 ieee80211_is_deauth(mgmt->frame_control)) { in cfg80211_allowed_random_address()
874 } else if (ieee80211_is_action(mgmt->frame_control) && in cfg80211_allowed_random_address()
915 if (!ieee80211_is_mgmt(mgmt->frame_control) || in cfg80211_mlme_mgmt_tx()
916 ieee80211_has_order(mgmt->frame_control)) in cfg80211_mlme_mgmt_tx()
919 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
923 if (ieee80211_is_action(mgmt->frame_control) && in cfg80211_mlme_mgmt_tx()
1022 __le16 ftype = mgmt->frame_control & in cfg80211_rx_mgmt_ext()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.h54 __le16 frame_control; member
65 __le16 frame_control; member
H A Ddp_tx.c35 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath12k_dp_tx_encap_nwifi()
44 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()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.c198 if (ieee80211_is_beacon(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor_seq()
375 if (ieee80211_is_mgmt(hdr->frame_control) && in rt2x00queue_create_tx_descriptor_ht()
376 !ieee80211_is_beacon(hdr->frame_control)) in rt2x00queue_create_tx_descriptor_ht()
412 if (ieee80211_is_rts(hdr->frame_control) || in rt2x00queue_create_tx_descriptor()
413 ieee80211_is_cts(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor()
415 if (ieee80211_is_rts(hdr->frame_control)) in rt2x00queue_create_tx_descriptor()
431 if (ieee80211_has_morefrags(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor()
446 if ((ieee80211_is_beacon(hdr->frame_control) || in rt2x00queue_create_tx_descriptor()
447 ieee80211_is_probe_resp(hdr->frame_control)) && in rt2x00queue_create_tx_descriptor()
564 if (likely(!ieee80211_is_back_req(bar->frame_control))) in rt2x00queue_bar_check()
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhw.c69 return ieee80211_is_action(mgmt->frame_control); in ath12k_wifi7_is_frame_link_agnostic_qcn9274()
101 if (!ieee80211_is_action(mgmt->frame_control)) in ath12k_is_addba_resp_action_code()
122 __le16 fc = mgmt->frame_control; in ath12k_wifi7_is_frame_link_agnostic_wcn7850()
975 is_prb_rsp = ieee80211_is_probe_resp(hdr->frame_control); in ath12k_wifi7_mac_op_tx()
982 } else if (ieee80211_is_mgmt(hdr->frame_control)) { in ath12k_wifi7_mac_op_tx()
1018 ieee80211_has_protected(hdr->frame_control)) in ath12k_wifi7_mac_op_tx()
1130 if (!ieee80211_has_protected(hdr->frame_control)) in ath12k_wifi7_mac_op_tx()
1131 hdr->frame_control |= in ath12k_wifi7_mac_op_tx()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c419 __le16 fc = hdr->frame_control; in mt76_connac2_mac_write_txwi_80211()
432 } else if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
480 if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
597 bool multicast = ieee80211_is_data(hdr->frame_control) && in mt76_connac2_mac_write_txwi()
972 u16 frame_control; in mt76_connac2_reverse_frag0_hdr_trans() local
984 frame_control = le32_get_bits(rxd[6], MT_RXD6_FRAME_CONTROL); in mt76_connac2_reverse_frag0_hdr_trans()
985 hdr.frame_control = cpu_to_le16(frame_control); in mt76_connac2_reverse_frag0_hdr_trans()
991 switch (frame_control & (IEEE80211_FCTL_TODS | in mt76_connac2_reverse_frag0_hdr_trans()
1019 if (ieee80211_has_order(hdr.frame_control)) in mt76_connac2_reverse_frag0_hdr_trans()
1022 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt76_connac2_reverse_frag0_hdr_trans()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c192 u16 frame_control; in mt7925_reverse_frag0_hdr_trans() local
208 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7925_reverse_frag0_hdr_trans()
209 hdr.frame_control = cpu_to_le16(frame_control); in mt7925_reverse_frag0_hdr_trans()
215 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7925_reverse_frag0_hdr_trans()
243 if (ieee80211_has_order(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans()
246 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7925_reverse_frag0_hdr_trans()
254 if (ieee80211_has_a4(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans()
605 fc = hdr->frame_control; in mt7925_mac_fill_rx()
685 __le16 fc = hdr->frame_control; in mt7925_mac_write_txwi_80211()
694 else if (ieee80211_is_mgmt(hdr->frame_control)) in mt7925_mac_write_txwi_80211()
[all …]

1234567