1. 25 8月, 2010 1 次提交
  2. 17 8月, 2010 15 次提交
  3. 05 8月, 2010 2 次提交
  4. 30 7月, 2010 1 次提交
  5. 29 7月, 2010 3 次提交
    • F
      mac80211: inform drivers about the off-channel status on channel changes · 45521245
      Felix Fietkau 提交于
      For some drivers it can be useful to know whether the channel they're
      supposed to switch to is going to be used for short off-channel work or
      scanning, or whether the hardware is expected to stay on it for a while
      longer. This is important for various kinds of calibration work, which
      takes longer to complete and should keep some persistent state, even if
      the channel temporarily changes.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      45521245
    • L
      Revert "mac80211: fix sw scan bracketing" · a0daa0e7
      Luis R. Rodriguez 提交于
      This reverts this commit. While in theory the change is
      correct the patch does not address current assumptions made
      by some drivers, one which is definitley affected is ath9k.
      
      Prior to this change the scan complete callback would be
      called after we returned to the home channel and configured
      the hardware RX filters. After this change we call the scan
      complete callback prior to both the hw config and the config
      filter. At least for ath9k this breaks quite a few assumptions
      on the callback, leading to disconnects to the AP after every scan
      making the driver pretty useless on STA mode. The goal behind
      this commit was to address the now understood spurious warnings
      from ath9k and mac80211_hwsim on scanning on two wiphys at the
      same time but we have now supressed these and will address this
      issue in the next kernel release.
      
      When fixing this for good next we must first review the other
      driver's dependence on this logic and perhaps consider removal
      of the scan complete callback all together.
      
      Cc: Johannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a0daa0e7
    • Y
      mac80211: Put some code under MESH macro · e4ab7eb0
      Yuri Ershov 提交于
      In the function ieee80211_subif_start_xmit the logic related with
      meshdrlen is under CONFIG_MAC80211_MESH macro, but in one place it isn't.
      This is some update for this
      Signed-off-by: NYuri Ershov <ext-yuri.ershov@nokia.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e4ab7eb0
  6. 28 7月, 2010 1 次提交
    • J
      mac80211: Fix key freeing to handle unlinked keys · 32162a4d
      Jouni Malinen 提交于
      Key locking simplification removed key->sdata != NULL verification from
      ieee80211_key_free(). While that is fine for most use cases, there is one
      path where this function can be called with an unlinked key (i.e.,
      key->sdata == NULL && key->local == NULL). This results in a NULL pointer
      dereference with the current implementation. This is known to happen at
      least with FT protocol when wpa_supplicant tries to configure the key
      before association.
      
      Avoid the issue by passing in the local pointer to
      ieee80211_key_free(). In addition, do not clear the key from hw_accel
      or debugfs if it has not yet been added. At least the hw_accel one could
      trigger another NULL pointer dereference.
      Signed-off-by: NJouni Malinen <j@w1.fi>
      Reviewed-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      32162a4d
  7. 27 7月, 2010 6 次提交
  8. 22 7月, 2010 3 次提交
  9. 21 7月, 2010 4 次提交
  10. 17 7月, 2010 2 次提交
  11. 09 7月, 2010 1 次提交
    • J
      mac80211: remove wep dependency · 3473187d
      John W. Linville 提交于
      The current mac80211 code assumes that WEP is always available.  If WEP
      fails to initialize, ieee80211_register_hw will always fail.
      
      In some cases (e.g. FIPS certification), the cryptography used by WEP is
      unavailable.  However, in such cases there is no good reason why CCMP
      encryption (or even no link level encryption) cannot be used.  So, this
      patch removes mac80211's assumption that WEP (and TKIP) will always be
      available for use.
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3473187d
  12. 03 7月, 2010 1 次提交