android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Mohamed Abbas ab53d8af67 iwlwifi: Add led support
This patch add LEDS support to 3965 and 4965 drivers. It is based on
led trigger and class. For our drivers we needed to avoid two things.
1- We receive led trigger on/off on each Rx\Tx frame. In our driver
    we can not call led command like that. In this driver once driver
    receive a start of traffic it call the led command to start blinking
    then we count all bytes of Tx and Rx frame, after two second we count the
    blink rate of last two second then id blink rate changed we call the led
     commands
2- Since we can call led command very often, we make sure we call the
    led command after we receive the statistics notification so
    we don't need to wake up the ucode id it is in sleep state.
    This patch was tested with 4965 and 3945.

Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
Signed-off-by: Ian Schram<ischram@telenet.be>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-03-27 16:03:16 -04:00
..
iwl3945-base.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl4965-base.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-3945-commands.h iwlwifi: iwl3945 remove 4965 commands 2008-03-25 16:41:54 -04:00
iwl-3945-core.h
iwl-3945-debug.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945-hw.h iwlwifi: remove macros containing offsets from eeprom struct 2008-03-25 16:41:50 -04:00
iwl-3945-io.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945-led.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-3945-led.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-3945-rs.c iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945-rs.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-3945.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-3945.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-4965-commands.h iwlwifi: move host command sending functions to core module 2008-03-25 16:41:55 -04:00
iwl-4965-hw.h iwlwifi: move host command sending functions to core module 2008-03-25 16:41:55 -04:00
iwl-4965-io.h iwlwifi: rename struct iwl4965_priv to struct iwl_priv 2008-03-25 16:41:47 -04:00
iwl-4965-rs.c iwlwifi: move host command sending functions to core module 2008-03-25 16:41:55 -04:00
iwl-4965-rs.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-4965.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-4965.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-core.c iwlwifi: rename iwl4965_get_channel_info to iwl_get_channel_info 2008-03-25 16:41:54 -04:00
iwl-core.h iwlwifi: move host command sending functions to core module 2008-03-25 16:41:55 -04:00
iwl-csr.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-debug.h iwlwifi: Add debugfs to iwl core 2008-03-25 16:41:47 -04:00
iwl-debugfs.c iwlwifi: Add debugfs to iwl core 2008-03-25 16:41:47 -04:00
iwl-eeprom.c iwlwifi: rename iwl4965_get_channel_info to iwl_get_channel_info 2008-03-25 16:41:54 -04:00
iwl-eeprom.h iwlwifi: rename iwl4965_get_channel_info to iwl_get_channel_info 2008-03-25 16:41:54 -04:00
iwl-hcmd.c iwlwifi: move host command sending functions to core module 2008-03-25 16:41:55 -04:00
iwl-helpers.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-led.c iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-led.h iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
iwl-prph.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
iwl-spectrum.h iwlwifi: update copyright year 2008-03-13 19:32:32 -04:00
Kconfig iwlwifi: Add led support 2008-03-27 16:03:16 -04:00
Makefile iwlwifi: Add led support 2008-03-27 16:03:16 -04:00