wpa_supplicant in AP mode and ignore_broadcast_ssid support
Yegor Yefremov
yegorslists at googlemail.com
Tue Sep 29 10:06:06 EDT 2020
I want to hide my SSID using wpa_supplicant v2.6 in mode=2 via DBus
interface. AFAIK, there is such an option in like
"ignore_broadcast_ssid" in hostapd.conf but I cannot find it in
wpa_supplicant.conf, though I can grep it in wpa_supplicant's source
code (current muster branch but commits with this option are quite
old):
wpa_supplicant/config_ssid.h:610: * ignore_broadcast_ssid -
Hide SSID in AP mode
wpa_supplicant/config_ssid.h:621: int ignore_broadcast_ssid;
wpa_supplicant/config_file.c:925: INT(ignore_broadcast_ssid);
wpa_supplicant/ap.c:370: bss->ignore_broadcast_ssid =
ssid->ignore_broadcast_ssid;
wpa_supplicant/ap.c:560: if (!ssid->ignore_broadcast_ssid)
wpa_supplicant/wpa_cli.c:1444: "wpa_ptk_rekey", "bgscan",
"ignore_broadcast_ssid",
wpa_supplicant/config.c:2507: { INT_RANGE(ignore_broadcast_ssid, 0, 2) },
If I try to use this option in DBus function, I get:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.InvalidArgs:
invalid message format
What am I missing?
Regards,
Yegor
More information about the Hostap
mailing list