Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/net/mac80211/
Dmesh_ps.c36 nullfunc->frame_control = fc; in mps_qos_null_get()
194 ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_mps_set_frame_flags()
199 ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_mps_set_frame_flags()
206 hdr->frame_control &= cpu_to_le16(~IEEE80211_FCTL_PM); in ieee80211_mps_set_frame_flags()
208 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_mps_set_frame_flags()
210 if (!ieee80211_is_data_qos(hdr->frame_control)) in ieee80211_mps_set_frame_flags()
290 if (ieee80211_has_pm(hdr->frame_control)) { in mps_set_sta_peer_pm()
315 if (ieee80211_has_pm(hdr->frame_control)) in mps_set_sta_nonpeer_pm()
341 ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_mps_rx_h_sta_process()
377 nullfunc->frame_control |= in mpsp_trigger_send()
[all …]
Drx.c55 fc = hdr->frame_control; in ieee80211_clean_skb()
68 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_ORDER); in ieee80211_clean_skb()
99 if (ieee80211_is_ctl(hdr->frame_control) && in should_drop_frame()
100 !ieee80211_is_pspoll(hdr->frame_control) && in should_drop_frame()
101 !ieee80211_is_back_req(hdr->frame_control)) in should_drop_frame()
270 if (!ieee80211_is_action(action.hdr.frame_control)) in ieee80211_handle_mu_mimo_mon()
901 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_parse_qos()
924 if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_parse_qos()
1004 !ieee80211_is_beacon(hdr->frame_control)) in ieee80211_get_mmie_keyidx()
1026 __le16 fc = hdr->frame_control; in ieee80211_get_keyid()
[all …]
Dwpa.c42 skb->len < 24 || !ieee80211_is_data_present(hdr->frame_control)) in ieee80211_tx_h_michael_mic_add()
45 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_tx_h_michael_mic_add()
109 if (!ieee80211_is_data_present(hdr->frame_control)) in ieee80211_rx_h_michael_mic_verify()
151 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_rx_h_michael_mic_verify()
211 hdrlen = ieee80211_hdrlen(hdr->frame_control); in tkip_encrypt_skb()
273 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_crypto_tkip_decrypt()
275 if (!ieee80211_is_data(hdr->frame_control)) in ieee80211_crypto_tkip_decrypt()
330 mgmt = ieee80211_is_mgmt(hdr->frame_control); in ccmp_gcmp_aad()
331 mask_fc = hdr->frame_control; in ccmp_gcmp_aad()
338 a4_included = ieee80211_has_a4(hdr->frame_control); in ccmp_gcmp_aad()
[all …]
Dwep.c73 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_wep_add_iv()
78 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_add_iv()
99 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_remove_iv()
203 if (!ieee80211_has_protected(hdr->frame_control)) in ieee80211_wep_decrypt()
206 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_decrypt()
246 __le16 fc = hdr->frame_control; in ieee80211_crypto_wep_decrypt()
Dwme.c129 if (!ieee80211_is_data(hdr->frame_control)) { in ieee80211_select_queue_80211()
133 if (!ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_select_queue_80211()
247 if (!ieee80211_is_data_qos(hdr->frame_control)) in ieee80211_set_qos_hdr()
286 if (!ieee80211_is_qos_nullfunc(hdr->frame_control)) in ieee80211_set_qos_hdr()
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()
190 if (ieee80211_is_data_qos(mgmt->frame_control)) { in ieee80211_frame_acked()
198 if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_frame_acked()
199 !ieee80211_has_protected(mgmt->frame_control) && in ieee80211_frame_acked()
673 else if (ieee80211_is_any_nullfunc(hdr->frame_control)) in ieee80211_report_ack_skb()
679 else if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_report_ack_skb()
734 ieee80211_hdrlen(hdr->frame_control); in ieee80211_report_used_skb()
737 if (ieee80211_is_data(hdr->frame_control) && in ieee80211_report_used_skb()
[all …]
Dtx.c97 if (ieee80211_is_ctl(hdr->frame_control)) { in ieee80211_duration()
179 if (ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_duration()
295 !ieee80211_is_probe_req(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
296 !ieee80211_is_any_nullfunc(hdr->frame_control)) in ieee80211_tx_h_check_assoc()
321 ieee80211_is_data(hdr->frame_control))) { in ieee80211_tx_h_check_assoc()
330 } else if (unlikely(ieee80211_is_data(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
423 if (ieee80211_has_order(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
426 if (ieee80211_is_probe_req(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
490 if (ieee80211_is_mgmt(hdr->frame_control) && in ieee80211_tx_h_unicast_ps_buf()
491 !ieee80211_is_bufferable_mmpdu(hdr->frame_control)) { in ieee80211_tx_h_unicast_ps_buf()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c34 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 …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace.h18 __le16 fc = hdr->frame_control; in iwl_trace_data()
61 if (!ieee80211_is_data(hdr->frame_control)) in iwl_rx_trace_len()
65 ieee80211_hdrlen(hdr->frame_control); in iwl_rx_trace_len()
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
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-6.1.9/drivers/net/wireless/st/cw1200/
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-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drxmq.c54 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()
320 if (!ieee80211_is_beacon(hdr->frame_control)) in iwl_mvm_rx_mgmt_prot()
397 if (unlikely(ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_rx_crypto()
398 !ieee80211_has_protected(hdr->frame_control))) in iwl_mvm_rx_crypto()
401 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_rx_crypto()
529 if (ieee80211_is_ctl(hdr->frame_control) || in iwl_mvm_is_dup()
530 ieee80211_is_qos_nullfunc(hdr->frame_control) || in iwl_mvm_is_dup()
[all …]
Dtx.c48 u16 mh_len = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_csum_pre_bz()
136 else if (ieee80211_hdrlen(hdr->frame_control) % 4) in iwl_mvm_tx_csum_pre_bz()
147 unsigned int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_csum_bz()
199 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd()
517 if (ieee80211_is_data_qos(hdr->frame_control)) { in iwl_mvm_set_tx_params()
531 if (!sta || !ieee80211_is_data(hdr->frame_control) || in iwl_mvm_set_tx_params()
536 hdr->frame_control); in iwl_mvm_set_tx_params()
582 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params()
608 __le16 fc = hdr->frame_control; in iwl_mvm_get_ctrl_vif_queue()
714 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_tx_skb_non_sta()
[all …]
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()
435 if (trig && ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu()
449 ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu()
453 if (ieee80211_is_data(hdr->frame_control)) in iwl_mvm_rx_rx_mpdu()
528 if (unlikely((ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu()
529 ieee80211_is_probe_resp(hdr->frame_control)) && in iwl_mvm_rx_rx_mpdu()
533 if (unlikely(ieee80211_is_beacon(hdr->frame_control) || in iwl_mvm_rx_rx_mpdu()
534 ieee80211_is_probe_resp(hdr->frame_control))) in iwl_mvm_rx_rx_mpdu()
/linux-6.1.9/drivers/net/wireless/rsi/
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-6.1.9/drivers/staging/vt6656/
Drxtx.c225 rts->frame_control = in vnt_fill_ieee80211_rts()
282 buf->data.frame_control = in vnt_fill_cts_head()
347 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey()
356 mic_hdr->frame_control = cpu_to_le16(le16_to_cpu(hdr->frame_control) & 0xc78f); in vnt_fill_txkey()
359 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey()
565 if (!ieee80211_is_data(hdr->frame_control)) { in vnt_tx_packet()
580 if (ieee80211_has_retry(hdr->frame_control)) in vnt_tx_packet()
586 if (ieee80211_has_a4(hdr->frame_control)) in vnt_tx_packet()
590 cpu_to_le16(ieee80211_hdrlen(hdr->frame_control) << 10); in vnt_tx_packet()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
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()
/linux-6.1.9/net/wireless/
Dmlme.c155 if (ieee80211_is_auth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
157 else if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
159 else if (ieee80211_is_disassoc(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
220 if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_tx_mlme_mgmt()
690 if (!ieee80211_is_mgmt(mgmt->frame_control)) in cfg80211_mlme_mgmt_tx()
693 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
697 if (ieee80211_is_action(mgmt->frame_control) && in cfg80211_mlme_mgmt_tx()
775 if (!ieee80211_is_action(mgmt->frame_control) || in cfg80211_mlme_mgmt_tx()
806 __le16 ftype = mgmt->frame_control & in cfg80211_rx_mgmt_ext()
811 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_rx_mgmt_ext()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
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()
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()
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
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-6.1.9/drivers/net/wireless/mediatek/mt76/
Dutil.h56 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()
/linux-6.1.9/drivers/staging/vt6655/
Drxtx.c630 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 …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c802 if (ieee80211_is_nullfunc(hdr->frame_control)) { in ap2sta_data_frame()
908 if (!ieee80211_is_pspoll(hdr->frame_control)) in validate_recv_ctrl_frame()
1014 if (ieee80211_is_beacon(hdr->frame_control)) in validate_recv_mgnt_frame()
1016 else if (ieee80211_is_probe_req(hdr->frame_control)) in validate_recv_mgnt_frame()
1018 else if (ieee80211_is_probe_resp(hdr->frame_control)) { in validate_recv_mgnt_frame()
1045 if (ieee80211_has_a4(hdr->frame_control)) in validate_recv_data_frame()
1051 if (ieee80211_has_fromds(hdr->frame_control)) { in validate_recv_data_frame()
1054 } else if (ieee80211_has_tods(hdr->frame_control)) { in validate_recv_data_frame()
1094 if (recv_decache(precv_frame, ieee80211_has_retry(hdr->frame_control), in validate_recv_data_frame()
1129 if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_VERS)) != 0) in validate_recv_frame()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
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 …]
/linux-6.1.9/include/linux/
Dieee80211.h311 __le16 frame_control; member
323 __le16 frame_control; member
332 __le16 frame_control; member
342 __le16 frame_control; member
803 return ieee80211_has_morefrags(hdr->frame_control) || in ieee80211_is_frag()
1108 __le16 frame_control; member
1170 __le16 frame_control; member
1408 __le16 frame_control; member
1415 __le16 frame_control; member
1421 __le16 frame_control; member
[all …]

123456789