AP MLD: Set DTIM information properly in per-STA profile
The DTIM information in the per-STA profile is set incorrectly. The DTIM period is set in the LSB octet of the DTIM Info subfield (2 octets), which is intended for the DTIM count. Fix this by setting the DTIM period and DTIM count information properly to the MSB and LSB octets of the DTIM Info subfield, respectively. Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com> Signed-off-by: Govindaraj Saminathan <quic_gsaminat@quicinc.com>
This commit is contained in:
parent
36bd75dfd2
commit
92fdb49b2e
1 changed files with 2 additions and 1 deletions
|
@ -589,7 +589,8 @@ static u8 * hostapd_eid_eht_basic_ml_common(struct hostapd_data *hapd,
|
||||||
wpabuf_put_le64(buf, 0);
|
wpabuf_put_le64(buf, 0);
|
||||||
|
|
||||||
/* DTIM Info */
|
/* DTIM Info */
|
||||||
wpabuf_put_le16(buf, link_bss->conf->dtim_period);
|
wpabuf_put_u8(buf, 0); /* DTIM Count */
|
||||||
|
wpabuf_put_u8(buf, link_bss->conf->dtim_period);
|
||||||
|
|
||||||
/* BSS Parameters Change Count */
|
/* BSS Parameters Change Count */
|
||||||
wpabuf_put_u8(buf, hapd->eht_mld_bss_param_change);
|
wpabuf_put_u8(buf, hapd->eht_mld_bss_param_change);
|
||||||
|
|
Loading…
Reference in a new issue