eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit f7a30106bf7228687805b7a99feb9d3ab1a2a2ef
parent d1a8e191e92f5d07e127b3607eea8d4f5e412c59
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date:   Tue, 10 Jul 2018 15:46:56 -0700

scan: initial support for the direct probe request

This enables the discovery of the hidden networks

Diffstat:
Msrc/scan.c | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/scan.c b/src/scan.c @@ -292,7 +292,14 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc, bool passive, if (!passive) { l_genl_msg_enter_nested(msg, NL80211_ATTR_SCAN_SSIDS); - l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, 0, NULL); + + if (params->ssid) + l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, + strlen(params->ssid), + params->ssid); + else + l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, 0, NULL); + l_genl_msg_leave_nested(msg); }