nl80211: Send Probe Response template to the driver
Pass the raw Probe Response template to kernel via netlink using the set_ap() driver callback. The data is sent as one of the Beacon attributes. Signed-hostap: Arik Nemtsov <arik@wizery.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
This commit is contained in:
parent
5b99e21a14
commit
5ed3354617
1 changed files with 3 additions and 0 deletions
|
@ -5162,6 +5162,9 @@ static int wpa_driver_nl80211_set_ap(void *priv,
|
|||
NLA_PUT_U32(msg, NL80211_ATTR_DTIM_PERIOD, params->dtim_period);
|
||||
NLA_PUT(msg, NL80211_ATTR_SSID, params->ssid_len,
|
||||
params->ssid);
|
||||
if (params->proberesp && params->proberesp_len)
|
||||
NLA_PUT(msg, NL80211_ATTR_PROBE_RESP, params->proberesp_len,
|
||||
params->proberesp);
|
||||
switch (params->hide_ssid) {
|
||||
case NO_SSID_HIDING:
|
||||
NLA_PUT_U32(msg, NL80211_ATTR_HIDDEN_SSID,
|
||||
|
|
Loading…
Reference in a new issue