• Stanislaw Gruszka's avatar
    iwl4965: workaround connection regression on passive channel · dd9c4640
    Stanislaw Gruszka authored
    Jake reported that since commit 1672c0e3
    "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 1672c0e3 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: default avatarJake Edge <jake@lwn.net>
    Reported-and-tested-by: default avatarJake Edge <jake@lwn.net>
    Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    dd9c4640
4965-mac.c 185 KB