<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:90399747;
        mso-list-type:hybrid;
        mso-list-template-ids:-793495134 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">We are trying to use wpa_supplicant for P2P cases. Occasionally when we try to send a P2P frame we get following issue.<o:p></o:p></p>
<p class="MsoNormal">Can somebody explain why we are getting this some times?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853963.248555: nl80211: Frame command failed: ret=-38 (Function not implemented) (freq=2437 wait=500)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Relvent logs around these are<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1436853962.836700: nl80211: Use last_mgmt_freq=2412<o:p></o:p></p>
<p class="MsoNormal">1436853962.836714: nl80211: CMD_FRAME freq=2412 wait=0 no_cck=1 no_ack=1 offchanok=1<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853962.837210: nl80211: Frame TX command accepted (no ACK); cookie 0x0<o:p></o:p></p>
<p class="MsoNormal">1436853963.151312: wlan1: Control interface command 'P2P_PEER 7a:e4:00:6c:3d:be'<o:p></o:p></p>
<p class="MsoNormal">1436853963.151773: wlan1: Control interface command 'LIST_NETWORKS'<o:p></o:p></p>
<p class="MsoNormal">1436853963.152230: wlan1: Control interface command 'P2P_INVITE persistent=5 peer=7a:e4:00:6c:3d:be'<o:p></o:p></p>
<p class="MsoNormal">1436853963.152290: wlan1: Determining shared radio frequencies (max len 2)<o:p></o:p></p>
<p class="MsoNormal">1436853963.152322: wlan1: Shared frequencies (len=0): completed iteration<o:p></o:p></p>
<p class="MsoNormal">1436853963.152350: wlan1: Shared frequencies (len=0): valid for P2P<o:p></o:p></p>
<p class="MsoNormal">1436853963.152379: wlan1: Determining shared radio frequencies (max len 2)<o:p></o:p></p>
<p class="MsoNormal">1436853963.152405: wlan1: Shared frequencies (len=0): completed iteration<o:p></o:p></p>
<p class="MsoNormal">1436853963.152432: wlan1: P2P: num_unused_channels: 2<o:p></o:p></p>
<p class="MsoNormal">1436853963.152456: P2P: Setup freqs: freq=0 num_MCC=2 shared_freqs=0 num_unused=2<o:p></o:p></p>
<p class="MsoNormal">1436853963.152481: P2P: Current operating channels are not available for P2P. Try to use another channel<o:p></o:p></p>
<p class="MsoNormal">1436853963.152510: P2P: Stopping find<o:p></o:p></p>
<p class="MsoNormal">1436853963.152551: P2P: Clear timeout (state=LISTEN_ONLY)<o:p></o:p></p>
<p class="MsoNormal">1436853963.152579: P2P: State LISTEN_ONLY -> IDLE<o:p></o:p></p>
<p class="MsoNormal">1436853963.152606: P2P: Clear timeout (state=IDLE)<o:p></o:p></p>
<p class="MsoNormal">1436853963.152633: P2P: Clear drv_in_listen (2412)<o:p></o:p></p>
<p class="MsoNormal">1436853963.152657: nl80211: Cancel remain-on-channel with cookie 0x123<o:p></o:p></p>
<p class="MsoNormal">1436853963.154863: nl80211: Disable Probe Request reporting nl_preq=0x80340419<o:p></o:p></p>
<p class="MsoNormal">1436853963.155008: wlan1: Radio work 'p2p-listen'@0x8bc4340 done in 0.516095 seconds<o:p></o:p></p>
<p class="MsoNormal">1436853963.155058: P2P: Request to invite peer 7a:e4:00:6c:3d:be role=2 persistent=1 force_freq=0<o:p></o:p></p>
<p class="MsoNormal">1436853963.155085: Invitation for SSID - hexdump_ascii(len=19):<o:p></o:p></p>
<p class="MsoNormal"> 44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f DIRECT-pKBroadco<o:p></o:p></p>
<p class="MsoNormal"> 6d 2d 31 m-1
<o:p></o:p></p>
<p class="MsoNormal">1436853963.155171: P2P: Prepare channel - force_freq=0 pref_freq=0 go=0<o:p></o:p></p>
<p class="MsoNormal">1436853963.155199: P2P: Prepare channel best<o:p></o:p></p>
<p class="MsoNormal">1436853963.156667: P2P: Select possible HT40 channel (op_class 126 channel 149) as operating channel preference<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853963.156836: P2P: Own preference for operation channel: Operating Class 126 Channel 149<o:p></o:p></p>
<p class="MsoNormal">1436853963.156866: P2P: * Dialog Token: 2<o:p></o:p></p>
<p class="MsoNormal">1436853963.156891: P2P: * P2P IE header<o:p></o:p></p>
<p class="MsoNormal">1436853963.156914: P2P: * Configuration Timeout: GO 100 (*10ms) client 20 (*10ms)<o:p></o:p></p>
<p class="MsoNormal">1436853963.156937: P2P: * Invitation Flags: bitmap 0x1<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853963.157004: P2P: * P2P Group ID 7a:e4:00:6c:3d:be<o:p></o:p></p>
<p class="MsoNormal">1436853963.157029: P2P: P2P Group ID SSID - hexdump_ascii(len=19):<o:p></o:p></p>
<p class="MsoNormal"> 44 49 52 45 43 54 2d 70 4b 42 72 6f 61 64 63 6f DIRECT-pKBroadco<o:p></o:p></p>
<p class="MsoNormal"> 6d 2d 31 m-1
<o:p></o:p></p>
<p class="MsoNormal">1436853963.157105: P2P: * Device Info<o:p></o:p></p>
<p class="MsoNormal">1436853963.157131: P2P: Sending Invitation Request<o:p></o:p></p>
<p class="MsoNormal">1436853963.157158: P2P: State IDLE -> INVITE<o:p></o:p></p>
<p class="MsoNormal">1436853963.157182: P2P: Schedule new radio work for Action frame TX (listen_freq=-1 send_freq=-1)<o:p></o:p></p>
<p class="MsoNormal">1436853963.157211: wlan1: Add radio work 'p2p-send-action'@0x8bc8540<o:p></o:p></p>
<p class="MsoNormal">1436853963.157240: wlan1: First radio work item in the queue - schedule start immediately<o:p></o:p></p>
<p class="MsoNormal">1436853963.157354: wlan1: Starting radio work 'p2p-send-action'@0x8bc8540 after 0.000106 second wait<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853963.157447: nl80211: Send Action frame (ifindex=128, freq=2437 MHz wait=500 ms no_cck=1)<o:p></o:p></p>
<p class="MsoNormal">1436853963.157486: nl80211: CMD_FRAME freq=2437 wait=500 no_cck=1 no_ack=0 offchanok=1<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">1436853963.248555: nl80211: Frame command failed: ret=-38 (Function not implemented) (freq=2437 wait=500)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br><br>
<SPAN style="FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt">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<BR>More information can be found at <A href="http://www.csr.com">www.csr.com</A>. Keep up to date with CSR on our <A href="http://www.csr.com/blog/">technical blog</A> or <A href="http://www.csr.com/people/">CSR people blog</A>, <A href="http://www.youtube.com/user/CSRplc">YouTube</A>, <A href="https://www.facebook.com/pages/CSR/191038434253534?ref=hl">Facebook</A> or follow us on Twitter at <A href="http://www.twitter.com/CSR_plc">twitter.com/CSR_plc</A>.<BR>You can now access the wide range of products powered by <A href="http://www.aptx.com">aptX</A>.
</body>
</html>