/drivers/net/wireless/ath/wcn36xx/ |
D | txrx.c | 258 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb() 312 if (ieee80211_is_beacon(hdr->frame_control) || in wcn36xx_rx_skb() 313 ieee80211_is_probe_resp(hdr->frame_control)) in wcn36xx_rx_skb() 318 if (ieee80211_is_beacon(hdr->frame_control)) { in wcn36xx_rx_skb() 375 if (WARN_ON(!ieee80211_is_data_qos(hdr->frame_control))) in wcn36xx_tx_start_ampdu() 408 bool is_data_qos = ieee80211_is_data_qos(hdr->frame_control); in wcn36xx_set_tx_data() 452 if (ieee80211_is_any_nullfunc(hdr->frame_control)) { in wcn36xx_set_tx_data() 456 if (ieee80211_is_qos_nullfunc(hdr->frame_control)) in wcn36xx_set_tx_data() 490 if (ieee80211_is_mgmt(hdr->frame_control)) in wcn36xx_set_tx_mgmt() 494 else if (ieee80211_is_ctl(hdr->frame_control)) in wcn36xx_set_tx_mgmt() [all …]
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_tx.c | 34 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211() 210 hdr.frame_control = cpu_to_le16(fc); in hostap_data_start_xmit() 298 fc = le16_to_cpu(hdr->frame_control); in hostap_mgmt_start_xmit() 299 if (ieee80211_is_data(hdr->frame_control) && in hostap_mgmt_start_xmit() 359 hdr_len = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_tx_encrypt() 437 fc = le16_to_cpu(hdr->frame_control); in hostap_master_start_xmit() 443 ieee80211_is_data(hdr->frame_control) && in hostap_master_start_xmit() 478 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit() 481 if (!ieee80211_is_data(hdr->frame_control)) { in hostap_master_start_xmit() 502 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit() [all …]
|
D | hostap_80211_rx.c | 37 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_rx_80211() 93 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211() 102 hdrlen = hostap_80211_get_hdrlen(fhdr->frame_control); in prism2_rx_80211() 619 fc = le16_to_cpu(hdr->frame_control); in hostap_is_eapol_frame() 659 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_rx_frame_decrypt() 697 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_rx_frame_decrypt_msdu() 752 fc = le16_to_cpu(hdr->frame_control); in hostap_80211_rx() 757 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_80211_rx()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-devtrace.h | 23 __le16 fc = hdr->frame_control; in iwl_trace_data() 66 if (!ieee80211_is_data(hdr->frame_control)) in iwl_rx_trace_len() 70 ieee80211_hdrlen(hdr->frame_control); in iwl_rx_trace_len()
|
/drivers/net/wireless/st/cw1200/ |
D | txrx.c | 478 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 …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rxmq.c | 54 if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_check_pn() 79 extiv = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_check_pn() 86 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mvm_check_pn() 123 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_create_skb() 329 if (!ieee80211_is_beacon(hdr->frame_control)) in iwl_mvm_rx_mgmt_prot() 408 if (unlikely(ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_rx_crypto() 409 !ieee80211_has_protected(hdr->frame_control))) in iwl_mvm_rx_crypto() 412 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_rx_crypto() 540 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mvm_is_dup() 541 ieee80211_is_qos_nullfunc(hdr->frame_control) || in iwl_mvm_is_dup() [all …]
|
D | tx.c | 48 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_csum() 146 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd() 463 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_set_tx_params() 474 if (ieee80211_hdrlen(hdr->frame_control) % 4 && in iwl_mvm_set_tx_params() 491 hdr->frame_control); in iwl_mvm_set_tx_params() 492 } else if (!ieee80211_is_data(hdr->frame_control) || in iwl_mvm_set_tx_params() 536 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params() 562 __le16 fc = hdr->frame_control; in iwl_mvm_get_ctrl_vif_queue() 667 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_skb_non_sta() 668 __le16 fc = hdr->frame_control; in iwl_mvm_tx_skb_non_sta() [all …]
|
D | rx.c | 53 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_pass_packet_to_mac80211() 150 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() 420 if (trig && ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu() 434 ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu() 438 if (ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu() 513 if (unlikely((ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu() 514 ieee80211_is_probe_resp(hdr->frame_control)) && in iwl_mvm_rx_rx_mpdu() 518 if (unlikely(ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu() 519 ieee80211_is_probe_resp(hdr->frame_control))) in iwl_mvm_rx_rx_mpdu()
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_core.c | 412 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() 435 if (ieee80211_is_data_qos(wh->frame_control)) { in rsi_core_xmit()
|
/drivers/staging/vt6656/ |
D | rxtx.c | 227 rts->frame_control = in vnt_fill_ieee80211_rts() 284 buf->data.frame_control = in vnt_fill_cts_head() 349 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey() 358 mic_hdr->frame_control = cpu_to_le16( in vnt_fill_txkey() 359 le16_to_cpu(hdr->frame_control) & 0xc78f); in vnt_fill_txkey() 363 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey() 569 if (!ieee80211_is_data(hdr->frame_control)) { in vnt_tx_packet() 584 if (ieee80211_has_retry(hdr->frame_control)) in vnt_tx_packet() 590 if (ieee80211_has_a4(hdr->frame_control)) in vnt_tx_packet() 594 cpu_to_le16(ieee80211_hdrlen(hdr->frame_control) << 10); in vnt_tx_packet()
|
/drivers/net/wireless/realtek/rtw88/ |
D | rx.c | 18 if (!ieee80211_is_data(hdr->frame_control)) in rtw_rx_stats() 52 if (ieee80211_is_beacon(hdr->frame_control)) in rtw_rx_phy_stat() 110 ieee80211_is_beacon(hdr->frame_control))) in rtw_rx_addr_match_iter() 130 ieee80211_is_ctl(hdr->frame_control)) in rtw_rx_addr_match()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 234 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() 357 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_desc() 362 bool lastseg = ((hdr->frame_control & in rtl8723e_tx_fill_desc() 532 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_cmddesc()
|
/drivers/staging/vt6655/ |
D | rxtx.c | 630 buf->data.frame_control = in s_vFillRTSHead() 684 buf->data.frame_control = in s_vFillRTSHead() 706 buf->data.frame_control = in s_vFillRTSHead() 736 buf->data.frame_control = in s_vFillRTSHead() 757 buf->data.frame_control = in s_vFillRTSHead() 823 buf->data.frame_control = in s_vFillCTSHead() 848 buf->data.frame_control = in s_vFillCTSHead() 1194 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey() 1203 mic_hdr->frame_control = cpu_to_le16( in vnt_fill_txkey() 1204 le16_to_cpu(hdr->frame_control) & 0xc78f); in vnt_fill_txkey() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 1195 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid() 1226 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_mgmt_tx() 1227 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_mgmt_tx() 1228 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_mgmt_tx() 1229 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_mgmt_tx() 1309 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_hl() 1310 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_tx_hl() 1311 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_tx_hl() 1312 ieee80211_has_protected(hdr->frame_control)) { in ath10k_htt_tx_hl() 1442 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx_32() [all …]
|
D | htt_rx.c | 1269 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_get_tid() 1343 int len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_nwifi_hdrlen() 1408 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw() 1411 if (ieee80211_is_data_qos(hdr->frame_control)) { in ath10k_htt_rx_h_undecap_raw() 1461 !ieee80211_has_morefrags(hdr->frame_control) && in ath10k_htt_rx_h_undecap_raw() 1467 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw() 1516 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_nwifi() 1558 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_find_rfc1042() 1613 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_eth() 1657 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_snap() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | rx.c | 151 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()
|
D | tx.c | 83 if (!ieee80211_is_auth(hdr->frame_control)) in wl1271_tx_ap_update_inconnection_sta() 258 __le16 frame_control; in wl1271_tx_fill_hdr() local 266 frame_control = hdr->frame_control; in wl1271_tx_fill_hdr() 270 int hdrlen = ieee80211_hdrlen(frame_control); in wl1271_tx_fill_hdr() 323 else if (ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr() 332 !ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr() 345 if (ieee80211_is_auth(frame_control) && in wl1271_tx_fill_hdr() 346 ieee80211_has_protected(frame_control)) in wl1271_tx_fill_hdr() 699 return ieee80211_is_data_present(hdr->frame_control); in wl1271_tx_is_data_present()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.c | 198 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() 434 if (ieee80211_has_morefrags(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor() 449 if ((ieee80211_is_beacon(hdr->frame_control) || in rt2x00queue_create_tx_descriptor() 450 ieee80211_is_probe_resp(hdr->frame_control)) && in rt2x00queue_create_tx_descriptor() 567 if (likely(!ieee80211_is_back_req(bar->frame_control))) in rt2x00queue_bar_check()
|
/drivers/net/wireless/mediatek/mt76/ |
D | util.h | 56 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata() 58 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_MOREDATA); in mt76_skb_set_moredata()
|
D | mac80211.c | 849 !ieee80211_is_first_frag(hdr->frame_control)) in mt76_check_ccmp_pn() 970 if (ieee80211_is_pspoll(hdr->frame_control) && !wcid && in mt76_check_sta() 995 if (ieee80211_is_pspoll(hdr->frame_control)) { in mt76_check_sta() 1000 if (ieee80211_has_morefrags(hdr->frame_control) || in mt76_check_sta() 1001 !(ieee80211_is_mgmt(hdr->frame_control) || in mt76_check_sta() 1002 ieee80211_is_data(hdr->frame_control))) in mt76_check_sta() 1005 ps = ieee80211_has_pm(hdr->frame_control); in mt76_check_sta() 1007 if (ps && (ieee80211_is_data_qos(hdr->frame_control) || in mt76_check_sta() 1008 ieee80211_is_qos_nullfunc(hdr->frame_control))) in mt76_check_sta()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | uap_event.c | 129 if (ieee80211_is_assoc_req(event->frame_control)) in mwifiex_process_uap_event() 131 else if (ieee80211_is_reassoc_req(event->frame_control)) in mwifiex_process_uap_event() 140 (u8 *)&event->frame_control; in mwifiex_process_uap_event()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 206 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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | trx.c | 230 fc = hdr->frame_control; in _rtl92ce_translate_rx_signal_stuff() 313 (ieee80211_has_protected(hdr->frame_control))) in rtl92ce_rx_query_desc() 356 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_desc() 361 bool lastseg = ((hdr->frame_control & in rtl92ce_tx_fill_desc() 531 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_cmddesc()
|
/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 603 (ieee80211_is_data(hdr->frame_control) || in ath_rx_ps() 604 ieee80211_is_action(hdr->frame_control)) && in ath_rx_ps() 606 !ieee80211_has_moredata(hdr->frame_control)) { in ath_rx_ps() 616 !ieee80211_has_morefrags(hdr->frame_control)) { in ath_rx_ps() 941 if (ieee80211_is_data_present(hdr->frame_control) && in ath9k_rx_skb_preprocess() 942 !ieee80211_is_qos_nullfunc(hdr->frame_control)) in ath9k_rx_skb_preprocess() 1026 if (!ieee80211_is_data(hdr->frame_control)) in ath_rx_count_airtime() 1209 if (ieee80211_is_ack(hdr->frame_control)) in ath_rx_tasklet()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.c | 289 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() 678 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_cmddesc()
|