developer | 93607dd | 2023-08-30 04:53:00 +0800 | [diff] [blame] | 1 | From 5ed678c7562b1acf04f1b6c63ab25a5f3043325f Mon Sep 17 00:00:00 2001 |
| 2 | From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 3 | Date: Wed, 30 Aug 2023 04:23:37 +0800 |
| 4 | Subject: [PATCH 1002/1004] hostapd: mtk: ucode: add support for ucode to parse |
| 5 | BW320MHz info |
| 6 | |
| 7 | --- |
| 8 | src/utils/ucode.c | 4 ++++ |
| 9 | 1 file changed, 4 insertions(+) |
| 10 | |
| 11 | diff --git a/src/utils/ucode.c b/src/utils/ucode.c |
| 12 | index 896ef46..4448738 100644 |
| 13 | --- a/src/utils/ucode.c |
| 14 | +++ b/src/utils/ucode.c |
| 15 | @@ -85,6 +85,10 @@ uc_value_t *uc_wpa_freq_info(uc_vm_t *vm, size_t nargs) |
| 16 | case 2: |
| 17 | chanwidth = CONF_OPER_CHWIDTH_160MHZ; |
| 18 | break; |
| 19 | + case 9: |
| 20 | + width = 3; |
| 21 | + chanwidth = CONF_OPER_CHWIDTH_320MHZ; |
| 22 | + break; |
| 23 | default: |
| 24 | return NULL; |
| 25 | } |
| 26 | -- |
| 27 | 2.18.0 |
| 28 | |