Search Linux Wireless

Re: [PATCH] nl80211/cfg80211: Add support to specify band specific min rssi thresholds with sched scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019-01-15 18:55, Johannes Berg wrote:


> It seems that this should be with the existing
> NL80211_SCHED_SCAN_MATCH_ATTR_RSSI, not in this level namespace.

The band specific rssi thresholds that are being configured are global
across all matchsets whereas NL80211_SCHED_SCAN_MATCH_ATTR_* attributes
are mostly specific to each matchset. Hence I choose to define
attributes in higher level namespace. In future, whenever we want to
adding support for rssi thresholds per band and per matchset, we can
define attributes within NL80211_SCHED_SCAN_MATCH_ATTR_* namespace
level.

But why do we want global ones now?


The global thresholds were there earlier as well. Earlier, we were using a matchset with only rssi attribute without any ssid/bssid attribute within the matchset. I thought having global attributes for specifying global thresholds is better way going forward and avoids unnecessary confusion. Mostly, same thresholds will be used for all ssids/bssids in general rather than thresholds specific to ssid/bssid. However, I couldn't see any disadvantage of using global attributes for this case, please let me know if you see any disadvantage/concern with this.

Thanks,
Vamsi



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux