From: Vinay Gannevaram <quic_vganneva@xxxxxxxxxxx> Report the capability of underlying driver/hardware to support authentication frames with random TA to control interface. Signed-off-by: Vinay Gannevaram <quic_vganneva@xxxxxxxxxxx> --- wpa_supplicant/ctrl_iface.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index d831a805f..ae3ab605f 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -4887,6 +4887,14 @@ static int wpa_supplicant_ctrl_iface_get_capability( return res; } + if (os_strcmp(field, "auth_rand_mac") == 0 && + (wpa_s->drv_flags2 & WPA_DRIVER_FLAGS2_AUTH_AND_DEAUTH_RANDOM_TA)) { + res = os_snprintf(buf, buflen, "RANDOM-TA"); + if (os_snprintf_error(buflen, res)) + return -1; + return res; + } + wpa_printf(MSG_DEBUG, "CTRL_IFACE: Unknown GET_CAPABILITY field '%s'", field); -- 2.25.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap