nl80211_register_action_frame function parameter
sunder
sunder_k
Mon Apr 20 03:20:13 PDT 2015
Number of bytes to be compared.
Best Regards,
k.sunder
From: volker.obhof.w at sew-eurodrive.de
To: hostap at lists.shmoo.com
Subject: nl80211_register_action_frame function parameter
Date: Mon, 20 Apr 2015 09:53:20 +0000
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
_______________________________________________
HostAP mailing list
HostAP at lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150420/eff8bfce/attachment-0001.htm>
More information about the Hostap
mailing list