Files
linux-st/include/uapi/linux
Thomas Pedersen 2032f3b2f9 nl80211: support scan frequencies in KHz
If the driver advertises NL80211_EXT_FEATURE_SCAN_FREQ_KHZ
userspace can omit NL80211_ATTR_SCAN_FREQUENCIES in favor
of an NL80211_ATTR_SCAN_FREQ_KHZ. To get scan results in
KHz userspace must also set the
NL80211_SCAN_FLAG_FREQ_KHZ.

This lets nl80211 remain compatible with older userspaces
while not requring and sending redundant (and potentially
incorrect) scan frequency sets.

Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200430172554.18383-4-thomas@adapt-ip.com
[use just nla_nest_start() (not _noflag) for NL80211_ATTR_SCAN_FREQ_KHZ]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-05-27 10:02:03 +02:00
..
2020-04-27 16:29:41 +05:30
2020-04-20 12:43:24 -07:00
2020-03-21 14:03:46 -06:00
2020-03-29 22:30:57 -07:00
2020-03-29 22:14:49 -07:00
2020-05-21 17:04:07 -07:00
2020-03-29 22:30:57 -07:00
2020-03-29 23:29:08 +02:00
2020-04-02 10:41:40 -04:00