Proper operating class definition for class 137?

Ben Greear greearb at candelatech.com
Tue Feb 3 14:17:25 PST 2026


Hello,

I found this patch from Allen Ye in an openwrt repo and have been using it for a while.
I notice the comment was updated sometime recently, but values were not updated.

I wanted to see if this patch is actually correct, or if the existing
code is correct?

hostapd: Fix definition of 6GHz operating class 137

     The channel sets should follow the op_class 131, and the inc should be
     64 to fit the bandwidth 320MHz.

     Signed-off-by: Allen Ye <allen.ye at mediatek.com>

@@ -2480,7 +2480,7 @@ const struct oper_class_map global_op_class[] = {
  	{ HOSTAPD_MODE_IEEE80211A, 136, 2, 2, 4, BW20, NO_P2P_SUPP },

  	/* IEEE P802.11be/D5.0, Table E-4 (Global operating classes) */
-	{ HOSTAPD_MODE_IEEE80211A, 137, 31, 191, 32, BW320, NO_P2P_SUPP },
+	{ HOSTAPD_MODE_IEEE80211A, 137, 1, 233, 64, BW320, NO_P2P_SUPP },

  	/*
  	 * IEEE Std 802.11ad-2012 and P802.ay/D5.0 60 GHz operating classes.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Hostap mailing list