developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 1 | From 5cc02e29a2725dcffbee12fece9d946dd809108b Mon Sep 17 00:00:00 2001 |
| 2 | From: Michael-CY Lee <michael-cy.lee@mediatek.com> |
| 3 | Date: Wed, 10 Jul 2024 16:13:24 +0800 |
| 4 | Subject: [PATCH 113/126] mtk: hostapd: do not consider ht operation update for |
| 5 | 6G BSS |
| 6 | |
| 7 | Signed-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 | |
| 12 | diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c |
| 13 | index 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 | -- |
| 27 | 2.18.0 |
| 28 | |