On 06/16/15 11:59, Jörg Krause wrote:
Hi Arend, as I wrote in my previous mail ("brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred") I get a p2p0 interface when loading the brcmfmac module with p2pon=1 (Linux kernel 4.0.5, BCM43362). Unfortunatly, if I try to use the p2p0 interface with wpa_supplicant 2.4 I get an error: Failed to create interface p2p-dev-p2p0: -28 (No space left on device) nl80211: Failed to create a P2P Device interface p2p-dev-p2p0 P2P: Failed to enable P2P Device interface
Using p2pon=1 is old-school p2p, ie. it creates a regular netdev for doing p2p management stuff. Problem is that brcmfmac also indicates p2p device support. We can remove p2pon parameter or not indicate p2p dev support when p2pon=1.
Can you patch brcmfmac and give it a try. Need to start wpa_supplicant for two interface and if I recall correctly p2p0 must be specified first.
Regards, Arend
The command: wpa_supplicant -Dnl80211 -ip2p0 -c /etc/p2p_supplicant.conf -N -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -ddt& The P2P config file: # cat /etc/p2p_supplicant.conf ctrl_interface=/var/run/p2p_supplicant device_name=P2P Test device_type=1-0050F204-1 I attached the log output from wpa_supplicant. Best regards Jörg Krause
-- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html