1. 18 10月, 2012 2 次提交
  2. 17 10月, 2012 8 次提交
  3. 14 9月, 2012 1 次提交
    • J
      mac80211: handle power constraint/country IE better · 04b7b2ff
      Johannes Berg 提交于
      Currently, mac80211 uses the power constraint IE, and reduces
      the regulatory max TX power by it. This can cause issues if
      the AP is advertising a large power constraint value matching
      a high TX power in its country IE, for example in this case:
      
      ...
      Country: US  Environment: Indoor/Outdoor
          ...
          Channels [157 - 157] @ 30 dBm
          ...
      Power constraint: 13 dB
      ...
      
      What happened here is that our local regulatory TX power is
      15 dBm, and gets reduced by 13 dB so we end up with only
      2 dBm effective TX power, which is way too low.
      
      Instead, handle the country IE/power constraint IE combined
      and restrict our TX power to the max of the regulatory power
      and the maximum power advertised by the AP, in this case
      17 dBm (= 30 dBm - 13 dB).
      
      Also print a message when this happens to let the user know
      and help us debug issues with it.
      Reported-by: NCarl A. Cook <CACook@quantum-equities.com>
      Tested-by: NCarl A. Cook <CACook@quantum-equities.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      04b7b2ff
  4. 11 9月, 2012 1 次提交
  5. 07 9月, 2012 1 次提交
  6. 06 9月, 2012 3 次提交
  7. 20 8月, 2012 5 次提交
  8. 31 7月, 2012 4 次提交
    • J
      mac80211: use correct channel in TX · 2d56577b
      Johannes Berg 提交于
      Since we only need the band, remove the channel
      pointer from struct ieee80211_tx_data and also
      assign it properly, depending on context, to the
      correct operating or current channel.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2d56577b
    • J
      mac80211: fix current vs. operating channel in preq/beacon · 6b77863b
      Johannes Berg 提交于
      When sending probe requests, e.g. during software scanning,
      these will go out on the *current* channel, so their IEs
      need to be built from the current channel. At other times,
      e.g. for beacons or probe request templates, the IEs will
      be used on the *operating* channel and using the current
      channel instead might result in errors.
      
      Add the appropriate parameters to respect the difference.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      6b77863b
    • E
      mac80211: add PS flag to bss_conf · ab095877
      Eliad Peller 提交于
      Currently, ps mode is indicated per device (rather than
      per interface), which doesn't make a lot of sense.
      
      Moreover, there are subtle bugs caused by the inability
      to indicate ps change along with other changes
      (e.g. when the AP deauth us, we'd like to indicate
      CHANGED_PS | CHANGED_ASSOC, as changing PS before
      notifying about disassociation will result in null-packets
      being sent (if IEEE80211_HW_SUPPORTS_DYNAMIC_PS) while
      the sta is already disconnected.)
      
      Keep the current per-device notifications, and add
      parallel per-vif notifications.
      
      In order to keep it simple, the per-device ps and
      the per-vif ps are orthogonal - the per-vif ps
      configuration is determined only by the user
      configuration (enable/disable) and the connection
      state, and is not affected by other vifs state and
      (temporary) dynamic_ps/offchannel operations
      (unlike per-device ps).
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      ab095877
    • M
      mac80211: VHT (11ac) association · d545daba
      Mahesh Palivela 提交于
      Insert VHT IEs into association frames to allow
      mac80211 to connect as a VHT client.
      Signed-off-by: NMahesh Palivela <maheshp@posedge.com>
      [clarify commit message]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      d545daba
  9. 13 7月, 2012 1 次提交
  10. 12 7月, 2012 5 次提交
  11. 09 7月, 2012 1 次提交
    • J
      cfg80211: use wdev in mgmt-tx/ROC APIs · 71bbc994
      Johannes Berg 提交于
      The management frame and remain-on-channel APIs will be
      needed in the P2P device abstraction, so move them over
      to the new wdev-based APIs. Userspace can still use both
      the interface index and wdev identifier for them so it's
      backward compatible, but for the P2P Device wdev it will
      be able to use the wdev identifier only.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      71bbc994
  12. 02 7月, 2012 1 次提交
  13. 29 6月, 2012 1 次提交
  14. 28 6月, 2012 1 次提交
  15. 26 6月, 2012 1 次提交
  16. 24 6月, 2012 1 次提交
    • J
      mac80211: clean up debugging · bdcbd8e0
      Johannes Berg 提交于
      There are a few things that make the logging and
      debugging in mac80211 less useful than it should
      be right now:
       * a lot of messages should be pr_info, not pr_debug
       * wholesale use of pr_debug makes it require *both*
         Kconfig and dynamic configuration
       * there are still a lot of ifdefs
       * the style is very inconsistent, sometimes the
         sdata->name is printed in front
      
      Clean up everything, introducing new macros and
      separating out the station MLME debugging into
      a new Kconfig symbol.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      bdcbd8e0
  17. 21 6月, 2012 1 次提交
  18. 20 6月, 2012 1 次提交
  19. 19 6月, 2012 1 次提交