Add AP MLD address into BSS command output
Indicate AP MLD address in the response to the BSS control interface command. Signed-off-by: Aleti Nageshwar Reddy <quic_anageshw@quicinc.com>
This commit is contained in:
parent
4bd3165249
commit
db99e7341a
1 changed files with 9 additions and 0 deletions
|
@ -5424,6 +5424,15 @@ static int print_bss_info(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_FILS */
|
#endif /* CONFIG_FILS */
|
||||||
|
|
||||||
|
if (!is_zero_ether_addr(bss->mld_addr)) {
|
||||||
|
ret = os_snprintf(pos, end - pos,
|
||||||
|
"ap_mld_addr=" MACSTR "\n",
|
||||||
|
MAC2STR(bss->mld_addr));
|
||||||
|
if (os_snprintf_error(end - pos, ret))
|
||||||
|
return 0;
|
||||||
|
pos += ret;
|
||||||
|
}
|
||||||
|
|
||||||
if (mask & WPA_BSS_MASK_DELIM) {
|
if (mask & WPA_BSS_MASK_DELIM) {
|
||||||
ret = os_snprintf(pos, end - pos, "====\n");
|
ret = os_snprintf(pos, end - pos, "====\n");
|
||||||
if (os_snprintf_error(end - pos, ret))
|
if (os_snprintf_error(end - pos, ret))
|
||||||
|
|
Loading…
Reference in a new issue