wpa_supplicant: secured mesh and WiLink8 issue

Yegor Yefremov yegorslists at googlemail.com
Fri Nov 4 04:46:36 PDT 2016


On Fri, Nov 4, 2016 at 12:43 PM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> On Fri, Nov 4, 2016 at 12:36 PM, Jeroen Roovers <jer at airfi.aero> wrote:
>> On 4 November 2016 at 12:33, Yegor Yefremov <yegorslists at googlemail.com> wrote:
>>> tcpdump shows nothing either unicast or broadcasts
>>
>> You would have to send some (broadcast) packets in order to see them
>> on the other side.
>
> DHCP should be sufficient. So I've performed:
>
> udhcpc -i mesh

I'm using Buildroot and have enabled following options:

BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y
# BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN is not set
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y

To enable MESH in wpa_supplicant I've made following hack:

diff --git a/package/wpa_supplicant/wpa_supplicant.mk
b/package/wpa_supplicant/wpa_supplicant.mk
index 3c3317b..debad0f 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -21,7 +21,10 @@ WPA_SUPPLICANT_INSTALL_STAGING = YES
 WPA_SUPPLICANT_CONFIG_EDITS =

 # Add support for simple background scan
-WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE
+WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE \
+                           CONFIG_IEEE80211W \
+                           CONFIG_MESH \
+                           CONFIG_SAE

 WPA_SUPPLICANT_CONFIG_ENABLE = \
        CONFIG_IEEE80211AC      \

Can it be, that I need to enable some more options?

Yegor



More information about the Hostap mailing list