From 4db889dfe6f48e9aa89d699019a6e5e721c27428 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Sirasanagandla Date: Tue, 11 Dec 2018 19:50:28 +0530 Subject: [PATCH] qcacmn: Add regulatory API to check 5Ghz band Add regulatory API to check whether given frequency belongs to 5GHz band. Change-Id: I96147aca4f98563305bbba25c623aa0a37dd284d CRs-Fixed: 2364934 --- umac/regulatory/dispatcher/inc/wlan_reg_services_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h b/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h index c2efaf3f6229..a81a4d86da34 100644 --- a/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h +++ b/umac/regulatory/dispatcher/inc/wlan_reg_services_api.h @@ -39,6 +39,7 @@ #define WLAN_REG_IS_5GHZ_CH(chan) REG_IS_5GHZ_CH(chan) #define WLAN_REG_IS_24GHZ_CH_FREQ(freq) REG_IS_24GHZ_CH_FREQ(freq) +#define WLAN_REG_IS_5GHZ_CH_FREQ(freq) REG_IS_5GHZ_FREQ(freq) #ifndef CONFIG_LEGACY_CHAN_ENUM #define WLAN_REG_IS_49GHZ_FREQ(freq) REG_IS_49GHZ_FREQ(freq)