Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ !
Dmac80211.c953 s8 *chain_signal = status->chain_signal; in mt76_rx_signal() local
957 for (chains = status->chains; chains; chains >>= 1, chain_signal++) { in mt76_rx_signal()
960 cur = *chain_signal; in mt76_rx_signal()
1017 BUILD_BUG_ON(sizeof(status->chain_signal) != in mt76_rx_convert()
1018 sizeof(mstat.chain_signal)); in mt76_rx_convert()
1019 memcpy(status->chain_signal, mstat.chain_signal, in mt76_rx_convert()
1020 sizeof(mstat.chain_signal)); in mt76_rx_convert()
Dmt76x02_mac.c857 status->chain_signal[0] = signal; in mt76x02_mac_process_rx()
860 status->chain_signal[1] = mt76x02_mac_get_rssi(dev, in mt76x02_mac_process_rx()
Dmt76.h626 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ !
Drs.h230 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
372 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Drs.c2498 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_get_initial_rate()
2502 if (lq_sta->pers.chain_signal[i] > best_rssi) { in rs_get_initial_rate()
2503 best_rssi = lq_sta->pers.chain_signal[i]; in rs_get_initial_rate()
2608 lq_sta->pers.chain_signal[0] = rx_status->chain_signal[0]; in rs_update_last_rssi()
2609 lq_sta->pers.chain_signal[1] = rx_status->chain_signal[1]; in rs_update_last_rssi()
2612 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_update_last_rssi()
2616 if (lq_sta->pers.chain_signal[i] > lq_sta->pers.last_rssi) in rs_update_last_rssi()
2617 lq_sta->pers.last_rssi = lq_sta->pers.chain_signal[i]; in rs_update_last_rssi()
2728 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in rs_drv_alloc_sta()
Drs-fw.c526 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta()
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.c293 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
294 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ !
Dmac.c421 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1); in mt7921_mac_fill_rx()
422 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1); in mt7921_mac_fill_rx()
423 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1); in mt7921_mac_fill_rx()
424 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v1); in mt7921_mac_fill_rx()
428 status->chain_signal[i] >= 0) in mt7921_mac_fill_rx()
432 status->chain_signal[i]); in mt7921_mac_fill_rx()
/linux-6.1.9/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.1.9/drivers/net/wireless/ath/ath9k/ !
Dcommon.c249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi()
/linux-6.1.9/net/mac80211/ !
Dsta_info.c500 for (i = 0; i < ARRAY_SIZE(link_info->rx_stats_avg.chain_signal); i++) in sta_info_alloc_link()
501 ewma_signal_init(&link_info->rx_stats_avg.chain_signal[i]); in sta_info_alloc_link()
2631 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { in sta_set_sinfo()
2632 sinfo->chain_signal[i] = in sta_set_sinfo()
2635 -ewma_signal_read(&sta->deflink.rx_stats_avg.chain_signal[i]); in sta_set_sinfo()
Dsta_info.h535 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS]; member
Drx.c697 *pos++ = status->chain_signal[chain]; in ieee80211_add_rx_radiotap_header()
1789 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_h_sta_process()
1790 int signal = status->chain_signal[i]; in ieee80211_rx_h_sta_process()
1796 ewma_signal_add(&link_sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_h_sta_process()
4616 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_8023()
4617 int signal = status->chain_signal[i]; in ieee80211_rx_8023()
4624 ewma_signal_add(&link_sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_8023()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ !
Dmac.c398 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1); in mt7915_mac_fill_rx()
399 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1); in mt7915_mac_fill_rx()
400 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1); in mt7915_mac_fill_rx()
401 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v1); in mt7915_mac_fill_rx()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ !
Dmac.c580 status->chain_signal[0] = to_rssi(MT_RXV4_RCPI0, rxdg3); in mt7615_mac_fill_rx()
581 status->chain_signal[1] = to_rssi(MT_RXV4_RCPI1, rxdg3); in mt7615_mac_fill_rx()
582 status->chain_signal[2] = to_rssi(MT_RXV4_RCPI2, rxdg3); in mt7615_mac_fill_rx()
583 status->chain_signal[3] = to_rssi(MT_RXV4_RCPI3, rxdg3); in mt7615_mac_fill_rx()
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/ !
Dmac.c488 status->chain_signal[0] = status->signal = rssi; in mt76_mac_process_rx()
/linux-6.1.9/net/wireless/ !
Dscan.c1698 memcpy(known->pub.chain_signal, new->pub.chain_signal, in cfg80211_update_known_bss()
2495 memcpy(tmp.pub.chain_signal, data->chain_signal, IEEE80211_MAX_CHAINS); in cfg80211_inform_single_bss_frame_data()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ !
Dcore.h490 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Ddp_rx.c2830 BUILD_BUG_ON(ARRAY_SIZE(arsta->chain_signal) > in ath11k_dp_rx_update_peer_stats()
2833 for (i = 0; i < ARRAY_SIZE(arsta->chain_signal); i++) in ath11k_dp_rx_update_peer_stats()
2834 arsta->chain_signal[i] = ppdu_info->rssi_chain_pri20[i]; in ath11k_dp_rx_update_peer_stats()
Dmac.c8112 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { in ath11k_mac_put_chain_rssi()
8114 rssi = arsta->chain_signal[i]; in ath11k_mac_put_chain_rssi()
8116 arsta->chain_signal[i] = ATH11K_INVALID_RSSI_FULL; in ath11k_mac_put_chain_rssi()
8125 sinfo->chain_signal[i] = rssi; in ath11k_mac_put_chain_rssi()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/ !
Dmac.c643 status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + in mt7603_mac_fill_rx()
645 status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + in mt7603_mac_fill_rx()
/linux-6.1.9/include/net/ !
Dcfg80211.h1900 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2652 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2725 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Dmac80211.h1509 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ !
Drtw8852a.c2133 status->chain_signal[path] = RTW89_RSSI_RAW_TO_DBM(rx_power[path]); in rtw8852a_query_ppdu()

12