summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-04-23 14:17:50 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 08:53:38 -0700
commitb4308e17eee55ef3ff85da506e80902e3bc1b6c2 (patch)
treedfe4142d0800a5dcb05e6643a545fc23d43a4328 /drivers/net/wireless/iwlwifi/iwl-agn-rxon.c
parent6a2c73fba70c4b59b0060a80c634912af12a8bd2 (diff)
iwlwifi: fix hardware queue programming
commit 5ef4acd58ab2abd0dd0c8e3cacd61a0dc5d73646 upstream. Newer devices have 20 (5000 series) or 30 (6000 series) hardware queues, rather than the 16 that 4965 had. This was added to the driver a long time ago, but improperly: the queue registers for the higher queues aren't just continuations of the registers for the first 16 queues, they are in other places. Therefore, the hardware would lock up when trying to activate queue 16 or above and the device would have to be restarted. Thanks goes to Emmanuel who identified this and told me how the queue programming should be done. Note that we don't use queues 20 and higher today and doing so needs more work than this. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rxon.c')
0 files changed, 0 insertions, 0 deletions