Lines Matching refs:rx_ev
5948 struct ath12k_wmi_mgmt_rx_arg rx_ev = {0}; in ath12k_mgmt_rx_event() local
5955 if (ath12k_pull_mgmt_rx_params_tlv(ab, skb, &rx_ev) != 0) { in ath12k_mgmt_rx_event()
5964 rx_ev.status); in ath12k_mgmt_rx_event()
5967 ar = ath12k_mac_get_ar_by_pdev_id(ab, rx_ev.pdev_id); in ath12k_mgmt_rx_event()
5971 rx_ev.pdev_id); in ath12k_mgmt_rx_event()
5977 (rx_ev.status & (WMI_RX_STATUS_ERR_DECRYPT | in ath12k_mgmt_rx_event()
5984 if (rx_ev.status & WMI_RX_STATUS_ERR_MIC) in ath12k_mgmt_rx_event()
5987 if (rx_ev.chan_freq >= ATH12K_MIN_6G_FREQ) { in ath12k_mgmt_rx_event()
5989 } else if (rx_ev.channel >= 1 && rx_ev.channel <= 14) { in ath12k_mgmt_rx_event()
5991 } else if (rx_ev.channel >= 36 && rx_ev.channel <= ATH12K_MAX_5G_CHAN) { in ath12k_mgmt_rx_event()
6002 if (rx_ev.phy_mode == MODE_11B && in ath12k_mgmt_rx_event()
6009 status->freq = ieee80211_channel_to_frequency(rx_ev.channel, in ath12k_mgmt_rx_event()
6011 status->signal = rx_ev.snr + ATH12K_DEFAULT_NOISE_FLOOR; in ath12k_mgmt_rx_event()
6012 status->rate_idx = ath12k_mac_bitrate_to_idx(sband, rx_ev.rate / 100); in ath12k_mgmt_rx_event()