• Home
  • Raw
  • Download

Lines Matching refs:status

43 	struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);  in remove_monitor_info()  local
56 if (status->vendor_radiotap_len) in remove_monitor_info()
57 __pskb_pull(skb, status->vendor_radiotap_len); in remove_monitor_info()
64 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in should_drop_frame() local
67 hdr = (void *)(skb->data + status->vendor_radiotap_len); in should_drop_frame()
69 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | in should_drop_frame()
74 status->vendor_radiotap_len)) in should_drop_frame()
85 struct ieee80211_rx_status *status) in ieee80211_rx_radiotap_space() argument
93 if (status->vendor_radiotap_len) in ieee80211_rx_radiotap_space()
96 if (ieee80211_have_rx_timestamp(status)) { in ieee80211_rx_radiotap_space()
106 if (status->flag & RX_FLAG_HT) /* HT info */ in ieee80211_rx_radiotap_space()
109 if (status->flag & RX_FLAG_AMPDU_DETAILS) { in ieee80211_rx_radiotap_space()
114 if (status->flag & RX_FLAG_VHT) { in ieee80211_rx_radiotap_space()
119 if (status->vendor_radiotap_len) { in ieee80211_rx_radiotap_space()
120 if (WARN_ON_ONCE(status->vendor_radiotap_align == 0)) in ieee80211_rx_radiotap_space()
121 status->vendor_radiotap_align = 1; in ieee80211_rx_radiotap_space()
127 len = ALIGN(len, status->vendor_radiotap_align); in ieee80211_rx_radiotap_space()
145 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_add_rx_radiotap_header() local
164 rthdr->it_len = cpu_to_le16(rtap_len + status->vendor_radiotap_len); in ieee80211_add_rx_radiotap_header()
168 if (status->vendor_radiotap_len) { in ieee80211_add_rx_radiotap_header()
172 put_unaligned_le32(status->vendor_radiotap_bitmap, pos); in ieee80211_add_rx_radiotap_header()
179 if (ieee80211_have_rx_timestamp(status)) { in ieee80211_add_rx_radiotap_header()
184 ieee80211_calculate_rx_timestamp(local, status, in ieee80211_add_rx_radiotap_header()
194 if (status->flag & (RX_FLAG_FAILED_FCS_CRC | RX_FLAG_FAILED_PLCP_CRC)) in ieee80211_add_rx_radiotap_header()
196 if (status->flag & RX_FLAG_SHORTPRE) in ieee80211_add_rx_radiotap_header()
201 if (!rate || status->flag & (RX_FLAG_HT | RX_FLAG_VHT)) { in ieee80211_add_rx_radiotap_header()
216 put_unaligned_le16(status->freq, pos); in ieee80211_add_rx_radiotap_header()
218 if (status->band == IEEE80211_BAND_5GHZ) in ieee80211_add_rx_radiotap_header()
221 else if (status->flag & (RX_FLAG_HT | RX_FLAG_VHT)) in ieee80211_add_rx_radiotap_header()
236 !(status->flag & RX_FLAG_NO_SIGNAL_VAL)) { in ieee80211_add_rx_radiotap_header()
237 *pos = status->signal; in ieee80211_add_rx_radiotap_header()
246 *pos = status->antenna; in ieee80211_add_rx_radiotap_header()
255 if (status->flag & RX_FLAG_FAILED_PLCP_CRC) in ieee80211_add_rx_radiotap_header()
260 if (status->flag & RX_FLAG_HT) { in ieee80211_add_rx_radiotap_header()
264 if (status->flag & RX_FLAG_SHORT_GI) in ieee80211_add_rx_radiotap_header()
266 if (status->flag & RX_FLAG_40MHZ) in ieee80211_add_rx_radiotap_header()
268 if (status->flag & RX_FLAG_HT_GF) in ieee80211_add_rx_radiotap_header()
271 *pos++ = status->rate_idx; in ieee80211_add_rx_radiotap_header()
274 if (status->flag & RX_FLAG_AMPDU_DETAILS) { in ieee80211_add_rx_radiotap_header()
282 put_unaligned_le32(status->ampdu_reference, pos); in ieee80211_add_rx_radiotap_header()
284 if (status->flag & RX_FLAG_AMPDU_REPORT_ZEROLEN) in ieee80211_add_rx_radiotap_header()
286 if (status->flag & RX_FLAG_AMPDU_IS_ZEROLEN) in ieee80211_add_rx_radiotap_header()
288 if (status->flag & RX_FLAG_AMPDU_LAST_KNOWN) in ieee80211_add_rx_radiotap_header()
290 if (status->flag & RX_FLAG_AMPDU_IS_LAST) in ieee80211_add_rx_radiotap_header()
292 if (status->flag & RX_FLAG_AMPDU_DELIM_CRC_ERROR) in ieee80211_add_rx_radiotap_header()
294 if (status->flag & RX_FLAG_AMPDU_DELIM_CRC_KNOWN) in ieee80211_add_rx_radiotap_header()
298 if (status->flag & RX_FLAG_AMPDU_DELIM_CRC_KNOWN) in ieee80211_add_rx_radiotap_header()
299 *pos++ = status->ampdu_delimiter_crc; in ieee80211_add_rx_radiotap_header()
305 if (status->flag & RX_FLAG_VHT) { in ieee80211_add_rx_radiotap_header()
310 if (status->flag & RX_FLAG_80P80MHZ) in ieee80211_add_rx_radiotap_header()
315 if (status->flag & RX_FLAG_SHORT_GI) in ieee80211_add_rx_radiotap_header()
319 if (status->flag & RX_FLAG_80MHZ) in ieee80211_add_rx_radiotap_header()
321 else if (status->flag & RX_FLAG_80P80MHZ) in ieee80211_add_rx_radiotap_header()
323 else if (status->flag & RX_FLAG_160MHZ) in ieee80211_add_rx_radiotap_header()
325 else if (status->flag & RX_FLAG_40MHZ) in ieee80211_add_rx_radiotap_header()
330 *pos = (status->rate_idx << 4) | status->vht_nss; in ieee80211_add_rx_radiotap_header()
340 if (status->vendor_radiotap_len) { in ieee80211_add_rx_radiotap_header()
344 *pos++ = status->vendor_radiotap_oui[0]; in ieee80211_add_rx_radiotap_header()
345 *pos++ = status->vendor_radiotap_oui[1]; in ieee80211_add_rx_radiotap_header()
346 *pos++ = status->vendor_radiotap_oui[2]; in ieee80211_add_rx_radiotap_header()
347 *pos++ = status->vendor_radiotap_subns; in ieee80211_add_rx_radiotap_header()
348 put_unaligned_le16(status->vendor_radiotap_len, pos); in ieee80211_add_rx_radiotap_header()
351 while ((pos - (u8 *)rthdr) & (status->vendor_radiotap_align - 1)) in ieee80211_add_rx_radiotap_header()
365 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(origskb); in ieee80211_rx_monitor() local
385 if (!pskb_may_pull(origskb, 2 + status->vendor_radiotap_len)) { in ieee80211_rx_monitor()
400 needed_headroom = ieee80211_rx_radiotap_space(local, status); in ieee80211_rx_monitor()
476 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_parse_qos() local
485 status->rx_flags |= IEEE80211_RX_AMSDU; in ieee80211_parse_qos()
657 struct ieee80211_rx_status *status; in ieee80211_release_reorder_frame() local
667 status = IEEE80211_SKB_RXCB(skb); in ieee80211_release_reorder_frame()
668 status->rx_flags |= IEEE80211_RX_DEFERRED_RELEASE; in ieee80211_release_reorder_frame()
861 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx_reorder_ampdu() local
896 if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_reorder_ampdu()
933 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_check() local
940 if (status->rx_flags & IEEE80211_RX_RA_MATCH) { in ieee80211_rx_h_check()
1008 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx_h_decrypt() local
1048 if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_decrypt()
1064 if ((status->flag & RX_FLAG_DECRYPTED) && in ieee80211_rx_h_decrypt()
1065 (status->flag & RX_FLAG_IV_STRIPPED)) in ieee80211_rx_h_decrypt()
1072 if ((status->flag & RX_FLAG_DECRYPTED) && in ieee80211_rx_h_decrypt()
1073 (status->flag & RX_FLAG_IV_STRIPPED)) in ieee80211_rx_h_decrypt()
1128 if ((status->flag & RX_FLAG_DECRYPTED) && in ieee80211_rx_h_decrypt()
1129 (status->flag & RX_FLAG_IV_STRIPPED)) in ieee80211_rx_h_decrypt()
1200 status->flag |= RX_FLAG_DECRYPTED; in ieee80211_rx_h_decrypt()
1298 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_uapsd_and_pspoll() local
1301 if (!rx->sta || !(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_uapsd_and_pspoll()
1338 !(status->rx_flags & IEEE80211_RX_DEFERRED_RELEASE) && in ieee80211_rx_h_uapsd_and_pspoll()
1373 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx_h_sta_process() local
1394 sta->last_rx_rate_idx = status->rate_idx; in ieee80211_rx_h_sta_process()
1395 sta->last_rx_rate_flag = status->flag; in ieee80211_rx_h_sta_process()
1396 sta->last_rx_rate_vht_nss = status->vht_nss; in ieee80211_rx_h_sta_process()
1406 sta->last_rx_rate_idx = status->rate_idx; in ieee80211_rx_h_sta_process()
1407 sta->last_rx_rate_flag = status->flag; in ieee80211_rx_h_sta_process()
1408 sta->last_rx_rate_vht_nss = status->vht_nss; in ieee80211_rx_h_sta_process()
1412 if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_sta_process()
1420 if (!(status->flag & RX_FLAG_NO_SIGNAL_VAL)) { in ieee80211_rx_h_sta_process()
1421 sta->last_signal = status->signal; in ieee80211_rx_h_sta_process()
1422 ewma_add(&sta->avg_signal, -status->signal); in ieee80211_rx_h_sta_process()
1431 !(status->rx_flags & IEEE80211_RX_DEFERRED_RELEASE) && in ieee80211_rx_h_sta_process()
1570 struct ieee80211_rx_status *status; in ieee80211_rx_h_defragment() local
1672 status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_defragment()
1673 status->rx_flags |= IEEE80211_RX_FRAGMENTED; in ieee80211_rx_h_defragment()
1696 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_drop_unencrypted() local
1702 if (status->flag & RX_FLAG_DECRYPTED) in ieee80211_drop_unencrypted()
1718 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_drop_unencrypted_mgmt() local
1725 if (status->flag & RX_FLAG_DECRYPTED) in ieee80211_drop_unencrypted_mgmt()
1844 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_deliver_skb() local
1852 (status->rx_flags & IEEE80211_RX_RA_MATCH) && in ieee80211_deliver_skb()
1936 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_amsdu() local
1944 if (!(status->rx_flags & IEEE80211_RX_AMSDU)) in ieee80211_rx_h_amsdu()
1995 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx_h_mesh_fwding() local
2025 !(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_mesh_fwding()
2291 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_mgmt_check() local
2310 sig = status->signal; in ieee80211_rx_h_mgmt_check()
2314 status->freq, sig); in ieee80211_rx_h_mgmt_check()
2318 if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_mgmt_check()
2333 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_action() local
2347 if (!(status->rx_flags & IEEE80211_RX_RA_MATCH)) in ieee80211_rx_h_action()
2392 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
2416 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_h_action()
2466 opmode, status->band, in ieee80211_rx_h_action()
2508 if (status->band != IEEE80211_BAND_5GHZ) in ieee80211_rx_h_action()
2586 status->rx_flags |= IEEE80211_RX_MALFORMED_ACTION_FRM; in ieee80211_rx_h_action()
2608 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_userspace_mgmt() local
2612 if (status->rx_flags & IEEE80211_RX_MALFORMED_ACTION_FRM) in ieee80211_rx_h_userspace_mgmt()
2623 sig = status->signal; in ieee80211_rx_h_userspace_mgmt()
2625 if (cfg80211_rx_mgmt(&rx->sdata->wdev, status->freq, sig, in ieee80211_rx_h_userspace_mgmt()
2644 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(rx->skb); in ieee80211_rx_h_action_return() local
2659 if (!(status->rx_flags & IEEE80211_RX_MALFORMED_ACTION_FRM) && in ieee80211_rx_h_action_return()
2694 status->band); in ieee80211_rx_h_action_return()
2760 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx_cooked_monitor() local
2776 needed_headroom = ieee80211_rx_radiotap_space(local, status); in ieee80211_rx_cooked_monitor()
2834 struct ieee80211_rx_status *status; in ieee80211_rx_handlers_result() local
2836 status = IEEE80211_SKB_RXCB((rx->skb)); in ieee80211_rx_handlers_result()
2838 sband = rx->local->hw.wiphy->bands[status->band]; in ieee80211_rx_handlers_result()
2839 if (!(status->flag & RX_FLAG_HT) && in ieee80211_rx_handlers_result()
2840 !(status->flag & RX_FLAG_VHT)) in ieee80211_rx_handlers_result()
2841 rate = &sband->bitrates[status->rate_idx]; in ieee80211_rx_handlers_result()
2980 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in prepare_for_handlers() local
2993 status->rx_flags &= ~IEEE80211_RX_RA_MATCH; in prepare_for_handlers()
3007 status->rx_flags &= ~IEEE80211_RX_RA_MATCH; in prepare_for_handlers()
3010 if (status->flag & (RX_FLAG_HT | RX_FLAG_VHT)) in prepare_for_handlers()
3013 rate_idx = status->rate_idx; in prepare_for_handlers()
3024 status->rx_flags &= ~IEEE80211_RX_RA_MATCH; in prepare_for_handlers()
3046 status->rx_flags &= ~IEEE80211_RX_RA_MATCH; in prepare_for_handlers()
3063 status->rx_flags &= ~IEEE80211_RX_RA_MATCH; in prepare_for_handlers()
3085 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_prepare_and_rx_handle() local
3090 status->rx_flags |= IEEE80211_RX_RA_MATCH; in ieee80211_prepare_and_rx_handle()
3235 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); in ieee80211_rx() local
3239 if (WARN_ON(status->band >= IEEE80211_NUM_BANDS)) in ieee80211_rx()
3242 sband = local->hw.wiphy->bands[status->band]; in ieee80211_rx()
3267 if (likely(!(status->flag & RX_FLAG_FAILED_PLCP_CRC))) { in ieee80211_rx()
3273 if (status->flag & RX_FLAG_HT) { in ieee80211_rx()
3284 if (WARN(status->rate_idx > 76, in ieee80211_rx()
3288 status->rate_idx, in ieee80211_rx()
3289 status->rate_idx)) in ieee80211_rx()
3291 } else if (status->flag & RX_FLAG_VHT) { in ieee80211_rx()
3292 if (WARN_ONCE(status->rate_idx > 9 || in ieee80211_rx()
3293 !status->vht_nss || in ieee80211_rx()
3294 status->vht_nss > 8, in ieee80211_rx()
3296 status->rate_idx, status->vht_nss)) in ieee80211_rx()
3299 if (WARN_ON(status->rate_idx >= sband->n_bitrates)) in ieee80211_rx()
3301 rate = &sband->bitrates[status->rate_idx]; in ieee80211_rx()
3305 status->rx_flags = 0; in ieee80211_rx()