Configure RRM elements to the driver in the driver-AP-SME case
Support updating the RRM IEs to the driver for Probe Response and (Re)Association response frames in the AP mode when the SME is implemented in the driver. Signed-off-by: Chaoli Zhou <quic_zchaoli@quicinc.com>
This commit is contained in:
parent
a01266c925
commit
7974d80531
1 changed files with 8 additions and 0 deletions
|
@ -75,6 +75,14 @@ int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
|
|||
|
||||
*beacon_ret = *proberesp_ret = *assocresp_ret = NULL;
|
||||
|
||||
#ifdef NEED_AP_MLME
|
||||
pos = buf;
|
||||
pos = hostapd_eid_rm_enabled_capab(hapd, pos, sizeof(buf));
|
||||
if (add_buf_data(&assocresp, buf, pos - buf) < 0 ||
|
||||
add_buf_data(&proberesp, buf, pos - buf) < 0)
|
||||
goto fail;
|
||||
#endif /* NEED_AP_MLME */
|
||||
|
||||
pos = buf;
|
||||
pos = hostapd_eid_time_adv(hapd, pos);
|
||||
if (add_buf_data(&beacon, buf, pos - buf) < 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue