Lines Matching refs:rx_ev
7869 struct mgmt_rx_event_params rx_ev = {0}; in ath11k_mgmt_rx_event() local
7876 if (ath11k_pull_mgmt_rx_params_tlv(ab, skb, &rx_ev) != 0) { in ath11k_mgmt_rx_event()
7885 rx_ev.status); in ath11k_mgmt_rx_event()
7888 ar = ath11k_mac_get_ar_by_pdev_id(ab, rx_ev.pdev_id); in ath11k_mgmt_rx_event()
7892 rx_ev.pdev_id); in ath11k_mgmt_rx_event()
7898 (rx_ev.status & (WMI_RX_STATUS_ERR_DECRYPT | in ath11k_mgmt_rx_event()
7904 if (rx_ev.status & WMI_RX_STATUS_ERR_MIC) in ath11k_mgmt_rx_event()
7907 if (rx_ev.chan_freq >= ATH11K_MIN_6G_FREQ && in ath11k_mgmt_rx_event()
7908 rx_ev.chan_freq <= ATH11K_MAX_6G_FREQ) { in ath11k_mgmt_rx_event()
7910 status->freq = rx_ev.chan_freq; in ath11k_mgmt_rx_event()
7911 } else if (rx_ev.channel >= 1 && rx_ev.channel <= 14) { in ath11k_mgmt_rx_event()
7913 } else if (rx_ev.channel >= 36 && rx_ev.channel <= ATH11K_MAX_5G_CHAN) { in ath11k_mgmt_rx_event()
7924 if (rx_ev.phy_mode == MODE_11B && in ath11k_mgmt_rx_event()
7932 status->freq = ieee80211_channel_to_frequency(rx_ev.channel, in ath11k_mgmt_rx_event()
7935 status->signal = rx_ev.snr + ATH11K_DEFAULT_NOISE_FLOOR; in ath11k_mgmt_rx_event()
7936 status->rate_idx = ath11k_mac_bitrate_to_idx(sband, rx_ev.rate / 100); in ath11k_mgmt_rx_event()