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>
This commit is contained in:

committed by
Johannes Berg

parent
d0f718c1c0
commit
88e920b450
@@ -1027,6 +1027,7 @@ struct cfg80211_match_set {
|
||||
* @wiphy: the wiphy this was for
|
||||
* @dev: the interface
|
||||
* @channels: channels to scan
|
||||
* @rssi_thold: don't report scan results below this threshold (in s32 dBm)
|
||||
*/
|
||||
struct cfg80211_sched_scan_request {
|
||||
struct cfg80211_ssid *ssids;
|
||||
@@ -1037,6 +1038,7 @@ struct cfg80211_sched_scan_request {
|
||||
size_t ie_len;
|
||||
struct cfg80211_match_set *match_sets;
|
||||
int n_match_sets;
|
||||
s32 rssi_thold;
|
||||
|
||||
/* internal */
|
||||
struct wiphy *wiphy;
|
||||
|
Reference in New Issue
Block a user