Przeglądaj źródła

qcacmn: Add REG_BAND_MASK_ALL

Define a bandmask for all the modes

Change-Id: I8ad6fc2676c2306043aa9415eefb2b89d8c49a4d
CRs-Fixed: 2555045
bings 5 lat temu
rodzic
commit
f2f11dbf06

+ 3 - 0
umac/regulatory/dispatcher/inc/reg_services_public_struct.h

@@ -807,6 +807,9 @@ enum reg_wifi_band {
 	REG_BAND_UNKNOWN
 };
 
+#define REG_BAND_MASK_ALL (BIT(REG_BAND_2G) | BIT(REG_BAND_5G) \
+			  | BIT(REG_BAND_6G))
+
 /* Avoid the use of band_info as it does not support 6GHz band. Use
  * reg_wifi_band, as it supports the 6GHz band
  */