Message ID | 9e15167d-d4ef-9306-d70b-94f056fec413@candelatech.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Johannes Berg |
Headers | show |
Series | Intel be200 leaving ESR due to low RSSI | expand |
On 12/12/24 12:40, Ben Greear wrote: > Hello, > > I've been testing in a chambered setup with a mesh testbed, doing eMLSR testing. > > I am noticing something I cannot explain: After poking at this rest of the day, I think possibly root cause is that I am disabling beacon filtering, and maybe that screws up the firmware's stats in this area. I adjusted the driver code to calculate the ewma signal avg for beacons for each link in the driver and that result looks as expected. That is on top of another out-of-tree patch of mine so I will not plan to post it unless someone is interested. Thanks, Ben
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c index 3ac62ad0144b..41e8e3f7ef03 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c @@ -720,10 +720,16 @@ static void iwl_mvm_update_link_sig(struct ieee80211_vif *vif, int sig, &bss_conf->chanreq.oper, true); - if (sig < exit_esr_thresh) + if (sig < exit_esr_thresh) { + IWL_DEBUG_INFO(mvm, + "esr: update-link-sig-low-rssi, Link %d link-info-sig: %d sig: %d thresh: %d freq: %d\n", + bss_conf->link_id, link_info->beacon_stats.avg_signal, + sig, exit_esr_thresh, link_info->phy_ctxt->center_freq1); + WARN_ON_ONCE(true); iwl_mvm_exit_esr(mvm, vif, IWL_MVM_ESR_EXIT_LOW_RSSI, iwl_mvm_get_other_link(vif, bss_conf->link_id)); + } }