An issue while working with P2P

Atul Joshi Atul.Joshi
Tue Jul 14 01:07:11 PDT 2015


Hi,
We are trying to use wpa_supplicant for P2P cases. Occasionally when we try to send a P2P frame we get following issue.
Can somebody explain why we are getting this some times?

1436853963.157608: CMD_FRAME - hexdump(len=154): d0 00 00 00 7a e4 00 6c 3d be 00 02 5b 00 30 74 7a e4 00 6c 3d be 00 00 04 09 50 6f 9a 09 03 02 dd 78 50 6f 9a 09 05 02 00 64 14 12 01 00 01 0b 2c 00 55 53 04 51 0b 01 02 03 04 05 06 07 08 09 0a 0b 73 04 24 28 2c 30 7c 04 95 99 9d a1 74 02 24 2c 75 02 28 30 7e 02 95 9d 7f 02 99 a1 0f 19 00 7a e4 00 6c 3d be 44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f 6d 2d 31 0d 1d 00 00 02 5b 00 30 74 01 00 00 0a 00 50 f2 04 00 04 00 10 11 00 08 4c 69 6e 75 78 5f 50 43
1436853963.248555: nl80211: Frame command failed: ret=-38 (Function not implemented) (freq=2437 wait=500)


Relvent logs around these are

1436853962.836700: nl80211: Use last_mgmt_freq=2412
1436853962.836714: nl80211: CMD_FRAME freq=2412 wait=0 no_cck=1 no_ack=1 offchanok=1
1436853962.836728: CMD_FRAME - hexdump(len=250): 50 00 00 00 7a e4 00 6c 3d be 00 02 5b 00 30 74 00 02 5b 00 30 74 00 00 00 00 00 00 00 00 00 00 64 00 30 04 00 07 44 49 52 45 43 54 2d 01 08 8c 12 98 24 b0 48 60 6c 03 01 01 dd 93 00 50 f2 04 10 4a 00 01 10 10 44 00 01 01 10 3b 00 01 00 10 47 00 10 00 50 f2 12 34 56 78 90 12 34 56 78 90 12 34 56 10 21 00 17 43 61 6d 62 72 69 64 67 65 20 53 69 6c 69 63 6f 6e 20 52 61 64 69 6f 10 23 00 0e 43 53 52 5f 43 69 6e 64 65 72 65 6c 6c 61 10 24 00 0b 43 53 52 39 33 30 30 20 45 4d 42 10 42 00 04 36 30 33 30 10 54 00 08 00 0a 00 50 f2 04 00 04 10 11 00 08 4c 69 6e 75 78 5f 50 43 10 08 00 02 01 00 10 49 00 06 00 37 2a 00 01 20 dd 29 50 6f 9a 09 02 02 00 25 00 0d 1d 00 00 02 5b 00 30 74 01 00 00 0a 00 50 f2 04 00 04 00 10 11 00 08 4c 69 6e 75 78 5f 50 43
1436853962.837210: nl80211: Frame TX command accepted (no ACK); cookie 0x0
1436853963.151312: wlan1: Control interface command 'P2P_PEER 7a:e4:00:6c:3d:be'
1436853963.151773: wlan1: Control interface command 'LIST_NETWORKS'
1436853963.152230: wlan1: Control interface command 'P2P_INVITE persistent=5 peer=7a:e4:00:6c:3d:be'
1436853963.152290: wlan1: Determining shared radio frequencies (max len 2)
1436853963.152322: wlan1: Shared frequencies (len=0): completed iteration
1436853963.152350: wlan1: Shared frequencies (len=0): valid for P2P
1436853963.152379: wlan1: Determining shared radio frequencies (max len 2)
1436853963.152405: wlan1: Shared frequencies (len=0): completed iteration
1436853963.152432: wlan1: P2P: num_unused_channels: 2
1436853963.152456: P2P: Setup freqs: freq=0 num_MCC=2 shared_freqs=0 num_unused=2
1436853963.152481: P2P: Current operating channels are not available for P2P. Try to use another channel
1436853963.152510: P2P: Stopping find
1436853963.152551: P2P: Clear timeout (state=LISTEN_ONLY)
1436853963.152579: P2P: State LISTEN_ONLY -> IDLE
1436853963.152606: P2P: Clear timeout (state=IDLE)
1436853963.152633: P2P: Clear drv_in_listen (2412)
1436853963.152657: nl80211: Cancel remain-on-channel with cookie 0x123
1436853963.154863: nl80211: Disable Probe Request reporting nl_preq=0x80340419
1436853963.155008: wlan1: Radio work 'p2p-listen'@0x8bc4340 done in 0.516095 seconds
1436853963.155058: P2P: Request to invite peer 7a:e4:00:6c:3d:be role=2 persistent=1 force_freq=0
1436853963.155085: Invitation for SSID - hexdump_ascii(len=19):
     44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f   DIRECT-pKBroadco
     6d 2d 31                                          m-1
1436853963.155171: P2P: Prepare channel - force_freq=0 pref_freq=0 go=0
1436853963.155199: P2P: Prepare channel best
1436853963.156667: P2P: Select possible HT40 channel (op_class 126 channel 149) as operating channel preference
1436853963.156753: P2P: prepared channels: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161
1436853963.156807: P2P: after go/cli filter/add: 81:1,2,3,4,5,6,7,8,9,10,11 115:36,40,44,48 124:149,153,157,161 116:36,44 117:40,48 126:149,157 127:153,161
1436853963.156836: P2P: Own preference for operation channel: Operating Class 126 Channel 149
1436853963.156866: P2P: * Dialog Token: 2
1436853963.156891: P2P: * P2P IE header
1436853963.156914: P2P: * Configuration Timeout: GO 100 (*10ms)  client 20 (*10ms)
1436853963.156937: P2P: * Invitation Flags: bitmap 0x1
1436853963.156961: P2P: * Channel List - hexdump(len=44): 55 53 04 51 0b 01 02 03 04 05 06 07 08 09 0a 0b 73 04 24 28 2c 30 7c 04 95 99 9d a1 74 02 24 2c 75 02 28 30 7e 02 95 9d 7f 02 99 a1
1436853963.157004: P2P: * P2P Group ID 7a:e4:00:6c:3d:be
1436853963.157029: P2P: P2P Group ID SSID - hexdump_ascii(len=19):
     44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f   DIRECT-pKBroadco
     6d 2d 31                                          m-1
1436853963.157105: P2P: * Device Info
1436853963.157131: P2P: Sending Invitation Request
1436853963.157158: P2P: State IDLE -> INVITE
1436853963.157182: P2P: Schedule new radio work for Action frame TX (listen_freq=-1 send_freq=-1)
1436853963.157211: wlan1: Add radio work 'p2p-send-action'@0x8bc8540
1436853963.157240: wlan1: First radio work item in the queue - schedule start immediately
1436853963.157354: wlan1: Starting radio work 'p2p-send-action'@0x8bc8540 after 0.000106 second wait
1436853963.157398: Off-channel: Send action frame: freq=2437 dst=7a:e4:00:6c:3d:be src=00:02:5b:00:30:74 bssid=7a:e4:00:6c:3d:be len=130
1436853963.157447: nl80211: Send Action frame (ifindex=128, freq=2437 MHz wait=500 ms no_cck=1)
1436853963.157486: nl80211: CMD_FRAME freq=2437 wait=500 no_cck=1 no_ack=0 offchanok=1
1436853963.157608: CMD_FRAME - hexdump(len=154): d0 00 00 00 7a e4 00 6c 3d be 00 02 5b 00 30 74 7a e4 00 6c 3d be 00 00 04 09 50 6f 9a 09 03 02 dd 78 50 6f 9a 09 05 02 00 64 14 12 01 00 01 0b 2c 00 55 53 04 51 0b 01 02 03 04 05 06 07 08 09 0a 0b 73 04 24 28 2c 30 7c 04 95 99 9d a1 74 02 24 2c 75 02 28 30 7e 02 95 9d 7f 02 99 a1 0f 19 00 7a e4 00 6c 3d be 44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f 6d 2d 31 0d 1d 00 00 02 5b 00 30 74 01 00 00 0a 00 50 f2 04 00 04 00 10 11 00 08 4c 69 6e 75 78 5f 50 43
1436853963.248555: nl80211: Frame command failed: ret=-38 (Function not implemented) (freq=2437 wait=500)



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook, www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at www.twitter.com/CSR_plc.
You can now access the wide range of products powered by aptX at www.aptx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150714/89acc8bb/attachment.htm>



More information about the Hostap mailing list