Home
last modified time | relevance | path

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

123456

/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 Ds1g.c24 if (likely(!ieee80211_is_action(mgmt->frame_control))) in ieee80211_s1g_is_twt_setup()
48 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_s1g_send_twt_setup()
80 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_s1g_send_twt_teardown()
/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 …]
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()
128 (u8 *)&event->frame_control; 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/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/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) 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 …]
H A Dhtt_rx.c1339 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_get_tid()
1413 int len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_nwifi_hdrlen()
1483 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw()
1486 if (ieee80211_is_data_qos(hdr->frame_control)) { in ath10k_htt_rx_h_undecap_raw()
1536 !ieee80211_has_morefrags(hdr->frame_control) && in ath10k_htt_rx_h_undecap_raw()
1542 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw()
1593 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_nwifi()
1642 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_find_rfc1042()
1700 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_eth()
1747 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_snap()
[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()
260 __le16 frame_control; in wl1271_tx_fill_hdr() local
268 frame_control = hdr->frame_control; in wl1271_tx_fill_hdr()
272 int hdrlen = ieee80211_hdrlen(frame_control); in wl1271_tx_fill_hdr()
325 else if (ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
334 !ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
347 if (ieee80211_is_auth(frame_control) && in wl1271_tx_fill_hdr()
348 ieee80211_has_protected(frame_control)) in wl1271_tx_fill_hdr()
701 return ieee80211_is_data_present(hdr->frame_control); in wl1271_tx_is_data_present()
/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/realtek/rtlwifi/rtl8723be/
H A Dtrx.c206 fc = le16_to_cpu(hdr->frame_control); in _rtl8723be_translate_rx_signal_stuff()
207 type = WLAN_FC_GET_TYPE(hdr->frame_control); in _rtl8723be_translate_rx_signal_stuff()
227 if (ieee80211_is_beacon(hdr->frame_control)) in _rtl8723be_translate_rx_signal_stuff()
371 (ieee80211_has_protected(hdr->frame_control))) in rtl8723be_rx_query_desc()
415 __le16 fc = hdr->frame_control; in rtl8723be_tx_fill_desc()
421 bool lastseg = ((hdr->frame_control & in rtl8723be_tx_fill_desc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.c230 fc = hdr->frame_control; in _rtl92ce_translate_rx_signal_stuff()
313 (ieee80211_has_protected(hdr->frame_control))) in rtl92ce_rx_query_desc()
355 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_desc()
360 bool lastseg = ((hdr->frame_control & in rtl92ce_tx_fill_desc()
526 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_cmddesc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dtrx.c289 fc = hdr->frame_control; in _rtl88ee_translate_rx_signal_stuff()
304 if (ieee80211_is_beacon(hdr->frame_control)) in _rtl88ee_translate_rx_signal_stuff()
443 (ieee80211_has_protected(hdr->frame_control))) in rtl88ee_rx_query_desc()
489 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_desc()
495 bool lastseg = ((hdr->frame_control & in rtl88ee_tx_fill_desc()
677 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_cmddesc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dtrx.c58 __le16 fc = hdr->frame_control; in rtl92de_tx_fill_desc()
64 bool lastseg = ((hdr->frame_control & in rtl92de_tx_fill_desc()
241 __le16 fc = hdr->frame_control; in rtl92de_tx_fill_cmddesc()
/linux/drivers/net/wireless/ath/ath9k/
H A Ddynack.c227 if (ieee80211_is_assoc_req(hdr->frame_control) || in ath_dynack_sample_tx_ts()
228 ieee80211_is_assoc_resp(hdr->frame_control) || in ath_dynack_sample_tx_ts()
229 ieee80211_is_auth(hdr->frame_control)) { in ath_dynack_sample_tx_ts()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.c204 txhdr->mac_frame_ctl = wlhdr->frame_control; in generate_txhdr_fw3()
243 wlhdr_len = ieee80211_hdrlen(wlhdr->frame_control); in generate_txhdr_fw3()
464 fctl = wlhdr->frame_control; in b43legacy_rx()
485 wlhdr->frame_control = fctl; in b43legacy_rx()
/linux/net/mac80211/tests/
H A Dmfp.c221 .frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in accept_mfp()
248 hdr.frame_control |= in accept_mfp()

123456