aidl: Configure operating class for 11BE 6G SAP

Hostapd uses op_class to decide the bandwidth on which SAP
should operate when starting SAP on 6Ghz band. Set op_class
when starting 11BE SAP in 6GHz band if ACS is enabled.

Bug: 324190248
Test: Start 11BE SAP in 6GHz band from UI.
Signed-off-by: Xin Deng <quic_deng@quicinc.com>
Change-Id: I9663104f8dce8eeaa49c362fc833b63344e9a765
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp
index a21701c..fa0c756 100644
--- a/hostapd/aidl/hostapd.cpp
+++ b/hostapd/aidl/hostapd.cpp
@@ -621,7 +621,14 @@
 					"vht_oper_chwidth=1\n";
 			}
 			if (band & band6Ghz) {
+#ifdef CONFIG_IEEE80211BE
+				if (iface_params.hwModeParams.enable80211BE)
+					ht_cap_vht_oper_he_oper_eht_oper_chwidth_as_string += "op_class=137\n";
+				else
+					ht_cap_vht_oper_he_oper_eht_oper_chwidth_as_string += "op_class=134\n";
+#else /* CONFIG_IEEE80211BE */
 				ht_cap_vht_oper_he_oper_eht_oper_chwidth_as_string += "op_class=134\n";
+#endif /* CONFIG_IEEE80211BE */
 			}
 #ifdef CONFIG_IEEE80211AX
 			if (iface_params.hwModeParams.enable80211AX) {