This patchset finishes the work to make channels work on a KHz offset, and includes the initial definitions for S1G (802.11ah). These patches on top of wt-2020-04-29 with hostap c54a5e96b505 gives the following hwsim test results: Failed even on retry: fst_dynamic_iface_attach wpas_config_file proxyarp_open_ebtables TOTAL=3532 PASS=3265 FAIL=13 SKIP=251 Which is what we currently expect of HEAD. Changes from v4: - don't use float to print khz frequency - zero out center_freq1_offset if not supplied with center_freq1 Thomas Pedersen (5): cfg80211: add KHz variants of frame RX API nl80211: add KHz frequency offset for most wifi commands nl80211: support scan frequencies in KHz ieee80211: S1G defines nl80211: S1G band and channel definitions include/linux/ieee80211.h | 223 +++++++++++++++++++++++++++++++++++ include/net/cfg80211.h | 71 ++++++++++- include/uapi/linux/nl80211.h | 77 +++++++++--- net/mac80211/chan.c | 7 +- net/mac80211/main.c | 2 + net/mac80211/rx.c | 8 +- net/mac80211/scan.c | 1 + net/mac80211/tx.c | 5 + net/mac80211/util.c | 5 + net/wireless/chan.c | 29 +++++ net/wireless/core.c | 5 +- net/wireless/mlme.c | 8 +- net/wireless/nl80211.c | 140 ++++++++++++++++------ net/wireless/trace.h | 12 +- net/wireless/util.c | 8 ++ 15 files changed, 526 insertions(+), 75 deletions(-) -- 2.20.1