wpa_supplicant: WPS issue in AP mode with brcmfmac

Jörg Krause joerg.krause at embedded.rocks
Fri Feb 24 01:58:10 PST 2017


Hi,

if the wireless interface is operation in AP mode, WPS can be
initiated, but it does not work with the brcmfmac driver. I wonder, if
WPS should work in AP mode anyway? At least, the brcmfmac driver prints
some error messages:

"""
[ 2205.581521] brcmfmac: brcmf_vif_set_mgmt_ie: vndr ie set error : -30
[ 2205.589314] brcmfmac: brcmf_config_ap_mgmt_ie: Set Beacon IE Failed
"""

The configuration:

"""
ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
	ssid="AP"
	key_mgmt=NONE
	mode=2
	id_str="ap"
}
"""

Steps to reproduce:

"""
# uname -r
4.9.12
# wpa_supplicant -v
wpa_supplicant v2.6
#
# modprobe brcmfmac
# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
# wpa_cli
> wps_pbc
[ 2205.581521] brcmfmac: brcmf_vif_set_mgmt_ie: vndr ie set error : -30
[ 2205.589314] brcmfmac: brcmf_config_ap_mgmt_ie: Set Beacon IE Failed
OK
<3>WPS-PBC-ACTIVE 
<3>WPS-TIMEOUT 
> [ 2325.607589] brcmfmac: brcmf_vif_set_mgmt_ie: vndr ie set error :
-30
[ 2325.615485] brcmfmac: brcmf_config_ap_mgmt_ie: Set Beacon IE Failed
"""

The issue has been reported to the linux-wireless mailing list [1].

So, should WPS work in AP mode?

[1] https://www.spinics.net/lists/linux-wireless/msg159600.html



More information about the Hostap mailing list