Lines Matching refs:rx_ev
7539 struct mgmt_rx_event_params rx_ev = {0}; in ath11k_mgmt_rx_event() local
7546 if (ath11k_pull_mgmt_rx_params_tlv(ab, skb, &rx_ev) != 0) { in ath11k_mgmt_rx_event()
7555 rx_ev.status); in ath11k_mgmt_rx_event()
7558 ar = ath11k_mac_get_ar_by_pdev_id(ab, rx_ev.pdev_id); in ath11k_mgmt_rx_event()
7562 rx_ev.pdev_id); in ath11k_mgmt_rx_event()
7568 (rx_ev.status & (WMI_RX_STATUS_ERR_DECRYPT | in ath11k_mgmt_rx_event()
7574 if (rx_ev.status & WMI_RX_STATUS_ERR_MIC) in ath11k_mgmt_rx_event()
7577 if (rx_ev.chan_freq >= ATH11K_MIN_6G_FREQ && in ath11k_mgmt_rx_event()
7578 rx_ev.chan_freq <= ATH11K_MAX_6G_FREQ) { in ath11k_mgmt_rx_event()
7580 status->freq = rx_ev.chan_freq; in ath11k_mgmt_rx_event()
7581 } else if (rx_ev.channel >= 1 && rx_ev.channel <= 14) { in ath11k_mgmt_rx_event()
7583 } else if (rx_ev.channel >= 36 && rx_ev.channel <= ATH11K_MAX_5G_CHAN) { in ath11k_mgmt_rx_event()
7594 if (rx_ev.phy_mode == MODE_11B && in ath11k_mgmt_rx_event()
7602 status->freq = ieee80211_channel_to_frequency(rx_ev.channel, in ath11k_mgmt_rx_event()
7605 status->signal = rx_ev.snr + ATH11K_DEFAULT_NOISE_FLOOR; in ath11k_mgmt_rx_event()
7606 status->rate_idx = ath11k_mac_bitrate_to_idx(sband, rx_ev.rate / 100); in ath11k_mgmt_rx_event()