Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h247 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
389 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Drs.c2547 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_get_initial_rate()
2551 if (lq_sta->pers.chain_signal[i] > best_rssi) { in rs_get_initial_rate()
2552 best_rssi = lq_sta->pers.chain_signal[i]; in rs_get_initial_rate()
2656 lq_sta->pers.chain_signal[0] = rx_status->chain_signal[0]; in rs_update_last_rssi()
2657 lq_sta->pers.chain_signal[1] = rx_status->chain_signal[1]; in rs_update_last_rssi()
2658 lq_sta->pers.chain_signal[2] = rx_status->chain_signal[2]; in rs_update_last_rssi()
2661 for (i = 0; i < ARRAY_SIZE(lq_sta->pers.chain_signal); i++) { in rs_update_last_rssi()
2665 if (lq_sta->pers.chain_signal[i] > lq_sta->pers.last_rssi) in rs_update_last_rssi()
2666 lq_sta->pers.last_rssi = lq_sta->pers.chain_signal[i]; in rs_update_last_rssi()
2777 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in rs_drv_alloc_sta()
Drs-fw.c514 memset(lq_sta->pers.chain_signal, 0, sizeof(lq_sta->pers.chain_signal)); in iwl_mvm_rs_add_sta()
Drx.c182 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
183 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
184 rx_status->chain_signal[2] = energy_c; in iwl_mvm_get_signal_strength()
Drxmq.c353 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
354 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
355 rx_status->chain_signal[2] = S8_MIN; in iwl_mvm_get_signal_strength()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmac80211.c737 BUILD_BUG_ON(sizeof(status->chain_signal) != in mt76_rx_convert()
738 sizeof(mstat.chain_signal)); in mt76_rx_convert()
739 memcpy(status->chain_signal, mstat.chain_signal, in mt76_rx_convert()
740 sizeof(mstat.chain_signal)); in mt76_rx_convert()
Dmt76x02_mac.c856 status->chain_signal[0] = signal; in mt76x02_mac_process_rx()
859 status->chain_signal[1] = mt76x02_mac_get_rssi(dev, in mt76x02_mac_process_rx()
862 signal = max_t(s8, signal, status->chain_signal[1]); in mt76x02_mac_process_rx()
Dmt76.h507 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c444 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1); in mt7915_mac_fill_rx()
445 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1); in mt7915_mac_fill_rx()
446 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1); in mt7915_mac_fill_rx()
447 status->chain_signal[3] = to_rssi(MT_PRXV_RCPI3, v1); in mt7915_mac_fill_rx()
448 status->signal = status->chain_signal[0]; in mt7915_mac_fill_rx()
455 status->chain_signal[i]); in mt7915_mac_fill_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drx.c189 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c424 status->chain_signal[0] = to_rssi(MT_RXV4_RCPI0, rxdg3); in mt7615_mac_fill_rx()
425 status->chain_signal[1] = to_rssi(MT_RXV4_RCPI1, rxdg3); in mt7615_mac_fill_rx()
426 status->chain_signal[2] = to_rssi(MT_RXV4_RCPI2, rxdg3); in mt7615_mac_fill_rx()
427 status->chain_signal[3] = to_rssi(MT_RXV4_RCPI3, rxdg3); in mt7615_mac_fill_rx()
428 status->signal = status->chain_signal[0]; in mt7615_mac_fill_rx()
435 status->chain_signal[i]); in mt7615_mac_fill_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dcommon.c249 rxs->chain_signal[j] = ah->noise + rssi; in ath9k_cmn_process_rssi()
/kernel/linux/linux-5.10/net/mac80211/
Dsta_info.c405 for (i = 0; i < ARRAY_SIZE(sta->rx_stats_avg.chain_signal); i++) in sta_info_alloc()
406 ewma_signal_init(&sta->rx_stats_avg.chain_signal[i]); in sta_info_alloc()
2405 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { in sta_set_sinfo()
2406 sinfo->chain_signal[i] = in sta_set_sinfo()
2409 -ewma_signal_read(&sta->rx_stats_avg.chain_signal[i]); in sta_set_sinfo()
Dsta_info.h617 struct ewma_signal chain_signal[IEEE80211_MAX_CHAINS]; member
Drx.c668 *pos++ = status->chain_signal[chain]; in ieee80211_add_rx_radiotap_header()
1784 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_rx_h_sta_process()
1785 int signal = status->chain_signal[i]; in ieee80211_rx_h_sta_process()
1791 ewma_signal_add(&sta->rx_stats_avg.chain_signal[i], in ieee80211_rx_h_sta_process()
4465 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ieee80211_invoke_fast_rx()
4466 int signal = status->chain_signal[i]; in ieee80211_invoke_fast_rx()
4473 ewma_signal_add(&sta->rx_stats_avg.chain_signal[i], in ieee80211_invoke_fast_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c620 status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + in mt7603_mac_fill_rx()
622 status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + in mt7603_mac_fill_rx()
625 status->signal = status->chain_signal[0]; in mt7603_mac_fill_rx()
628 status->chain_signal[1]); in mt7603_mac_fill_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dmac.c488 status->chain_signal[0] = status->signal = rssi; in mt76_mac_process_rx()
/kernel/linux/linux-5.10/net/wireless/
Dscan.c1674 memcpy(known->pub.chain_signal, new->pub.chain_signal, in cfg80211_update_known_bss()
2412 memcpy(tmp.pub.chain_signal, data->chain_signal, IEEE80211_MAX_CHAINS); in cfg80211_inform_single_bss_frame_data()
Dnl80211.c5664 sinfo->chain_signal, in nl80211_send_station()
9242 intbss->pub.chain_signal, in nl80211_send_bss()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h1684 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2383 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
2456 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
Dmac80211.h1420 s8 chain_signal[IEEE80211_MAX_CHAINS]; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dwmi.c2571 BUILD_BUG_ON(ARRAY_SIZE(status->chain_signal) != ARRAY_SIZE(arg.rssi)); in ath10k_wmi_event_mgmt_rx()
2573 for (i = 0; i < ARRAY_SIZE(status->chain_signal); i++) { in ath10k_wmi_event_mgmt_rx()
2579 status->chain_signal[i] = ATH10K_DEFAULT_NOISE_FLOOR + rssi; in ath10k_wmi_event_mgmt_rx()
Dhtt_rx.c1176 status->chain_signal[i] = ATH10K_DEFAULT_NOISE_FLOOR + in ath10k_htt_rx_h_signal()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2843 sinfo->chain_signal[count_rssi] = in brcmf_cfg80211_get_station()