]> git.baikalelectronics.ru Git - kernel.git/commit
iwl4965: workaround connection regression on passive channel
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 7 May 2013 16:07:06 +0000 (18:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 May 2013 21:15:07 +0000 (17:15 -0400)
commit162490e1dceee65ce6f11f8ba91bd3b7e3352f92
treec664b6eec996aad1c53512fc1afe1eb4dbc97eff
parentd393a6ba5115e807a15e75051930dccb032ffbae
iwl4965: workaround connection regression on passive channel

Jake reported that since commit 8a43a2d07c11c96f12f1a3c6c7ac1b6b0fac8111
"mac80211: start auth/assoc timeout on frame status", he is unable to
connect to his AP, which is configured to use passive channel.

After switch to passive channel 4965 firmware drops any TX packet until
it receives beacon. Before commit 8a43a2d0 we waited on channel and
retransmit packet after 200ms, that makes we receive beacon on the
meantime and association process succeed. New mac80211 behaviour cause
that any ASSOC frame fail immediately on iwl4965 and we can not
associate.

This patch restore old mac80211 behaviour for iwl4965, by removing
IEEE80211_HW_REPORTS_TX_ACK_STATUS feature. This feature will be
added again to iwl4965 driver, when different, more complex
workaround for this firmware issue, will be added to the driver.

Cc: stable@vger.kernel.org # 3.9
Bisected-by: Jake Edge <jake@lwn.net>
Reported-and-tested-by: Jake Edge <jake@lwn.net>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/4965-mac.c