1. 06 3月, 2013 1 次提交
  2. 15 2月, 2013 1 次提交
  3. 12 1月, 2013 1 次提交
  4. 04 1月, 2013 3 次提交
  5. 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
  6. 06 12月, 2012 1 次提交
  7. 30 11月, 2012 1 次提交
  8. 26 11月, 2012 4 次提交
  9. 19 11月, 2012 2 次提交
  10. 14 11月, 2012 1 次提交
  11. 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
  12. 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
  13. 11 9月, 2012 1 次提交
  14. 06 9月, 2012 1 次提交
  15. 20 8月, 2012 1 次提交
  16. 31 7月, 2012 1 次提交
  17. 27 7月, 2012 1 次提交
  18. 17 7月, 2012 1 次提交
  19. 06 7月, 2012 1 次提交
  20. 03 7月, 2012 1 次提交
  21. 29 6月, 2012 1 次提交
    • T
      net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new() · 58050fce
      Thomas Graf 提交于
      Using NLMSG_GOODSIZE results in multiple pages being used as
      nlmsg_new() will automatically add the size of the netlink
      header to the payload thus exceeding the page limit.
      
      NLMSG_DEFAULT_SIZE takes this into account.
      Signed-off-by: NThomas Graf <tgraf@suug.ch>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
      Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Reviewed-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      58050fce
  22. 25 6月, 2012 1 次提交
    • J
      mac80211_hwsim: fix smatch/sparse complaints · d0f718c1
      Johannes Berg 提交于
      The code is fine in both cases as-is, but we can
      write it slightly differently to fix smatch/sparse
      complaints:
       * compare the skb pointer (which we use as a cookie)
         by casting the skb to unsigned long rather than the
         cookie to a pointer (fixes "different address spaces")
       * when transmitting, data->channel must be assigned,
         don't check it (fixes "dereferenced before check")
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      d0f718c1
  23. 09 6月, 2012 1 次提交
  24. 05 6月, 2012 1 次提交
  25. 16 5月, 2012 1 次提交
  26. 17 4月, 2012 1 次提交
  27. 12 4月, 2012 1 次提交
    • J
      mac80211: add explicit monitor interface if needed · 4b6f1dd6
      Johannes Berg 提交于
      The queue mapping redesign that I'm planning to do
      will break pure injection unless we handle monitor
      interfaces explicitly. One possible option would
      be to have the driver tell mac80211 about monitor
      mode queues etc., but that would duplicate the API
      since we already need to have queue assignments
      handled per virtual interface.
      
      So in order to solve this, have a virtual monitor
      interface that is added whenever all active vifs
      are monitors. We could also use the state of one
      of the monitor interfaces, but managing that would
      be complicated, so allocate separate state.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4b6f1dd6
  28. 11 4月, 2012 2 次提交
  29. 02 4月, 2012 1 次提交
  30. 13 3月, 2012 1 次提交
  31. 07 3月, 2012 1 次提交