Home
last modified time | relevance | path

Searched refs:chain_signal (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c365 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/
Drs.h230 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
373 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Drs.c2501 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()
Drs-fw.c723 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()
Drx.c126 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()
Drxmq.c275 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/
Dmac80211.c1026 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()
Dmt76x02_mac.c861 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()
Dmt76.h645 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/
Drx.c200 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/
Dcommon.c249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi()
/linux-6.6.21/net/mac80211/
Dsta_info.c504 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()
Drx.c691 *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()
Dsta_info.h536 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS]; member
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c579 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/
Dmac.c454 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/
Dmac.c629 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/
Dmac.c488 status->chain_signal[0] = status->signal = rssi; in mt76_mac_process_rx()
/linux-6.6.21/net/wireless/
Dscan.c1763 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/
Dcore.h501 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Ddp_rx.c2839 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/
Dmac.c654 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/
Dcfg80211.h1974 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2737 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2812 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Dmac80211.h1579 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Drtw8852a.c2010 status->chain_signal[path] = RTW89_RSSI_RAW_TO_DBM(rx_power[path]); in rtw8852a_query_ppdu()

12