Signed-off-by: Jouke Witteveen <j.witteveen@xxxxxxxxx> --- I am not sure what decides which flags to show. This might be useful information for scripts that process SSIDs. However, I found that in my environment, no APs appear to actually set the UTF-8 field. Regards, - Jouke wpa_supplicant/ctrl_iface.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index fe39c25b7..8a922df47 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -2879,6 +2879,13 @@ static int wpa_supplicant_ctrl_iface_scan_result( return -1; pos += ret; } + ie = wpa_bss_get_ie(bss, WLAN_EID_EXT_CAPAB); + if (ie && ie[1] >= 6 && ie[8] & BIT(1)) { /* Bit 48 - UTF-8 SSID */ + ret = os_snprintf(pos, end - pos, "[UTF-8]"); + if (os_snprintf_error(end - pos, ret)) + return -1; + pos += ret; + } #ifdef CONFIG_HS20 if (wpa_bss_get_vendor_ie(bss, HS20_IE_VENDOR_TYPE) && ie2) { ret = os_snprintf(pos, end - pos, "[HS20]"); -- 2.18.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap