Lines Matching refs:rx_status

104 					struct ieee80211_rx_status *rx_status)  in iwl_mvm_get_signal_strength()  argument
122 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
123 rx_status->chains = (le16_to_cpu(phy_info->phy_flags) & in iwl_mvm_get_signal_strength()
126 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
127 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
289 struct ieee80211_rx_status *rx_status; in iwl_mvm_rx_rx_mpdu() local
327 rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_rx_mpdu()
332 if (iwl_mvm_set_mac80211_rx_flag(mvm, hdr, rx_status, rx_pkt_status, in iwl_mvm_rx_rx_mpdu()
347 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in iwl_mvm_rx_rx_mpdu()
354 rx_status->mactime = le64_to_cpu(phy_info->timestamp); in iwl_mvm_rx_rx_mpdu()
355 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); in iwl_mvm_rx_rx_mpdu()
356 rx_status->band = in iwl_mvm_rx_rx_mpdu()
359 rx_status->freq = in iwl_mvm_rx_rx_mpdu()
361 rx_status->band); in iwl_mvm_rx_rx_mpdu()
364 rx_status->flag |= RX_FLAG_MACTIME_PLCP_START; in iwl_mvm_rx_rx_mpdu()
366 iwl_mvm_get_signal_strength(mvm, phy_info, rx_status); in iwl_mvm_rx_rx_mpdu()
368 IWL_DEBUG_STATS_LIMIT(mvm, "Rssi %d, TSF %llu\n", rx_status->signal, in iwl_mvm_rx_rx_mpdu()
369 (unsigned long long)rx_status->mactime); in iwl_mvm_rx_rx_mpdu()
404 if (mvmvif->csa_target_freq == rx_status->freq) in iwl_mvm_rx_rx_mpdu()
409 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
422 if (rx_status->signal < rssi) in iwl_mvm_rx_rx_mpdu()
440 rx_status->enc_flags |= RX_ENC_FLAG_SHORTPRE; in iwl_mvm_rx_rx_mpdu()
448 rx_status->flag |= RX_FLAG_AMPDU_DETAILS; in iwl_mvm_rx_rx_mpdu()
449 rx_status->ampdu_reference = mvm->ampdu_ref; in iwl_mvm_rx_rx_mpdu()
457 rx_status->bw = RATE_INFO_BW_40; in iwl_mvm_rx_rx_mpdu()
460 rx_status->bw = RATE_INFO_BW_80; in iwl_mvm_rx_rx_mpdu()
463 rx_status->bw = RATE_INFO_BW_160; in iwl_mvm_rx_rx_mpdu()
468 rx_status->enc_flags |= RX_ENC_FLAG_SHORT_GI; in iwl_mvm_rx_rx_mpdu()
470 rx_status->enc_flags |= RX_ENC_FLAG_HT_GF; in iwl_mvm_rx_rx_mpdu()
472 rx_status->enc_flags |= RX_ENC_FLAG_LDPC; in iwl_mvm_rx_rx_mpdu()
476 rx_status->encoding = RX_ENC_HT; in iwl_mvm_rx_rx_mpdu()
477 rx_status->rate_idx = rate_n_flags & RATE_HT_MCS_INDEX_MSK_V1; in iwl_mvm_rx_rx_mpdu()
478 rx_status->enc_flags |= stbc << RX_ENC_FLAG_STBC_SHIFT; in iwl_mvm_rx_rx_mpdu()
482 rx_status->nss = in iwl_mvm_rx_rx_mpdu()
485 rx_status->rate_idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; in iwl_mvm_rx_rx_mpdu()
486 rx_status->encoding = RX_ENC_VHT; in iwl_mvm_rx_rx_mpdu()
487 rx_status->enc_flags |= stbc << RX_ENC_FLAG_STBC_SHIFT; in iwl_mvm_rx_rx_mpdu()
489 rx_status->enc_flags |= RX_ENC_FLAG_BF; in iwl_mvm_rx_rx_mpdu()
492 rx_status->band); in iwl_mvm_rx_rx_mpdu()
496 rate_n_flags, rx_status->band)) { in iwl_mvm_rx_rx_mpdu()
500 rx_status->rate_idx = rate; in iwl_mvm_rx_rx_mpdu()
505 rx_status->flag & RX_FLAG_AMPDU_DETAILS); in iwl_mvm_rx_rx_mpdu()
515 rx_status->boottime_ns = ktime_get_boottime_ns(); in iwl_mvm_rx_rx_mpdu()