Introduce Automated Frequency Coordination (AFC) support for UNII-5 and UNII-7 6GHz bands. Update Transmit Power Envelope (TPE) IE according to the reply from AFC coordinator on UNII-5 or UNII-7 6GHz bands. AFCD and AFC hostapd client are tested with AFC DUT Test Harness [0]. Changes since v7: - fix 320MHz channel width support - rebase on top of hostapd main branch Changes since v6: - do not run acs in hostapd_afc_handle_request() if the configured channel is available in the AFC list from the coordinator - fix possible crash in hostap_afc_disable_channels() - add more debug log in hostapd_afc_parse_reply() Changes since v5: -rebased on top of hostapd main branch Changes since v4: - fix curl header parsing - increase afc buffer size - fix afc-reply.txt - add some more error logging - add sanity check for some afc config file data Changes since v3: - fix compilation errors when IEEE80211_AX is not enabled - fix a leftover crash stopping the interface - make sure rx buffer is null-terminated Changes since v2: - multiple fixes testing with AFC DUT Test Harness Changes since v1: - use unix socket instead of a tcp one Changes since rfc: - move curl connection to a dedicated afc daemon Allen Ye (2): hostapd: Update hostapd_is_usable_chans for {160,320}MHz chan width hostapd: Fix definition of 6GHz operating class 137 Lorenzo Bianconi (3): hostapd: afcd: add AFC daemon support hostapd: ap: Add AFC client support hostapd: Update TPE IE according to AFC afc/.gitignore | 1 + afc/Makefile | 31 + afc/afc-reply.txt | 219 ++++++ afc/afcd.c | 305 +++++++++ hostapd/Makefile | 8 + hostapd/config_file.c | 261 ++++++++ hostapd/defconfig | 3 + hostapd/hostapd.conf | 42 ++ src/ap/afc.c | 1150 ++++++++++++++++++++++++++++++++ src/ap/ap_config.c | 16 + src/ap/ap_config.h | 47 ++ src/ap/hostapd.c | 16 + src/ap/hostapd.h | 54 ++ src/ap/hw_features.c | 112 ++-- src/ap/hw_features.h | 7 + src/ap/ieee802_11.c | 47 +- src/common/ieee802_11_common.c | 2 +- 17 files changed, 2261 insertions(+), 60 deletions(-) create mode 100644 afc/.gitignore create mode 100644 afc/Makefile create mode 100644 afc/afc-reply.txt create mode 100644 afc/afcd.c create mode 100644 src/ap/afc.c -- 2.47.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap