AP: Show EDMG channel info in STATUS output
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
This commit is contained in:
parent
241dd76cfd
commit
f6f8c6ade9
1 changed files with 4 additions and 0 deletions
|
@ -709,6 +709,8 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
|
||||||
|
|
||||||
ret = os_snprintf(buf + len, buflen - len,
|
ret = os_snprintf(buf + len, buflen - len,
|
||||||
"channel=%u\n"
|
"channel=%u\n"
|
||||||
|
"edmg_enable=%d\n"
|
||||||
|
"edmg_channel=%d\n"
|
||||||
"secondary_channel=%d\n"
|
"secondary_channel=%d\n"
|
||||||
"ieee80211n=%d\n"
|
"ieee80211n=%d\n"
|
||||||
"ieee80211ac=%d\n"
|
"ieee80211ac=%d\n"
|
||||||
|
@ -716,6 +718,8 @@ int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
|
||||||
"beacon_int=%u\n"
|
"beacon_int=%u\n"
|
||||||
"dtim_period=%d\n",
|
"dtim_period=%d\n",
|
||||||
iface->conf->channel,
|
iface->conf->channel,
|
||||||
|
iface->conf->enable_edmg,
|
||||||
|
iface->conf->edmg_channel,
|
||||||
iface->conf->ieee80211n && !hapd->conf->disable_11n ?
|
iface->conf->ieee80211n && !hapd->conf->disable_11n ?
|
||||||
iface->conf->secondary_channel : 0,
|
iface->conf->secondary_channel : 0,
|
||||||
iface->conf->ieee80211n && !hapd->conf->disable_11n,
|
iface->conf->ieee80211n && !hapd->conf->disable_11n,
|
||||||
|
|
Loading…
Reference in a new issue