]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iwlwifi: add debugfs to control stuck queue timer
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Aug 2010 14:57:07 +0000 (07:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Aug 2010 18:34:20 +0000 (14:34 -0400)
commit7bdc473c7a52497af9fe8c73e4745615a2825aaa
treec3148d911d8f6be00b10b5ab20c26f5b8a810a2d
parentc6c996b5de82b5de4b4b5a31941aab725961a6dd
iwlwifi: add debugfs to control stuck queue timer

In current implementation, stuck queue timer is fixed to 1 second. Add
debugfs file to modify the timer to enhance the flexibility:

Set the monitor_period as following:
   0: disable stuck queue force reset function
   1 - 60000: monitor period (1 - 60 second)

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-dev.h