p2p bug/feature when using intel 7260 and 5GHz

Janusz Dziedzic janusz.dziedzic
Thu May 14 03:57:05 PDT 2015


On 14 May 2015 at 12:40, Peer, Ilan <ilan.peer at intel.com> wrote:
> Hi,
>
> This is opposite to the pervious case. In this case the ath device is initiating a p2p_connection forcing the use of frequency 5180 but with go_intent=1, while the Intel device is responding with go_intent=15. Thus, in this case the Intel device is going to be the P2P GO, but according to the regulatory channel information on the Intel device only 1..11 are allowed for use for beaconing, so this scenario will fail.
>
> Did you try the opposite?
>
Yes :)
After setup go_intent correctly, works fine:

t1-ath9k at wlan0 send: P2P_CONNECT 0c:8b:fd:1e:58:9e pbc freq=5180  go_intent=15
t1-ath9k at wlan0 recv: OK

t2-intel-7260 at p2p-dev-wlan3 wait_msg: P2P-GO-NEG-REQUEST 2c:d0:5a:d3:f1:e9 (60)
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-GO-NEG-REQUEST
2c:d0:5a:d3:f1:e9 dev_passwd_id=4
t2-intel-7260 at p2p-dev-wlan3 send: P2P_CONNECT 2c:d0:5a:d3:f1:e9 pbc go_intent=1
t2-intel-7260 at p2p-dev-wlan3 recv: OK

t2-intel-7260 at p2p-dev-wlan3 wait_msg: P2P-GROUP-STARTED (60)
t2-intel-7260 at p2p-dev-wlan3 get: <3>CTRL-EVENT-SCAN-STARTED
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-FIND-STOPPED
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-GO-NEG-SUCCESS role=client
freq=5180 ht40=0 peer_dev=2c:d0:5a:d3:f1:e9
peer_iface=2e:d0:5a:d3:f1:e9 wps_method=PBC
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-GROUP-FORMATION-SUCCESS
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-GROUP-STARTED p2p-wlan3-0
client ssid="DIRECT-eB" freq=5180
psk=2bc3fbe3607d3157c47d64320fcdf8662a30cb83f00a0f45ca22b7b029191ce4
go_dev_addr=2c:d0:5a:d3:f1:e9
t1-ath9k at wlan0 wait_msg: P2P-GROUP-STARTED (60)
t1-ath9k at wlan0 get: <3>CTRL-EVENT-SCAN-STARTED
t1-ath9k at wlan0 get: <3>CTRL-EVENT-SCAN-STARTED
t1-ath9k at wlan0 get: <3>CTRL-EVENT-BSS-ADDED 20 e8:de:27:71:8f:12
t1-ath9k at wlan0 get: <3>CTRL-EVENT-SCAN-STARTED
t1-ath9k at wlan0 get: <3>P2P-FIND-STOPPED
t1-ath9k at wlan0 get: <3>P2P-GO-NEG-SUCCESS role=GO freq=5180 ht40=0
peer_dev=0c:8b:fd:1e:58:9e peer_iface=0c:8b:fd:1e:58:9f wps_method=PBC
t1-ath9k at wlan0 get: <3>P2P-GROUP-FORMATION-SUCCESS
t1-ath9k at wlan0 get: <3>P2P-GROUP-STARTED p2p-wlan0-0 GO
ssid="DIRECT-eB" freq=5180 passphrase="J3e4N5eH"
go_dev_addr=2c:d0:5a:d3:f1:e9
t1-ath9k client1_iface: p2p-wlan0-0 (GO)
t2-intel-7260 client2_iface: p2p-wlan0-0 (client)
t2-intel-7260 at p2p-dev-wlan3 send: P2P_GROUP_REMOVE p2p-wlan3-0
t2-intel-7260 at p2p-dev-wlan3 recv: OK

t2-intel-7260 at p2p-dev-wlan3 wait_msg: P2P-GROUP-REMOVED p2p-wlan3-0 (30)
t2-intel-7260 at p2p-dev-wlan3 get: <3>P2P-GROUP-REMOVED p2p-wlan3-0
client reason=REQUESTED
t1-ath9k at wlan0 send: P2P_GROUP_REMOVE p2p-wlan0-0
t1-ath9k at wlan0 recv: OK

t1-ath9k at wlan0 wait_msg: P2P-GROUP-REMOVED p2p-wlan0-0 (30)
t1-ath9k at wlan0 get: <3>AP-STA-CONNECTED 0c:8b:fd:1e:58:9f
p2p_dev_addr=0c:8b:fd:1e:58:9e
t1-ath9k at wlan0 get: <3>AP-STA-DISCONNECTED 0c:8b:fd:1e:58:9f
p2p_dev_addr=0c:8b:fd:1e:58:9e
t1-ath9k at wlan0 get: <3>P2P-GROUP-REMOVED p2p-wlan0-0 GO reason=REQUESTED
===============================================
 Count:  1
===============================================
=======================================================
TC RESULT -  ./p2p_connect.py t1-ath9k t2-intel-7260 1 5180 pbc - PASS
(count: 1)
=======================================================

BR
Janusz



More information about the Hostap mailing list