1. 04 6月, 2011 1 次提交
    • S
      iwlagn: fix channel switch locking · 6f213ff1
      Stanislaw Gruszka 提交于
      We use priv->mutex to avoid race conditions between iwl_chswitch_done()
      and iwlagn_mac_channel_switch(), when marking channel switch in
      progress. But iwl_chswitch_done() can be called in atomic context
      from iwl_rx_csa() or with mutex already taken from iwlagn_commit_rxon().
      
      These bugs were introduced by:
      
      commit 79d07325
      Author: Wey-Yi Guy <wey-yi.w.guy@intel.com>
      Date:   Thu May 6 08:54:11 2010 -0700
      
          iwlwifi: support channel switch offload in driver
      
      To fix remove mutex from iwl_chswitch_done() and use atomic bitops for
      marking channel switch pending.
      
      Also remove iwl2030_hw_channel_switch() since 2000 series adapters are
      2.4GHz only devices.
      
      Cc: stable@kernel.org # 2.6.36+
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Acked-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      6f213ff1
  2. 14 5月, 2011 2 次提交
  3. 30 4月, 2011 4 次提交
  4. 23 4月, 2011 2 次提交
  5. 18 4月, 2011 1 次提交
  6. 08 4月, 2011 2 次提交
  7. 26 2月, 2011 1 次提交
    • J
      iwlagn: fix iwlagn_check_needed_chains · 850bedcc
      Johannes Berg 提交于
      This function was intended to calculate the
      number of RX chains needed, but could only
      work where the AP's streams were asymmetric,
      i.e. 2 TX and 3 RX or similar. In the case
      where IEEE80211_HT_MCS_TX_RX_DIFF was not
      set, this function would calculate the wrong
      information.
      
      Additionally, mac80211 didn't pass through
      the required values at all, so it couldn't
      work anyway.
      
      Rewrite the logic in this function and add
      appropriate comments to make it readable.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      850bedcc
  8. 29 1月, 2011 1 次提交
  9. 22 1月, 2011 4 次提交
  10. 16 12月, 2010 1 次提交
  11. 14 12月, 2010 1 次提交
  12. 03 12月, 2010 1 次提交
  13. 16 11月, 2010 11 次提交