1. 29 6月, 2012 3 次提交
  2. 28 6月, 2012 4 次提交
  3. 27 6月, 2012 1 次提交
  4. 26 6月, 2012 1 次提交
  5. 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
  6. 21 6月, 2012 2 次提交
  7. 18 6月, 2012 1 次提交
  8. 14 6月, 2012 2 次提交
  9. 13 6月, 2012 2 次提交
  10. 12 6月, 2012 1 次提交
  11. 11 6月, 2012 2 次提交
  12. 09 6月, 2012 2 次提交
  13. 07 6月, 2012 5 次提交
    • 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: validate remain-on-channel time better · ebf348fc
      Johannes Berg 提交于
      The remain-on-channel time validation shouldn't
      depend on the value of HZ, as it does now with
      the check against jiffies, since then you might
      use a value that works on one system but not on
      another. Fix it by checking against a minimum
      that's fixed.
      
      Also add validation of the wait duration for a
      management frame TX since this also translates
      into remain-on-channel internally.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ebf348fc
    • H
      ssb: recognize ARM Cortex M3 · ccaf8c32
      Hauke Mehrtens 提交于
      I found this core on a BCM4322, a PCI card in the Linksys WRT610N V1.
      This core is not used by the driver, this patch just makes ssb show the
      correct name.
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ccaf8c32
    • 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
  14. 06 6月, 2012 8 次提交
  15. 05 6月, 2012 5 次提交