]> git.ipfire.org Git - thirdparty/hostap.git/commit
Support vendor element configuration for AP mode from wpa_supplicant
authorChaoli Zhou <zchaoli@codeaurora.org>
Wed, 28 Jul 2021 10:51:08 +0000 (18:51 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 30 Sep 2021 15:16:11 +0000 (18:16 +0300)
commit9651deba52dafbdbea603a0d326033e02bc1c7f8
tree2923fc80029965ea20be6b753979f76a3e9105ed
parent7dc0e9cf477a83e9fad4b91c5b45f3f0cea61156
Support vendor element configuration for AP mode from wpa_supplicant

Support adding/deleting vendor elements dynamically for AP mode while it
is started by wpa_supplicant instead of hostapd which already supported
this. This adds ap_assocresp_elements global parameter and UPDATE_BEACON
control interface command to take the changed values into effect.

Usage in wpa_cli:
Add vendor IE for (Re)Association Response frames
> set ap_assocresp_elements=xxxx
Add vendor IE for Beacon/Probe Response frames
> set ap_vendor_elements=xxxx

Delete vendor IE from (Re)Association Response frames
> set ap_assocresp_elements
Delete vendor IE from Beacon/Probe Response frames
> set ap_vendor_elements

To make vendor IE changes take effect
> update_beacon

Signed-off-by: Chaoli Zhou <zchaoli@codeaurora.org>
wpa_supplicant/ap.c
wpa_supplicant/ap.h
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_cli.c