android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Helmut Schaa 2663516d8f iwl3945: report killswitch changes even if the interface is down
Currently iwl3945 is not able to report hw-killswitch events while the
interface is down. This has implications on user space tools (like
NetworkManager) relying on rfkill notifications to bring the interface
up once the wireless gets enabled through a hw killswitch.

Thus, enable the device already in iwl3945_pci_probe instead of iwl3945_up
and poll the CSR_GP_CNTRL register to update the killswitch state every
two seconds. The polling is only needed on 3945 hardware as this adapter
does not use interrupts to signal rfkill changes to the driver (in case no
firmware is loaded). The firmware loading is still done in iwl3945_up.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-29 16:00:28 -05:00
..
iwl3945-base.c iwl3945: report killswitch changes even if the interface is down 2009-01-29 16:00:28 -05:00
iwl-3945-fh.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-led.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-led.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-rs.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-4965-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-4965.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-5000-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-5000.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn-hcmd-check.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn-rs.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn-rs.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-calib.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-calib.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-commands.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-core.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-core.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-csr.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-debug.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-debugfs.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-dev.h iwl3945: report killswitch changes even if the interface is down 2009-01-29 16:00:28 -05:00
iwl-eeprom.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-eeprom.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-fh.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-hcmd.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-helpers.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-io.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-led.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-led.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-power.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-power.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-prph.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rfkill.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rfkill.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rx.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-scan.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-spectrum.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-spectrum.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-sta.c IWL: fix WARN typo 2009-01-29 16:00:17 -05:00
iwl-sta.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-tx.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
Kconfig
Makefile