Skip to content
Snippets Groups Projects
  1. Jul 17, 2012
    • Luis R. Rodriguez's avatar
      cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS · b594bab9
      Luis R. Rodriguez authored
      
      This adds CONFIG_CFG80211_CERTIFICATION_ONUS which is to
      be used for features / code which require a bit of work on
      the system integrator's part to ensure that the system will
      still pass 802.11 regulatory certification. This option is
      also usable for researchers and experimenters looking to add
      code in the kernel without impacting compliant code.
      
      We'd use CONFIG_EXPERT alone but it seems that most standard
      Linux distributions are enabling CONFIG_EXPERT already. This
      allows us to define 802.11 specific kernel features under a
      flag that is intended by design to be disabled by standard
      Linux distributions, and only enabled by system integrators
      or distributions that have done work to ensure regulatory
      certification on the system with the enabled features.
      
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      b594bab9
    • Kalle Valo's avatar
      cfg80211: fix set_regdom() to cancel requests with same alpha2 · 95908535
      Kalle Valo authored
      
      While adding regulatory support to ath6kl I noticed that I easily
      got the regulatory code confused. The way to reproduce the bug was:
      
      1. iw reg set FI (in userspace)
      2. cfg80211 calls ath6kl_reg_notify(FI)
      3. ath6kl sets regdomain in firmware
      4. firmware sends regdomain event to notify about the new regdomain (FI)
      5. ath6kl calls regulatory_hint(FI)
      
      And this (from FI to FI transition) confuses cfg80211 and after that I
      only get "Pending regulatory request, waiting for it to be
      processed...." messages and regdomain changes won't work anymore.
      
      The reason why ath6kl calls regulatory_hint() is that firmware can change
      the regulatory domain by it's own, for example due to 11d IEs. I could
      of course workaround this in ath6kl but I think it's better to handle
      the case in cfg80211.
      
      The fix is pretty simple, use a different error code if the regdomain is
      same and then just set the request processed so that it doesn't block new
      requests.
      
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      95908535
    • Thomas Pedersen's avatar
      cfg80211: support TX error rate CQM · 84f10708
      Thomas Pedersen authored
      
      Let the user configure serveral TX error conection quality monitoring
      parameters: % error rate, survey interval, and # of attempted packets.
      
      On exceeding the TX failure rate over the given interval, the driver
      will send a CQM notify event with the actual TX failure rate and
      packets attempted.
      
      Signed-off-by: default avatarThomas Pedersen <c_tpeder@qca.qualcomm.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      84f10708
    • Johannes Berg's avatar
      nl80211: add wdev ID as u64 as it should · 00f53350
      Johannes Berg authored
      
      In one of my previous patches I erroneously
      used nla_put_u32 for the wdev_id, fix that
      to use nla_put_u64.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      00f53350
  2. Jul 13, 2012
    • Johannes Berg's avatar
      cfg80211: reduce monitor interface tracking · 4290cb4b
      Johannes Berg authored
      
      Revert commit b78e8cea
      ("cfg80211: track monitor channel") and remove the
      set_monitor_enabled() callback.
      
      Due to the tracking happening in NETDEV_PRE_UP, it had
      introduced bugs because the monitor interface callback
      would be called before the device was started. It looks
      like there's no way to fix this, and using NETDEV_PRE_UP
      is broken anyway (since there's no NETDEV_UP_FAIL), so
      remove all that code, track interfaces in NETDEV_UP and
      also stop tracking the monitor channel in cfg80211.
      
      This mostly reverts to before the tracking, except that
      we keep the interface count tracking so that setting the
      monitor channel can be rejected properly.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      4290cb4b
    • Johannes Berg's avatar
      cfg80211/mac80211: re-add get_channel operation · 5b7ccaf3
      Johannes Berg authored
      
      This essentially reverts commit 2e165b81 but
      introduces the get_channel operation with a new
      wireless_dev argument so that you can retrieve
      the channel per interface. This is necessary as
      even though we can track all interface channels
      (except monitor) we can't track the channel type
      used.
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      5b7ccaf3
  3. Jul 12, 2012
  4. Jul 09, 2012
  5. Jul 08, 2012
  6. Jul 05, 2012
  7. Jul 04, 2012
  8. Jul 02, 2012
  9. Jun 29, 2012
  10. Jun 28, 2012
  11. Jun 27, 2012
  12. Jun 26, 2012
  13. Jun 20, 2012
Loading