linux/drivers/net/wireless/iwlwifi
Reinette Chatre 7e2461910e iwlwifi: only add broadcast station once
Currently the broadcast station is added after every RXON command. Change
this to only add the broadcast station when interface is added by mac80211.
With this we need some extra work to ensure broadcast station is always
present since station table is cleared when RXON without ASSOC bit set is
sent. To deal with this we re-add all driver known stations to uCode after
such an RXON command is sent.

We also do some cleanup and remove the various calls to clear the station
table. We now only clear the station table in two scenarios:
- only clear uCode portion of station table when RXON command without ASSOC
bit is sent
- clear uCode and driver portion when interface goes down or is removed.

We need to do this clearing when interface goes down to deal with the
device restart/reconfigure routines which do not remove the interface, but
do add the interface during reconfiguration.

Previously the keys were also cleared when station table in driver is
cleared, this is not done anymore since mac80211 will take care that keys
are set and cleared correctly.

There is a known issue with this change. Associating with different AP
without bringing interface down fails with a firmware error. This is
because of the lack of full station notification support and the later
patches in this series that complete the station notification support will
fix this.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
2010-03-19 13:40:49 -07:00
..
Kconfig iwlwifi: cleanup spectrum measurement command support 2010-01-25 16:36:26 -05:00
Makefile iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-1000.c iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-3945-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-hw.h iwlwifi: move 3945 specific data into union 2010-03-09 16:03:26 -08:00
iwl-3945-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-3945-rs.c iwlagn: remove write-only variables 2010-03-09 16:03:53 -08:00
iwl-3945.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-3945.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
iwl-4965-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-4965.c iwlagn: Add Flow-handler (FH) register dump for 4965. 2010-03-19 13:40:40 -07:00
iwl-5000-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-5000.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-6000-hw.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-6000.c iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-agn-ict.c iwlwifi: move ICT data to agn part of union 2010-03-09 16:03:37 -08:00
iwl-agn-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-agn-rs.c iwlwifi: remove priv->active_rate_basic 2010-03-09 16:04:54 -08:00
iwl-agn-rs.h iwlwifi: remove priv->active_rate_basic 2010-03-09 16:04:54 -08:00
iwl-agn.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-agn.h iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-calib.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-calib.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-commands.h Merge branch 'wireless-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6 2010-02-26 16:58:18 -05:00
iwl-core.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-core.h iwlwifi: remove needlessly exported symbols 2010-03-09 16:12:18 -08:00
iwl-csr.h iwlwifi: indicate calib version for 6050 series 2010-02-19 15:52:49 -05:00
iwl-debug.h iwlwifi: clean up debugfs code 2010-01-25 16:36:24 -05:00
iwl-debugfs.c iwlwifi: remove duplicate function 2010-03-09 16:12:34 -08:00
iwl-dev.h iwlwifi: clean up queue/fifo handling 2010-03-09 16:13:11 -08:00
iwl-devtrace.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00
iwl-devtrace.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00
iwl-eeprom.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-eeprom.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-fh.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-hcmd.c iwlwifi: enable serialization of synchronous commands 2010-02-19 15:52:49 -05:00
iwl-helpers.h iwlagn: move ICT code into separate file 2010-03-09 16:03:13 -08:00
iwl-io.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-led.c iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-led.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-power.c iwlwifi: iwl_power_update_mode always hold mutex 2010-01-29 11:13:59 -08:00
iwl-power.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-prph.h iwlwifi: clean up queue/fifo handling 2010-03-09 16:13:11 -08:00
iwl-rx.c iwlagn: remove write-only variables 2010-03-09 16:03:53 -08:00
iwl-scan.c iwlwifi: remove unnecessary parameter in scan function 2010-03-09 16:12:47 -08:00
iwl-spectrum.h iwlwifi: update copyright year to 2010 2010-01-19 16:25:15 -05:00
iwl-sta.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-sta.h iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00
iwl-tx.c iwlwifi: clean up queue/fifo handling 2010-03-09 16:13:11 -08:00
iwl3945-base.c iwlwifi: only add broadcast station once 2010-03-19 13:40:49 -07:00