developer | d243af0 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 1 | From 037b1cdac457c03ba44a470a7df38798ba1d5d88 Mon Sep 17 00:00:00 2001 |
developer | 1c2c7d4 | 2023-01-18 18:20:58 +0800 | [diff] [blame] | 2 | From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 3 | Date: Thu, 22 Sep 2022 16:08:09 +0800 |
developer | d243af0 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 09/54] mtk: hostapd: Do not include HE capab IE if associated |
developer | b885304 | 2023-02-17 11:50:45 +0800 | [diff] [blame] | 5 | sta's HE capab IE is invalid |
developer | 1c2c7d4 | 2023-01-18 18:20:58 +0800 | [diff] [blame] | 6 | |
| 7 | --- |
| 8 | src/ap/ieee802_11.c | 3 ++- |
| 9 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c |
developer | d243af0 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 12 | index db404a6c7..110ad8c2e 100644 |
developer | 1c2c7d4 | 2023-01-18 18:20:58 +0800 | [diff] [blame] | 13 | --- a/src/ap/ieee802_11.c |
| 14 | +++ b/src/ap/ieee802_11.c |
developer | e35b8e4 | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 15 | @@ -4863,7 +4863,8 @@ static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta, |
developer | 1c2c7d4 | 2023-01-18 18:20:58 +0800 | [diff] [blame] | 16 | #endif /* CONFIG_IEEE80211AC */ |
| 17 | |
| 18 | #ifdef CONFIG_IEEE80211AX |
| 19 | - if (hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax) { |
| 20 | + if (hapd->iconf->ieee80211ax && !hapd->conf->disable_11ax && |
| 21 | + sta->flags & WLAN_STA_HE) { |
| 22 | p = hostapd_eid_he_capab(hapd, p, IEEE80211_MODE_AP); |
| 23 | p = hostapd_eid_he_operation(hapd, p); |
| 24 | p = hostapd_eid_cca(hapd, p); |
| 25 | -- |
developer | dfb5098 | 2023-09-11 13:34:36 +0800 | [diff] [blame] | 26 | 2.18.0 |
developer | 1c2c7d4 | 2023-01-18 18:20:58 +0800 | [diff] [blame] | 27 | |