<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Number of bytes to be compared.<br>Best Regards,<br>

k.sunder<br>&nbsp;<BR><div><hr id="stopSpelling">From: volker.obhof.w@sew-eurodrive.de<br>To: hostap@lists.shmoo.com<br>Subject: nl80211_register_action_frame function parameter<br>Date: Mon, 20 Apr 2015 09:53:20 +0000<br><br>



<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:11.0pt;
font-family:"Arial","sans-serif";
}

.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}

.ExternalClass span.ecxMsoHyperlinkFollowed {
color:purple;
text-decoration:underline;
}

.ExternalClass span.ecxE-MailFormatvorlage17 {
font-family:"Arial","sans-serif";
color:windowtext;
}

.ExternalClass .ecxMsoChpDefault {
font-family:"Arial","sans-serif";
}

.ExternalClass div.ecxWordSection1 {
}

--></style>


<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span lang="EN-US">In file driver_nl80211.c there are some function calls near line 4524 to register action frame.</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">I think it can be used to send or receive action frame.</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">Snippet:</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">/* FT Action frames */</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">if (nl80211_register_action_frame(bss, (u8 *) "\x06", 1) &lt; 0)</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = -1;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">else</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drv-&gt;capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT |</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">/* WNM - BSS Transition Management Request */</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x07", 2) &lt; 0)</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = -1;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">/* WNM-Sleep Mode Response */</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x11", 2) &lt; 0)</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = -1;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">But what is the second parameter in nl80211_register_action_frame() function?</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="ecxMsoNormal"><span lang="EN-US">I thought it could be the action frame ID but I don’t really know it.</span></p>
</div>
<br>
<hr>
<font color="gray" face="Arial" size="1"><br>
<br>
SEW-EURODRIVE GmbH &amp; Co KG<br>
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970<br>
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207<br>
<br>
Gesellschafter: Jürgen Blickle, Rainer Blickle<br>
Geschäftsführer: Jürgen Blickle (Vorsitzender), Johann Soder, Dr. Jürgen Zanghellini<br>
</font>


<br>_______________________________________________
HostAP mailing list
HostAP@lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap</div>                                               </div></body>
</html>