This adds support to help the wireless core with world roaming by providing hints to when we receive beacons from APs. Devices can be world roaming when the world regulatory domain is set or the device has a custom regulatory domain and no country IEs have been received. This should should help users more on 5 GHz which doesn't allow beaconing or active scanning when world roaming. We call mac80211's beacon hint from ieee80211_mlme_notify_scan_completed(), which is called at the end of ieee80211_scan_completed(). This guarantees that we take advantage of devices which do hw-scanning or sw-scanning. Review with the locking is appreciated, but I think this is OK. Luis R. Rodriguez (2): wireless: add regulatory_hint_found_beacon() to make help world roaming ath9k: follow beacon hints on reg_notifier when world roaming drivers/net/wireless/ath9k/regd.c | 92 ++++++++++++------- include/net/wireless.h | 20 ++++ net/mac80211/mlme.c | 35 +++++++ net/wireless/reg.c | 181 ++++++++++++++++++++++++++++++++++++- 4 files changed, 295 insertions(+), 33 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html