blob: f69891ae3385cf57c4d53eba46fbee99d78b1c40 [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 5cc02e29a2725dcffbee12fece9d946dd809108b Mon Sep 17 00:00:00 2001
2From: Michael-CY Lee <michael-cy.lee@mediatek.com>
3Date: Wed, 10 Jul 2024 16:13:24 +0800
4Subject: [PATCH 113/126] mtk: hostapd: do not consider ht operation update for
5 6G BSS
6
7Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
8---
9 src/ap/ieee802_11.c | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
11
12diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
13index 75ffb2a18..10b7587a0 100644
14--- a/src/ap/ieee802_11.c
15+++ b/src/ap/ieee802_11.c
16@@ -4628,7 +4628,8 @@ static int ieee80211_ml_process_link(struct hostapd_data *hapd,
17 }
18 hapd->sta_aid[(sta->aid - 1) / 32] |= BIT((sta->aid - 1) % 32);
19 sta->listen_interval = origin_sta->listen_interval;
20- if (update_ht_state(hapd, sta) > 0)
21+ if (!is_6ghz_op_class(hapd->iconf->op_class) &&
22+ update_ht_state(hapd, sta) > 0)
23 ieee802_11_update_beacons(hapd->iface);
24 }
25
26--
272.18.0
28