summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-01-07 19:04:42 +0000
committersam <sam@FreeBSD.org>2004-01-07 19:04:42 +0000
commite8f2adc9cfe2a3624bd8404dbfb1282b4ced623a (patch)
treedfae8e2885a555639168eb00aad55e457087b522 /sys/dev/ath
parentba2fe50a76e75d7873efeed36c9ce8945499ef18 (diff)
downloadFreeBSD-src-e8f2adc9cfe2a3624bd8404dbfb1282b4ced623a.zip
FreeBSD-src-e8f2adc9cfe2a3624bd8404dbfb1282b4ced623a.tar.gz
make hw.ath.outdoor and hw.ath.countrycode tunables
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 5343792..034e302 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -149,9 +149,11 @@ SYSCTL_INT(_hw_ath, OID_AUTO, calibrate, CTLFLAG_RW, &ath_calinterval,
static int ath_outdoor = AH_TRUE; /* outdoor operation */
SYSCTL_INT(_hw_ath, OID_AUTO, outdoor, CTLFLAG_RD, &ath_outdoor,
0, "enable/disable outdoor operation");
+TUNABLE_INT("hw.ath.outdoor", &ath_outdoor);
static int ath_countrycode = CTRY_DEFAULT; /* country code */
SYSCTL_INT(_hw_ath, OID_AUTO, countrycode, CTLFLAG_RD, &ath_countrycode,
0, "country code");
+TUNABLE_INT("hw.ath.countrycode", &ath_countrycode);
static int ath_regdomain = 0; /* regulatory domain */
SYSCTL_INT(_hw_ath, OID_AUTO, regdomain, CTLFLAG_RD, &ath_regdomain,
0, "regulatory domain");
OpenPOWER on IntegriCloud