MLD STA: Indicate AP MLD address in STATUS command

Append AP MLD address info into the STATUS control interface command.

Signed-off-by: Aleti Nageshwar Reddy <quic_anageshw@quicinc.com>
This commit is contained in:
Aleti Nageshwar Reddy 2022-09-08 20:14:18 +05:30 committed by Jouni Malinen
parent 22ba81cfed
commit 6ca98040a2

View file

@ -2383,6 +2383,14 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
return pos - buf;
pos += ret;
if (wpa_s->valid_links) {
ret = os_snprintf(pos, end - pos, "ap_mld_addr=" MACSTR "\n",
MAC2STR(wpa_s->ap_mld_addr));
if (os_snprintf_error(end - pos, ret))
return pos - buf;
pos += ret;
}
#ifdef CONFIG_HS20
if (wpa_s->current_bss &&
(hs20 = wpa_bss_get_vendor_ie(wpa_s->current_bss,