1. 17 5月, 2013 1 次提交
  2. 22 4月, 2013 1 次提交
  3. 16 4月, 2013 1 次提交
  4. 11 4月, 2013 1 次提交
  5. 08 4月, 2013 1 次提交
  6. 26 3月, 2013 1 次提交
  7. 19 3月, 2013 2 次提交
  8. 06 3月, 2013 1 次提交
  9. 15 2月, 2013 1 次提交
  10. 12 1月, 2013 1 次提交
  11. 04 1月, 2013 3 次提交
  12. 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
  13. 06 12月, 2012 1 次提交
  14. 30 11月, 2012 1 次提交
  15. 26 11月, 2012 4 次提交
  16. 19 11月, 2012 2 次提交
  17. 14 11月, 2012 1 次提交
  18. 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
  19. 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
  20. 11 9月, 2012 1 次提交
  21. 06 9月, 2012 1 次提交
  22. 20 8月, 2012 1 次提交
  23. 31 7月, 2012 1 次提交
  24. 27 7月, 2012 1 次提交
  25. 17 7月, 2012 1 次提交
  26. 06 7月, 2012 1 次提交
  27. 03 7月, 2012 1 次提交
  28. 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
  29. 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
  30. 09 6月, 2012 1 次提交
  31. 05 6月, 2012 1 次提交