Jump to content

Wifi P2P on NanoPi Neo Air


SteveH

Recommended Posts

Hello,

 

I try to get WiFi P2P working on the Nano Pi Neo Air with a 4.x mainline kernel and so I tried the latest available nightly build "Armbian_5.24.170118_Nanopiair_Ubuntu_xenial_4.9.4.img" but I have problems to establish a connection.

 

Does anybody have WiFi P2P working on the Nano PI Neo Air? The problem seems be a problem with the P2P_CLIENT interface creation at the brcmfmac driver.

 

My P2P test peer is a Nexus 5 phone and I'am able to see the peer device using wpa_cli p2p_peers. But when I try to connect I get following driver error messages at the Kernel Log.

 

[    8.085540] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jun  6 2014 14:50:39 version 7.10.226.49 ® FWID 01-8962686a
 

[   83.057486] brcmfmac: brcmf_do_escan: error (-110)
[   83.062334] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[   85.611612] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[   85.617463] brcmfmac: brcmf_p2p_tx_action_frame:  sending action frame has failed
[   85.625002] brcmfmac: brcmf_p2p_send_action_frame: Failed to send Action Frame(retry 1)
[   88.171615] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
 

 

 

wpa_supplicant log:

p2p-dev-wlan0: Control interface command 'P2P_CONNECT 36:fc:ef:a4:be:2c pbc'
p2p-dev-wlan0: Determining shared radio frequencies (max len 1)
p2p-dev-wlan0: Shared frequencies (len=0): completed iteration
p2p-dev-wlan0: Shared frequencies (len=0): valid for P2P
p2p-dev-wlan0: Determining shared radio frequencies (max len 1)
p2p-dev-wlan0: Shared frequencies (len=0): completed iteration
p2p-dev-wlan0: P2P: num_unused_channels: 1
P2P: Setup freqs: freq=0 num_MCC=1 shared_freqs=0 num_unused=1
P2P: Current operating channels are not available for P2P. Try to use another channel
P2P: Own frequency preference: 0 MHz
P2P: Create a new interface p2p-wlan0-0 for the group
nl80211: Create interface iftype 8 (P2P_CLIENT)
Failed to create interface p2p-wlan0-0: -110 (Connection timed out)
P2P: Failed to create new group interface
P2P: Failed to allocate a new interface for the group


wpa_supplicant is started as following: wpa_supplicant -B -iwlan0 -c/etc/p2p_supplicant.conf -f /var/log/wpa_supplicant.log -dd

 

p2p_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
update_config=1
device_name=NANO-P2P
device_type=1-0050F204-1
config_methods=virtual_push_button physical_display keypad
p2p_go_intent=1
country=US
p2p_no_group_iface=1
 

 

Thank you,

Steve

 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines