developer | 617abbd | 2024-04-23 14:50:01 +0800 | [diff] [blame^] | 1 | From cd4001cf3751979177cefa215f438888397f5bcb Mon Sep 17 00:00:00 2001 |
| 2 | From: MeiChia Chiu <meichia.chiu@mediatek.com> |
| 3 | Date: Fri, 14 Jul 2023 17:19:13 +0800 |
| 4 | Subject: [PATCH 057/104] mtk: hostapd: Update parameter_set_count in MU EDCA |
| 5 | IE |
| 6 | |
| 7 | without this patch, MU EDCA Parameter update count not equal to |
| 8 | WMM Parameter set count. |
| 9 | --- |
| 10 | src/ap/ieee802_11_he.c | 3 +++ |
| 11 | 1 file changed, 3 insertions(+) |
| 12 | |
| 13 | diff --git a/src/ap/ieee802_11_he.c b/src/ap/ieee802_11_he.c |
| 14 | index 3c6ee72fe..3b6b2041c 100644 |
| 15 | --- a/src/ap/ieee802_11_he.c |
| 16 | +++ b/src/ap/ieee802_11_he.c |
| 17 | @@ -317,6 +317,9 @@ u8 * hostapd_eid_he_mu_edca_parameter_set(struct hostapd_data *hapd, u8 *eid) |
| 18 | edca = (struct ieee80211_he_mu_edca_parameter_set *) pos; |
| 19 | os_memcpy(edca, &hapd->iface->conf->he_mu_edca, sizeof(*edca)); |
| 20 | |
| 21 | + if (hapd->conf->wmm_enabled) |
| 22 | + edca->he_qos_info = hapd->parameter_set_count % 0xf; |
| 23 | + |
| 24 | wpa_hexdump(MSG_DEBUG, "HE: MU EDCA Parameter Set element", |
| 25 | pos, sizeof(*edca)); |
| 26 | |
| 27 | -- |
| 28 | 2.39.2 |
| 29 | |