[PATCH] hostapd: output ap_isolate for each bss when using STATUS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 1091cc150031f34a4ae4a9ad227118706136c2e1 Mon Sep 17 00:00:00 2001
From: Antonio Prcela <antonio.prcela@xxxxxxxxx>
Date: Mon, 17 Jul 2023 09:51:32 +0200
Subject: [PATCH] hostapd: output ap_isolate for each bss when using STATUS

---
 src/ap/ctrl_iface_ap.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/ap/ctrl_iface_ap.c b/src/ap/ctrl_iface_ap.c
index c7504ad2b..034d791aa 100644
--- a/src/ap/ctrl_iface_ap.c
+++ b/src/ap/ctrl_iface_ap.c
@@ -928,13 +928,15 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
 				  "bss[%d]=%s\n"
 				  "bssid[%d]=" MACSTR "\n"
 				  "ssid[%d]=%s\n"
-				  "num_sta[%d]=%d\n",
+				  "num_sta[%d]=%d\n"
+				  "ap_isolate[%d]=%d\n",
 				  (int) i, bss->conf->iface,
 				  (int) i, MAC2STR(bss->own_addr),
 				  (int) i,
 				  wpa_ssid_txt(bss->conf->ssid.ssid,
 					       bss->conf->ssid.ssid_len),
-				  (int) i, bss->num_sta);
+				  (int) i, bss->num_sta,
+				  (int) i, bss->conf->isolate);
 		if (os_snprintf_error(buflen - len, ret))
 			return len;
 		len += ret;
-- 
2.41.0
From 1091cc150031f34a4ae4a9ad227118706136c2e1 Mon Sep 17 00:00:00 2001
From: Antonio Prcela <antonio.prcela@xxxxxxxxx>
Date: Mon, 17 Jul 2023 09:51:32 +0200
Subject: [PATCH] hostapd: output ap_isolate for each bss when using STATUS

---
 src/ap/ctrl_iface_ap.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/ap/ctrl_iface_ap.c b/src/ap/ctrl_iface_ap.c
index c7504ad2b..034d791aa 100644
--- a/src/ap/ctrl_iface_ap.c
+++ b/src/ap/ctrl_iface_ap.c
@@ -928,13 +928,15 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
 				  "bss[%d]=%s\n"
 				  "bssid[%d]=" MACSTR "\n"
 				  "ssid[%d]=%s\n"
-				  "num_sta[%d]=%d\n",
+				  "num_sta[%d]=%d\n"
+				  "ap_isolate[%d]=%d\n",
 				  (int) i, bss->conf->iface,
 				  (int) i, MAC2STR(bss->own_addr),
 				  (int) i,
 				  wpa_ssid_txt(bss->conf->ssid.ssid,
 					       bss->conf->ssid.ssid_len),
-				  (int) i, bss->num_sta);
+				  (int) i, bss->num_sta,
+				  (int) i, bss->conf->isolate);
 		if (os_snprintf_error(buflen - len, ret))
 			return len;
 		len += ret;
-- 
2.41.0

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux