Home
last modified time | relevance | path

Searched refs:phy_ppdu (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcore.c1240 struct rtw89_rx_phy_ppdu *phy_ppdu) in rtw89_core_rx_process_mac_ppdu() argument
1265 phy_ppdu->buf = phy_sts; in rtw89_core_rx_process_mac_ppdu()
1266 phy_ppdu->len = skb->data + skb->len - phy_sts; in rtw89_core_rx_process_mac_ppdu()
1275 struct rtw89_rx_phy_ppdu *phy_ppdu = (struct rtw89_rx_phy_ppdu *)data; in rtw89_core_rx_process_phy_ppdu_iter() local
1283 if (rtwsta->mac_id != phy_ppdu->mac_id || !phy_ppdu->to_self) in rtw89_core_rx_process_phy_ppdu_iter()
1291 ewma_rssi_add(&rtwsta->avg_rssi, phy_ppdu->rssi_avg); in rtw89_core_rx_process_phy_ppdu_iter()
1294 ewma_rssi_add(&rtwsta->rssi[ant_pos], phy_ppdu->rssi[0]); in rtw89_core_rx_process_phy_ppdu_iter()
1297 ewma_rssi_add(&rtwsta->rssi[i], phy_ppdu->rssi[i]); in rtw89_core_rx_process_phy_ppdu_iter()
1300 if (phy_ppdu->ofdm.has) { in rtw89_core_rx_process_phy_ppdu_iter()
1301 ewma_snr_add(&rtwsta->avg_snr, phy_ppdu->ofdm.avg_snr); in rtw89_core_rx_process_phy_ppdu_iter()
[all …]
Dphy.h644 struct rtw89_rx_phy_ppdu *phy_ppdu);
653 struct rtw89_rx_phy_ppdu *phy_ppdu);
Drtw8852a.c1986 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852a_fill_freq_with_ppdu() argument
1989 u16 chan = phy_ppdu->chan_idx; in rtw8852a_fill_freq_with_ppdu()
2001 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852a_query_ppdu() argument
2005 u8 *rx_power = phy_ppdu->rssi; in rtw8852a_query_ppdu()
2012 if (phy_ppdu->valid) in rtw8852a_query_ppdu()
2013 rtw8852a_fill_freq_with_ppdu(rtwdev, phy_ppdu, status); in rtw8852a_query_ppdu()
Dphy.c2879 struct rtw89_rx_phy_ppdu *phy_ppdu) in rtw89_phy_cfo_parse() argument
2882 u8 macid = phy_ppdu->mac_id; in rtw89_phy_cfo_parse()
3031 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw89_phy_antdiv_sts_instance_add() argument
3034 if (rtw89_get_data_rate_mode(rtwdev, phy_ppdu->rate) == DATA_RATE_MODE_NON_HT) { in rtw89_phy_antdiv_sts_instance_add()
3035 if (phy_ppdu->rate < RTW89_HW_RATE_OFDM6) { in rtw89_phy_antdiv_sts_instance_add()
3036 ewma_rssi_add(&stats->cck_rssi_avg, phy_ppdu->rssi_avg); in rtw89_phy_antdiv_sts_instance_add()
3039 ewma_rssi_add(&stats->ofdm_rssi_avg, phy_ppdu->rssi_avg); in rtw89_phy_antdiv_sts_instance_add()
3041 stats->evm += phy_ppdu->ofdm.evm_min; in rtw89_phy_antdiv_sts_instance_add()
3044 ewma_rssi_add(&stats->non_legacy_rssi_avg, phy_ppdu->rssi_avg); in rtw89_phy_antdiv_sts_instance_add()
3046 stats->evm += phy_ppdu->ofdm.evm_min; in rtw89_phy_antdiv_sts_instance_add()
[all …]
Drtw8851b.c2196 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8851b_fill_freq_with_ppdu() argument
2199 u16 chan = phy_ppdu->chan_idx; in rtw8851b_fill_freq_with_ppdu()
2212 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8851b_query_ppdu() argument
2216 u8 *rx_power = phy_ppdu->rssi; in rtw8851b_query_ppdu()
2224 if (phy_ppdu->valid) in rtw8851b_query_ppdu()
2225 rtw8851b_fill_freq_with_ppdu(rtwdev, phy_ppdu, status); in rtw8851b_query_ppdu()
Drtw8852b.c2365 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852b_fill_freq_with_ppdu() argument
2368 u16 chan = phy_ppdu->chan_idx; in rtw8852b_fill_freq_with_ppdu()
2381 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852b_query_ppdu() argument
2385 u8 *rx_power = phy_ppdu->rssi; in rtw8852b_query_ppdu()
2392 if (phy_ppdu->valid) in rtw8852b_query_ppdu()
2393 rtw8852b_fill_freq_with_ppdu(rtwdev, phy_ppdu, status); in rtw8852b_query_ppdu()
Drtw8852c.c2670 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852c_fill_freq_with_ppdu() argument
2673 u8 chan_idx = phy_ppdu->chan_idx; in rtw8852c_fill_freq_with_ppdu()
2686 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw8852c_query_ppdu() argument
2690 u8 *rx_power = phy_ppdu->rssi; in rtw8852c_query_ppdu()
2697 if (phy_ppdu->valid) in rtw8852c_query_ppdu()
2698 rtw8852c_fill_freq_with_ppdu(rtwdev, phy_ppdu, status); in rtw8852c_query_ppdu()
Dfw.c2290 struct rtw89_rx_phy_ppdu *phy_ppdu) in rtw89_fw_h2c_rssi_offload() argument
2301 if (!phy_ppdu) in rtw89_fw_h2c_rssi_offload()
2310 rssi = phy_ppdu->rssi_avg >> RSSI_FACTOR; in rtw89_fw_h2c_rssi_offload()
2314 h2c->w0 = le32_encode_bits(phy_ppdu->mac_id, RTW89_H2C_OFLD_RSSI_W0_MACID) | in rtw89_fw_h2c_rssi_offload()
Dcore.h3065 struct rtw89_rx_phy_ppdu *phy_ppdu,
5100 struct rtw89_rx_phy_ppdu *phy_ppdu, in rtw89_chip_query_ppdu() argument
5106 chip->ops->query_ppdu(rtwdev, phy_ppdu, status); in rtw89_chip_query_ppdu()
Dfw.h3671 struct rtw89_rx_phy_ppdu *phy_ppdu);