]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mesh: Use the correct 6 GHz operating class 137 for 320 MHz bandwidth
authorMaharaja Kennadyrajan <quic_mkenna@quicinc.com>
Tue, 17 Dec 2024 06:57:20 +0000 (12:27 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 19 Dec 2024 21:40:42 +0000 (23:40 +0200)
The 320 MHz case was not yet handled for setting the global operating
class for mesh in the 6 GHz band. That needs to use the operating class
137 instead of the default 131.

Signed-off-by: Maharaja Kennadyrajan <quic_mkenna@quicinc.com>
wpa_supplicant/mesh.c

index 85c1ea8ba270b3105cc2d4d15f971df5c43c5ee3..79ca29ba40e93f4cf918b738df6b1fed460d3298 100644 (file)
@@ -464,6 +464,9 @@ static int wpa_supplicant_mesh_init(struct wpa_supplicant *wpa_s,
                case 160:
                        conf->op_class = 134;
                        break;
+               case 320:
+                       conf->op_class = 137;
+                       break;
                default:
                        conf->op_class = 131;
                        break;