nl80211_register_action_frame function parameter

volker.obhof.w at sew-eurodrive.de volker.obhof.w at sew-eurodrive.de
Mon Apr 20 05:53:20 EDT 2015


In file driver_nl80211.c there are some function calls near line 4524 to register action frame.

I think it can be used to send or receive action frame.



Snippet:

/* FT Action frames */
if (nl80211_register_action_frame(bss, (u8 *) "\x06", 1) < 0)
            ret = -1;
else
            drv->capa.key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT |
                        WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK;

/* WNM - BSS Transition Management Request */
if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x07", 2) < 0)
            ret = -1;
/* WNM-Sleep Mode Response */
if (nl80211_register_action_frame(bss, (u8 *) "\x0a\x11", 2) < 0)
            ret = -1;


But what is the second parameter in nl80211_register_action_frame() function?

I thought it could be the action frame ID but I don’t really know it.

________________________________


SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter: Jürgen Blickle, Rainer Blickle
Geschäftsführer: Jürgen Blickle (Vorsitzender), Johann Soder, Dr. Jürgen Zanghellini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150420/f90ba4cf/attachment.htm>


More information about the HostAP mailing list