Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmac80211.c507 BUILD_BUG_ON(sizeof(status->chain_signal) != in mt76_rx_convert()
508 sizeof(mstat.chain_signal)); in mt76_rx_convert()
509 memcpy(status->chain_signal, mstat.chain_signal, in mt76_rx_convert()
510 sizeof(mstat.chain_signal)); in mt76_rx_convert()
Dmt76x02_mac.c778 status->chain_signal[0] = signal; in mt76x02_mac_process_rx()
781 status->chain_signal[1] = mt76x02_mac_get_rssi(dev, in mt76x02_mac_process_rx()
784 signal = max_t(s8, signal, status->chain_signal[1]); in mt76x02_mac_process_rx()
Dmt76.h532 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h247 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
389 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Drs.c2539 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_get_initial_rate()
2543 if (lq_sta->pers.chain_signal[i] > best_rssi) { in rs_get_initial_rate()
2544 best_rssi = lq_sta->pers.chain_signal[i]; in rs_get_initial_rate()
2648 lq_sta->pers.chain_signal[0] = rx_status->chain_signal[0]; in rs_update_last_rssi()
2649 lq_sta->pers.chain_signal[1] = rx_status->chain_signal[1]; in rs_update_last_rssi()
2650 lq_sta->pers.chain_signal[2] = rx_status->chain_signal[2]; in rs_update_last_rssi()
2653 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_update_last_rssi()
2657 if (lq_sta->pers.chain_signal[i] > lq_sta->pers.last_rssi) in rs_update_last_rssi()
2658 lq_sta->pers.last_rssi = lq_sta->pers.chain_signal[i]; in rs_update_last_rssi()
2769 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in rs_drv_alloc_sta()
Drs-fw.c469 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta()
Drx.c181 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
182 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
183 rx_status->chain_signal[2] = energy_c; in iwl_mvm_get_signal_strength()
Drxmq.c301 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
302 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
303 rx_status->chain_signal[2] = S8_MIN; in iwl_mvm_get_signal_strength()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c179 status->chain_signal[0] = to_rssi(MT_RXV4_RCPI0, rxdg3); in mt7615_mac_fill_rx()
180 status->chain_signal[1] = to_rssi(MT_RXV4_RCPI1, rxdg3); in mt7615_mac_fill_rx()
181 status->chain_signal[2] = to_rssi(MT_RXV4_RCPI2, rxdg3); in mt7615_mac_fill_rx()
182 status->chain_signal[3] = to_rssi(MT_RXV4_RCPI3, rxdg3); in mt7615_mac_fill_rx()
183 status->signal = status->chain_signal[0]; in mt7615_mac_fill_rx()
190 status->chain_signal[i]); in mt7615_mac_fill_rx()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Drx.c152 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dcommon.c249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi()
/Linux-v5.4/net/mac80211/
Dsta_info.c370 for (i = 0; i < ARRAY_SIZE(sta->rx_stats_avg.chain_signal); i++) in sta_info_alloc()
371 ewma_signal_init(&sta->rx_stats_avg.chain_signal[i]); in sta_info_alloc()
2327 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { in sta_set_sinfo()
2328 sinfo->chain_signal[i] = in sta_set_sinfo()
2331 -ewma_signal_read(&sta->rx_stats_avg.chain_signal[i]); in sta_set_sinfo()
Dsta_info.h573 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS]; member
Drx.c680 *pos++ = status->chain_signal[chain]; in ieee80211_add_rx_radiotap_header()
1799 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_h_sta_process()
1800 int signal = status->chain_signal[i]; in ieee80211_rx_h_sta_process()
1806 ewma_signal_add(&sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_h_sta_process()
4247 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_invoke_fast_rx()
4248 int signal = status->chain_signal[i]; in ieee80211_invoke_fast_rx()
4255 ewma_signal_add(&sta->rx_stats_avg.chain_signal[i], in ieee80211_invoke_fast_rx()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c509 status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + in mt7603_mac_fill_rx()
511 status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + in mt7603_mac_fill_rx()
514 status->signal = status->chain_signal[0]; in mt7603_mac_fill_rx()
517 status->chain_signal[1]); in mt7603_mac_fill_rx()
/Linux-v5.4/net/wireless/
Dscan.c1172 memcpy(known->pub.chain_signal, new->pub.chain_signal, in cfg80211_update_known_bss()
1852 memcpy(tmp.pub.chain_signal, data->chain_signal, IEEE80211_MAX_CHAINS); in cfg80211_inform_single_bss_frame_data()
Dnl80211.c5135 sinfo->chain_signal, in nl80211_send_station()
8692 intbss->pub.chain_signal, in nl80211_send_bss()
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dmac.c488 status->chain_signal[0] = status->signal = rssi; in mt76_mac_process_rx()
/Linux-v5.4/include/net/
Dcfg80211.h1486 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2147 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2220 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Dmac80211.h1357 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1162 status->chain_signal[i] = ATH10K_DEFAULT_NOISE_FLOOR + in ath10k_htt_rx_h_signal()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2686 sinfo->chain_signal[count_rssi] = in brcmf_cfg80211_get_station()