1. 17 Dec, 2014 2 commits
    • Jonathan Doron's avatar
      cfg80211: allow wiphy specific regdomain management · b0d7aa59
      Jonathan Doron authored
      Add a new regulatory flag that allows a driver to manage regdomain
      changes/updates for its own wiphy.
      A self-managed wiphys only employs regulatory information obtained from
      the FW and driver and does not use other cfg80211 sources like
      beacon-hints, country-code IEs and hints from other devices on the same
      system. Conversely, a self-managed wiphy does not share its regulatory
      hints with other devices in the system. If a system contains several
      devices, one or more of which are self-managed, there might be
      contradictory regulatory settings between them. Usage of flag is
      generally discouraged. Only use it if the FW/driver is incompatible
      with non-locally originated hints.
      A new API lets the driver send a complete regdomain, to be applied on
      its wiphy only.
      After a wiphy-specific regdomain change takes place, usermode will get
      a new type of change notification. The regulatory core also takes care
      enforce regulatory restrictions, in case some interfaces are on
      forbidden channels.
      Signed-off-by: default avatarJonathan Doron <jonathanx.doron@intel.com>
      Signed-off-by: default avatarArik Nemtsov <arikx.nemtsov@intel.com>
      Reviewed-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    • Arik Nemtsov's avatar
      cfg80211: allow usermode to query wiphy specific regdom · ad30ca2c
      Arik Nemtsov authored
      If a wiphy-idx is specified, the kernel will return the wiphy specific
      regdomain, if such exists. Otherwise return the global regdom.
      When no wiphy-idx is specified, return the global regdomain as well as
      all wiphy-specific regulatory domains in the system, via a new nested
      list of attributes.
      Add a new attribute for each wiphy-specific regdomain, for usermode to
      identify it as such.
      Signed-off-by: default avatarArik Nemtsov <arikx.nemtsov@intel.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  2. 12 Dec, 2014 2 commits
  3. 28 Nov, 2014 3 commits
  4. 27 Nov, 2014 1 commit
  5. 26 Nov, 2014 2 commits
  6. 25 Nov, 2014 1 commit
  7. 19 Nov, 2014 9 commits
  8. 10 Nov, 2014 3 commits
  9. 04 Nov, 2014 2 commits
  10. 31 Oct, 2014 1 commit
  11. 29 Oct, 2014 2 commits
  12. 27 Oct, 2014 2 commits
  13. 22 Oct, 2014 1 commit
    • Johannes Berg's avatar
      cfg80211: make WMM TSPEC support flag an nl80211 feature flag · 723e73ac
      Johannes Berg authored
      During the review of the corresponding wpa_supplicant patches we
      noticed that the only way for it to detect that this functionality
      is supported currently is to check for the command support. This
      can be misleading though, as the command was also designed to, in
      the future, support pure 802.11 TSPECs.
      Expose the WMM-TSPEC feature flag to nl80211 so later we can also
      expose an 802.11-TSPEC feature flag (if needed) to differentiate
      the two cases.
      Note: this change isn't needed in 3.18 as there's no driver there
      yet that supports the functionality at all.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
  14. 20 Oct, 2014 2 commits
  15. 13 Oct, 2014 1 commit
    • Andy Shevchenko's avatar
      lib80211: remove unused print_ssid() · 5df1415a
      Andy Shevchenko authored
      In kernel we have %*pE specifier to print an escaped buffer.  All users
      now switched to that approach.
      This fixes a bug as well.  The current implementation wrongly prints
      octal numbers: only two first digits are used in case when 3 are
      required and the rest of the string ends up cut off.
      Additionally by default the \f, \v, \a, and \e are escaped to their
      alphabetic representation.  It's safe to do since it is currently used
      for messaging only.
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: "John W . Linville" <linville@tuxdriver.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Joe Perches <joe@perches.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  16. 10 Oct, 2014 1 commit
  17. 09 Oct, 2014 2 commits
  18. 11 Sep, 2014 3 commits