Lines Matching refs:rx_status

210 	struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb);  in iwl_mvm_add_rtap_sniffer_config()  local
232 rx_status->flag |= RX_FLAG_RADIOTAP_TLV_AT_END; in iwl_mvm_add_rtap_sniffer_config()
250 struct ieee80211_rx_status *rx_status, in iwl_mvm_get_signal_strength() argument
264 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
265 rx_status->chains = in iwl_mvm_get_signal_strength()
267 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
268 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
495 struct ieee80211_rx_status *rx_status, in iwl_mvm_is_dup() argument
544 rx_status->flag |= RX_FLAG_ALLOW_SAME_PN; in iwl_mvm_is_dup()
549 rx_status->flag |= RX_FLAG_DUP_VALIDATED; in iwl_mvm_is_dup()
986 struct ieee80211_rx_status *rx_status) in iwl_mvm_decode_he_phy_ru_alloc() argument
1001 rx_status->bw = RATE_INFO_BW_HE_RU; in iwl_mvm_decode_he_phy_ru_alloc()
1007 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_26; in iwl_mvm_decode_he_phy_ru_alloc()
1011 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_52; in iwl_mvm_decode_he_phy_ru_alloc()
1015 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_106; in iwl_mvm_decode_he_phy_ru_alloc()
1019 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_242; in iwl_mvm_decode_he_phy_ru_alloc()
1023 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_484; in iwl_mvm_decode_he_phy_ru_alloc()
1027 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_996; in iwl_mvm_decode_he_phy_ru_alloc()
1030 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_2x996; in iwl_mvm_decode_he_phy_ru_alloc()
1068 struct ieee80211_rx_status *rx_status, in iwl_mvm_decode_he_phy_data() argument
1186 iwl_mvm_decode_he_phy_ru_alloc(phy_data, he, he_mu, rx_status); in iwl_mvm_decode_he_phy_data()
1247 struct ieee80211_rx_status *rx_status, in iwl_mvm_decode_eht_ext_mu() argument
1357 struct ieee80211_rx_status *rx_status, in iwl_mvm_decode_eht_ext_tb() argument
1403 struct ieee80211_rx_status *rx_status, in iwl_mvm_decode_eht_ru() argument
1467 rx_status->bw = RATE_INFO_BW_EHT_RU; in iwl_mvm_decode_eht_ru()
1468 rx_status->eht.ru = nl_ru; in iwl_mvm_decode_eht_ru()
1473 struct ieee80211_rx_status *rx_status, in iwl_mvm_decode_eht_phy_data() argument
1530 iwl_mvm_decode_eht_ru(mvm, rx_status, eht); in iwl_mvm_decode_eht_phy_data()
1581 iwl_mvm_decode_eht_ext_tb(mvm, phy_data, rx_status, eht, usig); in iwl_mvm_decode_eht_phy_data()
1585 iwl_mvm_decode_eht_ext_mu(mvm, phy_data, rx_status, eht, usig); in iwl_mvm_decode_eht_phy_data()
1592 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_eht() local
1613 rx_status->flag |= RX_FLAG_RADIOTAP_TLV_AT_END; in iwl_mvm_rx_eht()
1628 rx_status->flag |= RX_FLAG_AMPDU_DETAILS; in iwl_mvm_rx_eht()
1629 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT_KNOWN; in iwl_mvm_rx_eht()
1631 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT; in iwl_mvm_rx_eht()
1637 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT_KNOWN; in iwl_mvm_rx_eht()
1639 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT; in iwl_mvm_rx_eht()
1643 iwl_mvm_decode_eht_phy_data(mvm, phy_data, rx_status, eht, usig); in iwl_mvm_rx_eht()
1657 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_1_6; in iwl_mvm_rx_eht()
1660 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_0_8; in iwl_mvm_rx_eht()
1665 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_1_6; in iwl_mvm_rx_eht()
1671 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_3_2; in iwl_mvm_rx_eht()
1673 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_0_8; in iwl_mvm_rx_eht()
1678 rx_status->eht.gi = NL80211_RATE_INFO_EHT_GI_3_2; in iwl_mvm_rx_eht()
1692 rx_status->eht.gi)); in iwl_mvm_rx_eht()
1735 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_he() local
1760 rx_status->flag |= RX_FLAG_RADIOTAP_HE; in iwl_mvm_rx_he()
1765 rx_status->flag |= RX_FLAG_RADIOTAP_HE_MU; in iwl_mvm_rx_he()
1770 rx_status->flag |= RX_FLAG_AMPDU_DETAILS; in iwl_mvm_rx_he()
1771 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT_KNOWN; in iwl_mvm_rx_he()
1773 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT; in iwl_mvm_rx_he()
1777 iwl_mvm_decode_he_phy_data(mvm, phy_data, he, he_mu, rx_status, in iwl_mvm_rx_he()
1783 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT_KNOWN; in iwl_mvm_rx_he()
1785 rx_status->flag |= RX_FLAG_AMPDU_EOF_BIT; in iwl_mvm_rx_he()
1790 rx_status->bw = RATE_INFO_BW_HE_RU; in iwl_mvm_rx_he()
1791 rx_status->he_ru = NL80211_RATE_INFO_HE_RU_ALLOC_106; in iwl_mvm_rx_he()
1818 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_1_6; in iwl_mvm_rx_he()
1820 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_0_8; in iwl_mvm_rx_he()
1828 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_1_6; in iwl_mvm_rx_he()
1830 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_0_8; in iwl_mvm_rx_he()
1835 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_3_2; in iwl_mvm_rx_he()
1838 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_1_6; in iwl_mvm_rx_he()
1843 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_3_2; in iwl_mvm_rx_he()
1847 rx_status->he_gi = NL80211_RATE_INFO_HE_GI_0_8; in iwl_mvm_rx_he()
1861 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_decode_lsig() local
1882 rx_status->flag |= RX_FLAG_RADIOTAP_LSIG; in iwl_mvm_decode_lsig()
1915 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_fill_status() local
1933 rx_status->bw = RATE_INFO_BW_40; in iwl_mvm_rx_fill_status()
1936 rx_status->bw = RATE_INFO_BW_80; in iwl_mvm_rx_fill_status()
1939 rx_status->bw = RATE_INFO_BW_160; in iwl_mvm_rx_fill_status()
1942 rx_status->bw = RATE_INFO_BW_320; in iwl_mvm_rx_fill_status()
1952 rx_status->device_timestamp = phy_data->gp2_on_air_rise; in iwl_mvm_rx_fill_status()
1958 rx_status->mactime = div64_u64(adj_time, NSEC_PER_USEC); in iwl_mvm_rx_fill_status()
1959 rx_status->flag |= RX_FLAG_MACTIME_IS_RTAP_TS64; in iwl_mvm_rx_fill_status()
1960 rx_status->flag &= ~RX_FLAG_MACTIME; in iwl_mvm_rx_fill_status()
1963 rx_status->freq = ieee80211_channel_to_frequency(phy_data->channel, in iwl_mvm_rx_fill_status()
1964 rx_status->band); in iwl_mvm_rx_fill_status()
1965 iwl_mvm_get_signal_strength(mvm, rx_status, rate_n_flags, in iwl_mvm_rx_fill_status()
1980 rx_status->enc_flags |= RX_ENC_FLAG_SHORT_GI; in iwl_mvm_rx_fill_status()
1983 rx_status->enc_flags |= RX_ENC_FLAG_LDPC; in iwl_mvm_rx_fill_status()
1987 rx_status->encoding = RX_ENC_VHT; in iwl_mvm_rx_fill_status()
1990 rx_status->encoding = RX_ENC_HE; in iwl_mvm_rx_fill_status()
1991 rx_status->he_dcm = in iwl_mvm_rx_fill_status()
1995 rx_status->encoding = RX_ENC_EHT; in iwl_mvm_rx_fill_status()
2001 rx_status->encoding = RX_ENC_HT; in iwl_mvm_rx_fill_status()
2002 rx_status->rate_idx = RATE_HT_MCS_INDEX(rate_n_flags); in iwl_mvm_rx_fill_status()
2003 rx_status->enc_flags |= stbc << RX_ENC_FLAG_STBC_SHIFT; in iwl_mvm_rx_fill_status()
2008 rx_status->nss = in iwl_mvm_rx_fill_status()
2010 rx_status->rate_idx = rate_n_flags & RATE_MCS_CODE_MSK; in iwl_mvm_rx_fill_status()
2011 rx_status->enc_flags |= stbc << RX_ENC_FLAG_STBC_SHIFT; in iwl_mvm_rx_fill_status()
2015 rx_status->band); in iwl_mvm_rx_fill_status()
2017 rx_status->rate_idx = rate; in iwl_mvm_rx_fill_status()
2020 rx_status->rate_idx = 0; in iwl_mvm_rx_fill_status()
2023 rate_n_flags, rx_status->band); in iwl_mvm_rx_fill_status()
2034 struct ieee80211_rx_status *rx_status; in iwl_mvm_rx_mpdu_mq() local
2127 rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_mpdu_mq()
2137 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in iwl_mvm_rx_mpdu_mq()
2143 rx_status->enc_flags |= RX_ENC_FLAG_SHORTPRE; in iwl_mvm_rx_mpdu_mq()
2154 rx_status->mactime = tsf_on_air_rise; in iwl_mvm_rx_mpdu_mq()
2156 rx_status->flag |= RX_FLAG_MACTIME_PLCP_START; in iwl_mvm_rx_mpdu_mq()
2162 rx_status->band = iwl_mvm_nl80211_band_from_phy(band); in iwl_mvm_rx_mpdu_mq()
2164 rx_status->band = phy_data.channel > 14 ? NL80211_BAND_5GHZ : in iwl_mvm_rx_mpdu_mq()
2173 rx_status->flag |= RX_FLAG_AMPDU_DETAILS; in iwl_mvm_rx_mpdu_mq()
2186 rx_status->ampdu_reference = mvm->ampdu_ref; in iwl_mvm_rx_mpdu_mq()
2201 rx_status->link_valid = 1; in iwl_mvm_rx_mpdu_mq()
2202 rx_status->link_id = link_sta->link_id; in iwl_mvm_rx_mpdu_mq()
2213 if (iwl_mvm_rx_crypto(mvm, sta, hdr, rx_status, phy_data.phy_info, desc, in iwl_mvm_rx_mpdu_mq()
2251 if (mvmvif->csa_target_freq == rx_status->freq) in iwl_mvm_rx_mpdu_mq()
2266 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_mpdu_mq()
2279 if (rx_status->signal < rssi) in iwl_mvm_rx_mpdu_mq()
2287 if (iwl_mvm_is_dup(sta, queue, rx_status, hdr, desc)) { in iwl_mvm_rx_mpdu_mq()
2341 rx_status->boottime_ns = ktime_get_boottime_ns(); in iwl_mvm_rx_mpdu_mq()
2355 rx_status->flag |= RX_FLAG_AMSDU_MORE; in iwl_mvm_rx_mpdu_mq()
2366 struct ieee80211_rx_status *rx_status; in iwl_mvm_rx_monitor_no_data() local
2428 rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_monitor_no_data()
2431 rx_status->flag |= RX_FLAG_NO_PSDU; in iwl_mvm_rx_monitor_no_data()
2436 rx_status->flag |= RX_FLAG_FAILED_PLCP_CRC; in iwl_mvm_rx_monitor_no_data()
2440 rx_status->zero_length_psdu_type = in iwl_mvm_rx_monitor_no_data()
2445 rx_status->zero_length_psdu_type = in iwl_mvm_rx_monitor_no_data()
2449 rx_status->zero_length_psdu_type = in iwl_mvm_rx_monitor_no_data()
2454 rx_status->band = phy_data.channel > 14 ? NL80211_BAND_5GHZ : in iwl_mvm_rx_monitor_no_data()
2476 rx_status->nss = in iwl_mvm_rx_monitor_no_data()
2481 rx_status->nss = in iwl_mvm_rx_monitor_no_data()
2486 rx_status->nss = in iwl_mvm_rx_monitor_no_data()