1. 13 1月, 2017 3 次提交
  2. 12 1月, 2017 3 次提交
  3. 11 1月, 2017 1 次提交
    • J
      cfg80211: wext does not need to set monitor channel in managed mode · 7acec26c
      Jorge Ramirez-Ortiz 提交于
      There is not a valid reason to attempt setting the monitor channel
      while in managed mode. Since this code path only deals with this mode,
      remove the code block.
      
      Johannes: I'll note that the comment indicated it was for backward
      compatibility, but the code wasn't functional since switching the
      monitor channel isn't supported (any more?) when in managed mode, as
      that mode owns the channel configuration. Additionally, since monitor
      can't be done on a managed mode interface, this would only have had
      any effect to start with if a separate monitor interface is present,
      in which case it's better to change the channel through that anyway,
      if even possible.
      Signed-off-by: NJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      7acec26c
  4. 09 1月, 2017 3 次提交
    • A
      cfg80211: NL80211_ATTR_SOCKET_OWNER support for CMD_CONNECT · bd2522b1
      Andrzej Zaborowski 提交于
      Disconnect or deauthenticate when the owning socket is closed if this
      flag is supplied to CMD_CONNECT or CMD_ASSOCIATE.  This may be used
      to ensure userspace daemon doesn't leave an unmanaged connection behind.
      
      In some situations it would be possible to account for that, to some
      degree, in the deamon restart code or in the up/down scripts without
      the use of this attribute.  But there will be systems where the daemon
      can go away for varying periods without a warning due to local resource
      management.
      Signed-off-by: NAndrew Zaborowski <andrew.zaborowski@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      bd2522b1
    • J
      cfg80211: size various nl80211 messages correctly · 4ef8c1c9
      Johannes Berg 提交于
      Ilan reported that sometimes nl80211 messages weren't working if
      the frames being transported got very large, which was really a
      problem for userspace-to-kernel messages, but prompted me to look
      at the code.
      
      Upon review, I found various places where variable-length data is
      transported in an nl80211 message but the message isn't allocated
      taking that into account. This shouldn't cause any problems since
      the frames aren't really that long, apart in one place where two
      (possibly very long frames) might not fit.
      
      Fix all the places (that I found) that get variable length data
      from the driver and put it into a message to take the length of
      the variable data into account. The 100 there is just a safe
      constant for the remaining message overhead (it's usually around
      50 for most messages.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      4ef8c1c9
    • M
      rfkill: Add rfkill-any LED trigger · 9b8e34e2
      Michał Kępień 提交于
      Add a new "global" (i.e. not per-rfkill device) LED trigger, rfkill-any,
      which may be useful on laptops with a single "radio LED" and multiple
      radio transmitters.  The trigger is meant to turn a LED on whenever
      there is at least one radio transmitter active and turn it off
      otherwise.
      Signed-off-by: NMichał Kępień <kernel@kempniu.pl>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      9b8e34e2
  5. 06 1月, 2017 3 次提交
  6. 05 1月, 2017 2 次提交
  7. 04 1月, 2017 1 次提交
  8. 02 1月, 2017 3 次提交
  9. 20 12月, 2016 1 次提交
  10. 16 12月, 2016 3 次提交
  11. 15 12月, 2016 11 次提交
  12. 13 12月, 2016 6 次提交