From f6f8c6ade914e799fa15de44bb1db28c8bd4c406 Mon Sep 17 00:00:00 2001 From: Alexei Avshalom Lazar Date: Wed, 11 Sep 2019 12:03:07 +0300 Subject: [PATCH] AP: Show EDMG channel info in STATUS output Signed-off-by: Alexei Avshalom Lazar --- src/ap/ctrl_iface_ap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ap/ctrl_iface_ap.c b/src/ap/ctrl_iface_ap.c index 2c4953d8b..676a4c783 100644 --- a/src/ap/ctrl_iface_ap.c +++ b/src/ap/ctrl_iface_ap.c @@ -709,6 +709,8 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, ret = os_snprintf(buf + len, buflen - len, "channel=%u\n" + "edmg_enable=%d\n" + "edmg_channel=%d\n" "secondary_channel=%d\n" "ieee80211n=%d\n" "ieee80211ac=%d\n" @@ -716,6 +718,8 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, "beacon_int=%u\n" "dtim_period=%d\n", iface->conf->channel, + iface->conf->enable_edmg, + iface->conf->edmg_channel, iface->conf->ieee80211n && !hapd->conf->disable_11n ? iface->conf->secondary_channel : 0, iface->conf->ieee80211n && !hapd->conf->disable_11n,