aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>2012-06-21 14:09:54 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-26 03:32:28 -0400
commit88e920b4505105b710f8d4a535ec02c4078f8e2e (patch)
treef4e49c2b29fcd49e49b50aa9129dccd6d1654467 /include/net/cfg80211.h
parentd0f718c1c0dfcb67f3af47a1fc4de7784974d1f7 (diff)
nl80211: specify RSSI threshold in scheduled scan
Support configuring an RSSI threshold in dBm (s32) when requesting scheduled scan, below which a BSS won't be reported by the cfg80211 driver. Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index f0163a10b8ce..061c01957e54 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1027,6 +1027,7 @@ struct cfg80211_match_set {
1027 * @wiphy: the wiphy this was for 1027 * @wiphy: the wiphy this was for
1028 * @dev: the interface 1028 * @dev: the interface
1029 * @channels: channels to scan 1029 * @channels: channels to scan
1030 * @rssi_thold: don't report scan results below this threshold (in s32 dBm)
1030 */ 1031 */
1031struct cfg80211_sched_scan_request { 1032struct cfg80211_sched_scan_request {
1032 struct cfg80211_ssid *ssids; 1033 struct cfg80211_ssid *ssids;
@@ -1037,6 +1038,7 @@ struct cfg80211_sched_scan_request {
1037 size_t ie_len; 1038 size_t ie_len;
1038 struct cfg80211_match_set *match_sets; 1039 struct cfg80211_match_set *match_sets;
1039 int n_match_sets; 1040 int n_match_sets;
1041 s32 rssi_thold;
1040 1042
1041 /* internal */ 1043 /* internal */
1042 struct wiphy *wiphy; 1044 struct wiphy *wiphy;