use of WLAN_EXT_CAPA8_OPMODE_NOTIF in hostapd/wpa_supplicant

Johannes Berg johannes
Tue Apr 7 01:43:37 PDT 2015

On Mon, 2015-04-06 at 09:31 +0000, Atul Joshi wrote:
> Hi,
> Hostapd/wpa_supplicant  gets the driver capabilities as a part of
> initilisation.
> As a part of this procedure, even extended capabilities are passed by
> mac80211/cfg80211 to the user space.
> I  can see that while other extended capabilities are filled in, in
> main.c in mac80211 WLAN_EXT_CAPA8_OPMODE_NOTIF is also  set (it is
> used to set bit 6 of octet 7)
> Hostpad/wpa_supplicant does not read this and just stores it,
> resulting in extended_capabilities IE in various messages to have 8
> octets and this the last octet set to 0x40.
> Why is this bit set and how is it supposed  to be used in
> hostapd/wpa_supplicant?

It's not supposed to be used there, but it's a protocol bit that the
remote side needs to know. As such, the kernel passes out all the bits
that it supports by itself (without supplicant involvement) so that they
can be sent to the AP in the assoc request frame etc.


More information about the Hostap mailing list