Lines Matching refs:fc

50 	__le16 fc;
65 fc = hdr->frame_control;
74 if (likely(!ieee80211_is_mgmt(fc) || !ieee80211_has_order(fc)))
77 hdrlen = ieee80211_hdrlen(fc);
1017 __le16 fc = hdr->frame_control;
1018 int hdrlen = ieee80211_hdrlen(fc);
1917 __le16 fc;
1952 fc = hdr->frame_control;
1958 if (ieee80211_has_protected(fc) &&
1969 if (!ieee80211_has_protected(fc))
1978 if (!ieee80211_has_protected(fc))
1980 } else if (mmie_keyidx >= 0 && ieee80211_is_beacon(fc)) {
2017 } else if (!ieee80211_has_protected(fc)) {
2027 if (ieee80211_is_beacon(fc)) {
2029 } else if (ieee80211_is_mgmt(fc) &&
2142 if (unlikely(ieee80211_is_beacon(fc) && RX_RES_IS_UNUSABLE(result) &&
2236 static bool requires_sequential_pn(struct ieee80211_rx_data *rx, __le16 fc)
2243 ieee80211_has_protected(fc);
2252 __le16 fc;
2259 fc = hdr->frame_control;
2261 if (ieee80211_is_ctl(fc) || ieee80211_is_ext(fc))
2270 if (likely(!ieee80211_has_morefrags(fc) && frag == 0))
2293 if (requires_sequential_pn(rx, fc)) {
2314 (ieee80211_has_protected(fc) ||
2341 if (!requires_sequential_pn(rx, fc))
2361 (!ieee80211_has_protected(fc) &&
2375 skb_pull(rx->skb, ieee80211_hdrlen(fc));
2379 if (ieee80211_has_morefrags(fc)) {
2414 static int ieee80211_drop_unencrypted(struct ieee80211_rx_data *rx, __le16 fc)
2427 if (unlikely(!ieee80211_has_protected(fc) &&
2428 !ieee80211_is_any_nullfunc(fc) &&
2429 ieee80211_is_data(fc) && rx->key))
2440 __le16 fc = mgmt->frame_control;
2450 if (ieee80211_is_action(fc) &&
2455 if (unlikely(!ieee80211_has_protected(fc) &&
2457 if (ieee80211_is_deauth(fc) ||
2458 ieee80211_is_disassoc(fc)) {
2475 if (ieee80211_is_deauth(fc) ||
2476 ieee80211_is_disassoc(fc))
2482 if (unlikely(ieee80211_is_beacon(fc) && rx->key &&
2493 if (unlikely(ieee80211_is_action(fc) && !rx->key &&
2507 if (ieee80211_is_action(fc) &&
2587 static bool ieee80211_frame_allowed(struct ieee80211_rx_data *rx, __le16 fc)
2603 ieee80211_drop_unencrypted(rx, fc))
2833 uint16_t fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_QOS_DATA;
2835 .frame_control = cpu_to_le16(fc)
3015 __le16 fc = hdr->frame_control;
3090 if (!ieee80211_frame_allowed(rx, fc))
3109 __le16 fc = hdr->frame_control;
3114 if (unlikely(!ieee80211_is_data(fc)))
3117 if (unlikely(!ieee80211_is_data_present(fc)))
3167 __le16 fc = hdr->frame_control;
3198 if (!ieee80211_frame_allowed(rx, fc))
5184 __le16 fc;
5190 fc = ((struct ieee80211_hdr *)skb->data)->frame_control;
5197 if (ieee80211_is_data(fc) || ieee80211_is_mgmt(fc))
5200 if (ieee80211_is_mgmt(fc)) {
5202 if (skb->len < ieee80211_hdrlen(fc))
5207 err = !pskb_may_pull(skb, ieee80211_hdrlen(fc));
5224 if (ieee80211_is_data(fc)) {