ath,ar9170: move CTL_ defines into regd.h
The ar9170 driver needs the defines for conformance test limit groups and cannot include regd_common.h Signed-off-by: Joerg Albert <jal2@gmx.de> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
e6c463e3a3
commit
7f42c37aa6
|
@ -22,6 +22,12 @@
|
||||||
|
|
||||||
#include "ath.h"
|
#include "ath.h"
|
||||||
|
|
||||||
|
enum ctl_group {
|
||||||
|
CTL_FCC = 0x10,
|
||||||
|
CTL_MKK = 0x40,
|
||||||
|
CTL_ETSI = 0x30,
|
||||||
|
};
|
||||||
|
|
||||||
#define NO_CTL 0xff
|
#define NO_CTL 0xff
|
||||||
#define SD_NO_CTL 0xE0
|
#define SD_NO_CTL 0xE0
|
||||||
#define NO_CTL 0xff
|
#define NO_CTL 0xff
|
||||||
|
|
|
@ -154,12 +154,6 @@ enum EnumRd {
|
||||||
DEBUG_REG_DMN = 0x01ff,
|
DEBUG_REG_DMN = 0x01ff,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ctl_group {
|
|
||||||
CTL_FCC = 0x10,
|
|
||||||
CTL_MKK = 0x40,
|
|
||||||
CTL_ETSI = 0x30,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Regpair to CTL band mapping */
|
/* Regpair to CTL band mapping */
|
||||||
static struct reg_dmn_pair_mapping regDomainPairs[] = {
|
static struct reg_dmn_pair_mapping regDomainPairs[] = {
|
||||||
/* regpair, 5 GHz CTL, 2 GHz CTL */
|
/* regpair, 5 GHz CTL, 2 GHz CTL */
|
||||||
|
|
Loading…
Reference in a new issue