linux/drivers/net/wireless/iwlwifi
Luis R. Rodriguez 371842448c cfg80211: fix regression on beacon world roaming feature
A regression was added through patch a4ed90d6:

"cfg80211: respect API on orig_flags on channel for beacon hint"

We did indeed respect _orig flags but the intention was not clearly
stated in the commit log. This patch fixes firmware issues picked
up by iwlwifi when we lift passive scan of beaconing restrictions
on channels its EEPROM has been configured to always enable.

By doing so though we also disallowed beacon hints on devices
registering their wiphy with custom world regulatory domains
enabled, this happens to be currently ath5k, ath9k and ar9170.
The passive scan and beacon restrictions on those devices would
never be lifted even if we did find a beacon and the hardware did
support such enhancements when world roaming.

Since Johannes indicates iwlwifi firmware cannot be changed to
allow beacon hinting we set up a flag now to specifically allow
drivers to disable beacon hints for devices which cannot use them.

We enable the flag on iwlwifi to disable beacon hints and by default
enable it for all other drivers. It should be noted beacon hints lift
passive scan flags and beacon restrictions when we receive a beacon from
an AP on any 5 GHz non-DFS channels, and channels 12-14 on the 2.4 GHz
band. We don't bother with channels 1-11 as those channels are allowed
world wide.

This should fix world roaming for ath5k, ath9k and ar9170, thereby
improving scan time when we receive the first beacon from any AP,
and also enabling beaconing operation (AP/IBSS/Mesh) on cards which
would otherwise not be allowed to do so. Drivers not using custom
regulatory stuff (wiphy_apply_custom_regulatory()) were not affected
by this as the orig_flags for the channels would have been cleared
upon wiphy registration.

I tested this with a world roaming ath5k card.

Cc: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-03 16:31:21 -04:00
..
iwl3945-base.c cfg80211: fix regression on beacon world roaming feature 2009-08-03 16:31:21 -04:00
iwl-1000.c
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c iwl3945/iwlwifi: fix led bug when SW rfkill 2009-06-04 10:58:10 -04:00
iwl-3945-led.h
iwl-3945-rs.c iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-3945.c iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-3945.h iwlagn: fix minimum number of queues setting 2009-07-27 15:19:35 -04:00
iwl-4965-hw.h
iwl-4965.c iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-5000-hw.h iwlwifi: Temperature sensor voltage reading for 5150 2009-05-22 14:06:03 -04:00
iwl-5000.c iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-6000-hw.h
iwl-6000.c iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-agn-rs.c iwlwifi: add value and range define for link quality command 2009-06-04 10:58:12 -04:00
iwl-agn-rs.h iwlagn: improve rate scale table search 2009-05-11 15:24:01 -04:00
iwl-agn.c iwlwifi: only show active power level via sysfs 2009-07-21 12:07:31 -04:00
iwl-calib.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-calib.h
iwl-commands.h iwlwifi: add value and range define for link quality command 2009-06-04 10:58:12 -04:00
iwl-core.c cfg80211: fix regression on beacon world roaming feature 2009-08-03 16:31:21 -04:00
iwl-core.h iwlwifi: port to cfg80211 rfkill 2009-06-10 13:27:49 -04:00
iwl-csr.h iwlagn: co-exist with AMT 2009-05-22 14:06:09 -04:00
iwl-debug.h iwlwifi: support NVM access (EEPROM/OTP) 2009-05-22 14:06:04 -04:00
iwl-debugfs.c iwlwifi: port to cfg80211 rfkill 2009-06-10 13:27:49 -04:00
iwl-dev.h iwlagn: fix minimum number of queues setting 2009-07-27 15:19:35 -04:00
iwl-eeprom.c iwlwifi: fix otp access init 2009-06-03 14:05:09 -04:00
iwl-eeprom.h iwlwifi: support NVM access (EEPROM/OTP) 2009-05-22 14:06:04 -04:00
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h iwlcore: register locks 2009-05-22 14:06:04 -04:00
iwl-led.c iwl3945/iwlwifi: fix led bug when SW rfkill 2009-06-04 10:58:10 -04:00
iwl-led.h
iwl-power.c iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-power.h iwlwifi: clean up PS code 2009-05-11 15:23:59 -04:00
iwl-prph.h
iwl-rx.c iwlcore: Set rb_timeout to 0x10 for devices with ICT 2009-05-22 14:06:09 -04:00
iwl-scan.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-05-25 01:42:21 -07:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c iwlwifi: add value and range define for link quality command 2009-06-04 10:58:12 -04:00
iwl-sta.h iwlwifi: unify station management 2009-06-04 10:56:20 -04:00
iwl-tx.c iwlwifi: Read outside array bounds 2009-07-27 15:19:37 -04:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
Makefile iwlwifi: port to cfg80211 rfkill 2009-06-10 13:27:49 -04:00