1. 23 May, 2013 1 commit
  2. 16 May, 2013 1 commit
  3. 22 Apr, 2013 1 commit
  4. 16 Apr, 2013 1 commit
  5. 10 Apr, 2013 1 commit
  6. 08 Apr, 2013 1 commit
  7. 25 Mar, 2013 1 commit
  8. 18 Mar, 2013 2 commits
  9. 06 Mar, 2013 1 commit
  10. 15 Feb, 2013 1 commit
  11. 11 Jan, 2013 1 commit
  12. 04 Jan, 2013 3 commits
  13. 03 Jan, 2013 2 commits
    • Johannes Berg's avatar
      mac80211: split TX aggregation stop action · 18b559d5
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      18b559d5
    • Johannes Berg's avatar
      mac80211_hwsim: allow testing paged RX · a357d7f9
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      a357d7f9
  14. 06 Dec, 2012 1 commit
  15. 30 Nov, 2012 1 commit
  16. 26 Nov, 2012 4 commits
  17. 19 Nov, 2012 2 commits
  18. 13 Nov, 2012 1 commit
  19. 09 Nov, 2012 1 commit
    • Johannes Berg's avatar
      mac80211: clarify interface iteration and make it configurable · 8b2c9824
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      8b2c9824
  20. 30 Oct, 2012 2 commits
    • Johannes Berg's avatar
      mac80211_hwsim: print per interface TX power · cbc668a7
      Johannes Berg authored
      
      
      Just for debugging, print the interface TX
      power whenever it changes.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      cbc668a7
    • Johannes Berg's avatar
      mac80211_hwsim: allow using channel contexts · e8261171
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      e8261171
  21. 10 Sep, 2012 1 commit
  22. 06 Sep, 2012 1 commit
  23. 20 Aug, 2012 1 commit
  24. 31 Jul, 2012 1 commit
  25. 26 Jul, 2012 1 commit
  26. 17 Jul, 2012 1 commit
  27. 06 Jul, 2012 1 commit
  28. 03 Jul, 2012 1 commit
  29. 28 Jun, 2012 1 commit
    • Thomas Graf's avatar
      net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new() · 58050fce
      Thomas Graf authored
      
      
      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: default avatarThomas 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: default avatarJiri Pirko <jpirko@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      58050fce
  30. 25 Jun, 2012 1 commit
    • Johannes Berg's avatar
      mac80211_hwsim: fix smatch/sparse complaints · d0f718c1
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      d0f718c1
  31. 08 Jun, 2012 1 commit