1. 17 Apr, 2009 1 commit
  2. 27 Mar, 2009 1 commit
  3. 27 Feb, 2009 4 commits
    • Luis R. Rodriguez's avatar
      cfg80211: Add AP beacon regulatory hints · e38f8a7a
      Luis R. Rodriguez authored
      
      
      When devices are world roaming they cannot beacon or do active scan
      on 5 GHz or on channels 12, 13 and 14 on the 2 GHz band. Although
      we have a good regulatory API some cards may _always_ world roam, this
      is also true when a system does not have CRDA present. Devices doing world
      roaming can still passive scan, if they find a beacon from an AP on
      one of the world roaming frequencies we make the assumption we can do
      the same and we also remove the passive scan requirement.
      
      This adds support for providing beacon regulatory hints based on scans.
      This works for devices that do either hardware or software scanning.
      If a channel has not yet been marked as having had a beacon present
      on it we queue the beacon hint processing into the workqueue.
      
      All wireless devices will benefit from beacon regulatory hints from
      any wireless device on a system including new devices connected to
      the system at a later time.
      Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e38f8a7a
    • Johannes Berg's avatar
      cfg80211: clean up signal type · 77965c97
      Johannes Berg authored
      
      
      It wasn't a good idea to make the signal type a per-BSS option,
      although then it is closer to the actual value. Move it to be
      a per-wiphy setting, update mac80211 to match.
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      77965c97
    • Johannes Berg's avatar
      cfg80211/mac80211: fill qual.qual value/adjust max_qual.qual · a77b8552
      Johannes Berg authored
      
      
      Due to various bugs in the software stack we end up having
      to fill qual.qual; level should be used, but wpa_supplicant
      doesn't properly ignore qual.qual, NM should use qual.level
      regardless of that because qual.qual is 0 but doesn't handle
      IW_QUAL_DBM right now.
      
      So fill qual.qual with the qual.level value clamped to
      -110..-40 dBm or just the regular 'unspecified' signal level.
      This requires a mac80211 change to properly announce the
      max_qual.qual and avg_qual.qual values.
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      a77b8552
    • Dan Williams's avatar
      cfg80211: age scan results on resume · cb3a8eec
      Dan Williams authored
      
      
      Scanned BSS entries are timestamped with jiffies, which doesn't
      increment across suspend and hibernate.  On resume, every BSS in the
      scan list looks like it was scanned within the last 10 seconds,
      irregardless of how long the machine was actually asleep.  Age scan
      results on resume with the time spent during sleep so userspace has a
      clue how old they really are.
      Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      cb3a8eec
  4. 13 Feb, 2009 4 commits