On 06/18/15 08:13, Jörg Krause wrote: > Hi Arend, > > On Di, 2015-06-16 at 16:26 +0200, Arend van Spriel wrote: >> 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. > > I used p2pon because the p2p0 interface is not created without it. It > fails with the error message "brcmf_p2p_create_p2pdev: timeout > occurred" as written in my previous mails. I would prefer not to use > it, so maybe we can find a solution how to get it working without it. 43362 firmware may have issues with regular p2p dev support so let's stick with p2pon for now. >> >> 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. > > Can you give me a hint where to patch brcmfmac. Many thanks! Attached is patch against 4.0.5 kernel. Regards, Arend