1. 26 11月, 2013 1 次提交
    • L
      cfg80211: consolidate passive-scan and no-ibss flags · 8fe02e16
      Luis R. Rodriguez 提交于
      These two flags are used for the same purpose, just
      combine them into a no-ir flag to annotate no initiating
      radiation is allowed.
      
      Old userspace sending either flag will have it treated as
      the no-ir flag. To be considerate to older userspace we
      also send both the no-ir flag and the old no-ibss flags.
      Newer userspace will have to be aware of older kernels.
      
      Update all places in the tree using these flags with the
      following semantic patch:
      
      @@
      @@
      -NL80211_RRF_PASSIVE_SCAN
      +NL80211_RRF_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IBSS
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_PASSIVE_SCAN
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IBSS
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -NL80211_RRF_NO_IR | NL80211_RRF_NO_IR
      +NL80211_RRF_NO_IR
      @@
      @@
      -IEEE80211_CHAN_NO_IR | IEEE80211_CHAN_NO_IR
      +IEEE80211_CHAN_NO_IR
      @@
      @@
      -(NL80211_RRF_NO_IR)
      +NL80211_RRF_NO_IR
      @@
      @@
      -(IEEE80211_CHAN_NO_IR)
      +IEEE80211_CHAN_NO_IR
      
      Along with some hand-optimisations in documentation, to
      remove duplicates and to fix some indentation.
      Signed-off-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
      [do all the driver updates in one go]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8fe02e16
  2. 28 10月, 2013 1 次提交
  3. 26 8月, 2013 1 次提交
  4. 12 8月, 2013 1 次提交
  5. 16 7月, 2013 3 次提交
  6. 31 5月, 2013 1 次提交
  7. 24 5月, 2013 1 次提交
  8. 17 5月, 2013 1 次提交
  9. 22 4月, 2013 1 次提交
  10. 16 4月, 2013 1 次提交
  11. 11 4月, 2013 1 次提交
  12. 08 4月, 2013 1 次提交
  13. 26 3月, 2013 1 次提交
  14. 19 3月, 2013 2 次提交
  15. 06 3月, 2013 1 次提交
  16. 15 2月, 2013 1 次提交
  17. 12 1月, 2013 1 次提交
  18. 04 1月, 2013 3 次提交
  19. 03 1月, 2013 2 次提交
    • J
      mac80211: split TX aggregation stop action · 18b559d5
      Johannes Berg 提交于
      When TX aggregation is stopped, there are a few
      different cases:
       - connection with the peer was dropped
       - session stop was requested locally
       - session stop was requested by the peer
       - connection was dropped while a session is stopping
      
      The behaviour in these cases should be different, if
      the connection is dropped then the driver should drop
      all frames, otherwise the frames may continue to be
      transmitted, aggregated in the case of a locally
      requested session stop or unaggregated in the case of
      the peer requesting session stop.
      
      Split these different cases so that the driver can
      act accordingly; however, treat local and remote stop
      the same way and ask the driver to not send frames as
      aggregated packets any more.
      
      In the case of connection drop, the stop callback the
      driver is otherwise supposed to call is no longer
      required.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      18b559d5
    • J
      mac80211_hwsim: allow testing paged RX · a357d7f9
      Johannes Berg 提交于
      Paged RX, i.e. SKBs with (some of) the data in pages instead
      of the SKB header data (skb->data) can behave differently in
      the stack and cause other bugs. To make debugging easier add
      an option to hwsim to test with such SKBs.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a357d7f9
  20. 06 12月, 2012 1 次提交
  21. 30 11月, 2012 1 次提交
  22. 26 11月, 2012 4 次提交
  23. 19 11月, 2012 2 次提交
  24. 14 11月, 2012 1 次提交
  25. 10 11月, 2012 1 次提交
    • J
      mac80211: clarify interface iteration and make it configurable · 8b2c9824
      Johannes Berg 提交于
      During hardware restart, all interfaces are iterated even
      though they haven't been re-added to the driver, document
      this behaviour. The same also happens during resume, which
      is even more confusing since all of the interfaces were
      previously removed from the driver. Make this optional so
      drivers relying on the current behaviour can still use it,
      but to let drivers that don't want this behaviour disable
      it.
      
      Also convert all API users, keeping the old semantics
      except in hwsim, where the new normal ones are desired.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8b2c9824
  26. 30 10月, 2012 2 次提交
    • J
      mac80211_hwsim: print per interface TX power · cbc668a7
      Johannes Berg 提交于
      Just for debugging, print the interface TX
      power whenever it changes.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      cbc668a7
    • J
      mac80211_hwsim: allow using channel contexts · e8261171
      Johannes Berg 提交于
      To use mac80211_hwsim for testing channel contexts it
      has to support them, and for that it has to support
      hw scan and hw-remain-on-channel.
      
      Since it's pure software, the off-channel activities
      are really not off-channel but listening and sending
      on a second channel. Also, the multi-channel isn't
      really doing TDM, it's just on both channels at the
      same time.
      
      For testing purposes, you can specify the number of
      concurrent channels with a module parameter, it is
      set to one by default. When set to two or more, the
      userspace API for wmediumd is disabled as it has no
      provisions for multi-channel yet.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e8261171
  27. 11 9月, 2012 1 次提交
  28. 06 9月, 2012 1 次提交
  29. 20 8月, 2012 1 次提交