developer | 617abbd | 2024-04-23 14:50:01 +0800 | [diff] [blame^] | 1 | From 43840874fe5c56d76612c953d0e31b771818c0d3 Mon Sep 17 00:00:00 2001 |
| 2 | From: mtk20656 <chank.chen@mediatek.com> |
| 3 | Date: Mon, 24 Jul 2023 11:30:27 +0800 |
| 4 | Subject: [PATCH 058/104] mtk: hostapd: add extension IE list for non-inherit |
| 5 | IE in mbssid |
| 6 | |
| 7 | Certain clients do not scan all non tx profiles due to absence of |
| 8 | element ID extension list which is mandatory field in non inheritance |
| 9 | IE. Non inheritance Element ID is followed by extension element ID. |
| 10 | Length is expected to be mentioned. Currently we do not support any |
| 11 | extension element and hence filling length as 0. |
| 12 | |
| 13 | Signed-off-by: mtk20656 <chank.chen@mediatek.com> |
| 14 | --- |
| 15 | src/ap/ieee802_11.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | mode change 100644 => 100755 src/ap/ieee802_11.c |
| 18 | |
| 19 | diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c |
| 20 | old mode 100644 |
| 21 | new mode 100755 |
| 22 | index d972a25f1..e42d4e1cc |
| 23 | --- a/src/ap/ieee802_11.c |
| 24 | +++ b/src/ap/ieee802_11.c |
| 25 | @@ -7999,7 +7999,7 @@ static size_t hostapd_eid_mbssid_elem_len(struct hostapd_data *hapd, |
| 26 | else if (hapd->conf->xrates_supported) |
| 27 | ie_count++; |
| 28 | if (ie_count) |
| 29 | - nontx_profile_len += 4 + ie_count; |
| 30 | + nontx_profile_len += 5 + ie_count; |
| 31 | |
| 32 | if (len + nontx_profile_len > 255) |
| 33 | break; |
| 34 | -- |
| 35 | 2.39.2 |
| 36 | |