From f2f11dbf0650c70148a4a8a343f9d805a464219d Mon Sep 17 00:00:00 2001 From: bings Date: Wed, 30 Oct 2019 17:51:02 +0800 Subject: [PATCH] qcacmn: Add REG_BAND_MASK_ALL Define a bandmask for all the modes Change-Id: I8ad6fc2676c2306043aa9415eefb2b89d8c49a4d CRs-Fixed: 2555045 --- umac/regulatory/dispatcher/inc/reg_services_public_struct.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h b/umac/regulatory/dispatcher/inc/reg_services_public_struct.h index e20609b4e5cf..a12d72738d46 100644 --- a/umac/regulatory/dispatcher/inc/reg_services_public_struct.h +++ b/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 */