1. 26 5月, 2014 1 次提交
  2. 22 5月, 2014 1 次提交
    • E
      cfg80211: allow RSSI compensation · 67af9811
      Emmanuel Grumbach 提交于
      Channels in 2.4GHz band overlap, this means that if we
      send a probe request on channel 1 and then move to channel
      2, we will hear the probe response on channel 2. In this
      case, the RSSI will be lower than if we had heard it on
      the channel on which it was sent (1 in this case).
      
      The firmware / low level driver can parse the channel in
      the DS IE or HT IE and compensate the RSSI so that it will
      still have a valid value even if we heard the frame on an
      adjacent channel. This can be done up to a certain offset.
      
      Add this offset as a configuration for the low level driver.
      A low level driver that can compensate the low RSSI in this
      case should assign the maximal offset for which the RSSI
      value is still valid.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      67af9811
  3. 21 5月, 2014 2 次提交
  4. 20 5月, 2014 2 次提交
  5. 19 5月, 2014 1 次提交
  6. 15 5月, 2014 3 次提交
  7. 14 5月, 2014 1 次提交
  8. 13 5月, 2014 1 次提交
  9. 09 5月, 2014 1 次提交
  10. 06 5月, 2014 1 次提交
  11. 29 4月, 2014 2 次提交
  12. 25 4月, 2014 7 次提交
  13. 22 4月, 2014 2 次提交
    • L
      cfg80211: fix processing world regdomain when non modular · 96cce12f
      Luis R. Rodriguez 提交于
      This allows processing of the last regulatory request when
      we determine its still pending. Without this if a regulatory
      request failed to get processed by userspace we wouldn't
      be able to re-process it later. An example situation that can
      lead to an unprocessed last_request is enabling cfg80211 to
      be built-in to the kernel, not enabling CFG80211_INTERNAL_REGDB
      and the CRDA binary not being available at the time the udev
      rule that kicks of CRDA triggers.
      
      In such a situation we want to let some cfg80211 triggers
      eventually kick CRDA for us again. Without this if the first
      cycle attempt to kick off CRDA failed we'd be stuck without
      the ability to change process any further regulatory domains.
      
      cfg80211 will trigger re-processing of the regulatory queue
      whenever schedule_work(&reg_work) is called, currently this
      happens when:
      
        * suspend / resume
        * disconnect
        * a beacon hint gets triggered (non DFS 5 GHz AP found)
        * a regulatory request gets added to the queue
      
      We don't have any specific opportunistic late boot triggers
      to address a late mount of where CRDA resides though, adding
      that should be done separately through another patch.
      Without an opportunistic fix then this fix relies at least
      one of the triggeres above to happen.
      Reported-by: NSander Eikelenboom <linux@eikelenboom.it>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@suse.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      96cce12f
    • A
      cfg80211: avoid freeing last_request while in flight · c888393b
      Arik Nemtsov 提交于
      Avoid freeing the last request while it is being processed. This can
      happen in some cases if reg_work is kicked for some reason while the
      currently pending request is in flight.
      
      Cc: Sander Eikelenboom <linux@eikelenboom.it>
      Tested-by: NEliad Peller <eliad@wizery.com>
      Tested-by: NColleen Twitty <colleen@cozybit.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@suse.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      c888393b
  14. 11 4月, 2014 1 次提交
  15. 10 4月, 2014 3 次提交
  16. 09 4月, 2014 11 次提交