diff options
author | Thomas Pedersen <thomas@adapt-ip.com> | 2020-04-30 20:25:50 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-05-27 11:02:02 +0300 |
commit | e76fede8bf7c90d92c799d9ceb092dec48346e2c (patch) | |
tree | 6e2e2d3009975e24712b869b525aa678d6e51582 /fs/ioctl.c | |
parent | c03369558c435f7e82f7c06b0173fa73c1ed15c0 (diff) | |
download | linux-e76fede8bf7c90d92c799d9ceb092dec48346e2c.tar.xz |
cfg80211: add KHz variants of frame RX API
Drivers may wish to report the RX frequency in units of
KHz. Provide cfg80211_rx_mgmt_khz() and wrap it with
cfg80211_rx_mgmt() so exisiting drivers which can't report
KHz anyway don't need to change. Add a similar wrapper for
cfg80211_report_obss_beacon() so the frequency units stay
somewhat consistent.
This doesn't actually change the nl80211 API yet.
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20200430172554.18383-2-thomas@adapt-ip.com
[fix mac80211 calling the non-khz version of obss beacon report,
drop trace point name changes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions