Home
last modified time | relevance | path

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

12345678

/linux/net/mac80211/
H A Dmesh_ps.c39 nullfunc->frame_control = fc; in mps_qos_null_get()
199 ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_mps_set_frame_flags()
204 ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_mps_set_frame_flags()
211 hdr->frame_control &= cpu_to_le16(~IEEE80211_FCTL_PM); in ieee80211_mps_set_frame_flags()
213 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_mps_set_frame_flags()
215 if (!ieee80211_is_data_qos(hdr->frame_control)) in ieee80211_mps_set_frame_flags()
295 if (ieee80211_has_pm(hdr->frame_control)) { in mps_set_sta_peer_pm()
320 if (ieee80211_has_pm(hdr->frame_control)) in mps_set_sta_nonpeer_pm()
346 ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_mps_rx_h_sta_process()
382 nullfunc->frame_control |= in mpsp_trigger_send()
[all …]
H A Drx.c65 fc = hdr->frame_control; in ieee80211_clean_skb()
78 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_ORDER); in ieee80211_clean_skb()
109 if (ieee80211_is_ctl(hdr->frame_control) && in should_drop_frame()
110 !ieee80211_is_pspoll(hdr->frame_control) && in should_drop_frame()
111 !ieee80211_is_back_req(hdr->frame_control)) in should_drop_frame()
282 if (!ieee80211_is_action(action.hdr.frame_control)) in ieee80211_handle_mu_mimo_mon()
910 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_parse_qos()
933 if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_parse_qos()
1013 !ieee80211_is_beacon(hdr->frame_control)) in ieee80211_get_mmie_keyidx()
1035 __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.c89 if (ieee80211_is_ctl(hdr->frame_control)) { in ieee80211_duration()
165 if (ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_duration()
279 !ieee80211_is_probe_req(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
280 !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 …]
H A Dstatus.c84 if (hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) in ieee80211_handle_filtered_frame()
85 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_MOREDATA); in ieee80211_handle_filtered_frame()
87 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_handle_filtered_frame()
188 if (ieee80211_is_data_qos(mgmt->frame_control)) { in ieee80211_frame_acked()
638 else if (ieee80211_is_any_nullfunc(hdr->frame_control)) in ieee80211_report_ack_skb()
644 else if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_report_ack_skb()
752 if (ieee80211_is_data(hdr->frame_control) && in ieee80211_report_used_skb()
771 hdr->frame_control, in ieee80211_report_used_skb()
967 fc = hdr->frame_control; in __ieee80211_tx_status()
986 (ieee80211_is_data(hdr->frame_control)) && in __ieee80211_tx_status()
/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/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 …]
/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/realtek/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()
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()
/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 Drxmq.c29 if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_check_pn()
54 extiv = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_check_pn()
61 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mvm_check_pn()
98 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_create_skb()
261 if (likely(!ieee80211_is_beacon(hdr->frame_control))) in iwl_mvm_used_average_energy()
347 if (!ieee80211_is_beacon(hdr->frame_control)) in iwl_mvm_rx_mgmt_prot()
431 if (unlikely(ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_rx_crypto()
432 !ieee80211_has_protected(hdr->frame_control))) in iwl_mvm_rx_crypto()
435 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_rx_crypto()
568 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mvm_is_dup()
[all …]
/linux/net/wireless/
H A Dmlme.c161 if (ieee80211_is_auth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
163 else if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
165 else if (ieee80211_is_disassoc(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
226 if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_tx_mlme_mgmt()
820 if (ieee80211_is_auth(mgmt->frame_control) || in cfg80211_allowed_random_address()
821 ieee80211_is_deauth(mgmt->frame_control)) { in cfg80211_allowed_random_address()
829 } else if (ieee80211_is_action(mgmt->frame_control) && in cfg80211_allowed_random_address()
870 if (!ieee80211_is_mgmt(mgmt->frame_control) || in cfg80211_mlme_mgmt_tx()
871 ieee80211_has_order(mgmt->frame_control)) in cfg80211_mlme_mgmt_tx()
874 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/
H A Dcore.c124 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()
/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/ath/ath10k/
H A Dhtt_tx.c1173 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 …]
/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()
H A Dtx.c83 if (!ieee80211_is_auth(hdr->frame_control)) in wl1271_tx_ap_update_inconnection_sta()
255 __le16 frame_control; in wl1271_tx_fill_hdr() local
263 frame_control = hdr->frame_control; in wl1271_tx_fill_hdr()
267 int hdrlen = ieee80211_hdrlen(frame_control); in wl1271_tx_fill_hdr()
320 else if (ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
329 !ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
342 if (ieee80211_is_auth(frame_control) && in wl1271_tx_fill_hdr()
343 ieee80211_has_protected(frame_control)) in wl1271_tx_fill_hdr()
696 return ieee80211_is_data_present(hdr->frame_control); in wl1271_tx_is_data_present()
/linux/include/linux/
H A Dieee80211.h322 __le16 frame_control; member
334 __le16 frame_control; member
343 __le16 frame_control; member
353 __le16 frame_control; member
364 __le16 frame_control; member
869 return ieee80211_has_morefrags(hdr->frame_control) || in ieee80211_is_frag()
1262 __le16 frame_control; member
1390 __le16 frame_control; member
1665 __le16 frame_control; member
1672 __le16 frame_control; member
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dutil.h50 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata()
52 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata()
H A Dmt76_connac_mac.c408 __le16 fc = hdr->frame_control; in mt76_connac2_mac_write_txwi_80211()
420 } else if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
468 if (ieee80211_is_back_req(hdr->frame_control)) { in mt76_connac2_mac_write_txwi_80211()
585 bool multicast = ieee80211_is_data(hdr->frame_control) && in mt76_connac2_mac_write_txwi()
959 u16 frame_control; in mt76_connac2_reverse_frag0_hdr_trans() local
971 frame_control = le32_get_bits(rxd[6], MT_RXD6_FRAME_CONTROL); in mt76_connac2_reverse_frag0_hdr_trans()
972 hdr.frame_control = cpu_to_le16(frame_control); in mt76_connac2_reverse_frag0_hdr_trans()
978 switch (frame_control & (IEEE80211_FCTL_TODS | in mt76_connac2_reverse_frag0_hdr_trans()
1006 if (ieee80211_has_order(hdr.frame_control)) in mt76_connac2_reverse_frag0_hdr_trans()
1009 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt76_connac2_reverse_frag0_hdr_trans()
[all …]
/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/intel/iwlwifi/mld/
H A Drx.c76 if (queue == 0 || !ieee80211_is_data(hdr->frame_control) || in iwl_mld_check_pn()
92 extiv = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in iwl_mld_check_pn()
99 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mld_check_pn()
156 if (likely(!ieee80211_is_beacon(hdr->frame_control))) in iwl_mld_used_average_energy()
1356 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mld_build_rx_skb()
1462 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mld_is_dup()
1463 ieee80211_is_any_nullfunc(hdr->frame_control) || in iwl_mld_is_dup()
1467 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mld_is_dup()
1487 if (unlikely(ieee80211_has_retry(hdr->frame_control) && in iwl_mld_is_dup()
1578 if (ieee80211_is_data(hdr->frame_control) && in iwl_mld_rx_with_sta()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c177 u16 frame_control; in mt7925_reverse_frag0_hdr_trans() local
193 frame_control = le32_get_bits(rxd[8], MT_RXD8_FRAME_CONTROL); in mt7925_reverse_frag0_hdr_trans()
194 hdr.frame_control = cpu_to_le16(frame_control); in mt7925_reverse_frag0_hdr_trans()
200 switch (frame_control & (IEEE80211_FCTL_TODS | in mt7925_reverse_frag0_hdr_trans()
228 if (ieee80211_has_order(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans()
231 if (ieee80211_is_data_qos(hdr.frame_control)) { in mt7925_reverse_frag0_hdr_trans()
239 if (ieee80211_has_a4(hdr.frame_control)) in mt7925_reverse_frag0_hdr_trans()
585 fc = hdr->frame_control; in mt7925_mac_fill_rx()
665 __le16 fc = hdr->frame_control; in mt7925_mac_write_txwi_80211()
673 else if (ieee80211_is_mgmt(hdr->frame_control)) in mt7925_mac_write_txwi_80211()
[all …]

12345678