Lines Matching refs:rx_ev
5736 struct ath12k_wmi_mgmt_rx_arg rx_ev = {0}; in ath12k_mgmt_rx_event() local
5743 if (ath12k_pull_mgmt_rx_params_tlv(ab, skb, &rx_ev) != 0) { in ath12k_mgmt_rx_event()
5752 rx_ev.status); in ath12k_mgmt_rx_event()
5755 ar = ath12k_mac_get_ar_by_pdev_id(ab, rx_ev.pdev_id); in ath12k_mgmt_rx_event()
5759 rx_ev.pdev_id); in ath12k_mgmt_rx_event()
5765 (rx_ev.status & (WMI_RX_STATUS_ERR_DECRYPT | in ath12k_mgmt_rx_event()
5772 if (rx_ev.status & WMI_RX_STATUS_ERR_MIC) in ath12k_mgmt_rx_event()
5775 if (rx_ev.chan_freq >= ATH12K_MIN_6G_FREQ) { in ath12k_mgmt_rx_event()
5777 } else if (rx_ev.channel >= 1 && rx_ev.channel <= 14) { in ath12k_mgmt_rx_event()
5779 } else if (rx_ev.channel >= 36 && rx_ev.channel <= ATH12K_MAX_5G_CHAN) { in ath12k_mgmt_rx_event()
5790 if (rx_ev.phy_mode == MODE_11B && in ath12k_mgmt_rx_event()
5797 status->freq = ieee80211_channel_to_frequency(rx_ev.channel, in ath12k_mgmt_rx_event()
5799 status->signal = rx_ev.snr + ATH12K_DEFAULT_NOISE_FLOOR; in ath12k_mgmt_rx_event()
5800 status->rate_idx = ath12k_mac_bitrate_to_idx(sband, rx_ev.rate / 100); in ath12k_mgmt_rx_event()