Modify capability information field in assocication request

Jouni Malinen j
Sun May 24 03:50:31 PDT 2015


On Fri, May 22, 2015 at 09:47:38AM +0000, volker.obhof.w at sew-eurodrive.de wrote:
> I just search everywhere in wpa_supplicant source code to modify the capability information field in association request but I didn?t find anything.

That's because such operation does not exist in wpa_supplicant..

> In file driver_nl80211.c there is a function called wpa_driver_nl80211_associate() where a association request is set. Then in function nl80211_connect_common() a new association request frame is built.

That function does not build the actual frame; the driver (or WLAN
firmware) does.

> But nowhere is set the data for the capability information field.

> Can anybody help me to find out which struct and function I have to use to modify capability information field in wpa_supplicant?

You would need to look at the kernel/driver code for this.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list