/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.c | 365 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1); in mt7921_mac_fill_rx() 366 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1); in mt7921_mac_fill_rx() 367 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1); in mt7921_mac_fill_rx() 368 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v1); in mt7921_mac_fill_rx() 372 status->chain_signal[i] >= 0) in mt7921_mac_fill_rx() 376 status->chain_signal[i]); in mt7921_mac_fill_rx()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.h | 230 s8 chain_signal[IEEE80211_MAX_CHAINS]; member 373 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
|
D | rs.c | 2501 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_get_initial_rate() 2505 if (lq_sta->pers.chain_signal[i] > best_rssi) { in rs_get_initial_rate() 2506 best_rssi = lq_sta->pers.chain_signal[i]; in rs_get_initial_rate() 2611 lq_sta->pers.chain_signal[0] = rx_status->chain_signal[0]; in rs_update_last_rssi() 2612 lq_sta->pers.chain_signal[1] = rx_status->chain_signal[1]; in rs_update_last_rssi() 2615 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_update_last_rssi() 2619 if (lq_sta->pers.chain_signal[i] > lq_sta->pers.last_rssi) in rs_update_last_rssi() 2620 lq_sta->pers.last_rssi = lq_sta->pers.chain_signal[i]; in rs_update_last_rssi() 2733 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in rs_drv_alloc_sta()
|
D | rs-fw.c | 723 memset(lq_sta->pers.chain_signal, 0, in iwl_mvm_rs_add_sta_link() 724 sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta_link()
|
D | rx.c | 126 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength() 127 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
|
D | rxmq.c | 275 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength() 276 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 1026 int mt76_rx_signal(u8 chain_mask, s8 *chain_signal) in mt76_rx_signal() argument 1031 for (chains = chain_mask; chains; chains >>= 1, chain_signal++) { in mt76_rx_signal() 1034 cur = *chain_signal; in mt76_rx_signal() 1088 status->signal = mt76_rx_signal(mstat.chains, mstat.chain_signal); in mt76_rx_convert() 1097 BUILD_BUG_ON(sizeof(status->chain_signal) != in mt76_rx_convert() 1098 sizeof(mstat.chain_signal)); in mt76_rx_convert() 1099 memcpy(status->chain_signal, mstat.chain_signal, in mt76_rx_convert() 1100 sizeof(mstat.chain_signal)); in mt76_rx_convert()
|
D | mt76x02_mac.c | 861 status->chain_signal[0] = signal; in mt76x02_mac_process_rx() 864 status->chain_signal[1] = mt76x02_mac_get_rssi(dev, in mt76x02_mac_process_rx()
|
D | mt76.h | 645 s8 chain_signal[IEEE80211_MAX_CHAINS]; member 1296 int mt76_rx_signal(u8 chain_mask, s8 *chain_signal);
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | rx.c | 200 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | common.c | 249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi()
|
/linux-6.6.21/net/mac80211/ |
D | sta_info.c | 504 for (i = 0; i < ARRAY_SIZE(link_info->rx_stats_avg.chain_signal); i++) in sta_info_alloc_link() 505 ewma_signal_init(&link_info->rx_stats_avg.chain_signal[i]); in sta_info_alloc_link() 2710 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { in sta_set_sinfo() 2711 sinfo->chain_signal[i] = in sta_set_sinfo() 2714 -ewma_signal_read(&sta->deflink.rx_stats_avg.chain_signal[i]); in sta_set_sinfo()
|
D | rx.c | 691 *pos++ = status->chain_signal[chain]; in ieee80211_add_rx_radiotap_header() 1769 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_h_sta_process() 1770 int signal = status->chain_signal[i]; in ieee80211_rx_h_sta_process() 1776 ewma_signal_add(&link_sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_h_sta_process() 4728 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_8023() 4729 int signal = status->chain_signal[i]; in ieee80211_rx_8023() 4736 ewma_signal_add(&link_sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_8023()
|
D | sta_info.h | 536 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS]; member
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 579 status->chain_signal[0] = to_rssi(MT_RXV4_RCPI0, rxdg3); in mt7615_mac_fill_rx() 580 status->chain_signal[1] = to_rssi(MT_RXV4_RCPI1, rxdg3); in mt7615_mac_fill_rx() 581 status->chain_signal[2] = to_rssi(MT_RXV4_RCPI2, rxdg3); in mt7615_mac_fill_rx() 582 status->chain_signal[3] = to_rssi(MT_RXV4_RCPI3, rxdg3); in mt7615_mac_fill_rx()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 454 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1); in mt7915_mac_fill_rx() 455 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1); in mt7915_mac_fill_rx() 456 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1); in mt7915_mac_fill_rx() 457 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v1); in mt7915_mac_fill_rx()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mac.c | 629 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v3); in mt7996_mac_fill_rx() 630 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v3); in mt7996_mac_fill_rx() 631 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v3); in mt7996_mac_fill_rx() 632 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v3); in mt7996_mac_fill_rx()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 488 status->chain_signal[0] = status->signal = rssi; in mt76_mac_process_rx()
|
/linux-6.6.21/net/wireless/ |
D | scan.c | 1763 memcpy(known->pub.chain_signal, new->pub.chain_signal, in cfg80211_update_known_bss() 2899 memcpy(tmp.pub.chain_signal, data->chain_signal, IEEE80211_MAX_CHAINS); in cfg80211_inform_single_bss_frame_data()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | core.h | 501 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
|
D | dp_rx.c | 2839 BUILD_BUG_ON(ARRAY_SIZE(arsta->chain_signal) > in ath11k_dp_rx_update_peer_stats() 2842 for (i = 0; i < ARRAY_SIZE(arsta->chain_signal); i++) in ath11k_dp_rx_update_peer_stats() 2843 arsta->chain_signal[i] = ppdu_info->rssi_chain_pri20[i]; in ath11k_dp_rx_update_peer_stats()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mac.c | 654 status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + in mt7603_mac_fill_rx() 656 status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + in mt7603_mac_fill_rx()
|
/linux-6.6.21/include/net/ |
D | cfg80211.h | 1974 s8 chain_signal[IEEE80211_MAX_CHAINS]; member 2737 s8 chain_signal[IEEE80211_MAX_CHAINS]; member 2812 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
|
D | mac80211.h | 1579 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852a.c | 2010 status->chain_signal[path] = RTW89_RSSI_RAW_TO_DBM(rx_power[path]); in rtw8852a_query_ppdu()
|