git: 3f3676a71266 - stable/13 - wpa: Enable MBO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Nov 2021 18:32:09 UTC
The branch stable/13 has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=3f3676a71266033b9cff54cca1e92caa0b51ea5c
commit 3f3676a71266033b9cff54cca1e92caa0b51ea5c
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-09-03 13:14:01 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-11-04 18:30:24 +0000
wpa: Enable MBO
Enable WiFi 6 MBO (Multi Band Operation). MBO is a prereq to 802.11ax.
MBO allows the efficient use of multiple frequency bands (channels).
To facilitate MBO, WNM (Wireless Network Monitoring) is a prerequisite.
It is required to build.
Tested by: philip
(cherry picked from commit 3968b47cd974e503df303265f3be9ba5865499ab)
---
usr.sbin/wpa/Makefile.inc | 3 +++
usr.sbin/wpa/src/ap/Makefile | 2 ++
usr.sbin/wpa/wpa_supplicant/Makefile | 2 ++
3 files changed, 7 insertions(+)
diff --git a/usr.sbin/wpa/Makefile.inc b/usr.sbin/wpa/Makefile.inc
index 49c7344e8957..a43792d97403 100644
--- a/usr.sbin/wpa/Makefile.inc
+++ b/usr.sbin/wpa/Makefile.inc
@@ -68,6 +68,9 @@ CFLAGS+=-DEAP_SERVER_TLS
CFLAGS+=-DEAP_SERVER_TTLS
CFLAGS+=-DEAP_SERVER_WSC
CFLAGS+=-DEAP_TLS_FUNCS
+CFLAGS+=-DCONFIG_WNM
+CFLAGS+=-DCONFIG_WNM_AP
+CFLAGS+=-DCONFIG_MBO
.if ${MK_WPA_SUPPLICANT_EAPOL} != "no"
CFLAGS+=-DCONFIG_HS20 \
diff --git a/usr.sbin/wpa/src/ap/Makefile b/usr.sbin/wpa/src/ap/Makefile
index b6d53b0d5dbb..162b8b5444aa 100644
--- a/usr.sbin/wpa/src/ap/Makefile
+++ b/usr.sbin/wpa/src/ap/Makefile
@@ -28,6 +28,7 @@ SRCS= accounting.c \
ieee802_11_shared.c \
ieee802_11_vht.c \
ieee802_1x.c \
+ mbo_ap.c \
neighbor_db.c \
pmksa_cache_auth.c \
preauth_auth.c \
@@ -39,6 +40,7 @@ SRCS= accounting.c \
vlan_ifconfig.c \
vlan_init.c \
wmm.c \
+ wnm_ap.c \
wpa_auth.c \
wpa_auth_glue.c \
wpa_auth_ie.c \
diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile
index b437d2991360..8e7edfcf7720 100644
--- a/usr.sbin/wpa/wpa_supplicant/Makefile
+++ b/usr.sbin/wpa/wpa_supplicant/Makefile
@@ -23,6 +23,7 @@ SRCS= bss.c \
events.c \
gas_query.c \
main.c \
+ mbo.c \
notify.c \
op_classes.c \
offchannel.c \
@@ -32,6 +33,7 @@ SRCS= bss.c \
scan.c \
twt.c \
wmm_ac.c \
+ wnm_sta.c \
wpa_supplicant.c \
wpas_glue.c