1. 09 7月, 2012 2 次提交
    • J
      nl80211: prepare for non-netdev wireless devs · 89a54e48
      Johannes Berg 提交于
      In order to support a P2P device abstraction and
      Bluetooth high-speed AMPs, we need to have a way
      to identify virtual interfaces that don't have a
      netdev associated.
      
      Do this by adding a NL80211_ATTR_WDEV attribute
      to identify a wdev which may or may not also be
      a netdev.
      
      To simplify things, use a 64-bit value with the
      high 32 bits being the wiphy index for this new
      wdev identifier in the nl80211 API.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      89a54e48
    • J
      mac80211: remove ieee80211_key_removed · f72b85b8
      Johannes Berg 提交于
      This API call was intended to be used by drivers
      if they want to optimize key handling by removing
      one key when another is added. Remove it since no
      driver is using it. If needed, it can always be
      added back.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      f72b85b8
  2. 05 7月, 2012 2 次提交
  3. 03 7月, 2012 2 次提交
  4. 02 7月, 2012 2 次提交
  5. 29 6月, 2012 4 次提交
  6. 28 6月, 2012 2 次提交
  7. 27 6月, 2012 1 次提交
  8. 26 6月, 2012 1 次提交
  9. 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
  10. 21 6月, 2012 1 次提交
  11. 18 6月, 2012 1 次提交
  12. 14 6月, 2012 1 次提交
  13. 13 6月, 2012 1 次提交
  14. 11 6月, 2012 2 次提交
  15. 09 6月, 2012 2 次提交
  16. 07 6月, 2012 3 次提交
    • J
      mac80211: unify SW/offload remain-on-channel · 2eb278e0
      Johannes Berg 提交于
      Redesign all the off-channel code, getting rid of
      the generic off-channel work concept, replacing
      it with a simple remain-on-channel list.
      
      This fixes a number of small issues with the ROC
      implementation:
       * offloaded remain-on-channel couldn't be queued,
         now we can queue it as well, if needed
       * in iwlwifi (the only user) offloaded ROC is
         mutually exclusive with scanning, use the new
         queue to handle that case -- I expect that it
         will later depend on a HW flag
      
      The bigger issue though is that there's a bad bug
      in the current implementation: if we get a mgmt
      TX request while HW roc is active, and this new
      request has a wait time, we actually schedule a
      software ROC instead since we can't guarantee the
      existing offloaded ROC will still be that long.
      To fix this, the queuing mechanism was needed.
      
      The queuing mechanism for offloaded ROC isn't yet
      optimal, ideally we should add API to have the HW
      extend the ROC if needed. We could add that later
      but for now use a software implementation.
      
      Overall, this unifies the behaviour between the
      offloaded and software-implemented case as much
      as possible.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2eb278e0
    • J
      mac80211: do remain-on-channel while idle · 196ac1c1
      Johannes Berg 提交于
      The IDLE handling in HW off-channel is broken right
      now since we turn off IDLE only when the off-channel
      period already started. Therefore, all drivers that
      use it today (only iwlwifi!) must support off-channel
      while idle, so playing with idle isn't needed at all.
      
      Off-channel in general, since it's no longer used for
      authentication/association, shouldn't affect PS, so
      also remove that logic.
      
      Also document a small caveat for reporting TX status
      from off-channel frames in HW remain-on-channel.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      196ac1c1
    • J
      cfg80211: clarify set_channel APIs · e8c9bd5b
      Johannes Berg 提交于
      Now that we've removed all uses of the set_channel
      API except for the monitor channel and in libertas,
      clarify this. Split the libertas mesh use into a
      new libertas_set_mesh_channel() operation, just to
      keep backward compatibility, and rename the normal
      set_channel() to set_monitor_channel().
      
      Also describe the desired set_monitor_channel()
      semantics more clearly.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e8c9bd5b
  17. 06 6月, 2012 7 次提交
  18. 05 6月, 2012 5 次提交