d80211: Take lowlevel driver's channel change time into account during scanning.
Subsystems (2)
PATCH 1/1 d80211: Take lowlevel driver's channel change time into account during scanning.
Make the dscape stack take the driver-supplied channel change time into account when actively scanning for networks. This particularly has been a problem in the rt2x00 driver, where configuration changes are done via a work-queue, and the subsequent channel changes failed due to the dscape stack scheduling a channel update while the previous one had not been performed yet, resulting in failed scans.
net/d80211/ieee80211_sta.c +2 -1
@@ -2503,7 +2503,8 @@ #endifbreak ; } - local->scan_timer.expires = jiffies +IEEE80211_PROBE_DELAY ; + local->scan_timer.expires = jiffies +IEEE80211_PROBE_DELAY + +usecs_to_jiffies (local->hw->channel_change_time); local->scan_state =SCAN_SEND_PROBE ;break ;case SCAN_SEND_PROBE :
Quoted 7 lines · Gertjan van Wingerde
Make the dscape stack take the driver-supplied channel change time into account when actively scanning for networks.
This particularly has been a problem in the rt2x00 driver, where configuration changes are done via a work-queue, and
the subsequent channel changes failed due to the dscape stack scheduling a channel update while the previous one had not
been performed yet, resulting in failed scans.
Your mail client converts tabs to spaces. Nevertheless, I applied the patch to my git tree.
Thanks for fixing this,
Jiri
Signature · 2 lines
Jiri Benc SUSE Labs