]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: fix "Received BA when not expected"
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 29 Apr 2011 15:51:06 +0000 (17:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Apr 2011 19:24:15 +0000 (15:24 -0400)
commit6e46b6a1cd676f7d2d1f340897f6199af9407b2a
tree0fd0ea7d8678e0c1b59f3513ab8ce7c53da2c628
parent5bc477173c1c4b9558a422f66fdb8693cbc92a48
iwlagn: fix "Received BA when not expected"

Need to use broadcast sta_id for management frames, otherwise we broke
BA session in the firmware and get messages like that:

"Received BA when not expected"

or (on older kernels):

"BA scd_flow 0 does not match txq_id 10"

This fix regression introduced in 2.6.35 during station management
code rewrite by:

commit 381ac0a044c73c800d2ad6746b3a51e765dc92bf
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Fri Apr 30 11:30:45 2010 -0700

    iwlwifi: use iwl_find_station less

Patch partially resolve:
https://bugzilla.kernel.org/show_bug.cgi?id=16691
However, there are still 11n performance problems on 4965 and 5xxx
devices that need to be investigated.

Cc: stable@kernel.org # 2.6.35+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c