Home
last modified time | relevance | path

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

/linux-4.1.27/net/mac80211/
Dmesh_ps.c37 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 …]
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()
101 if (!ieee80211_is_data_present(hdr->frame_control)) in ieee80211_rx_h_michael_mic_verify()
143 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_rx_h_michael_mic_verify()
200 hdrlen = ieee80211_hdrlen(hdr->frame_control); in tkip_encrypt_skb()
266 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_crypto_tkip_decrypt()
268 if (!ieee80211_is_data(hdr->frame_control)) in ieee80211_crypto_tkip_decrypt()
320 mgmt = ieee80211_is_mgmt(hdr->frame_control); in ccmp_special_blocks()
321 mask_fc = hdr->frame_control; in ccmp_special_blocks()
328 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ccmp_special_blocks()
[all …]
Drx.c77 if (ieee80211_is_ctl(hdr->frame_control) && in should_drop_frame()
78 !ieee80211_is_pspoll(hdr->frame_control) && in should_drop_frame()
79 !ieee80211_is_back_req(hdr->frame_control)) in should_drop_frame()
552 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_parse_qos()
575 if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_parse_qos()
682 fc = hdr->frame_control; in iwl80211_get_cs_keyid()
700 if (ieee80211_is_data(hdr->frame_control)) { in ieee80211_rx_mesh_check()
702 if (ieee80211_has_tods(hdr->frame_control) || in ieee80211_rx_mesh_check()
703 !ieee80211_has_fromds(hdr->frame_control)) in ieee80211_rx_mesh_check()
708 if (!ieee80211_has_a4(hdr->frame_control)) in ieee80211_rx_mesh_check()
[all …]
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()
242 if (!ieee80211_is_data_qos(hdr->frame_control)) in ieee80211_set_qos_hdr()
265 if (!ieee80211_is_qos_nullfunc(hdr->frame_control)) in ieee80211_set_qos_hdr()
Dwep.c99 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_wep_add_iv()
104 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_add_iv()
125 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_remove_iv()
237 if (!ieee80211_has_protected(hdr->frame_control)) in ieee80211_wep_decrypt()
240 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_wep_decrypt()
280 __le16 fc = hdr->frame_control; in ieee80211_crypto_wep_decrypt()
Dtx.c92 if (ieee80211_is_ctl(hdr->frame_control)) { in ieee80211_duration()
171 if (ieee80211_is_data_qos(hdr->frame_control) && in ieee80211_duration()
283 !ieee80211_is_probe_req(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
284 !ieee80211_is_nullfunc(hdr->frame_control)) in ieee80211_tx_h_check_assoc()
312 ieee80211_is_data(hdr->frame_control))) { in ieee80211_tx_h_check_assoc()
322 ieee80211_is_data(hdr->frame_control) && in ieee80211_tx_h_check_assoc()
415 if (ieee80211_has_order(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
418 if (ieee80211_is_probe_req(hdr->frame_control)) in ieee80211_tx_h_multicast_ps_buf()
482 if (ieee80211_is_mgmt(hdr->frame_control) && in ieee80211_tx_h_unicast_ps_buf()
483 !ieee80211_is_bufferable_mmpdu(hdr->frame_control)) { in ieee80211_tx_h_unicast_ps_buf()
[all …]
Dstatus.c79 if (hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) in ieee80211_handle_filtered_frame()
80 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_MOREDATA); in ieee80211_handle_filtered_frame()
82 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_handle_filtered_frame()
187 if (ieee80211_is_data_qos(mgmt->frame_control)) { in ieee80211_frame_acked()
195 if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_frame_acked()
469 ieee80211_hdrlen(hdr->frame_control); in ieee80211_report_used_skb()
472 if (ieee80211_is_data(hdr->frame_control) && in ieee80211_report_used_skb()
479 hdr->frame_control, in ieee80211_report_used_skb()
481 } else if (ieee80211_is_nullfunc(hdr->frame_control) || in ieee80211_report_used_skb()
482 ieee80211_is_qos_nullfunc(hdr->frame_control)) { in ieee80211_report_used_skb()
[all …]
Dmichael.c37 if (ieee80211_is_data_qos(hdr->frame_control)) in michael_mic_hdr()
Dscan.c66 bool beacon = ieee80211_is_beacon(mgmt->frame_control); in ieee80211_bss_info_update()
176 (!ieee80211_is_probe_resp(mgmt->frame_control) && in ieee80211_scan_rx()
177 !ieee80211_is_beacon(mgmt->frame_control))) in ieee80211_scan_rx()
186 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in ieee80211_scan_rx()
Dht.c385 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_delba()
442 action_frame->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_smps_action()
Dsta_info.c1257 nullfunc->frame_control = fc; in ieee80211_send_null_response()
1446 hdr->frame_control |= in ieee80211_sta_ps_deliver_response()
1449 hdr->frame_control &= in ieee80211_sta_ps_deliver_response()
1452 if (ieee80211_is_data_qos(hdr->frame_control) || in ieee80211_sta_ps_deliver_response()
1453 ieee80211_is_qos_nullfunc(hdr->frame_control)) in ieee80211_sta_ps_deliver_response()
1501 hdr->frame_control |= in ieee80211_sta_ps_deliver_response()
Dmesh_hwmp.c127 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_path_sel_frame_tx()
264 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_path_error_tx()
313 if (!ieee80211_is_data(hdr->frame_control)) in ieee80211s_update_metric()
1076 if (ieee80211_is_qos_nullfunc(hdr->frame_control)) in mesh_nexthop_resolve()
Dspectmgmt.c205 msr_report->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_refuse_measurement_request()
Drate.c192 fc = hdr->frame_control; in rc_no_data_or_no_ack_use_min()
650 if (ieee80211_is_data(hdr->frame_control)) in ieee80211_get_tx_rates()
Dtkip.c207 const u8 *data = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in ieee80211_get_tkip_p2k()
Dmesh.c662 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon()
997 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_rx_probe_req()
1229 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
Dagg-tx.c91 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_request()
128 bar->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in ieee80211_send_bar()
Dutil.c53 __le16 fc = hdr->frame_control; in ieee80211_get_bssid()
106 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_tx_set_protected()
1287 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_auth()
1299 mgmt->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ieee80211_send_auth()
1318 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in ieee80211_send_deauth_disassoc()
2855 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_action_csa()
Dmlme.c696 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_assoc()
705 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_assoc()
907 pspoll->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_pspoll()
927 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc()
961 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc()
2195 if (!ieee80211_is_data(hdr->frame_control)) in ieee80211_sta_tx_notify()
2198 if (ieee80211_is_nullfunc(hdr->frame_control) && in ieee80211_sta_tx_notify()
3096 reassoc = ieee80211_is_reassoc_req(mgmt->frame_control); in ieee80211_rx_mgmt_assoc_resp()
3576 fc = le16_to_cpu(mgmt->frame_control); in ieee80211_sta_rx_queued_mgmt()
Dagg-rx.c212 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_send_addba_resp()
Diface.c1225 } else if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_iface_work()
1251 } else if (ieee80211_is_data_qos(mgmt->frame_control)) { in ieee80211_iface_work()
1261 WARN_ON(hdr->frame_control & in ieee80211_iface_work()
Ddebugfs_netdev.c341 hdr->frame_control = fc; in ieee80211_if_parse_tkip_mic_test()
Dibss.c76 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_ibss_build_presp()
1605 fc = le16_to_cpu(mgmt->frame_control); in ieee80211_ibss_rx_queued_mgmt()
Dmesh_plink.c291 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mesh_plink_frame_tx()
Dmesh_pathtbl.c234 hdrlen = ieee80211_hdrlen(hdr->frame_control); in prepare_for_gate()
Drc80211_minstrel_ht.c684 if (unlikely(!ieee80211_is_data_qos(hdr->frame_control))) in minstrel_aggr_check()
Dtdls.c766 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_prep_tdls_direct()
Dcfg.c3289 if (!ieee80211_is_action(mgmt->frame_control) || in ieee80211_mgmt_tx()
3526 nullfunc->frame_control = fc; in ieee80211_probe_client()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dtxrx.c65 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb()
68 if (ieee80211_is_beacon(hdr->frame_control)) { in wcn36xx_rx_skb()
128 if (WARN_ON(!ieee80211_is_data_qos(hdr->frame_control))) in wcn36xx_tx_start_ampdu()
191 if (ieee80211_is_nullfunc(hdr->frame_control) || in wcn36xx_set_tx_data()
201 is_data_qos = ieee80211_is_data_qos(hdr->frame_control); in wcn36xx_set_tx_data()
227 if (ieee80211_is_mgmt(hdr->frame_control)) in wcn36xx_set_tx_mgmt()
231 else if (ieee80211_is_ctl(hdr->frame_control)) in wcn36xx_set_tx_mgmt()
241 ieee80211_is_probe_req(hdr->frame_control)) in wcn36xx_set_tx_mgmt()
255 ieee80211_is_data_qos(hdr->frame_control) ? in wcn36xx_set_tx_mgmt()
269 bool is_low = ieee80211_is_data(hdr->frame_control); in wcn36xx_start_tx()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-devtrace.h38 if (!ieee80211_is_data(hdr->frame_control)) in iwl_trace_data()
54 if (!ieee80211_is_data(hdr->frame_control)) in iwl_rx_trace_len()
58 ieee80211_hdrlen(hdr->frame_control); in iwl_rx_trace_len()
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_80211_tx.c33 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
209 hdr.frame_control = cpu_to_le16(fc); in hostap_data_start_xmit()
297 fc = le16_to_cpu(hdr->frame_control); in hostap_mgmt_start_xmit()
298 if (ieee80211_is_data(hdr->frame_control) && in hostap_mgmt_start_xmit()
358 hdr_len = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_tx_encrypt()
436 fc = le16_to_cpu(hdr->frame_control); in hostap_master_start_xmit()
442 ieee80211_is_data(hdr->frame_control) && in hostap_master_start_xmit()
477 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit()
480 if (!ieee80211_is_data(hdr->frame_control)) { in hostap_master_start_xmit()
501 hdr->frame_control = cpu_to_le16(fc); in hostap_master_start_xmit()
[all …]
Dhostap_80211_rx.c36 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_rx_80211()
92 fc = le16_to_cpu(fhdr->frame_control); in prism2_rx_80211()
101 hdrlen = hostap_80211_get_hdrlen(fhdr->frame_control); in prism2_rx_80211()
620 fc = le16_to_cpu(hdr->frame_control); in hostap_is_eapol_frame()
660 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_rx_frame_decrypt()
698 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_rx_frame_decrypt_msdu()
753 fc = le16_to_cpu(hdr->frame_control); in hostap_80211_rx()
758 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in hostap_80211_rx()
Dhostap_ap.c665 hdr->frame_control &= cpu_to_le16(~IEEE80211_FCTL_VERS); in hostap_ap_tx_cb()
666 hdr->frame_control |= cpu_to_le16(ok ? BIT(1) : BIT(0)); in hostap_ap_tx_cb()
669 skb_pull(skb, hostap_80211_get_hdrlen(hdr->frame_control)); in hostap_ap_tx_cb()
695 if (!ieee80211_is_auth(hdr->frame_control) || in hostap_ap_tx_cb_auth()
763 if ((!ieee80211_is_assoc_resp(hdr->frame_control) && in hostap_ap_tx_cb_assoc()
764 !ieee80211_is_reassoc_resp(hdr->frame_control)) || in hostap_ap_tx_cb_assoc()
1012 if (ieee80211_is_data(hdr->frame_control)) { in prism2_send_mgmt()
1016 } else if (ieee80211_is_ctl(hdr->frame_control)) { in prism2_send_mgmt()
1025 hdr->frame_control = cpu_to_le16(fc); in prism2_send_mgmt()
1363 hdrlen = hostap_80211_get_hdrlen(hdr->frame_control); in handle_authen()
[all …]
Dhostap_80211.h9 __le16 frame_control; member
Dhostap_hw.c1834 skb_copy_from_linear_data(skb, &txdesc.frame_control, hdr_len); in prism2_tx_80211()
1835 fc = le16_to_cpu(txdesc.frame_control); in prism2_tx_80211()
1836 if (ieee80211_is_data(txdesc.frame_control) && in prism2_tx_80211()
1837 ieee80211_has_a4(txdesc.frame_control) && in prism2_tx_80211()
2076 hdrlen = hostap_80211_get_hdrlen(rxdesc->frame_control); in hostap_rx_skb()
2081 &rxdesc->frame_control, hdrlen); in hostap_rx_skb()
2198 hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_tx_callback()
2207 memcpy(skb_put(skb, hdrlen), (void *) &txdesc->frame_control, hdrlen); in hostap_tx_callback()
2309 int hdrlen = hostap_80211_get_hdrlen(txdesc->frame_control); in hostap_sta_tx_exc_tasklet()
2311 &txdesc->frame_control, hdrlen); in hostap_sta_tx_exc_tasklet()
[all …]
Dhostap_main.c534 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
562 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header()
1056 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | stype); in prism2_sta_send_mgmt()
Dhostap_wlan.h87 __le16 frame_control; member
116 __le16 frame_control; /* parts not used */ member
/linux-4.1.27/include/linux/
Dieee80211.h221 __le16 frame_control; member
231 __le16 frame_control; member
240 __le16 frame_control; member
858 __le16 frame_control; member
1058 __le16 frame_control; member
1065 __le16 frame_control; member
1071 __le16 frame_control; member
1197 __le16 frame_control; member
2331 if (ieee80211_has_a4(hdr->frame_control)) in ieee80211_get_qos_ctl()
2349 if (ieee80211_has_a4(hdr->frame_control)) in ieee80211_get_SA()
[all …]
/linux-4.1.27/drivers/net/wireless/cw1200/
Dtxrx.c481 if (ieee80211_is_auth(t->hdr->frame_control)) { in cw1200_tx_h_pm()
494 if (ieee80211_is_data_qos(t->hdr->frame_control)) { in cw1200_tx_h_calc_tid()
497 } else if (ieee80211_is_data(t->hdr->frame_control)) { in cw1200_tx_h_calc_tid()
507 !ieee80211_has_protected(t->hdr->frame_control)) in cw1200_tx_h_crypt()
556 if (ieee80211_is_action(t->hdr->frame_control) && in cw1200_tx_h_action()
597 if (ieee80211_is_nullfunc(t->hdr->frame_control)) { in cw1200_tx_h_bt()
599 } else if (ieee80211_is_data(t->hdr->frame_control)) { in cw1200_tx_h_bt()
605 } else if (ieee80211_is_assoc_req(t->hdr->frame_control) || in cw1200_tx_h_bt()
606 ieee80211_is_reassoc_req(t->hdr->frame_control)) { in cw1200_tx_h_bt()
623 if (ieee80211_is_action(t->hdr->frame_control)) in cw1200_tx_h_bt()
[all …]
Dwsm.c887 (ieee80211_is_probe_resp(hdr->frame_control) || in wsm_receive_indication()
888 ieee80211_is_beacon(hdr->frame_control))) in wsm_receive_indication()
1469 __le16 fctl = frame->frame_control; in wsm_handle_tx_data()
1755 hdr->frame_control |= in wsm_get_tx()
Dsta.c2235 mgmt->frame_control = in cw1200_upload_beacon()
/linux-4.1.27/net/wireless/
Dmlme.c113 if (ieee80211_is_auth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
115 else if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
117 else if (ieee80211_is_disassoc(mgmt->frame_control)) in cfg80211_rx_mlme_mgmt()
163 if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_tx_mlme_mgmt()
529 if (!ieee80211_is_mgmt(mgmt->frame_control)) in cfg80211_mlme_mgmt_tx()
532 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx()
536 if (ieee80211_is_action(mgmt->frame_control) && in cfg80211_mlme_mgmt_tx()
621 __le16 ftype = mgmt->frame_control & in cfg80211_rx_mgmt()
626 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_rx_mgmt()
633 data = buf + ieee80211_hdrlen(mgmt->frame_control); in cfg80211_rx_mgmt()
[all …]
Dutil.c389 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_get_hdrlen_from_skb()
421 if (unlikely(!ieee80211_is_data_present(hdr->frame_control))) in ieee80211_data_to_8023()
424 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_data_to_8023()
438 switch (hdr->frame_control & in ieee80211_data_to_8023()
590 hdr.frame_control = fc; in ieee80211_data_from_8023()
Dlib80211_crypt_ccmp.c120 a4_included = ieee80211_has_a4(hdr->frame_control); in ccmp_init_blocks()
121 qc_included = ieee80211_is_data_qos(hdr->frame_control); in ccmp_init_blocks()
Dlib80211_crypt_tkip.c536 switch (le16_to_cpu(hdr11->frame_control) & in michael_mic_hdr()
556 if (ieee80211_is_data_qos(hdr11->frame_control)) { in michael_mic_hdr()
Dscan.c1069 ies->from_beacon = ieee80211_is_beacon(mgmt->frame_control); in cfg80211_inform_bss_width_frame()
1072 if (ieee80211_is_probe_resp(mgmt->frame_control)) in cfg80211_inform_bss_width_frame()
Dnl80211.c11418 if (ieee80211_is_deauth(mgmt->frame_control)) in cfg80211_rx_unprot_mlme_mgmt()
/linux-4.1.27/drivers/staging/rtl8723au/hal/
Drtl8723a_cmd.c199 mgmt->frame_control = in ConstructBeacon()
287 pwlanhdr->frame_control = in ConstructPSPoll()
289 pwlanhdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ConstructPSPoll()
317 pwlanhdr->frame_control = 0; in ConstructNullFunctionData()
321 pwlanhdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ConstructNullFunctionData()
326 pwlanhdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_TODS); in ConstructNullFunctionData()
335 pwlanhdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_FROMDS); in ConstructNullFunctionData()
355 qoshdr->frame_control |= in ConstructNullFunctionData()
365 pwlanhdr->frame_control |= in ConstructNullFunctionData()
392 mgmt->frame_control = in ConstructProbeRsp()
Drtl8723au_recv.c197 matchbssid = !ieee80211_is_ctl(hdr->frame_control) && in update_recvframe_phyinfo()
201 switch (hdr->frame_control & in update_recvframe_phyinfo()
230 ieee80211_is_beacon(hdr->frame_control); in update_recvframe_phyinfo()
/linux-4.1.27/drivers/staging/vt6656/
Drxtx.c277 if (ieee80211_is_pspoll(hdr->frame_control)) { in vnt_rxtx_datahead_g()
370 if (ieee80211_is_pspoll(hdr->frame_control)) { in vnt_rxtx_datahead_ab()
393 rts->frame_control = in vnt_fill_ieee80211_rts()
549 buf->data.frame_control = in vnt_fill_cts_fb_head()
575 buf->data.frame_control = in vnt_fill_cts_head()
753 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey()
762 mic_hdr->frame_control = cpu_to_le16( in vnt_fill_txkey()
763 le16_to_cpu(hdr->frame_control) & 0xc78f); in vnt_fill_txkey()
767 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey()
852 if (!ieee80211_is_data(hdr->frame_control)) { in vnt_tx_packet()
[all …]
Ddpc.c165 fc = hdr->frame_control; in vnt_rx_data()
Drxtx.h47 __le16 frame_control; member
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_core.c343 if ((ieee80211_is_mgmt(tmp_hdr->frame_control)) || in rsi_core_xmit()
344 (ieee80211_is_ctl(tmp_hdr->frame_control)) || in rsi_core_xmit()
345 (ieee80211_is_qos_nullfunc(tmp_hdr->frame_control))) { in rsi_core_xmit()
349 if (ieee80211_is_data_qos(tmp_hdr->frame_control)) { in rsi_core_xmit()
Drsi_91x_pkt.c62 if (ieee80211_is_data_qos(tmp_hdr->frame_control)) { in rsi_send_data_pkt()
Drsi_91x_mac80211.c854 hdrlen = ieee80211_hdrlen(hdr->frame_control); in rsi_fill_rx_status()
867 if (ieee80211_has_protected(hdr->frame_control)) { in rsi_fill_rx_status()
882 if (ieee80211_is_beacon(hdr->frame_control)) in rsi_fill_rx_status()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
Dtrx.c256 fc = le16_to_cpu(hdr->frame_control); in translate_rx_signal_stuff()
257 type = WLAN_FC_GET_TYPE(hdr->frame_control); in translate_rx_signal_stuff()
270 if (ieee80211_is_beacon(hdr->frame_control)) in translate_rx_signal_stuff()
337 (ieee80211_has_protected(hdr->frame_control))) in rtl8723e_rx_query_desc()
377 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_desc()
382 bool lastseg = ((hdr->frame_control & in rtl8723e_tx_fill_desc()
556 __le16 fc = hdr->frame_control; in rtl8723e_tx_fill_cmddesc()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Duap_event.c62 if (ieee80211_is_assoc_req(event->frame_control)) in mwifiex_process_uap_event()
64 else if (ieee80211_is_reassoc_req(event->frame_control)) in mwifiex_process_uap_event()
73 (u8 *)&event->frame_control; in mwifiex_process_uap_event()
Dutil.c331 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in mwifiex_parse_mgmt_packet()
385 if (ieee80211_is_mgmt(ieee_hdr->frame_control)) { in mwifiex_process_mgmt_packet()
Dtdls.c693 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in mwifiex_construct_tdls_action_frame()
Dfw.h1623 __le16 frame_control; member
Dcfg80211.c172 ieee80211_is_probe_resp(mgmt->frame_control)) { in mwifiex_cfg80211_mgmt_tx()
199 if (ieee80211_is_action(mgmt->frame_control)) in mwifiex_cfg80211_mgmt_tx()
/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_recv.c634 pwrbit = ieee80211_has_pm(hdr->frame_control); in process23a_pwrbit_data()
913 if (ieee80211_is_nullfunc(hdr->frame_control)) { in ap2sta_data_frame()
1008 if (ieee80211_is_data_qos(hdr->frame_control)) in sta2ap_data_frame()
1011 if (ieee80211_is_nullfunc(hdr->frame_control)) { in sta2ap_data_frame()
1049 if (!ieee80211_is_ctl(hdr->frame_control)) in validate_recv_ctrl_frame()
1057 if (ieee80211_is_pspoll(hdr->frame_control)) { in validate_recv_ctrl_frame()
1213 if (ieee80211_is_beacon(hdr->frame_control)) in validate_recv_mgnt_frame()
1215 else if (ieee80211_is_probe_req(hdr->frame_control)) in validate_recv_mgnt_frame()
1217 else if (ieee80211_is_probe_resp(hdr->frame_control)) { in validate_recv_mgnt_frame()
1248 bretry = ieee80211_has_retry(hdr->frame_control); in validate_recv_data_frame()
[all …]
Drtw_mlme_ext.c644 if (!ieee80211_is_mgmt(mgmt->frame_control)) in mgt_dispatcher23a()
655 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in mgt_dispatcher23a()
669 if (ieee80211_has_retry(mgmt->frame_control)) { in mgt_dispatcher23a()
742 if (unlikely(!ieee80211_is_probe_req(mgmt->frame_control))) { in OnProbeReq23a()
1349 if (ieee80211_is_assoc_req(mgmt->frame_control)) { in OnAssocReq23a()
1727 if (ieee80211_is_assoc_req(mgmt->frame_control)) in OnAssocReq23a()
1756 if (ieee80211_is_assoc_req(mgmt->frame_control)) in OnAssocReq23a()
2395 mgmt->frame_control = in issue_beacon23a()
2550 mgmt->frame_control = in issue_probersp()
2705 pwlanhdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in _issue_probereq()
[all …]
Drtw_xmit.c873 pwlanhdr->frame_control = cpu_to_le16(pattrib->type); in rtw_make_wlanhdr()
879 pwlanhdr->frame_control |= in rtw_make_wlanhdr()
890 pwlanhdr->frame_control |= in rtw_make_wlanhdr()
915 pwlanhdr->frame_control |= in rtw_make_wlanhdr()
918 pwlanhdr->frame_control |= in rtw_make_wlanhdr()
1210 hdr->frame_control &= in rtw_xmitframe_coalesce23a()
1219 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREFRAGS); in rtw_xmitframe_coalesce23a()
Drtw_security.c1153 u16 frsubtype = le16_to_cpu(hdr->frame_control) & IEEE80211_FCTL_STYPE; in aes_cipher()
1169 if (ieee80211_is_data(hdr->frame_control)) { in aes_cipher()
1374 u16 frsubtype = le16_to_cpu(hdr->frame_control) & IEEE80211_FCTL_STYPE; in aes_decipher()
1403 if (ieee80211_is_data(hdr->frame_control)) { in aes_decipher()
Drtw_wlan_util.c872 if (unlikely(!ieee80211_is_beacon(mgmt->frame_control))) { in rtw_check_bcn_info23a()
/linux-4.1.27/drivers/staging/vt6655/
Drxtx.c691 buf->data.frame_control = in s_vFillRTSHead()
745 buf->data.frame_control = in s_vFillRTSHead()
767 buf->data.frame_control = in s_vFillRTSHead()
797 buf->data.frame_control = in s_vFillRTSHead()
818 buf->data.frame_control = in s_vFillRTSHead()
883 buf->data.frame_control = in s_vFillCTSHead()
908 buf->data.frame_control = in s_vFillCTSHead()
1253 if (ieee80211_has_a4(hdr->frame_control)) in vnt_fill_txkey()
1262 mic_hdr->frame_control = cpu_to_le16( in vnt_fill_txkey()
1263 le16_to_cpu(hdr->frame_control) & 0xc78f); in vnt_fill_txkey()
[all …]
Ddpc.c115 fc = hdr->frame_control; in vnt_rx_data()
Drxtx.h52 __le16 frame_control; member
Ddevice_main.c1194 if (ieee80211_is_data(hdr->frame_control)) in vnt_tx_packet()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c449 !ieee80211_is_mgmt(hdr->frame_control); in ath10k_htt_tx()
459 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_htt_tx()
460 ieee80211_is_deauth(hdr->frame_control) || in ath10k_htt_tx()
461 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_htt_tx()
462 ieee80211_has_protected(hdr->frame_control)) in ath10k_htt_tx()
515 if (!ieee80211_has_protected(hdr->frame_control)) in ath10k_htt_tx()
Dhtt_rx.c878 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_get_tid()
935 return round_up(ieee80211_hdrlen(hdr->frame_control), 4); in ath10k_htt_rx_nwifi_hdrlen()
998 if (!ieee80211_has_morefrags(hdr->frame_control) && in ath10k_htt_rx_h_undecap_raw()
1003 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_raw()
1041 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_nwifi()
1074 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_find_rfc1042()
1121 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_eth()
1149 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_undecap_snap()
1266 hdr_len = ieee80211_hdrlen(hdr->frame_control); in ath10k_htt_rx_h_mpdu()
1326 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ath10k_htt_rx_h_mpdu()
[all …]
Dwmi.c1065 fc = le16_to_cpu(hdr->frame_control); in ath10k_wmi_op_gen_mgmt_tx()
1067 if (WARN_ON_ONCE(!ieee80211_is_mgmt(hdr->frame_control))) in ath10k_wmi_op_gen_mgmt_tx()
1072 if ((ieee80211_is_action(hdr->frame_control) || in ath10k_wmi_op_gen_mgmt_tx()
1073 ieee80211_is_deauth(hdr->frame_control) || in ath10k_wmi_op_gen_mgmt_tx()
1074 ieee80211_is_disassoc(hdr->frame_control)) && in ath10k_wmi_op_gen_mgmt_tx()
1075 ieee80211_has_protected(hdr->frame_control)) { in ath10k_wmi_op_gen_mgmt_tx()
1423 if (!ieee80211_is_auth(hdr->frame_control) || in ath10k_wmi_handle_wep_reauth()
1424 !ieee80211_has_protected(hdr->frame_control)) in ath10k_wmi_handle_wep_reauth()
1427 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ath10k_wmi_handle_wep_reauth()
1567 fc = le16_to_cpu(hdr->frame_control); in ath10k_wmi_event_mgmt_rx()
[all …]
Dmac.c2279 if (ieee80211_is_mgmt(hdr->frame_control)) in ath10k_tx_h_get_tid()
2282 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_tx_h_get_tid()
2312 if (!ieee80211_is_data_qos(hdr->frame_control)) in ath10k_tx_h_nwifi()
2326 if (ieee80211_is_qos_nullfunc(hdr->frame_control)) { in ath10k_tx_h_nwifi()
2327 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); in ath10k_tx_h_nwifi()
2344 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control))) { in ath10k_tx_h_add_p2p_noa_ie()
2379 if (ieee80211_is_mgmt(hdr->frame_control)) { in ath10k_tx_htt()
2396 ieee80211_is_nullfunc(hdr->frame_control)) { in ath10k_tx_htt()
Dtrace.h28 return ieee80211_hdrlen(hdr->frame_control); in ath10k_frm_hdr_len()
Dwmi-tlv.c2122 fc = le16_to_cpu(hdr->frame_control); in ath10k_wmi_tlv_op_gen_beacon_dma()
2132 cmd->frame_control = __cpu_to_le32(fc); in ath10k_wmi_tlv_op_gen_beacon_dma()
Dwmi.h3943 __le32 frame_control; member
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Drx.c157 ieee80211_hdrlen(hdr->frame_control))); in wl1271_rx_handle_data()
186 if (ieee80211_is_beacon(hdr->frame_control)) in wl1271_rx_handle_data()
188 if (ieee80211_is_data_present(hdr->frame_control)) in wl1271_rx_handle_data()
Dtx.c96 if (!ieee80211_is_auth(hdr->frame_control)) in wl1271_tx_ap_update_inconnection_sta()
273 __le16 frame_control; in wl1271_tx_fill_hdr() local
281 frame_control = hdr->frame_control; in wl1271_tx_fill_hdr()
285 int hdrlen = ieee80211_hdrlen(frame_control); in wl1271_tx_fill_hdr()
339 else if (ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
348 !ieee80211_is_data(frame_control)) in wl1271_tx_fill_hdr()
361 if (ieee80211_is_auth(frame_control) && in wl1271_tx_fill_hdr()
362 ieee80211_has_protected(frame_control)) in wl1271_tx_fill_hdr()
715 return ieee80211_is_data_present(hdr->frame_control); in wl1271_tx_is_data_present()
Dinit.c198 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_ap_init_null_template()
231 qosnull->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_ap_init_qos_null_template()
Dcmd.c1293 hdr->frame_control = cpu_to_le16(fc); in wl1271_cmd_build_arp_rsp()
1317 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_build_qos_null_data()
Dmain.c1378 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl12xx_alloc_dummy_packet()
4075 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in wlcore_set_beacon_template()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00queue.c383 if (ieee80211_is_mgmt(hdr->frame_control) && in rt2x00queue_create_tx_descriptor_ht()
384 !ieee80211_is_beacon(hdr->frame_control)) in rt2x00queue_create_tx_descriptor_ht()
420 if (ieee80211_is_rts(hdr->frame_control) || in rt2x00queue_create_tx_descriptor()
421 ieee80211_is_cts(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor()
423 if (ieee80211_is_rts(hdr->frame_control)) in rt2x00queue_create_tx_descriptor()
442 if (ieee80211_has_morefrags(hdr->frame_control)) { in rt2x00queue_create_tx_descriptor()
457 if (ieee80211_is_beacon(hdr->frame_control) || in rt2x00queue_create_tx_descriptor()
458 ieee80211_is_probe_resp(hdr->frame_control)) in rt2x00queue_create_tx_descriptor()
574 if (likely(!ieee80211_is_back_req(bar->frame_control))) in rt2x00queue_bar_check()
Drt2x00dev.c283 if (likely(!ieee80211_is_back_req(bar->frame_control))) in rt2x00lib_txdone_bar_status()
550 if (likely(!ieee80211_is_back(ba->frame_control))) in rt2x00lib_rxdone_check_ba()
600 if (likely(!ieee80211_is_beacon(hdr->frame_control) || in rt2x00lib_rxdone_check_ps()
Drt2x00link.c221 if (!ieee80211_is_beacon(hdr->frame_control) || in rt2x00link_update_stats()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dtrx.c229 fc = le16_to_cpu(hdr->frame_control); in _rtl8723be_translate_rx_signal_stuff()
230 type = WLAN_FC_GET_TYPE(hdr->frame_control); in _rtl8723be_translate_rx_signal_stuff()
250 if (ieee80211_is_beacon(hdr->frame_control)) in _rtl8723be_translate_rx_signal_stuff()
393 (ieee80211_has_protected(hdr->frame_control))) in rtl8723be_rx_query_desc()
436 __le16 fc = hdr->frame_control; in rtl8723be_tx_fill_desc()
442 bool lastseg = ((hdr->frame_control & in rtl8723be_tx_fill_desc()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dtrx.c312 fc = hdr->frame_control; in _rtl88ee_translate_rx_signal_stuff()
327 if (ieee80211_is_beacon(hdr->frame_control)) in _rtl88ee_translate_rx_signal_stuff()
464 (ieee80211_has_protected(hdr->frame_control))) in rtl88ee_rx_query_desc()
511 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_desc()
517 bool lastseg = ((hdr->frame_control & in rtl88ee_tx_fill_desc()
702 __le16 fc = hdr->frame_control; in rtl88ee_tx_fill_cmddesc()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dtrx.c316 fc = hdr->frame_control; in translate_rx_signal_stuff()
317 type = WLAN_FC_GET_TYPE(hdr->frame_control); in translate_rx_signal_stuff()
334 if (ieee80211_is_beacon(hdr->frame_control)) in translate_rx_signal_stuff()
343 ieee80211_is_data_qos(hdr->frame_control) && in translate_rx_signal_stuff()
547 (ieee80211_has_protected(hdr->frame_control))) in rtl8821ae_rx_query_desc()
696 __le16 fc = hdr->frame_control; in rtl8821ae_tx_fill_desc()
702 bool lastseg = ((hdr->frame_control & in rtl8821ae_tx_fill_desc()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.c312 fc = hdr->frame_control; in _rtl92ce_translate_rx_signal_stuff()
393 (ieee80211_has_protected(hdr->frame_control))) in rtl92ce_rx_query_desc()
436 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_desc()
441 bool lastseg = ((hdr->frame_control & in rtl92ce_tx_fill_desc()
614 __le16 fc = hdr->frame_control; in rtl92ce_tx_fill_cmddesc()
/linux-4.1.27/drivers/net/wireless/b43legacy/
Dxmit.c217 txhdr->mac_frame_ctl = wlhdr->frame_control; in generate_txhdr_fw3()
256 wlhdr_len = ieee80211_hdrlen(wlhdr->frame_control); in generate_txhdr_fw3()
477 fctl = wlhdr->frame_control; in b43legacy_rx()
498 wlhdr->frame_control = fctl; in b43legacy_rx()
Dmain.c1121 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in b43legacy_generate_probe_resp()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dusb.c465 fc = hdr->frame_control; in _rtl_usb_rx_process_agg()
507 fc = hdr->frame_control; in _rtl_usb_rx_process_noagg()
595 if (ieee80211_is_data_qos(hdr->frame_control)) { in _rtl_rx_get_padding()
608 if (ieee80211_has_a4(hdr->frame_control)) in _rtl_rx_get_padding()
968 __le16 fc = hdr->frame_control; in _rtl_usb_tx_preprocess()
984 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in _rtl_usb_tx_preprocess()
1004 if (!ieee80211_has_morefrags(hdr->frame_control)) { in _rtl_usb_tx_preprocess()
1020 __le16 fc = hdr->frame_control; in rtl_usb_tx()
Dps.c524 if (!ieee80211_is_beacon(hdr->frame_control)) in rtl_swlps_beacon()
994 if (!(ieee80211_is_beacon(hdr->frame_control) || in rtl_p2p_info()
995 ieee80211_is_probe_resp(hdr->frame_control) || in rtl_p2p_info()
996 ieee80211_is_action(hdr->frame_control))) in rtl_p2p_info()
999 if (ieee80211_is_action(hdr->frame_control)) in rtl_p2p_info()
Dbase.c1548 if (!ieee80211_is_beacon(hdr->frame_control) && in rtl_beacon_statistic()
1549 !ieee80211_is_probe_resp(hdr->frame_control)) in rtl_beacon_statistic()
1792 action_frame->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in rtl_make_smps_action()
1923 action_frame->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in rtl_make_del_ba()
2040 if (!ieee80211_is_beacon(hdr->frame_control)) in rtl_recognize_peer()
Dpci.c1656 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in rtl_pci_tx()
1716 if (!ieee80211_has_morefrags(hdr->frame_control)) in rtl_pci_tx()
Dwifi.h2995 return rtl_get_hdr(skb)->frame_control; in rtl_get_fc()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Drecv.c605 (ieee80211_is_data(hdr->frame_control) || in ath_rx_ps()
606 ieee80211_is_action(hdr->frame_control)) && in ath_rx_ps()
608 !ieee80211_has_moredata(hdr->frame_control)) { in ath_rx_ps()
618 !ieee80211_has_morefrags(hdr->frame_control)) { in ath_rx_ps()
928 if (ieee80211_is_data_present(hdr->frame_control) && in ath9k_rx_skb_preprocess()
929 !ieee80211_is_qos_nullfunc(hdr->frame_control)) in ath9k_rx_skb_preprocess()
1145 if (ieee80211_is_ack(hdr->frame_control)) in ath_rx_tasklet()
Dcommon.c42 fc = hdr->frame_control; in ath9k_cmn_rx_accept()
133 fc = hdr->frame_control; in ath9k_cmn_rx_skb_postprocess()
Dxmit.c356 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_RETRY); in ath_tx_set_retry()
1193 info->dur_update = !ieee80211_is_pspoll(hdr->frame_control); in ath_buf_set_rate()
1294 fc = hdr->frame_control; in get_hw_packet_type()
2150 else if (an && ieee80211_is_data(hdr->frame_control) && an->ps_key > 0) in setup_frame_info()
2204 if (tid && ieee80211_is_data_present(hdr->frame_control)) { in ath_tx_setup_buffer()
2212 if (!ieee80211_has_morefrags(hdr->frame_control)) in ath_tx_setup_buffer()
2273 else if (vif && ieee80211_is_data(hdr->frame_control)) { in ath_tx_prepare()
2285 !ieee80211_is_data(hdr->frame_control)) in ath_tx_prepare()
2289 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_prepare()
2354 queue = ieee80211_is_data_present(hdr->frame_control); in ath_tx_start()
[all …]
Ddynack.c189 if (ieee80211_is_assoc_req(hdr->frame_control) || in ath_dynack_sample_tx_ts()
190 ieee80211_is_assoc_resp(hdr->frame_control)) { in ath_dynack_sample_tx_ts()
Dhtc_drv_txrx.c236 if (avp && unlikely(ieee80211_is_probe_resp(hdr->frame_control))) { in ath9k_htc_tx_mgmt()
300 if (ieee80211_is_data_qos(hdr->frame_control)) { in ath9k_htc_tx_data()
376 if (ieee80211_is_data(hdr->frame_control)) in ath9k_htc_tx_start()
409 fc = hdr->frame_control; in ath9k_htc_check_tx_aggr()
1091 if (ieee80211_is_beacon(hdr->frame_control) && priv->ps_enabled) in ath9k_rx_tasklet()
Dtx99.c73 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA); in ath9k_build_tx99_skb()
Ddebug_sta.c116 if (!ieee80211_is_data(hdr->frame_control)) in ath_debug_rate_stats()
Dmain.c760 if (ieee80211_is_data(hdr->frame_control) && in ath9k_tx()
761 !ieee80211_is_nullfunc(hdr->frame_control) && in ath9k_tx()
762 !ieee80211_has_pm(hdr->frame_control)) { in ath9k_tx()
765 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ath9k_tx()
779 if (ieee80211_is_pspoll(hdr->frame_control)) { in ath9k_tx()
Dhtc_drv_beacon.c155 padpos = ieee80211_hdrlen(hdr->frame_control); in ath9k_htc_send_buffered()
Dlink.c243 hdr->frame_control = cpu_to_le16(ftype); in ath_paprd_calibrate()
Dchannel.c1090 nullfunc->frame_control |= in ath_chanctx_send_vif_ps_frame()
Dhtc_drv_main.c870 padpos = ieee80211_hdrlen(hdr->frame_control); in ath9k_htc_tx()
/linux-4.1.27/drivers/net/wireless/ath/
Dmain.c65 return ieee80211_is_beacon(hdr->frame_control) && in ath_is_mybeacon()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
Dtrx.c237 fc = hdr->frame_control; in _rtl92se_translate_rx_signal_stuff()
315 (ieee80211_has_protected(hdr->frame_control))) in rtl92se_rx_query_desc()
351 __le16 fc = hdr->frame_control; in rtl92se_tx_fill_desc()
355 bool lastseg = (!(hdr->frame_control & in rtl92se_tx_fill_desc()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Drx.c468 if (ieee80211_is_data_qos(hdr->frame_control)) { in carl9170_rx_copy_data()
476 if (ieee80211_has_a4(hdr->frame_control)) in carl9170_rx_copy_data()
579 if (likely(!ieee80211_is_back(bar->frame_control))) in carl9170_ba_check()
645 fc = ((struct ieee80211_hdr *)buf)->frame_control; in carl9170_ampdu_check()
Dtx.c452 if (unlikely(ieee80211_is_back_req(bar->frame_control)) && in carl9170_tx_bar_status()
1008 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control))) in carl9170_tx_prepare()
1321 if (unlikely(ieee80211_is_back_req(bar->frame_control)) && in carl9170_bar_check()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c81 __le16 fc = hdr->frame_control; in iwl_mvm_set_tx_cmd()
305 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params()
366 memcpy(tx_cmd->hdr, hdr, ieee80211_hdrlen(hdr->frame_control)); in iwl_mvm_tx_skb_non_sta()
403 fc = hdr->frame_control; in iwl_mvm_tx_skb()
1006 if (ieee80211_is_data_qos(hdr->frame_control)) in iwl_mvm_rx_ba_notif()
Drx.c189 if (!ieee80211_has_protected(hdr->frame_control) || in iwl_mvm_set_mac80211_rx_flag()
350 ieee80211_is_beacon(hdr->frame_control)) { in iwl_mvm_rx_rx_mpdu()
Dd3.c1259 if (ieee80211_is_data(hdr->frame_control)) { in iwl_mvm_report_wakeup_reasons()
1260 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in iwl_mvm_report_wakeup_reasons()
1271 if (ieee80211_has_protected(hdr->frame_control)) { in iwl_mvm_report_wakeup_reasons()
Dtdls.c482 hdr->frame_control); in iwl_mvm_tdls_config_channel_switch()
Dmac80211.c694 ieee80211_is_mgmt(hdr->frame_control) && in iwl_mvm_mac_tx()
695 !ieee80211_is_deauth(hdr->frame_control) && in iwl_mvm_mac_tx()
696 !ieee80211_is_disassoc(hdr->frame_control) && in iwl_mvm_mac_tx()
697 !ieee80211_is_action(hdr->frame_control))) in iwl_mvm_mac_tx()
Dcoex.c966 __le16 fc = hdr->frame_control; in iwl_mvm_bt_coex_tx_prio()
Dscan.c729 frame->frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_REQ); in iwl_mvm_build_unified_scan_probe()
Drs.c1106 if (ieee80211_is_data_qos(hdr->frame_control)) { in rs_get_tid()
1343 if (!ieee80211_is_data(hdr->frame_control) || in rs_mac80211_tx_status()
/linux-4.1.27/drivers/net/wireless/p54/
Dtxrx.c303 if (!ieee80211_is_beacon(hdr->frame_control)) in p54_pspoll_workaround()
689 if (ieee80211_is_data_qos(hdr->frame_control)) in p54_tx_80211_header()
727 if (unlikely(ieee80211_is_mgmt(hdr->frame_control))) { in p54_tx_80211_header()
728 if (ieee80211_is_probe_resp(hdr->frame_control)) { in p54_tx_80211_header()
733 } else if (ieee80211_is_beacon(hdr->frame_control)) { in p54_tx_80211_header()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dtrx.c254 fc = hdr->frame_control; in _rtl92ee_translate_rx_signal_stuff()
279 if (packet_matchbssid && ieee80211_is_data_qos(hdr->frame_control) && in _rtl92ee_translate_rx_signal_stuff()
414 (ieee80211_has_protected(hdr->frame_control))) in rtl92ee_rx_query_desc()
675 __le16 fc = hdr->frame_control; in rtl92ee_tx_fill_desc()
680 bool lastseg = ((hdr->frame_control & in rtl92ee_tx_fill_desc()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
Dtrx.c459 fc = hdr->frame_control; in _rtl92de_translate_rx_signal_stuff()
559 __le16 fc = hdr->frame_control; in rtl92de_tx_fill_desc()
565 bool lastseg = ((hdr->frame_control & in rtl92de_tx_fill_desc()
743 __le16 fc = hdr->frame_control; in rtl92de_tx_fill_cmddesc()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c70 __le16 fc = hdr->frame_control; in iwlagn_tx_cmd_build_basic()
304 fc = hdr->frame_control; in iwlagn_tx_skb()
445 hdr->frame_control |= in iwlagn_tx_skb()
1204 if (!ieee80211_is_data_qos(hdr->frame_control)) in iwlagn_rx_reply_tx()
1383 if (ieee80211_is_data_qos(hdr->frame_control)) in iwlagn_rx_reply_compressed_ba()
Drx.c678 u16 fc = le16_to_cpu(hdr->frame_control); in iwlagn_set_decrypted_flag()
730 __le16 fc = hdr->frame_control; in iwlagn_pass_packet_to_mac80211()
Dscan.c602 frame->frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_REQ); in iwl_fill_probe_req()
Drs.c293 if (ieee80211_is_data_qos(hdr->frame_control)) { in rs_tl_add_packet()
922 if (!ieee80211_is_data(hdr->frame_control) || in rs_tx_status()
2249 if (!ieee80211_is_data(hdr->frame_control) || in rs_rate_scale_perform()
/linux-4.1.27/drivers/net/wireless/libertas_tf/
Dmain.c588 need_padding = ieee80211_is_data_qos(hdr->frame_control); in lbtf_rx()
589 need_padding ^= ieee80211_has_a4(hdr->frame_control); in lbtf_rx()
590 need_padding ^= ieee80211_is_data_qos(hdr->frame_control) && in lbtf_rx()
/linux-4.1.27/drivers/net/wireless/b43/
Dxmit.c254 __le16 fctl = wlhdr->frame_control; in b43_generate_txhdr()
281 txhdr->mac_frame_ctl = wlhdr->frame_control; in b43_generate_txhdr()
718 fctl = wlhdr->frame_control; in b43_rx()
Dpio.c517 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); in b43_pio_tx()
Ddma.c1415 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA); in b43_dma_tx()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c419 fc = hdr->frame_control; in _rtl_rx_process()
510 __le16 fc = hdr->frame_control; in rtl92cu_tx_fill_desc()
656 __le16 fc = hdr->frame_control; in rtl92cu_tx_fill_cmddesc()
Dmac.c925 fc = hdr->frame_control; in rtl92c_translate_rx_signal_stuff()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Dieee80211_ext.h176 u16 frame_control; member
Dwifi.h593 unsigned short frame_control; member
/linux-4.1.27/drivers/net/wireless/
Dmwl8k.c811 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
814 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
845 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header()
867 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header()
898 if (ieee80211_is_data(wh->frame_control)) in mwl8k_encapsulate_tx_frame()
1270 ieee80211_is_beacon(wh->frame_control) && in mwl8k_capture_bssid()
1357 if (ieee80211_has_protected(wh->frame_control)) { in rxq_process()
1388 if (!ieee80211_is_auth(wh->frame_control)) in rxq_process()
1711 if (ieee80211_is_data(wh->frame_control)) { in mwl8k_txq_reclaim()
1907 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_txq_xmit()
[all …]
Dmac80211_hwsim.c626 pspoll->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in hwsim_send_ps_poll()
657 hdr->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in hwsim_send_nullfunc()
877 hdr11->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in mac80211_hwsim_monitor_ack()
965 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in mac80211_hwsim_tx_frame_nl()
1152 hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in mac80211_hwsim_tx_frame_no_nl()
1168 if (ieee80211_is_beacon(hdr->frame_control) || in mac80211_hwsim_tx_frame_no_nl()
1169 ieee80211_is_probe_resp(hdr->frame_control)) in mac80211_hwsim_tx_frame_no_nl()
Dadm8211.h459 __le16 frame_control; member
Datmel.c858 header.frame_control = cpu_to_le16(frame_ctl); in start_tx()
931 if (le16_to_cpu(header->frame_control) & IEEE80211_FCTL_FROMDS) in fast_rx_path()
974 if (le16_to_cpu(header->frame_control) & IEEE80211_FCTL_FROMDS) in frag_rx_path()
1085 frame_ctl = le16_to_cpu(header.frame_control); in rx_done_irq()
2872 header.frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_AUTH); in send_authentication_request()
2881 header.frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED); in send_authentication_request()
2917 header.frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in send_association_request()
2957 if (le16_to_cpu(header->frame_control) & IEEE80211_FCTL_FROMDS) in is_frame_from_current_bss()
3336 subtype = le16_to_cpu(header->frame_control) & IEEE80211_FCTL_STYPE; in atmel_management_frame()
Dadm8211.c1681 hdrlen = ieee80211_hdrlen(hdr->frame_control); in adm8211_tx()
1692 txhdr->frame_control = hdr->frame_control; in adm8211_tx()
Dat76c50x-usb.c1534 if (ieee80211_is_probe_resp(hdr->frame_control)) { in at76_guess_freq()
1537 } else if (ieee80211_is_beacon(hdr->frame_control)) { in at76_guess_freq()
1792 if (mgmt->frame_control & cpu_to_le16(IEEE80211_STYPE_AUTH)) { in at76_mac80211_tx()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dbase.c679 fc = hdr->frame_control; in get_hw_packet_type()
1226 hlen = ieee80211_hdrlen(hdr->frame_control); in ath5k_rx_decrypted()
1227 if (ieee80211_has_protected(hdr->frame_control) && in ath5k_rx_decrypted()
1310 __le16 frame_control = hdr->frame_control; in ath5k_common_padpos() local
1313 if (ieee80211_has_a4(frame_control)) in ath5k_common_padpos()
1316 if (ieee80211_is_data_qos(frame_control)) in ath5k_common_padpos()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c2352 if (ieee80211_is_assoc_req(hdr->frame_control)) in rtw_cfg80211_indicate_sta_assoc()
2405 mgmt.frame_control = in rtw_cfg80211_indicate_sta_disassoc()
2476 if (ieee80211_is_data(dot11_hdr->frame_control)) { in rtw_cfg80211_monitor_if_xmit_entry()
2480 if (ieee80211_is_data_qos(dot11_hdr->frame_control)) in rtw_cfg80211_monitor_if_xmit_entry()
2482 if (ieee80211_has_a4(dot11_hdr->frame_control)) in rtw_cfg80211_monitor_if_xmit_entry()
2505 } else if (ieee80211_is_action(dot11_hdr->frame_control)) { in rtw_cfg80211_monitor_if_xmit_entry()
3041 if (!ieee80211_is_action(hdr->frame_control)) in cfg80211_rtw_mgmt_tx()
/linux-4.1.27/drivers/staging/rtl8712/
Dwifi.h497 unsigned short frame_control; member
/linux-4.1.27/drivers/net/wireless/zd1211rw/
Dzd_mac.c677 if (ieee80211_is_pspoll(header->frame_control)) in cs_set_control()
882 if (!ieee80211_is_pspoll(hdr->frame_control)) in fill_ctrlset()
985 if (!ieee80211_is_ack(rx_hdr->frame_control)) in filter_ack()
/linux-4.1.27/drivers/net/wireless/orinoco/
Dhermes.h327 __le16 frame_control; member
/linux-4.1.27/drivers/staging/wlan-ng/
Dhfa384x_usb.c2733 memcpy(&(hw->txbuff.txfrm.desc.frame_control), p80211_hdr, in hfa384x_drvr_txframe()
3466 fc = le16_to_cpu(usbin->rxfrm.desc.frame_control); in hfa384x_usbin_rx()
3486 &usbin->rxfrm.desc.frame_control, hdrlen); in hfa384x_usbin_rx()
3564 fc = le16_to_cpu(rxdesc->frame_control); in hfa384x_int_rxmonitor()
3610 memcpy(datap, &(rxdesc->frame_control), hdrlen); in hfa384x_int_rxmonitor()
Dhfa384x.h471 u16 frame_control; member
534 __le16 frame_control; member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c696 if (ieee80211_is_rts(rts->frame_control)) { in brcms_c_ampdu_finalize()
700 if (ieee80211_is_cts(rts->frame_control)) { in brcms_c_ampdu_finalize()
Dmain.c925 lastframe = !ieee80211_has_morefrags(h->frame_control); in brcms_c_dotxstatus()
6259 qos = ieee80211_is_data_qos(h->frame_control); in brcms_c_d11hdrs_mac80211()
6300 if (ieee80211_is_beacon(h->frame_control)) in brcms_c_d11hdrs_mac80211()
6494 if ((ieee80211_is_data(h->frame_control) || in brcms_c_d11hdrs_mac80211()
6495 ieee80211_is_mgmt(h->frame_control)) && in brcms_c_d11hdrs_mac80211()
6518 if (!ieee80211_is_pspoll(h->frame_control) && in brcms_c_d11hdrs_mac80211()
6535 if (ieee80211_is_pspoll(h->frame_control)) in brcms_c_d11hdrs_mac80211()
6575 memcpy(&txh->MacFrameControl, &h->frame_control, sizeof(u16)); in brcms_c_d11hdrs_mac80211()
6666 rts->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in brcms_c_d11hdrs_mac80211()
6671 rts->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in brcms_c_d11hdrs_mac80211()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dmain.c436 if (ieee80211_is_assoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta()
441 } else if (ieee80211_is_reassoc_req(mgmt->frame_control) && in ath6kl_connect_ap_mode_sta()
Dwmi.c403 sub_type = pwh->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE); in ath6kl_wmi_dot11_hdr_remove()
422 switch ((le16_to_cpu(wh.frame_control)) & in ath6kl_wmi_dot11_hdr_remove()
Dcfg80211.c3201 ieee80211_is_probe_resp(mgmt->frame_control) && in ath6kl_mgmt_tx()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dlibipw.h907 switch (libipw_get_hdrlen(le16_to_cpu(hdr->frame_control))) { in libipw_get_payload()
Dipw2200.c4544 le16_to_cpu(((struct ieee80211_hdr *)(x))->frame_control)) in ipw_rx_notification()
7669 fc = le16_to_cpu(hdr->frame_control); in ipw_rebuild_decrypted_skb()
7674 hdr->frame_control = cpu_to_le16(fc); in ipw_rebuild_decrypted_skb()
7980 if (libipw_is_management(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_rx()
7985 } else if (libipw_is_control(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_rx()
7990 } else if (libipw_is_data(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_rx()
8008 len = libipw_get_hdrlen(le16_to_cpu(hdr->frame_control)); in ipw_handle_promiscuous_rx()
10343 if (libipw_is_management(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_tx()
10348 } else if (libipw_is_control(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_tx()
10353 } else if (libipw_is_data(le16_to_cpu(hdr->frame_control))) { in ipw_handle_promiscuous_tx()
[all …]
Dlibipw_rx.c44 u16 fc = le16_to_cpu(hdr->frame_control); in libipw_monitor_rx()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965-rs.c279 if (ieee80211_is_data_qos(hdr->frame_control)) { in il4965_rs_tl_add_packet()
834 if (!ieee80211_is_data(hdr->frame_control) || in il4965_rs_tx_status()
1774 if (!ieee80211_is_data(hdr->frame_control) || in il4965_rs_rate_scale_perform()
D4965-mac.c584 __le16 fc = hdr->frame_control; in il4965_pass_packet_to_mac80211()
1504 __le16 fc = hdr->frame_control; in il4965_tx_cmd_build_basic()
1691 fc = hdr->frame_control; in il4965_tx_skb()
1860 if (!ieee80211_has_morefrags(hdr->frame_control)) { in il4965_tx_skb()
2496 if (ieee80211_is_data_qos(hdr->frame_control)) in il4965_tx_queue_reclaim()
2808 if (ieee80211_is_data_qos(hdr->frame_control)) { in il4965_hdl_tx()
D3945.c489 __le16 fc = hdr->frame_control; in il3945_pass_packet_to_mac80211()
709 __le16 fc = hdr->frame_control; in il3945_hw_build_tx_cmd_rate()
D3945-mac.c415 __le16 fc = hdr->frame_control; in il3945_build_tx_cmd_basic()
502 fc = hdr->frame_control; in il3945_tx_skb()
623 if (!ieee80211_has_morefrags(hdr->frame_control)) { in il3945_tx_skb()
Dcommon.c1643 frame->frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_REQ); in il_fill_probe_req()
2676 u16 fc = le16_to_cpu(hdr->frame_control); in il_set_decrypted_flag()
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/
Ddev.c254 if (ieee80211_has_morefrags(tx_hdr->frame_control)) in rtl8187_tx()
293 u16 fc = le16_to_cpu(tx_hdr->frame_control); in rtl8187_tx()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dwmi.c319 __le16 fc = rx_mgmt_frame->frame_control; in wmi_evt_rx_mgmt()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dmain.c592 template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1251_build_qos_null_data()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c4356 if (!ieee80211_is_mgmt(mgmt->frame_control)) { in brcmf_cfg80211_mgmt_tx()
4363 if (ieee80211_is_probe_resp(mgmt->frame_control)) { in brcmf_cfg80211_mgmt_tx()
4386 } else if (ieee80211_is_action(mgmt->frame_control)) { in brcmf_cfg80211_mgmt_tx()
4425 brcmf_dbg(TRACE, "Unhandled, fc=%04x!!\n", mgmt->frame_control); in brcmf_cfg80211_mgmt_tx()
Dp2p.c1427 mgmt_frame->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); in brcmf_p2p_notify_action_frame_rx()
/linux-4.1.27/include/net/
Dmac80211.h4210 const u8 *data = (u8 *)hdr + ieee80211_hdrlen(hdr->frame_control); in ieee80211_get_tkip_p1k()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1776 __le16 fc = hdr->frame_control; in iwl_trans_pcie_tx()