mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 02:11:28 +00:00
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From 1ed848df44d350fcc12d9ac79d4892f0428b1eab Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Wed, 3 Jun 2020 16:32:11 +0200
|
|
Subject: [PATCH 800/820] multiple_bssid: add the config file
|
|
|
|
This patch adds a new config option to enable this feature.
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
hostapd/config_file.c | 2 ++
|
|
src/ap/ap_config.h | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
|
|
index 1861b5203..97ded78aa 100644
|
|
--- a/hostapd/config_file.c
|
|
+++ b/hostapd/config_file.c
|
|
@@ -4563,6 +4563,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
|
|
}
|
|
bss->mka_psk_set |= MKA_PSK_SET_CKN;
|
|
#endif /* CONFIG_MACSEC */
|
|
+ } else if (os_strcmp(buf, "multiple_bssid") == 0) {
|
|
+ conf->multiple_bssid = atoi(pos);
|
|
} else {
|
|
wpa_printf(MSG_ERROR,
|
|
"Line %d: unknown configuration item '%s'",
|
|
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
|
|
index b705c378f..3a363bc4e 100644
|
|
--- a/src/ap/ap_config.h
|
|
+++ b/src/ap/ap_config.h
|
|
@@ -986,6 +986,8 @@ struct hostapd_config {
|
|
u8 vht_oper_centr_freq_seg1_idx;
|
|
u8 ht40_plus_minus_allowed;
|
|
|
|
+ u8 multiple_bssid;
|
|
+
|
|
/* Use driver-generated interface addresses when adding multiple BSSs */
|
|
u8 use_driver_iface_addr;
|
|
|
|
--
|
|
2.25.1
|
|
|