hostapd_s1g: (APP-3347, PR #778) disable channels 1/2 for dpp chirp

This is supposedly not properly supported by MM6108, and recent US BCFs
have them disabled which causes issues.


Approved-by: Sophronia Koilpillai
Approved-by: Arien Judge
Approved-by: Evan Benn
This commit is contained in:
James Haggerty 2024-08-30 00:25:37 +00:00 committed by Arien Judge
parent c17b7c03a5
commit 80b60561a8

View File

@ -1,18 +1,22 @@
From 591ec24748525171d5647d2a35cd1da1445e7a0b Mon Sep 17 00:00:00 2001
From c2b6ece1375affba47f7d94d0303dc83087ff8b7 Mon Sep 17 00:00:00 2001
From: James Haggerty <james.haggerty@morsemicro.com>
Date: Fri, 26 Jul 2024 09:55:03 +1000
Subject: [PATCH] Hack out channel 50 (and typo for 51)
Subject: [PATCH] Hack out channels 1/2/50 (and typo for 51)
If we use these channels on a board with those channels disabled,
the DPP presence announcement fails.
If we use these channels on a board with those channels disabled
in the BCF, the DPP presence announcement fails and the whole
DPP process aborts.
This is true of most of our currently shipping devices
(i.e. Bailey V13 US and Artini's Azurewave HW593 module).
This is rubbish: see SW-12450
---
wpa_supplicant/dpp_supplicant.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
wpa_supplicant/dpp_supplicant.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 09f8ceb07..46e4add95 100644
index 09f8ceb07..6993338ea 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -5199,12 +5199,12 @@ static int * wpas_dpp_presence_ann_channels(struct wpa_supplicant *wpa_s,
@ -20,9 +24,10 @@ index 09f8ceb07..46e4add95 100644
/* 2MHz channels */
5190, 5230, 5270, 5310, 5510, 5550,
- 5630, 5670, 5755, 5795, 5835, 5875,
+ 5630, 5670, 5755, 5795, 5835,
+ 5630, 5755, 5795, 5835
/* 1MHz channels */
5660, 5680, 5180, 5200, 5240, 5260,
- 5660, 5680, 5180, 5200, 5240, 5260,
+ 5680, 5180, 5200, 5240, 5260,
5280, 5300, 5320, 5500, 5520, 5540,
5560, 5580, 5600, 5620, 5640, 5765,
- 5785, 5805, 5825, 5845, 5865, 5855