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]

 



Hi,

> > Is there much point in this?
> > 
> > It seems to me that userspace will not really do anything different if
> > it knows what's supported - it's probably easier for it (or cfg80211?)
> > to just set the global min_rssi to the minimum over all bands, and 
> > treat
> > this as we do most things in scheduled scan - an optimisation that
> > doesn't really need a feature advertisement?
> > 
> > I think that would simplify things somewhat.
> 
> I think the driver capability advertisement will provide more 
> flexibility to users in few cases, e.g., earlier, say if userspace is 
> programming -65dBm as min_rssi_thold common for all bands and with the 
> new implementation it may choose to configure -60dBm for 5GHz band and 
> -70dBm for 2.4GHz band for better user experience and power saving(with 
> filtering out unwanted 5GHz bssids). If the user configures -60dBm and 
> -70dBm thresholds for the old drivers without band specific threshold 
> support, it could result in unnecessary wakeups for 5GHz bssids with 
> rssi between -65dBm and -70dBm (compared to the old case of configuring 
> single threshold of -65dBm). So, I think it is better to keep the 
> capability advertisement.

Ok, fair enough.

> > 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?

johannes




[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