mbox series

[v4,0/4] Introduce Automated Frequency Coordination (AFC) support

Message ID cover.1712755468.git.lorenzo@kernel.org
Headers show
Series Introduce Automated Frequency Coordination (AFC) support | expand

Message

lorenzo@kernel.org April 10, 2024, 1:32 p.m. UTC
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 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

Lorenzo Bianconi (4):
  hostapd: afcd: add AFC daemon support
  hostapd: export hostapd_is_usable_chans utility routine
  hostapd: ap: add AFC client support
  hostapd: update TPE IE according to AFC

 afc/.gitignore        |    1 +
 afc/Makefile          |   31 ++
 afc/afc-reply.json    |  215 +++++++++
 afc/afcd.c            |  292 ++++++++++++
 hostapd/Makefile      |    8 +
 hostapd/config_file.c |  261 +++++++++++
 hostapd/defconfig     |    3 +
 hostapd/hostapd.conf  |   42 ++
 src/ap/afc.c          | 1015 +++++++++++++++++++++++++++++++++++++++++
 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  |    4 +-
 src/ap/hw_features.h  |    6 +
 src/ap/ieee802_11.c   |   47 +-
 16 files changed, 2039 insertions(+), 19 deletions(-)
 create mode 100644 afc/.gitignore
 create mode 100644 afc/Makefile
 create mode 100644 afc/afc-reply.json
 create mode 100644 afc/afcd.c
 create mode 100644 src/ap/afc.c