qcacmn: Move CTL value enums to reg_services_public_struct.h

The objective is to remove qcacld-3.0 redundant macros and
replace them with the converged enums exposed in
reg_services_public_struct.h

Change-Id: I3f106f7f9f8a533b1964d3ea256a2fef5e4bbd4f
CRs-Fixed: 2416532
This commit is contained in:
Srinivas Girigowda 2019-03-14 15:06:08 -07:00 • committed by nshrivas
commit 1d5ca92967
2 changed files with 20 additions and 20 deletions

View file

@ -88,26 +88,6 @@ struct reg_domain_pair {
uint8_t dmn_id_2g;
};
/**
* enum ctl_value - CTL value
* @CTL_FCC: CTL FCC
* @CTL_MKK: CTL MKK
* @CTL_ETSI: CTL ETSI
* @CTL_KOR: CTL KOR
* @CTL_CHN: CTL CHINA
* @CTL_USER_DEF: CTL USER_DEF
* @CTL_NONE: CTL NONE
*/
enum ctl_value {
CTL_FCC = 0x10,
CTL_ETSI = 0x30,
CTL_MKK = 0x40,
CTL_KOR = 0x50,
CTL_CHN = 0x60,
CTL_USER_DEF = 0x70,
CTL_NONE = 0xff
};
QDF_STATUS reg_get_num_countries(int *num_countries);
QDF_STATUS reg_get_num_reg_dmn_pairs(int *num_reg_dmn);

View file

@ -548,6 +548,26 @@ typedef enum {
REGDOMAIN_COUNT
} v_REGDOMAIN_t;
/**
* enum ctl_value - CTL value
* @CTL_FCC: CTL FCC
* @CTL_MKK: CTL MKK
* @CTL_ETSI: CTL ETSI
* @CTL_KOR: CTL KOR
* @CTL_CHN: CTL CHINA
* @CTL_USER_DEF: CTL USER_DEF
* @CTL_NONE: CTL NONE
*/
enum ctl_value {
CTL_FCC = 0x10,
CTL_ETSI = 0x30,
CTL_MKK = 0x40,
CTL_KOR = 0x50,
CTL_CHN = 0x60,
CTL_USER_DEF = 0x70,
CTL_NONE = 0xff
};
/**
* struct ch_params
* @ch_width: channel width