summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeevalamuthu Mariappan <quic_seevalam@quicinc.com>2023-03-29 10:42:42 +0530
committerJouni Malinen <j@w1.fi>2023-03-29 18:37:31 +0300
commitbb945b98fefc64887dffb40773a19d77585cee42 (patch)
treec40a8c84d8db1d77e5d3e4dc2bbe390c8346801a
parent0059fa5bae6acbc62e3bc5ab6bed84fdf6b6c50e (diff)
downloadhostap-bb945b98fefc64887dffb40773a19d77585cee42.tar.gz
Add 40 and 80 MHz channels 165 and 173 for 5 GHz IBSS/mesh
Add the channels 165 and 173 in allowed channels for ht40_plus. Also add the allowed frequency 5825 (channel 165; channel center frequency index 171) for 80 MHz bandwidth. Signed-off-by: Seevalamuthu Mariappan <quic_seevalam@quicinc.com> Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
-rw-r--r--wpa_supplicant/wpa_supplicant.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index d0e4b7b52..93629e1f7 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -2763,7 +2763,8 @@ static void ibss_mesh_select_40mhz(struct wpa_supplicant *wpa_s,
int i, res;
unsigned int j;
static const int ht40plus[] = {
- 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, 184, 192
+ 36, 44, 52, 60, 100, 108, 116, 124, 132, 149, 157, 165, 173,
+ 184, 192
};
int ht40 = -1;
@@ -2864,9 +2865,9 @@ static bool ibss_mesh_select_80_160mhz(struct wpa_supplicant *wpa_s,
struct hostapd_freq_params *freq,
int ieee80211_mode, bool is_6ghz) {
static const int bw80[] = {
- 5180, 5260, 5500, 5580, 5660, 5745, 5955,
- 6035, 6115, 6195, 6275, 6355, 6435, 6515,
- 6595, 6675, 6755, 6835, 6915, 6995
+ 5180, 5260, 5500, 5580, 5660, 5745, 5825,
+ 5955, 6035, 6115, 6195, 6275, 6355, 6435,
+ 6515, 6595, 6675, 6755, 6835, 6915, 6995
};
static const int bw160[] = {
5955, 6115, 6275, 6435, 6595, 6755, 6915