wpa_supplicant: WPS issue in AP mode with brcmfmac

Jörg Krause joerg.krause at embedded.rocks
Fri Feb 24 02:39:29 PST 2017


Hi,

On Fri, 2017-02-24 at 10:58 +0100, Jörg Krause wrote:
> 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?

See my note below...

> 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?

In case I was not clear enough: Does wpa_supplicant (not hostapd)
support WPS in AP mode.

Jörg



More information about the Hostap mailing list