brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device running Linux kernel 4.0.4:
# dmesg | grep brcmfmac
[ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166
code
[ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev
[ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52)
[ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred
[ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4)
[ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Any idea?
Best regards
Jörg Krause
Quoted 14 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device running Linux kernel 4.0.4:
# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
Quoted 7 lines
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30
Regards,
Arend
Quoted 2 lines
Best regards
Jörg Krause
Hi Arend,
Quoted 29 lines · Arend van Spriel
Quoted 28 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device running Linux kernel 4.0.4:
# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)
Quoted 4 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30
This is the output:
$ hexdump -C brcmfmac43362-sdio.bin | tail -30 000357e0 03 37 a2 00 02 5e 02 f0 00 a8 01 87 60 05 60 6b |.7...^......`.`k| 000357f0 03 00 02 de 02 f0 00 00 00 68 2b eb 00 13 11 00 |.........h+.....| 00035800 b0 2c 13 00 17 a1 00 e0 5e 85 60 b7 a1 00 6b de |.,......^.`...k.| 00035810 86 23 33 11 01 86 e0 06 f7 f7 bf 00 02 de 02 f0 |.#3.............| 00035820 00 00 00 b0 5e 8f 00 10 64 00 b0 5e 87 00 17 a3 |....^...d..^....| 00035830 00 b0 5e 8b 00 10 65 00 b0 5a 03 00 17 a1 00 68 |..^...e..Z.....h| 00035840 41 93 00 13 1a 00 02 5e 02 f0 00 a2 00 b0 40 67 |A......^......@g| 00035850 00 16 01 00 e0 41 93 00 50 64 00 b0 5a 07 00 17 |.....A..Pd..Z...| 00035860 a2 00 02 5e 02 f0 00 a8 00 e0 41 97 00 50 65 00 |...^......A..Pe.| 00035870 e8 5e 8f 00 37 a3 00 68 de 8f 00 13 15 00 02 de |.^..7..h........| 00035880 02 f0 00 00 00 b0 5e 8f 00 10 64 00 b0 5e 87 00 |......^...d..^..| 00035890 17 a3 00 b0 5e 8b 00 10 65 00 b0 5a 03 00 17 80 |....^...e..Z....| 000358a0 00 68 41 93 00 13 28 00 02 5e 02 f0 0e 3f 00 b0 |.hA...(..^...?..| 000358b0 5e 07 00 16 01 00 e0 41 93 00 50 64 00 b0 5a 07 |^......A..Pd..Z.| 000358c0 00 17 81 00 02 5e 02 f0 0e 44 00 e0 41 97 00 50 |.....^...D..A..P| 000358d0 65 00 e8 5e 8f 00 37 a3 00 68 de 8f 00 13 23 00 |e..^..7..h....#.| 000358e0 02 de 02 f0 00 00 02 02 00 bf 00 01 88 02 03 c5 |................| 000358f0 73 00 01 b1 00 00 00 00 00 00 00 00 57 86 00 00 |s...........W...| 00035900 a5 c1 e1 42 05 5a c3 59 dc 01 75 51 3e 5b 23 49 |...B.Z.Y..uQ>[#I| 00035910 47 28 67 69 45 00 5e 55 f8 f5 c9 7d 42 0a b3 09 |G(giE.^U...}B...| 00035920 01 bd 32 08 01 00 34 33 33 36 32 61 32 2d 72 6f |..2...43362a2-ro| 00035930 6d 6c 2f 73 64 69 6f 2d 67 2d 70 6e 6f 2d 70 6b |ml/sdio-g -pno-pk| 00035940 74 66 69 6c 74 65 72 2d 6b 65 65 70 61 6c 69 76 |tfilter -keepaliv| 00035950 65 2d 77 61 70 69 2d 77 6d 65 2d 70 32 70 20 56 |e-wapi-wme -p2p V| 00035960 65 72 73 69 6f 6e 3a 20 35 2e 39 30 2e 31 39 35 |ersion: 5.90.195| 00035970 2e 38 39 20 43 52 43 3a 20 62 64 31 65 33 65 35 |.89 CRC: bd1e3e5| 00035980 61 20 44 61 74 65 3a 20 4d 6f 6e 20 32 30 31 33 |a Date: Mon 2013| 00035990 2d 30 34 2d 32 32 20 31 37 3a 32 34 3a 34 34 20 |-04-22 17:24:44 | 000359a0 43 53 54 7d 00 |CST}.| 000359a5
Best regards
Jörg Krause
Hi Arend,
Quoted 29 lines · Arend van Spriel
Quoted 28 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device running Linux kernel 4.0.4:
# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)
Quoted 4 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30
I managed to set up the p2p interface by recompiling the kernel with CONFIG_BRCMDBG and loading the brcmfmac module with p2pon=1.
I had a discussion some month ago with Hante Meulemann about setting up the p2p interface. This is one of his replies:
"For what I can see from the log is that we don’t get the event from the FW indicating that the p2p interface was created. This probably means that there is a bug in this FW for this device. I need to discuss this to see how much priority we can give this. The best option for you for the moment is to use the legacy method with the 'p2pon=1' command."
Best regards
Jörg Krause
Quoted 40 lines · Jörg Krause
Hi Arend,
Quoted 29 lines · Arend van Spriel
Quoted 28 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device running Linux kernel 4.0.4:
# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Quoted 4 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30
I managed to set up the p2p interface by recompiling the kernel with
CONFIG_BRCMDBGand loading the brcmfmac module with p2pon=1.
Quoted 8 lines
I had a discussion some month ago with Hante Meulemann about setting up the p2p interface. This is one of his replies:
"For what I can see from the log is that we don’t get the event from the FW indicating that the p2p interface was created. This probably means that there is a bug in this FW for this device. I need to discuss this to see how much priority we can give this. The best option for you for the moment is to use the legacy method with the 'p2pon=1' command."
Thanks for digging your email archive as we clearly forgot about this entirely. The timeout in your log indeed indicates it is missing a notification from firmware. I assume your primary interface is in managed mode when trying to create the p2p_dev interface. Is that correct?
Regards,
Arend
Quoted 2 lines
Best regards
Jörg Krause
Quoted 63 lines · Arend van Spriel
Quoted 51 lines · Jörg Krause
Hi Arend,
Quoted 34 lines · Arend van Spriel
Quoted 33 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device
running Linux kernel 4.0.4:# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Quoted 5 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a
hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30I managed to set up the p2p interface by recompiling the kernel with
CONFIG_BRCMDBGand loading the brcmfmac module with p2pon=1.I had a discussion some month ago with Hante Meulemann about setting up
the p2p interface. This is one of his replies:Quoted 10 lines
"For what I can see from the log is that we don’t get the
event from
the FW indicating that the p2p interface was created. This
probably
means that there is a bug in this FW for this device. I need
to discuss
this to see how much priority we can give this. The best
option for you
for the moment is to use the legacy method with the 'p2pon=1'
command."
Quoted 3 lines
Thanks for digging your email archive as we clearly forgot about this
entirely.
Me too :-)
Quoted 4 lines
The timeout in your log indeed indicates it is missing a notification from firmware. I assume your primary interface is in managed mode when trying to create the
p2p_devinterface. Is that correct?
Correct.
Best regards
Jörg Krause
Quoted 68 lines · Jörg Krause
Quoted 63 lines · Arend van Spriel
Quoted 51 lines · Jörg Krause
Hi Arend,
Quoted 34 lines · Arend van Spriel
Quoted 33 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device
running Linux kernel 4.0.4:# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Quoted 5 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you do a
hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30I managed to set up the p2p interface by recompiling the kernel with
CONFIG_BRCMDBGand loading the brcmfmac module with p2pon=1.I had a discussion some month ago with Hante Meulemann about setting up
the p2p interface. This is one of his replies:Quoted 10 lines
"For what I can see from the log is that we don’t get the
event from
the FW indicating that the p2p interface was created. This
probably
means that there is a bug in this FW for this device. I need
to discuss
this to see how much priority we can give this. The best
option for you
for the moment is to use the legacy method with the 'p2pon=1'
command."Quoted 3 lines
Thanks for digging your email archive as we clearly forgot about this
entirely.
Quoted 8 lines
Me too :-)
Quoted 4 lines
The timeout in your log indeed indicates it is missing a notification from firmware. I assume your primary interface is in managed mode when trying to create the
p2p_devinterface. Is that correct?Correct.
So do you have the following commit in your kernel tree:
commit f48556e1b6a60f1b394a6c4b0a7b8cacba3eb107
Author: Arend van Spriel <[email protected]> Date: Tue Sep 30 10:23:16 2014 +0200
brcmfmac: assure P2P discovery is disabled when setting P2P_DEVICE
mac addre
Regards,
Arend
Quoted 6 lines
Best regards
Jörg Krause
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 93 lines · Arend van Spriel
Quoted 81 lines · Jörg Krause
Quoted 75 lines · Arend van Spriel
Quoted 60 lines · Jörg Krause
Hi Arend,
Quoted 42 lines · Arend van Spriel
Quoted 41 lines · Jörg Krause
Hi,
I've trouble creating the p2p interface on a BCM43362 wifi device
running Linux kernel 4.0.4:# dmesg | grep brcmfmac [ 7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01 -b30a427d [ 7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code [ 11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurredTrying to add the p2p interface manually:
# iw phy0 interface add p2p0 type __p2pdev [ 372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed (-52) [ 373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5)Quoted 6 lines
Quoted 1 line
Any idea?
Wondering whether it is similar to what Rafal reported. Can you
do a
hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30I managed to set up the p2p interface by recompiling the kernel with
CONFIG_BRCMDBGand loading the brcmfmac module with p2pon=1.I had a discussion some month ago with Hante Meulemann about setting up
the p2p interface. This is one of his replies:Quoted 13 lines
"For what I can see from the log is that we don’t get the
event from
the FW indicating that the p2p interface was created.
This
probably
means that there is a bug in this FW for this device. I
need
to discuss
this to see how much priority we can give this. The best
option for you
for the moment is to use the legacy method with the
'p2pon=1'
command."Quoted 4 lines
Thanks for digging your email archive as we clearly forgot about this
entirely.
Quoted 8 lines
Me too :-)
Quoted 4 lines
The timeout in your log indeed indicates it is missing a notification from firmware. I assume your primary interface is in managed mode when trying to create the
p2p_devinterface. Is that correct?Correct.
So do you have the following commit in your kernel tree:
Quoted 8 lines
commit
f48556e1b6a60f1b394a6c4b0a7b8cacba3eb107Author: Arend van Spriel <[email protected]> Date: Tue Sep 30 10:23:16 2014 +0200brcmfmac: assure P2P discovery is disabled when setting
P2P_DEVICE
mac addre
Yes.
$ git log --oneline --grep="brcmfmac: assure P2P discovery is disabled when setting P2P_DEVICE" f48556e brcmfmac: assure P2P discovery is disabled when setting P2P_DEVICE mac address
brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
In reply to Arend van SprielHi 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
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-1I attached the log output from wpa_supplicant.
Best regards
Jörg Krause
# wpa_supplicant -Dnl80211 -ip2p0 -c /etc/p2p_supplicant.conf -N -Dnl80211 -iwla
n0 -c /etc/wpa_supplicant.conf -ddt &
# 10110.464017: wpa_supplicant v2.4
10110.482380: random: Trying to read entropy from /dev/random
10110.497789: Successfully initialized wpa_supplicant
10110.505312: Initializing interface 'p2p0' conf '/etc/p2p_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
10110.512883: Configuration file '/etc/p2p_supplicant.conf' -> '/etc/p2p_supplicant.conf'
10110.518945: Reading configuration file '/etc/p2p_supplicant.conf'
10110.535974: ctrl_interface='/var/run/p2p_supplicant'
10110.536399: update_config=1
10110.536721: device_name='P2P Test'
10110.541315: config_methods='physical_display'
10110.618162: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
10110.638639: nl80211: Using driver-based roaming
10110.641866: nl80211: Supported cipher 00-0f-ac:1
10110.642151: nl80211: Supported cipher 00-0f-ac:5
10110.642464: nl80211: Supported cipher 00-0f-ac:2
10110.642708: nl80211: Supported cipher 00-0f-ac:4
10110.643012: nl80211: Supported cipher 00-0f-ac:6
10110.643759: nl80211: Using driver-based off-channel TX
10110.644195: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
10110.644776: nl80211: Use separate P2P group interface (driver advertised support)
10110.645103: nl80211: use P2P_DEVICE support
10110.645340: nl80211: interface p2p0 in phy phy0
10110.656248: nl80211: Set mode ifindex 5 iftype 2 (STATION)
10110.672311: nl80211: Subscribe to mgmt frames with non-AP handle 0xb6f2af10
10110.683025: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=040a
10110.688199: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=040b
10110.689150: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=040c
10110.690045: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=040d
10110.691012: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=090a
10110.691901: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=090b
10110.692797: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=090c
10110.693744: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=090d
10110.694648: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=0409506f9a09
10110.695545: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=7f506f9a09
10110.696473: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=06
10110.697562: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=0a07
10110.698535: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=0a11
10110.699422: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=1101
10110.700305: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=1102
10110.701247: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f2af10 match=0505
10110.756113: netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
10110.766519: nl80211: driver param='(null)'
10110.766826: Add interface p2p0 to a new radio phy0
10110.796898: nl80211: Regulatory information - country=00
10110.797500: nl80211: 2402-2472 @ 40 MHz 20 mBm
10110.797861: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
10110.798149: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
10110.798484: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
10110.798769: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
10110.802099: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
10110.802405: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
10110.802748: nl80211: 57240-63720 @ 2160 MHz 0 mBm
10110.803406: nl80211: Added 802.11b mode based on 802.11g information
10110.837680: p2p0: Own MAC address: 02:90:4c:07:71:12
10110.849598: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
10110.851050: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
10110.852408: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
10110.853722: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
10110.854733: p2p0: RSN: flushing PMKID list in the driver
10110.855019: nl80211: Flush PMKIDs
10110.879150: p2p0: State: DISCONNECTED -> INACTIVE
10110.936638: p2p0: WPS: UUID based on MAC address: cfeab444-dd68-5bd3-93a6-3beddeaa0b40
10110.950374: EAPOL: SUPP_PAE entering state DISCONNECTED
10110.955477: EAPOL: Supplicant port status: Unauthorized
10110.961837: nl80211: Skip set_supp_port(unauthorized) while not associated
10110.962106: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
10110.962394: EAPOL: SUPP_BE entering state INITIALIZE
10110.965521: EAP: EAP entering state DISABLED
10110.984766: p2p0: Added interface p2p0
10110.985203: p2p0: State: INACTIVE -> DISCONNECTED
10110.985474: nl80211: Set p2p0 operstate 0->0 (DORMANT)
10110.985743: netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
10110.996319: nl80211: Create interface iftype 10 (P2P_DEVICE)
10110.998735: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
10110.999106: nl80211: Failed to create a P2P Device interface p2p-dev-p2p0
10110.999358: P2P: Failed to create P2P Device interface
10110.999594: P2P: Failed to enable P2P Device interface
10110.999913: Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
10111.000207: Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
10111.000542: Reading configuration file '/etc/wpa_supplicant.conf'
10111.006256: ctrl_interface='/run/wpa_supplicant'
10111.006598: update_config=1
10111.006934: Line: 4 - start of a new network block
10111.013355: ssid - hexdump_ascii(len=***):
*** ***
10111.014035: key_mgmt: 0x4
10111.023136: mode=2 (0x2)
10111.026465: frequency=2462 (0x99e)
10111.026884: disabled=1 (0x1)
10111.027481: id_str - hexdump_ascii(len=2):
61 70 ap
10111.031008: Line: 13 - start of a new network block
10111.031360: ssid - hexdump_ascii(len=***):
*** ***
10111.031960: PSK (ASCII passphrase) - hexdump_ascii(len=20): [REMOVED]
10111.389791: PSK (from passphrase) - hexdump(len=32): [REMOVED]
10111.390333: Priority group 0
10111.390657: id=0 ssid='***'
10111.390913: id=1 ssid='***'
10111.391599: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
10111.395228: nl80211: Using driver-based roaming
10111.395669: nl80211: Supported cipher 00-0f-ac:1
10111.395939: nl80211: Supported cipher 00-0f-ac:5
10111.396240: nl80211: Supported cipher 00-0f-ac:2
10111.396490: nl80211: Supported cipher 00-0f-ac:4
10111.396727: nl80211: Supported cipher 00-0f-ac:6
10111.397921: nl80211: Using driver-based off-channel TX
10111.398430: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
10111.399011: nl80211: Use separate P2P group interface (driver advertised support)
10111.399286: nl80211: use P2P_DEVICE support
10111.399524: nl80211: interface wlan0 in phy phy0
10111.400586: nl80211: Set mode ifindex 4 iftype 2 (STATION)
10111.401850: nl80211: Subscribe to mgmt frames with non-AP handle 0x11982c0
10111.402167: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=040a
10111.403049: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=040b
10111.404032: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=040c
10111.404912: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=040d
10111.405785: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=090a
10111.406716: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=090b
10111.408096: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=090c
10111.409002: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=090d
10111.409906: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=0409506f9a09
10111.410863: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=7f506f9a09
10111.411745: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=06
10111.412620: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=0a07
10111.413558: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=0a11
10111.414432: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=1101
10111.415311: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=1102
10111.416184: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x11982c0 match=0505
10111.449169: netlink: Operstate: ifindex=4 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
10111.474498: nl80211: driver param='(null)'
10111.474860: Add interface wlan0 to existing radio phy0
10111.484860: nl80211: Regulatory information - country=00
10111.485246: nl80211: 2402-2472 @ 40 MHz 20 mBm
10111.485544: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
10111.485887: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
10111.486177: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
10111.486512: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
10111.486800: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
10111.492910: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
10111.493289: nl80211: 57240-63720 @ 2160 MHz 0 mBm
10111.493976: nl80211: Added 802.11b mode based on 802.11g information
10111.517722: wlan0: Own MAC address: 00:23:bf:ee:bd:df
10111.518460: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
10111.519848: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
10111.521180: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
10111.522438: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
10111.523440: wlan0: RSN: flushing PMKID list in the driver
10111.523735: nl80211: Flush PMKIDs
10111.533077: wlan0: WPS: UUID from the first interface: cfeab444-dd68-5bd3-93a6-3beddeaa0b40
10111.533428: EAPOL: SUPP_PAE entering state DISCONNECTED
10111.533743: EAPOL: Supplicant port status: Unauthorized
10111.533996: nl80211: Skip set_supp_port(unauthorized) while not associated
10111.534239: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
10111.534525: EAPOL: SUPP_BE entering state INITIALIZE
10111.534770: EAP: EAP entering state DISABLED
10111.536552: wlan0: Added interface wlan0
10111.536896: wlan0: State: DISCONNECTED -> DISCONNECTED
10111.537839: nl80211: Set wlan0 operstate 0->0 (DORMANT)
10111.538139: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
10111.538617: nl80211: Create interface iftype 10 (P2P_DEVICE)
10111.539544: Failed to create interface p2p-dev-wlan0: -28 (No space left on device)
10111.539889: nl80211: Failed to create a P2P Device interface p2p-dev-wlan0
10111.540149: P2P: Failed to create P2P Device interface
10111.540385: P2P: Failed to enable P2P Device interface
10111.541386: random: Got 15/20 bytes from /dev/random
10111.542016: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
10111.542937: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
10111.543775: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
10111.544606: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
10111.545490: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
10111.546319: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
10111.881784: wlan0: Starting delayed sched scan
10111.882195: wlan0: Use normal scan instead of sched_scan for initial scans (normal_scans=0)
10111.882525: wlan0: Setting scan request: 0.000000 sec
10111.883037: random: Got 5/5 bytes from /dev/random
10111.896616: wlan0: State: DISCONNECTED -> SCANNING
10111.901460: wlan0: Starting AP scan for wildcard SSID
10111.901910: wlan0: Add radio work 'scan'@0x1199100
10111.902298: wlan0: First radio work item in the queue - schedule start immediately
10111.902862: wlan0: Starting radio work 'scan'@0x1199100 after 0.000592 second wait
10111.903261: wlan0: nl80211: scan request
10111.906452: nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
10111.995960: Scan requested (ret=0) - scan timeout 10 seconds
10111.997953: EAPOL: disable timer tick
10111.998328: nl80211: Event message available
10112.011121: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
10112.011605: wlan0: nl80211: Scan trigger
10112.019834: wlan0: Event SCAN_STARTED (47) received
10112.030385: wlan0: Own scan request started a scan in 0.022380 seconds
10112.536049: EAPOL: disable timer tick
[ 53.000910] cfg80211: Calling CRDA to update world regulatory domain
10112.643983: nl80211: Event message available
10112.644571: nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
10112.644974: wlan0: nl80211: New scan results available
10112.645258: nl80211: Scan probed for SSID ''
10112.649173: nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
10112.649537: wlan0: Event SCAN_RESULTS (3) received
10112.649950: wlan0: Scan completed in 0.629716 seconds
10112.652134: nl80211: Received scan results (4 BSSes)
10112.653300: wlan0: BSS: Start scan result update 1
10112.653721: wlan0: BSS: Add new id 0 BSSID 00:1c:28:b4:40:5c SSID '***'
10112.654240: wlan0: BSS: Add new id 1 BSSID 34:81:c4:29:51:96 SSID '***'
10112.654742: wlan0: BSS: Add new id 2 BSSID 28:92:4a:bc:9d:2a SSID '***'
10112.655244: wlan0: BSS: Add new id 3 BSSID 08:96:d7:e7:02:90 SSID '***'
10112.655632: BSS: last_scan_res_used=4/32
10112.656041: wlan0: New scan results available (own=1 ext=0)
10112.665473: WPS: AP 00:1c:28:b4:40:5c type 0 added
10112.665923: WPS: AP 34:81:c4:29:51:96 type 0 added
10112.666274: WPS: AP 08:96:d7:e7:02:90 type 0 added
10112.666630: WPS: AP[0] 00:1c:28:b4:40:5c type=0 tries=0 last_attempt=-1 sec ago blacklist=0
10112.666900: WPS: AP[1] 34:81:c4:29:51:96 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
10112.667439: WPS: AP[2] 08:96:d7:e7:02:90 type=0 tries=0 last_attempt=-1 sec ago blacklist=0
10112.667923: wlan0: Radio work 'scan'@0x1199100 done in 0.765041 seconds
10112.671306: wlan0: Selecting BSS from priority group 0
10112.671757: wlan0: 0: 00:1c:28:b4:40:5c ssid='***' wpa_ie_len=26 rsn_ie_len=24 caps=0x411 level=-55 wps
10112.672140: wlan0: skip - disabled
10112.672442: wlan0: skip - SSID mismatch
10112.672889: wlan0: 1: 34:81:c4:29:51:96 ssid='***' wpa_ie_len=0 rsn_ie_len=20 caps=0x431 level=-57 wps
10112.673204: wlan0: skip - disabled
10112.684747: wlan0: selected based on RSN IE
10112.685212: wlan0: selected BSS 34:81:c4:29:51:96 ssid='***'
10112.685673: wlan0: Considering connect request: reassociate: 0 selected: 34:81:c4:29:51:96 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING ssid=0x11994a0 current_ssid=0
10112.686085: wlan0: Request association with 34:81:c4:29:51:96
10112.686411: wlan0: Add radio work 'connect'@0x119f630
10112.686798: wlan0: First radio work item in the queue - schedule start immediately
10112.690673: wlan0: Starting radio work 'connect'@0x119f630 after 0.003774 second wait
10112.691049: wlan0: Trying to associate with SSID '***'
10112.691409: wlan0: Cancelling scan request
10112.694639: wlan0: WPA: clearing own WPA/RSN IE
10112.695051: wlan0: Automatic auth_alg selection: 0x1
10112.695317: RSN: PMKSA cache search - network_ctx=0x11994a0 try_opportunistic=0
10112.697687: RSN: Search for BSSID 34:81:c4:29:51:96
10112.697947: RSN: No PMKSA cache entry found
10112.698305: wlan0: RSN: using IEEE 802.11i/D9.0
10112.698648: wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
10112.699014: wlan0: WPA: clearing AP WPA IE
10112.699284: WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10112.704605: wlan0: WPA: using GTK CCMP
10112.704949: wlan0: WPA: using PTK CCMP
10112.705299: wlan0: WPA: using KEY_MGMT WPA-PSK
10112.705560: WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10112.706075: wlan0: State: SCANNING -> ASSOCIATING
10112.706347: nl80211: Set wlan0 operstate 0->0 (DORMANT)
10112.706669: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
10112.707422: wlan0: Determining shared radio frequencies (max len 1)
10112.707775: wlan0: Shared frequencies (len=0): completed iteration
10112.708113: nl80211: Set mode ifindex 4 iftype 2 (STATION)
10112.708966: nl80211: Unsubscribe mgmt frames handle 0x89910a49 (mode change)
10112.714104: nl80211: Subscribe to mgmt frames with non-AP handle 0x119f180
10112.714504: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=040a
10112.715439: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=040b
10112.716402: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=040c
10112.717791: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=040d
10112.718710: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=090a
10112.719609: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=090b
10112.720555: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=090c
10112.721439: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=090d
10112.722337: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=0409506f9a09
10113.056113: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=7f506f9a09
10113.057032: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=06
10113.058194: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=0a07
10113.059089: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=0a11
10113.060040: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=1101
10113.060926: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=1102
10113.061811: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x119f180 match=0505
10113.062825: nl80211: Key management set PSK
10113.063104: nl80211: Connect (ifindex=4)
10113.063469: * bssid_hint=34:81:c4:29:51:96
10113.063748: * freq_hint=2412
10113.063998: * SSID - hexdump_ascii(len=***):
*** ***
10113.064560: * IEs - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10113.064968: * WPA Versions 0x2
10113.065216: * pairwise=0xfac04
10113.065499: * group=0xfac04
10113.065738: * akm=0xfac02
10113.065979: * Auth Type 0
10113.170779: nl80211: Connect request send successfully
10113.171222: wlan0: Setting authentication timeout: 10 sec 0 usec
10113.171538: EAPOL: External notification - EAP success=0
10113.171869: EAPOL: External notification - EAP fail=0
10113.172129: EAPOL: External notification - portControl=Auto
10113.831336: l2_packet_receive: src=34:81:c4:29:51:96 len=99
10113.833608: wlan0: RX EAPOL from 34:81:c4:29:51:96
10113.833938: RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10113.834825: wlan0: Not associated - Delay processing of received EAPOL frame (state=ASSOCIATING bssid=00:00:00:00:00:00)
10113.889750: nl80211: Event message available
10113.890336: nl80211: Drv Event 46 (NL80211_CMD_CONNECT) receiv[ 54.268164] cfg80211: Calling CRDA to update world regulatory domain
ed for wlan0
10113.890696: nl80211: Connect event (status=0 ignore_next_local_disconnect=0)
10113.909721: nl80211: Associated on 2412 MHz
10113.910032: nl80211: Associated with 34:81:c4:29:51:96
10113.910661: nl80211: Operating frequency for the associated BSS from scan results: 2412 MHz
10113.911098: wlan0: Event ASSOC (0) received
10113.914471: wlan0: Association info event
10113.914785: req_ies - hexdump(len=136): 00 0c 65 61 73 79 62 65 6c 6c 20 44 53 4c 01 08 82 84 8b 96 24 30 48 6c 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 32 04 0c 12 18 60 2d 1a 0c 11 19 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 09 00 10 18 02 00 00 04 00 00 dd 1e 00 90 4c 33 0c 11 19 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 07 00 50 f2 02 00 01 00 00 00 00 00
10113.915798: resp_ies - hexdump(len=126): 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c 2d 1a af 01 1b ff ff ff 00 00 00 00 00 00 00 00 00 01 00 00 00 00 04 06 e6 47 0d 00 3d 16 01 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4a 0e 14 00 0a 00 2c 01 c8 00 14 00 05 00 19 00 7f 08 01 00 00 00 00 00 00 40 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 00 00 00 00 00 00
10113.916754: wlan0: freq=2412 MHz
10113.917009: WPA: set own WPA/RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10113.917997: FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
10113.921129: wlan0: State: ASSOCIATING -> ASSOCIATED
10113.921473: nl80211: Set wlan0 operstate 0->0 (DORMANT)
10113.921750: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
10113.922301: wlan0: Associated to a new BSS: BSSID=34:81:c4:29:51:96
10113.922743: wlan0: WPA: clearing AP WPA IE
10113.923019: WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10113.923524: wlan0: Associated with 34:81:c4:29:51:96
10113.925598: wlan0: WPA: Association event - clear replay counter
10113.925953: wlan0: WPA: Clear old PTK
10113.926293: EAPOL: External notification - portEnabled=0
10113.926565: EAPOL: External notification - portValid=0
10113.926878: EAPOL: External notification - EAP success=0
10113.927592: EAPOL: External notification - portEnabled=1
10113.927878: EAPOL: SUPP_PAE entering state CONNECTING
10113.928115: EAPOL: enable timer tick
10113.928460: EAPOL: SUPP_BE entering state IDLE
10113.928788: wlan0: Setting authentication timeout: 10 sec 0 usec
10113.929180: wlan0: Cancelling scan request
10113.929514: wlan0: Process pending EAPOL frame that was received just before association notification
10113.929925: wlan0: RX EAPOL from 34:81:c4:29:51:96
10113.930180: RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10113.931073: wlan0: Setting authentication timeout: 10 sec 0 usec
10113.934382: wlan0: IEEE 802.1X RX: version=2 type=3 length=95
10113.934741: WPA: RX EAPOL-Key - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 01 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10113.935600: wlan0: EAPOL-Key type=2
10113.939067: wlan0: key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
10113.939489: wlan0: key_length=16 key_data_length=0
10113.939759: replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
10113.940102: key_nonce - hexdump(len=32): 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a
10113.940490: key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10113.940858: key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
10113.941139: key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
10113.941464: key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10113.944786: wlan0: State: ASSOCIATED -> 4WAY_HANDSHAKE
10113.948164: wlan0: WPA: RX message 1 of 4-Way Handshake from 34:81:c4:29:51:96 (ver=2)
10113.948536: RSN: msg 1/4 key data - hexdump(len=0):
10113.948804: Get randomness: len=32 entropy=5
10113.951914: WPA: Renewed SNonce - hexdump(len=32): 9e e6 72 7d 07 31 0e 43 7c 88 ce d9 91 b8 b8 b8 09 87 14 97 b7 bd 15 22 4a 5a b2 41 9b d5 97 bc
10114.285510: WPA: PTK derivation - A1=00:23:bf:ee:bd:df A2=34:81:c4:29:51:96
10114.285872: WPA: Nonce1 - hexdump(len=32): 9e e6 72 7d 07 31 0e 43 7c 88 ce d9 91 b8 b8 b8 09 87 14 97 b7 bd 15 22 4a 5a b2 41 9b d5 97 bc
10114.286264: WPA: Nonce2 - hexdump(len=32): 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a
10114.286706: WPA: PMK - hexdump(len=32): [REMOVED]
10114.286941: WPA: PTK - hexdump(len=48): [REMOVED]
10114.287430: WPA: KCK - hexdump(len=16): [REMOVED]
10114.287688: WPA: KEK - hexdump(len=16): [REMOVED]
10114.287998: WPA: TK - hexdump(len=16): [REMOVED]
10114.288233: WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10114.288647: WPA: Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
10114.288982: wlan0: WPA: Sending EAPOL-Key 2/4
10114.289398: WPA: KCK - hexdump(len=16): [REMOVED]
10114.289666: WPA: Derived Key MIC - hexdump(len=16): d7 f4 3c 37 cb 07 e1 3b 38 be a4 71 80 fd 87 1f
10114.290033: WPA: TX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 01 0a 00 00 00 00 00 00 00 00 00 01 9e e6 72 7d 07 31 0e 43 7c 88 ce d9 91 b8 b8 b8 09 87 14 97 b7 bd 15 22 4a 5a b2 41 9b d5 97 bc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d7 f4 3c 37 cb 07 e1 3b 38 be a4 71 80 fd 87 1f 00 16 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10114.296487: WMM AC: Missing U-APSD configuration
10114.310451: l2_packet_receive: src=34:81:c4:29:51:96 len=155
10114.310912: wlan0: RX EAPOL from 34:81:c4:29:51:96
10114.311173: RX EAPOL - hexdump(len=155): 02 03 00 97 02 13 ca 00 10 00 00 00 00 00 00 00 02 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3b 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9b 09 35 34 21 89 36 cf ea d0 cd f0 a9 8f 05 18 00 38 8c ba 8c eb cc 02 69 fa 7a 8e ab 0c 07 fc 03 ab c0 85 f5 c7 8d d4 e5 7b 93 db fc 19 e6 c0 d8 ec 08 6d f3 72 d5 fb b7 72 93 60 7e d5 30 8a f1 89 3d 89 0b 46 0c 13 84 89
10114.312328: wlan0: IEEE 802.1X RX: version=2 type=3 length=151
10114.312598: WPA: RX EAPOL-Key - hexdump(len=155): 02 03 00 97 02 13 ca 00 10 00 00 00 00 00 00 00 02 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3b 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9b 09 35 34 21 89 36 cf ea d0 cd f0 a9 8f 05 18 00 38 8c ba 8c eb cc 02 69 fa 7a 8e ab 0c 07 fc 03 ab c0 85 f5 c7 8d d4 e5 7b 93 db fc 19 e6 c0 d8 ec 08 6d f3 72 d5 fb b7 72 93 60 7e d5 30 8a f1 89 3d 89 0b 46 0c 13 84 89
10114.313711: wlan0: EAPOL-Key type=2
10114.314072: wlan0: key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
10114.314448: wlan0: key_length=16 key_data_length=56
10114.314705: replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
10114.315043: key_nonce - hexdump(len=32): 92 f0 10 b6 2b 31 a2 bc a9 a8 96 d0 2f e8 95 e1 7e 08 af f1 4b 3f 44 20 c6 f5 fd 65 a2 79 40 8a
10114.315424: key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10114.315803: key_rsc - hexdump(len=8): 3b 04 00 00 00 00 00 00
10114.316076: key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
10114.316398: key_mic - hexdump(len=16): 9b 09 35 34 21 89 36 cf ea d0 cd f0 a9 8f 05 18
10114.316837: RSN: encrypted key data - hexdump(len=56): 8c ba 8c eb cc 02 69 fa 7a 8e ab 0c 07 fc 03 ab c0 85 f5 c7 8d d4 e5 7b 93 db fc 19 e6 c0 d8 ec 08 6d f3 72 d5 fb b7 72 93 60 7e d5 30 8a f1 89 3d 89 0b 46 0c 13 84 89
10114.323557: WPA: decrypted EAPOL-Key key data - hexdump(len=48): [REMOVED]
10114.323998: wlan0: State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
10114.324355: wlan0: WPA: RX message 3 of 4-Way Handshake from 34:81:c4:29:51:96 (ver=2)
10114.324676: WPA: IE KeyData - hexdump(len=48): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 0f ac 01 01 00 2f e2 70 c4 17 68 7d 0e fe 7c 72 59 64 57 86 d9 dd 00
10114.325158: WPA: RSN IE in EAPOL-Key - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
10114.325571: WPA: GTK in EAPOL-Key - hexdump(len=24): [REMOVED]
10114.658867: wlan0: WPA: Sending EAPOL-Key 4/4
10114.659304: WPA: KCK - hexdump(len=16): [REMOVED]
10114.659577: WPA: Derived Key MIC - hexdump(len=16): a1 93 4c d1 25 57 e5 7d 80 4d fb ba f1 ff d7 bc
10114.659955: WPA: TX EAPOL-Key - hexdump(len=99): 01 03 00 5f 02 03 0a 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a1 93 4c d1 25 57 e5 7d 80 4d fb ba f1 ff d7 bc 00 00
10114.661925: wlan0: WPA: Installing PTK to the driver
10114.662672: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=3 addr=0x119990c key_idx=0 set_tx=1 seq_len=6 key_len=16
10114.663090: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
10114.663439: nl80211: KEY_SEQ - hexdump(len=6): 00 00 00 00 00 00
10114.663721: addr=34:81:c4:29:51:96
10114.671200: EAPOL: External notification - portValid=1
10114.671584: wlan0: State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
10114.671935: RSN: received GTK in pairwise handshake - hexdump(len=18): [REMOVED]
10114.672207: WPA: Group Key - hexdump(len=16): [REMOVED]
10114.672583: wlan0: WPA: Installing GTK to the driver (keyidx=1 tx=0 len=16)
10114.672848: WPA: RSC - hexdump(len=6): 3b 04 00 00 00 00
10114.673575: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=3 addr=0xed022 key_idx=1 set_tx=0 seq_len=6 key_len=16
10114.674031: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
10114.674316: nl80211: KEY_SEQ - hexdump(len=6): 3b 04 00 00 00 00
10114.674660: broadcast key
10114.683854: wlan0: WPA: Key negotiation completed with 34:81:c4:29:51:96 [PTK=CCMP GTK=CCMP]
10114.684272: wlan0: Cancelling authentication timeout
10114.684604: wlan0: State: GROUP_HANDSHAKE -> COMPLETED
10114.685030: wlan0: Radio work 'connect'@0x119f630 done in 1.994427 seconds
10114.685387: wlan0: CTRL-EVENT-CONNECTED - Connection to 34:81:c4:29:51:96 completed [id=1 id_str=]
10114.685711: nl80211: Set wlan0 operstate 0->1 (UP)
10114.685983: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
10114.690999: EAPOL: External notification - portValid=1
10114.691389: EAPOL: External notification - EAP success=1
10114.691643: EAPOL: SUPP_PAE entering state AUTHENTICATING
10114.691940: EAPOL: SUPP_BE entering state SUCCESS
10114.692183: EAP: EAP entering state DISABLED
10114.692458: EAPOL: SUPP_PAE entering state AUTHENTICATED
10114.692699: EAPOL: Supplicant port status: Authorized
10114.692944: nl80211: Set supplicant port authorized for 34:81:c4:29:51:96
10114.696388: EAPOL: SUPP_BE entering state IDLE
10114.696774: EAPOL authentication completed - result=SUCCESS
10114.704286: nl80211: Set rekey offload
10114.705255: nl80211: Driver does not support rekey offload
10114.705991: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
10115.929728: EAPOL: startWhen --> 0
10115.930122: EAPOL: disable timer tickRe: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Quoted 6 lines · Jörg Krause
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).
Quoted 7 lines
Unfortunatly, if I try to use the p2p0 interface with
wpa_supplicant2.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
Quoted 16 lines
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_supplicantdevice_name=P2P Test device_type=1-0050F204-1I attached the log output from
wpa_supplicant.Best regards
Jörg Krause
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Hi Arend,
Quoted 16 lines · Arend van Spriel
Quoted 6 lines · Jörg Krause
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).Quoted 8 lines
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
Quoted 6 lines
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 devsupport 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.
Quoted 5 lines
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!
Best regards
Jörg Krause
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Quoted 24 lines · Jörg Krause
Hi Arend,
Quoted 21 lines · Arend van Spriel
Quoted 6 lines · Jörg Krause
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).Quoted 8 lines
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 interfaceUsing 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
Quoted 6 lines
Quoted 1 line
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.
Quoted 7 lines
Quoted 5 lines
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
From 99bbbaa540fe9543156018b7f8596b46f60a723c Mon Sep 17 00:00:00 2001
From: Arend van Spriel <[email protected]>
Date: Thu, 18 Jun 2015 10:23:50 +0200
Subject: [PATCH] brcmfmac: disable p2pdev support when using p2pon=1
Avoid wpa_supplicant from creating a p2pdev interface when we already have a p2p0 interface, ie. loaded the driver with p2pon=1.
--- drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +5 -2
@@ -5789,8 +5789,11 @@ static int brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp)BIT (NL80211_IFTYPE_ADHOC ) |BIT (NL80211_IFTYPE_AP ) |BIT (NL80211_IFTYPE_P2P_CLIENT ) | -BIT (NL80211_IFTYPE_P2P_GO ) | -BIT (NL80211_IFTYPE_P2P_DEVICE ); +BIT (NL80211_IFTYPE_P2P_GO ); +/* only annouce p2pdev when p2pon is zero */ +if (!ifp->drvr->iflist[1 ]) + wiphy->interface_modes |=BIT (NL80211_IFTYPE_P2P_DEVICE ); +/* need VSDB firmware feature for concurrent channels */ ifc_combo = brcmf_iface_combos[0 ];if (brcmf_feat_is_enabled (ifp,BRCMF_FEAT_MCHAN ))
Signature · 1 line
1.9.1
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Quoted 42 lines · Arend van Spriel
Quoted 33 lines · Jörg Krause
Hi Arend,
Quoted 28 lines · Arend van Spriel
Quoted 12 lines · Jörg Krause
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:Quoted 6 lines
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 interfaceUsing 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 devQuoted 1 line
support when p2pon=1.
Quoted 7 lines
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.
Quoted 2 lines
43362 firmware may have issues with regular p2p dev support so let's stick with p2pon for now.
Okay.
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
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.
I applied the patch and if I load brcmfmac with p2pon=1 I get a kernel warning and _no_ wlan0 and p2p0 interfaces:
[ 7.577223] ------------[ cut here ]------------
[ 7.583144] WARNING: CPU: 0 PID: 4 at net/wireless/core.c:527
wiphy_register+0x3a4/0x67c()
[ 7.594652] Modules linked in: brcmfmac brcmutil
[ 7.601507] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.0.5
-LINTECH #3
[ 7.610809] Hardware name: Freescale MXS (Device Tree)
[ 7.617411] Workqueue: events request_firmware_work_func
[ 7.625110] [<c000dec8>] (unwind_backtrace) from [<c000c25c>]
(show_stack+0x10/0x14)
[ 7.635541] [<c000c25c>] (show_stack) from [<c001613c>]
(warn_slowpath_common+0x78/0xb0)
[ 7.645171] [<c001613c>] (warn_slowpath_common) from
[<c0016210>] (warn_slowpath_null+0x1c/0x24)
[ 7.656635] [<c0016210>] (warn_slowpath_null) from [<c03b6f20>]
(wiphy_register+0x3a4/0x67c)
[ 7.666657] [<c03b6f20>] (wiphy_register) from [<bf00de20>]
(brcmf_cfg80211_attach+0x86c/0x1124 [brcmfmac])
[ 7.679412] [<bf00de20>] (brcmf_cfg80211_attach [brcmfmac]) from
[<bf018f3c>] (brcmf_bus_start+0xac/0x29c [brcmfmac])
[ 7.690925] [<bf018f3c>] (brcmf_bus_start [brcmfmac]) from
[<bf01dd00>] (brcmf_sdio_firmware_callback+0x3d8/0x9e8 [brcmfmac])
[ 7.705622] [<bf01dd00>] (brcmf_sdio_firmware_callback
[brcmfmac]) from [<bf0195fc>]
(brcmf_fw_request_nvram_done+0x134/0x1d0 [brcmfmac])
[ 7.718916] [<bf0195fc>] (brcmf_fw_request_nvram_done
[brcmfmac]) from [<c020ab88>]
(request_firmware_work_func+0x30/0x50)
[ 7.733292] [<c020ab88>] (request_firmware_work_func) from
[<c0029a98>] (process_one_work+0x184/0x418)
[ 7.744112] [<c0029a98>] (process_one_work) from [<c002a694>]
(worker_thread+0x3c/0x464)
[ 7.754977] [<c002a694>] (worker_thread) from [<c002e130>]
(kthread+0xc0/0xdc)
[ 7.763730] [<c002e130>] (kthread) from [<c0009730>]
(ret_from_fork+0x14/0x24)
[ 7.773568] ---[ end trace 39ec555e61fc038e ]---
[ 7.779710] brcmfmac: brcmf_cfg80211_attach: Could not register
wiphy device (-22)
[ 7.790013] brcmfmac: brcmf_bus_start: failed: -12
[ 7.800278] brcmfmac: brcmf_sdio_firmware_callback: dongle is
not respondingBest regards
Jörg Krause
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Quoted 96 lines · Jörg Krause
Quoted 42 lines · Arend van Spriel
Quoted 33 lines · Jörg Krause
Hi Arend,
Quoted 28 lines · Arend van Spriel
Quoted 12 lines · Jörg Krause
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:Quoted 6 lines
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 interfaceUsing 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 devQuoted 1 line
support when p2pon=1.
Quoted 7 lines
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.Quoted 2 lines
43362 firmware may have issues with regular p2p dev support so let's stick with p2pon for now.
Okay.
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
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.
I applied the patch and if I load brcmfmac with p2pon=1 I get a kernel warning and _no_ wlan0 and p2p0 interfaces:
[ 7.577223] ------------[ cut here ]------------ [ 7.583144] WARNING: CPU: 0 PID: 4 at net/wireless/core.c:527 wiphy_register+0x3a4/0x67c() [ 7.594652] Modules linked in: brcmfmac brcmutil [ 7.601507] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.0.5 -LINTECH #3 [ 7.610809] Hardware name: Freescale MXS (Device Tree) [ 7.617411] Workqueue: events request_firmware_work_func [ 7.625110] [<c000dec8>] (unwind_backtrace) from [<c000c25c>] (show_stack+0x10/0x14) [ 7.635541] [<c000c25c>] (show_stack) from [<c001613c>] (warn_slowpath_common+0x78/0xb0) [ 7.645171] [<c001613c>] (warn_slowpath_common) from [<c0016210>] (warn_slowpath_null+0x1c/0x24) [ 7.656635] [<c0016210>] (warn_slowpath_null) from [<c03b6f20>] (wiphy_register+0x3a4/0x67c) [ 7.666657] [<c03b6f20>] (wiphy_register) from [<bf00de20>] (brcmf_cfg80211_attach+0x86c/0x1124 [brcmfmac]) [ 7.679412] [<bf00de20>] (brcmf_cfg80211_attach [brcmfmac]) from [<bf018f3c>] (brcmf_bus_start+0xac/0x29c [brcmfmac]) [ 7.690925] [<bf018f3c>] (brcmf_bus_start [brcmfmac]) from [<bf01dd00>] (brcmf_sdio_firmware_callback+0x3d8/0x9e8 [brcmfmac]) [ 7.705622] [<bf01dd00>] (brcmf_sdio_firmware_callback [brcmfmac]) from [<bf0195fc>] (brcmf_fw_request_nvram_done+0x134/0x1d0 [brcmfmac]) [ 7.718916] [<bf0195fc>] (brcmf_fw_request_nvram_done [brcmfmac]) from [<c020ab88>] (request_firmware_work_func+0x30/0x50) [ 7.733292] [<c020ab88>] (request_firmware_work_func) from [<c0029a98>] (process_one_work+0x184/0x418) [ 7.744112] [<c0029a98>] (process_one_work) from [<c002a694>] (worker_thread+0x3c/0x464) [ 7.754977] [<c002a694>] (worker_thread) from [<c002e130>] (kthread+0xc0/0xdc)
Quoted 8 lines
[ 7.763730] [<c002e130>] (kthread) from [<c0009730>]
(ret_from_fork+0x14/0x24)
[ 7.773568] ---[ end trace 39ec555e61fc038e ]---
[ 7.779710] brcmfmac: brcmf_cfg80211_attach: Could not register
wiphy device (-22)
[ 7.790013] brcmfmac: brcmf_bus_start: failed: -12
[ 7.800278] brcmfmac: brcmf_sdio_firmware_callback: dongle is
not respondingMy bad. The patch removes p2pdev from interface modes, but it is still listed in the interface combinations and cfg80211 will complain about it. Have to extend the patch. I better do that after a good nights sleep.
Regards,
Arend
Quoted 7 lines
Best regards
Jörg Krause
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Hi Arend,
Quoted 6 lines · Arend van Spriel
My bad. The patch removes p2pdev from interface modes, but it is still
listed in the interface combinations and cfg80211 will complain about it. Have to extend the patch. I better do that after a good nights sleep.
Never mind! Did you had a good night sleep already :-) ?
Best regards
Jörg Krause
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Quoted 11 lines · Jörg Krause
Hi Arend,
Quoted 6 lines · Arend van Spriel
My bad. The patch removes p2pdev from interface modes, but it is still
listed in the interface combinations and cfg80211 will complain about it. Have to extend the patch. I better do that after a good nights sleep.Never mind! Did you had a good night sleep already :-) ?
Several ;-) Did not get to this earlier. Thanks for the reminder.
Had a closer look at wiphy_verify_combinations() and I am hopeful the attached patch will fix the wiphy_register() failure.
Regards,
Arend
Quoted 2 lines
Best regards
Jörg Krause
From f490a7cdb2a754ac79af9d9082b8526812164d4f Mon Sep 17 00:00:00 2001
From: Arend van Spriel <[email protected]>
Date: Tue, 23 Jun 2015 13:59:23 +0200
Subject: [PATCH] brcmfmac: no p2pdev limit needed when p2pon=1 is used
Avoid failure upon wiphy_register() by not providing the limit for iftype P2P_DEVICE.
--- drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c +4 -0
@@ -5802,6 +5802,10 @@ static int brcmf_setup_wiphy(struct wiphy *wiphy, struct brcmf_if *ifp) ifc_combo.n_limits =ARRAY_SIZE (brcmf_iface_limits_mbss), ifc_combo.limits = brcmf_iface_limits_mbss; } +/* don't give p2pdev limit when p2pon is set */ +if (ifp->drvr->iflist[1 ]) + ifc_combo.limits--; + wiphy->iface_combinations =kmemdup (&ifc_combo,sizeof (ifc_combo),GFP_KERNEL );
Signature · 1 line
1.9.1
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Hi Arend,
Quoted 13 lines · Arend van Spriel
Quoted 12 lines · Jörg Krause
Hi Arend,
Quoted 8 lines · Arend van Spriel
My bad. The patch removes p2pdev from interface modes, but it is still
listed in the interface combinations and cfg80211 will complain about
it. Have to extend the patch. I better do that after a good nights
sleep.
Quoted 8 lines
Quoted 1 line
Never mind! Did you had a good night sleep already :-) ?
Several ;-) Did not get to this earlier. Thanks for the reminder.
Had a closer look at
wiphy_verify_combinations()and I am hopeful theattached patch will fix the
wiphy_register()failure.
Sorry for late reply! I was busy on another topic...
I've applied your patch, but p2p interface is still not working. I attached the debug log from wpa_supplicant.
I tested with Linux Kernel 4.0.7 and wpa_supplicant 2.4.
This is my p2p_supplicant.conf:
ctrl_interface=/var/run/p2p_supplicant
update_config=1
device_name=HBM10
device_type=1-0050F204-1
p2p_go_ht40=1Test with the p2p_find command:
# wpa_cli -p /var/run/p2p_supplicant p2p_find
Selected interface 'p2p0'
1928.165036: p2p0: Control interface command 'P2P_FIND'
FAILBest regards
Jörg Krause
# wpa_supplicant -Dnl80211 -ip2p0 -c /etc/p2p_supplicant.conf -N -Dnl80211 -iwlan0 -c /etc/wpa_supplicant.conf -ddt & # 1880.197427: wpa_supplicant v2.4 1880.198259: random: Trying to read entropy from /dev/random 1880.198628: Successfully initialized wpa_supplicant 1880.198911: Initializing interface 'p2p0' conf '/etc/p2p_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' 1880.199268: Configuration file '/etc/p2p_supplicant.conf' -> '/etc/p2p_supplicant.conf' 1880.199552: Reading configuration file '/etc/p2p_supplicant.conf' 1880.200181: ctrl_interface='/var/run/p2p_supplicant' 1880.200556: update_config=1 1880.200854: device_name='HBM10' 1880.201246: p2p_go_ht40=1 1880.213530: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 1880.216921: nl80211: Using driver-based roaming 1880.217331: nl80211: Supported cipher 00-0f-ac:1 1880.217606: nl80211: Supported cipher 00-0f-ac:5 1880.217901: nl80211: Supported cipher 00-0f-ac:2 1880.218145: nl80211: Supported cipher 00-0f-ac:4 1880.218377: nl80211: Supported cipher 00-0f-ac:6 1880.219038: nl80211: Using driver-based off-channel TX 1880.219513: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1 1880.220076: nl80211: Use separate P2P group interface (driver advertised support) 1880.220351: nl80211: use P2P_DEVICE support 1880.220630: nl80211: interface p2p0 in phy phy0 1880.221642: nl80211: Set mode ifindex 5 iftype 2 (STATION) 1880.231926: nl80211: Subscribe to mgmt frames with non-AP handle 0xb6f77db0 1880.232946: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040a 1880.233959: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040b 1880.234876: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040c 1880.235772: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=040d 1880.236732: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090a 1880.237628: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090b 1880.238520: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090c 1880.239466: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=090d 1880.240371: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0409506f9a09 1880.241279: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=7f506f9a09 1880.243067: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=06 1880.244021: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0a07 1880.245000: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0a11 1880.245902: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=1101 1880.246805: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=1102 1880.247755: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6f77db0 match=0505 1880.264277: netlink: Operstate: ifindex=5 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) 1880.278151: nl80211: driver param='(null)' 1880.278510: Add interface p2p0 to a new radio phy0 1880.283315: nl80211: Regulatory information - country=00 1880.283634: nl80211: 2402-2472 @ 40 MHz 20 mBm 1880.283971: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR) 1880.284256: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) 1880.284597: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR) 1880.284882: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR) 1880.285212: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) 1880.285497: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR) 1880.285767: nl80211: 57240-63720 @ 2160 MHz 0 mBm 1880.286421: nl80211: Added 802.11b mode based on 802.11g information 1880.312870: p2p0: Own MAC address: 02:90:4c:07:71:12 1880.313795: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1880.315155: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1880.316491: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1880.317791: wpa_driver_nl80211_set_key: ifindex=5 (p2p0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1880.318734: p2p0: RSN: flushing PMKID list in the driver 1880.319023: nl80211: Flush PMKIDs 1880.328215: p2p0: State: DISCONNECTED -> INACTIVE 1880.328813: p2p0: WPS: UUID based on MAC address: cfeab444-dd68-5bd3-93a6-3beddeaa0b40 1880.329303: EAPOL: SUPP_PAE entering state DISCONNECTED 1880.329617: EAPOL: Supplicant port status: Unauthorized 1880.329879: nl80211: Skip set_supp_port(unauthorized) while not associated 1880.330120: EAPOL: KEY_RX entering state NO_KEY_RECEIVE 1880.330400: EAPOL: SUPP_BE entering state INITIALIZE 1880.330643: EAP: EAP entering state DISABLED 1880.333329: p2p0: Added interface p2p0 1880.333687: p2p0: State: INACTIVE -> DISCONNECTED 1880.334013: nl80211: Set p2p0 operstate 0->0 (DORMANT) 1880.334274: netlink: Operstate: ifindex=5 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) 1880.334883: nl80211: Create interface iftype 10 (P2P_DEVICE) 1880.335897: Failed to create interface p2p-dev-p2p0: -28 (No space left on device) 1880.336194: nl80211: Failed to create a P2P Device interface p2p-dev-p2p0 1880.336431: P2P: Failed to create P2P Device interface 1880.336707: P2P: Failed to enable P2P Device interface 1880.336973: Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' 1880.337312: Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' 1880.672518: Reading configuration file '/etc/wpa_supplicant.conf' 1880.673212: ctrl_interface='/var/run/wpa_supplicant' 1880.673544: update_config=1 1880.673822: eapol_version=1 1880.674169: ap_scan=1 1880.674990: rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 1880.678353: nl80211: Using driver-based roaming 1880.678761: nl80211: Supported cipher 00-0f-ac:1 1880.679033: nl80211: Supported cipher 00-0f-ac:5 1880.679276: nl80211: Supported cipher 00-0f-ac:2 1880.681111: nl80211: Supported cipher 00-0f-ac:4 1880.681407: nl80211: Supported cipher 00-0f-ac:6 1880.683157: nl80211: Using driver-based off-channel TX 1880.683707: nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1 1880.684252: nl80211: Use separate P2P group interface (driver advertised support) 1880.684581: nl80211: use P2P_DEVICE support 1880.684817: nl80211: interface wlan0 in phy phy0 1880.685918: nl80211: Set mode ifindex 4 iftype 2 (STATION) 1880.687192: nl80211: Subscribe to mgmt frames with non-AP handle 0x251250 1880.687515: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040a 1880.688406: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040b 1880.689361: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040c 1880.690256: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=040d 1880.691140: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090a 1880.692071: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090b 1880.693496: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090c 1880.694390: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=090d 1880.695295: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0409506f9a09 1880.696251: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=7f506f9a09 1880.697140: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=06 1880.698024: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0a07 1880.698971: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0a11 1880.699864: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=1101 1880.700768: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=1102 1880.701711: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x251250 match=0505 1880.703656: netlink: Operstate: ifindex=4 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) 1880.715948: nl80211: driver param='(null)' 1880.716312: Add interface wlan0 to existing radio phy0 1880.720095: nl80211: Regulatory information - country=00 1880.720465: nl80211: 2402-2472 @ 40 MHz 20 mBm 1880.720761: nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR) 1880.721038: nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) 1880.721372: nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR) 1880.721647: nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR) 1880.721975: nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) 1880.722538: nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR) 1880.722838: nl80211: 57240-63720 @ 2160 MHz 0 mBm 1880.723497: nl80211: Added 802.11b mode based on 802.11g information 1880.752677: wlan0: Own MAC address: 00:23:bf:ee:bd:df 1880.753419: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1880.754766: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1880.756078: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1880.757382: wpa_driver_nl80211_set_key: ifindex=4 (wlan0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1880.758333: wlan0: RSN: flushing PMKID list in the driver 1880.758678: nl80211: Flush PMKIDs 1880.767798: wlan0: State: DISCONNECTED -> INACTIVE 1880.768248: wlan0: WPS: UUID from the first interface: cfeab444-dd68-5bd3-93a6-3beddeaa0b40 1880.768631: EAPOL: SUPP_PAE entering state DISCONNECTED 1880.768886: EAPOL: Supplicant port status: Unauthorized 1880.769189: nl80211: Skip set_supp_port(unauthorized) while not associated 1880.769428: EAPOL: KEY_RX entering state NO_KEY_RECEIVE 1880.769703: EAPOL: SUPP_BE entering state INITIALIZE 1880.769943: EAP: EAP entering state DISABLED 1880.772055: wlan0: Added interface wlan0 1880.773013: wlan0: State: INACTIVE -> DISCONNECTED 1880.773352: nl80211: Set wlan0 operstate 0->0 (DORMANT) 1880.773615: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) 1880.774095: nl80211: Create interface iftype 10 (P2P_DEVICE) 1880.775149: Failed to create interface p2p-dev-wlan0: -28 (No space left on device) 1880.775514: nl80211: Failed to create a P2P Device interface p2p-dev-wlan0 1881.108828: P2P: Failed to create P2P Device interface 1881.109143: P2P: Failed to enable P2P Device interface 1881.110073: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=0 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) 1881.110997: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1881.111861: RTM_NEWLINK: ifi_index=5 ifname=p2p0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1881.113315: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=0 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1881.114154: RTM_NEWLINK: ifi_index=4 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1881.331690: EAPOL: disable timer tick 1881.771216: EAPOL: disable timer tick
Re: brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device)
Hi all,
Quoted 44 lines · Jörg Krause
Hi Arend,
Quoted 15 lines · Arend van Spriel
Quoted 14 lines · Jörg Krause
Hi Arend,
Quoted 10 lines · Arend van Spriel
My bad. The patch removes p2pdev from interface modes, but it is
still
listed in the interface combinations and cfg80211 will complainabout
it. Have to extend the patch. I better do that after a good nights
sleep.Quoted 9 lines
Quoted 1 line
Never mind! Did you had a good night sleep already :-) ?
Several ;-) Did not get to this earlier. Thanks for the reminder.
Had a closer look at
wiphy_verify_combinations()and I am hopeful theattached patch will fix the
wiphy_register()failure.Sorry for late reply! I was busy on another topic...
I've applied your patch, but p2p interface is still not working. I attached the debug log from
wpa_supplicant.I tested with Linux Kernel 4.0.7 and
wpa_supplicant2.4.This is my p2p_supplicant.conf:
ctrl_interface=/var/run/p2p_supplicant update_config=1 device_name=HBM10 device_type=1-0050F204-1 p2p_go_ht40=1
Quoted 6 lines
Test with the
p2p_findcommand:# wpa_cli -p /var/run/p2p_supplicant p2p_find Selected interface 'p2p0' 1928.165036: p2p0: Control interface command 'P2P_FIND' FAIL
ping :-) Any news on this?
Best regards
Jörg Krause