Lines Matching refs:frame_control

64 	fc = hdr->frame_control;
77 hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_ORDER);
108 if (ieee80211_is_ctl(hdr->frame_control) &&
109 !ieee80211_is_pspoll(hdr->frame_control) &&
110 !ieee80211_is_back_req(hdr->frame_control))
270 if (!ieee80211_is_action(action.hdr.frame_control))
810 /* also consider the hdr->frame_control */
882 if (ieee80211_is_data_qos(hdr->frame_control)) {
905 if (ieee80211_is_mgmt(hdr->frame_control))
985 !ieee80211_is_beacon(hdr->frame_control))
1007 __le16 fc = hdr->frame_control;
1027 if (ieee80211_is_data(hdr->frame_control)) {
1029 if (ieee80211_has_tods(hdr->frame_control) ||
1030 !ieee80211_has_fromds(hdr->frame_control))
1035 if (!ieee80211_has_a4(hdr->frame_control))
1049 if (!ieee80211_is_mgmt(hdr->frame_control))
1052 if (ieee80211_is_action(hdr->frame_control)) {
1067 if (ieee80211_is_probe_req(hdr->frame_control) ||
1068 ieee80211_is_probe_resp(hdr->frame_control) ||
1069 ieee80211_is_beacon(hdr->frame_control) ||
1070 ieee80211_is_auth(hdr->frame_control))
1347 if (!ieee80211_is_data_qos(hdr->frame_control) ||
1375 if (unlikely(hdr->frame_control & cpu_to_le16(IEEE80211_STYPE_NULLFUNC)))
1427 if (ieee80211_is_ctl(hdr->frame_control) ||
1428 ieee80211_is_any_nullfunc(hdr->frame_control) ||
1435 if (unlikely(ieee80211_has_retry(hdr->frame_control) &&
1464 if (unlikely((ieee80211_is_data(hdr->frame_control) ||
1465 ieee80211_is_pspoll(hdr->frame_control)) &&
1475 ieee80211_is_data_present(hdr->frame_control)) {
1479 hdrlen = ieee80211_hdrlen(hdr->frame_control);
1516 if (!ieee80211_has_fromds(hdr->frame_control))
1520 if (!ieee80211_is_data(hdr->frame_control))
1523 if (!ieee80211_has_moredata(hdr->frame_control)) {
1689 if (unlikely(ieee80211_is_pspoll(hdr->frame_control))) {
1697 } else if (!ieee80211_has_morefrags(hdr->frame_control) &&
1699 ieee80211_has_pm(hdr->frame_control) &&
1700 (ieee80211_is_data_qos(hdr->frame_control) ||
1701 ieee80211_is_qos_nullfunc(hdr->frame_control))) {
1737 if (ieee80211_is_data_present(hdr->frame_control) &&
1744 } else if (!ieee80211_is_s1g_beacon(hdr->frame_control) &&
1751 if (ieee80211_is_data_present(hdr->frame_control))
1781 if (ieee80211_is_s1g_beacon(hdr->frame_control))
1790 !ieee80211_has_morefrags(hdr->frame_control) &&
1792 (ieee80211_is_mgmt(hdr->frame_control) ||
1793 ieee80211_is_data(hdr->frame_control)) &&
1798 if (!ieee80211_has_pm(hdr->frame_control))
1801 if (ieee80211_has_pm(hdr->frame_control))
1814 if (ieee80211_is_any_nullfunc(hdr->frame_control)) {
1823 if (ieee80211_has_a4(hdr->frame_control) &&
1892 if (ieee80211_is_ext(hdr->frame_control))
1925 fc = hdr->frame_control;
2193 if (((hdr->frame_control ^ f_hdr->frame_control) &
2232 fc = hdr->frame_control;
2412 __le16 fc = mgmt->frame_control;
2488 if (ieee80211_has_a4(hdr->frame_control) &&
2493 !!sdata->u.mgd.use_4addr != !!ieee80211_has_a4(hdr->frame_control)) {
2791 .frame_control = cpu_to_le16(fc)
2890 ieee80211_fill_mesh_addresses(&hdr, &hdr.frame_control,
2892 hdrlen = ieee80211_hdrlen(hdr.frame_control);
2971 __le16 fc = hdr->frame_control;
2977 if (unlikely(ieee80211_has_a4(hdr->frame_control))) {
3065 __le16 fc = hdr->frame_control;
3076 if (unlikely(ieee80211_has_a4(hdr->frame_control))) {
3123 __le16 fc = hdr->frame_control;
3128 if (unlikely(!ieee80211_is_data(hdr->frame_control)))
3131 if (unlikely(!ieee80211_is_data_present(hdr->frame_control)))
3138 if (ieee80211_has_a4(hdr->frame_control) &&
3209 if (likely(!ieee80211_is_ctl(bar->frame_control)))
3212 if (ieee80211_is_back_req(bar->frame_control)) {
3302 resp->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
3364 if (ieee80211_is_s1g_beacon(mgmt->frame_control))
3375 if (!ieee80211_is_mgmt(mgmt->frame_control))
3379 if (ieee80211_is_action(mgmt->frame_control) &&
3384 ieee80211_is_beacon(mgmt->frame_control) &&
3469 if (!ieee80211_is_action(mgmt->frame_control))
3820 if (!ieee80211_is_action(mgmt->frame_control))
3857 if (!ieee80211_is_action(mgmt->frame_control))
3917 if (!ieee80211_is_ext(hdr->frame_control))
3936 stype = mgmt->frame_control & cpu_to_le16(IEEE80211_FCTL_STYPE);
4368 ieee80211_is_s1g_beacon(hdr->frame_control);
4387 if (ieee80211_is_beacon(hdr->frame_control))
4407 if (!ieee80211_is_data_present(hdr->frame_control))
4450 return ieee80211_is_beacon(hdr->frame_control);
4453 if (!ieee80211_has_tods(hdr->frame_control)) {
4455 if (ieee80211_is_data(hdr->frame_control))
4458 if (ieee80211_is_action(hdr->frame_control) &&
4481 if (ieee80211_is_data(hdr->frame_control) && multicast)
4487 ieee80211_is_probe_req(hdr->frame_control) ||
4488 ieee80211_is_probe_resp(hdr->frame_control) ||
4489 ieee80211_is_beacon(hdr->frame_control);
4802 int hdrlen = ieee80211_hdrlen(hdr->frame_control);
4831 if (unlikely(!ieee80211_is_data_present(hdr->frame_control)))
4849 if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FROMDS |
4888 if (rx->key && !ieee80211_has_protected(hdr->frame_control))
4999 !ieee80211_is_probe_resp(hdr->frame_control) &&
5000 !ieee80211_is_beacon(hdr->frame_control)) {
5007 if (!ieee80211_has_tods(hdr->frame_control) &&
5008 !ieee80211_has_fromds(hdr->frame_control)) {
5124 fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
5153 if (unlikely(ieee80211_is_probe_resp(hdr->frame_control) ||
5154 ieee80211_is_beacon(hdr->frame_control) ||
5155 ieee80211_is_s1g_beacon(hdr->frame_control)))
5388 ieee80211_is_data_present(hdr->frame_control))