Lines Matching refs:frame_control

64 	fc = hdr->frame_control;  in ieee80211_clean_skb()
77 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_ORDER); in ieee80211_clean_skb()
108 if (ieee80211_is_ctl(hdr->frame_control) && in should_drop_frame()
109 !ieee80211_is_pspoll(hdr->frame_control) && in should_drop_frame()
110 !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()
882 if (ieee80211_is_data_qos(hdr->frame_control)) { in ieee80211_parse_qos()
905 if (ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_parse_qos()
985 !ieee80211_is_beacon(hdr->frame_control)) in ieee80211_get_mmie_keyidx()
1007 __le16 fc = hdr->frame_control; in ieee80211_get_keyid()
1027 if (ieee80211_is_data(hdr->frame_control)) { in ieee80211_rx_mesh_check()
1029 if (ieee80211_has_tods(hdr->frame_control) || in ieee80211_rx_mesh_check()
1030 !ieee80211_has_fromds(hdr->frame_control)) in ieee80211_rx_mesh_check()
1035 if (!ieee80211_has_a4(hdr->frame_control)) in ieee80211_rx_mesh_check()
1049 if (!ieee80211_is_mgmt(hdr->frame_control)) in ieee80211_rx_mesh_check()
1052 if (ieee80211_is_action(hdr->frame_control)) { in ieee80211_rx_mesh_check()
1067 if (ieee80211_is_probe_req(hdr->frame_control) || in ieee80211_rx_mesh_check()
1068 ieee80211_is_probe_resp(hdr->frame_control) || in ieee80211_rx_mesh_check()
1069 ieee80211_is_beacon(hdr->frame_control) || in ieee80211_rx_mesh_check()
1070 ieee80211_is_auth(hdr->frame_control)) in ieee80211_rx_mesh_check()
1347 if (!ieee80211_is_data_qos(hdr->frame_control) || in ieee80211_rx_reorder_ampdu()
1375 if (unlikely(hdr->frame_control & cpu_to_le16(IEEE80211_STYPE_NULLFUNC))) in ieee80211_rx_reorder_ampdu()
1427 if (ieee80211_is_ctl(hdr->frame_control) || in ieee80211_rx_h_check_dup()
1428 ieee80211_is_any_nullfunc(hdr->frame_control) || in ieee80211_rx_h_check_dup()
1435 if (unlikely(ieee80211_has_retry(hdr->frame_control) && in ieee80211_rx_h_check_dup()
1464 if (unlikely((ieee80211_is_data(hdr->frame_control) || in ieee80211_rx_h_check()
1465 ieee80211_is_pspoll(hdr->frame_control)) && in ieee80211_rx_h_check()
1475 ieee80211_is_data_present(hdr->frame_control)) { in ieee80211_rx_h_check()
1479 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_rx_h_check()
1516 if (!ieee80211_has_fromds(hdr->frame_control)) in ieee80211_rx_h_check_more_data()
1520 if (!ieee80211_is_data(hdr->frame_control)) in ieee80211_rx_h_check_more_data()
1523 if (!ieee80211_has_moredata(hdr->frame_control)) { in ieee80211_rx_h_check_more_data()
1689 if (unlikely(ieee80211_is_pspoll(hdr->frame_control))) { in ieee80211_rx_h_uapsd_and_pspoll()
1697 } else if (!ieee80211_has_morefrags(hdr->frame_control) && in ieee80211_rx_h_uapsd_and_pspoll()
1699 ieee80211_has_pm(hdr->frame_control) && in ieee80211_rx_h_uapsd_and_pspoll()
1700 (ieee80211_is_data_qos(hdr->frame_control) || in ieee80211_rx_h_uapsd_and_pspoll()
1701 ieee80211_is_qos_nullfunc(hdr->frame_control))) { in ieee80211_rx_h_uapsd_and_pspoll()
1737 if (ieee80211_is_data_present(hdr->frame_control) && in ieee80211_rx_h_sta_process()
1744 } else if (!ieee80211_is_s1g_beacon(hdr->frame_control) && in ieee80211_rx_h_sta_process()
1751 if (ieee80211_is_data_present(hdr->frame_control)) in ieee80211_rx_h_sta_process()
1781 if (ieee80211_is_s1g_beacon(hdr->frame_control)) in ieee80211_rx_h_sta_process()
1790 !ieee80211_has_morefrags(hdr->frame_control) && in ieee80211_rx_h_sta_process()
1792 (ieee80211_is_mgmt(hdr->frame_control) || in ieee80211_rx_h_sta_process()
1793 ieee80211_is_data(hdr->frame_control)) && in ieee80211_rx_h_sta_process()
1798 if (!ieee80211_has_pm(hdr->frame_control)) in ieee80211_rx_h_sta_process()
1801 if (ieee80211_has_pm(hdr->frame_control)) in ieee80211_rx_h_sta_process()
1814 if (ieee80211_is_any_nullfunc(hdr->frame_control)) { in ieee80211_rx_h_sta_process()
1823 if (ieee80211_has_a4(hdr->frame_control) && in ieee80211_rx_h_sta_process()
1892 if (ieee80211_is_ext(hdr->frame_control)) in ieee80211_rx_h_decrypt()
1925 fc = hdr->frame_control; in ieee80211_rx_h_decrypt()
2193 if (((hdr->frame_control ^ f_hdr->frame_control) & in ieee80211_reassemble_find()
2232 fc = hdr->frame_control; in ieee80211_rx_h_defragment()
2412 __le16 fc = mgmt->frame_control; in ieee80211_drop_unencrypted_mgmt()
2488 if (ieee80211_has_a4(hdr->frame_control) && in __ieee80211_data_to_8023()
2493 !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) { in __ieee80211_data_to_8023()
2791 .frame_control = cpu_to_le16(fc) in ieee80211_rx_mesh_data()
2890 ieee80211_fill_mesh_addresses(&hdr, &hdr.frame_control, in ieee80211_rx_mesh_data()
2892 hdrlen = ieee80211_hdrlen(hdr.frame_control); in ieee80211_rx_mesh_data()
2971 __le16 fc = hdr->frame_control; in __ieee80211_rx_h_amsdu()
2977 if (unlikely(ieee80211_has_a4(hdr->frame_control))) { in __ieee80211_rx_h_amsdu()
3065 __le16 fc = hdr->frame_control; in ieee80211_rx_h_amsdu()
3076 if (unlikely(ieee80211_has_a4(hdr->frame_control))) { in ieee80211_rx_h_amsdu()
3123 __le16 fc = hdr->frame_control; in ieee80211_rx_h_data()
3128 if (unlikely(!ieee80211_is_data(hdr->frame_control))) in ieee80211_rx_h_data()
3131 if (unlikely(!ieee80211_is_data_present(hdr->frame_control))) in ieee80211_rx_h_data()
3138 if (ieee80211_has_a4(hdr->frame_control) && in ieee80211_rx_h_data()
3209 if (likely(!ieee80211_is_ctl(bar->frame_control))) in ieee80211_rx_h_ctrl()
3212 if (ieee80211_is_back_req(bar->frame_control)) { in ieee80211_rx_h_ctrl()
3302 resp->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_process_sa_query_req()
3364 if (ieee80211_is_s1g_beacon(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3375 if (!ieee80211_is_mgmt(mgmt->frame_control)) in ieee80211_rx_h_mgmt_check()
3379 if (ieee80211_is_action(mgmt->frame_control) && in ieee80211_rx_h_mgmt_check()
3384 ieee80211_is_beacon(mgmt->frame_control) && in ieee80211_rx_h_mgmt_check()
3469 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action()
3820 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_post_userspace()
3857 if (!ieee80211_is_action(mgmt->frame_control)) in ieee80211_rx_h_action_return()
3917 if (!ieee80211_is_ext(hdr->frame_control)) in ieee80211_rx_h_ext()
3936 stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE); in ieee80211_rx_h_mgmt()
4368 ieee80211_is_s1g_beacon(hdr->frame_control); in ieee80211_accept_frame()
4387 if (ieee80211_is_beacon(hdr->frame_control)) in ieee80211_accept_frame()
4407 if (!ieee80211_is_data_present(hdr->frame_control)) in ieee80211_accept_frame()
4450 return ieee80211_is_beacon(hdr->frame_control); in ieee80211_accept_frame()
4453 if (!ieee80211_has_tods(hdr->frame_control)) { in ieee80211_accept_frame()
4455 if (ieee80211_is_data(hdr->frame_control)) in ieee80211_accept_frame()
4458 if (ieee80211_is_action(hdr->frame_control) && in ieee80211_accept_frame()
4481 if (ieee80211_is_data(hdr->frame_control) && multicast) in ieee80211_accept_frame()
4487 ieee80211_is_probe_req(hdr->frame_control) || in ieee80211_accept_frame()
4488 ieee80211_is_probe_resp(hdr->frame_control) || in ieee80211_accept_frame()
4489 ieee80211_is_beacon(hdr->frame_control); in ieee80211_accept_frame()
4802 int hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_invoke_fast_rx()
4831 if (unlikely(!ieee80211_is_data_present(hdr->frame_control))) in ieee80211_invoke_fast_rx()
4849 if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FROMDS | in ieee80211_invoke_fast_rx()
4888 if (rx->key && !ieee80211_has_protected(hdr->frame_control)) in ieee80211_invoke_fast_rx()
4999 !ieee80211_is_probe_resp(hdr->frame_control) && in ieee80211_prepare_and_rx_handle()
5000 !ieee80211_is_beacon(hdr->frame_control)) { in ieee80211_prepare_and_rx_handle()
5007 if (!ieee80211_has_tods(hdr->frame_control) && in ieee80211_prepare_and_rx_handle()
5008 !ieee80211_has_fromds(hdr->frame_control)) { in ieee80211_prepare_and_rx_handle()
5124 fc = ((struct ieee80211_hdr *)skb->data)->frame_control; in __ieee80211_rx_handle_packet()
5153 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control) || in __ieee80211_rx_handle_packet()
5154 ieee80211_is_beacon(hdr->frame_control) || in __ieee80211_rx_handle_packet()
5155 ieee80211_is_s1g_beacon(hdr->frame_control))) in __ieee80211_rx_handle_packet()
5388 ieee80211_is_data_present(hdr->frame_control)) in ieee80211_rx_list()