summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-07 06:23:23 +0000
committeradrian <adrian@FreeBSD.org>2012-11-07 06:23:23 +0000
commit19f287cb030a2886acbc3b69e186b42c1ac3ffd9 (patch)
tree67fbe85124fbda3155d8bc2c0fc58a3e6fc21aae /sys/dev
parent4f8fc97af9003fdb83efccc634a101bb0b795dfe (diff)
downloadFreeBSD-src-19f287cb030a2886acbc3b69e186b42c1ac3ffd9.zip
FreeBSD-src-19f287cb030a2886acbc3b69e186b42c1ac3ffd9.tar.gz
Add new HAL configuration features for the updated AR9300 HAL.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/ath_hal/ah.h3
-rw-r--r--sys/dev/ath/ath_hal/ah_debug.h1
-rw-r--r--sys/dev/ath/ath_hal/ah_internal.h4
3 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ah.h b/sys/dev/ath/ath_hal/ah.h
index bce46c9..12e9204 100644
--- a/sys/dev/ath/ath_hal/ah.h
+++ b/sys/dev/ath/ath_hal/ah.h
@@ -1215,6 +1215,9 @@ typedef struct
int ath_hal_enable_ani; /* should set this.. */
int ath_hal_cwm_ignore_ext_cca;
int ath_hal_show_bb_panic;
+ int ath_hal_ant_ctrl_comm2g_switch_enable;
+ int ath_hal_ext_atten_margin_cfg;
+ int ath_hal_war70c;
} HAL_OPS_CONFIG;
/*
diff --git a/sys/dev/ath/ath_hal/ah_debug.h b/sys/dev/ath/ath_hal/ah_debug.h
index 6cd2627..c5aac60 100644
--- a/sys/dev/ath/ath_hal/ah_debug.h
+++ b/sys/dev/ath/ath_hal/ah_debug.h
@@ -52,6 +52,7 @@ enum {
HAL_DEBUG_CHANNEL = 0x02000000,
HAL_DEBUG_QUEUE = 0x04000000,
HAL_DEBUG_PRINT_REG = 0x08000000,
+ HAL_DEBUG_FCS_RTT = 0x10000000,
HAL_DEBUG_UNMASKABLE = 0x80000000, /* always printed */
HAL_DEBUG_ANY = 0xffffffff
diff --git a/sys/dev/ath/ath_hal/ah_internal.h b/sys/dev/ath/ath_hal/ah_internal.h
index 416130c..2d1087a 100644
--- a/sys/dev/ath/ath_hal/ah_internal.h
+++ b/sys/dev/ath/ath_hal/ah_internal.h
@@ -276,7 +276,9 @@ typedef struct {
halApmEnable : 1,
halIntrMitigation : 1,
hal49GhzSupport : 1,
- halAntDivCombSupport : 1;
+ halAntDivCombSupport : 1,
+ halAntDivCombSupportOrg : 1,
+ halRadioRetentionSupport : 1;
uint32_t halWirelessModes;
uint16_t halTotalQueues;
OpenPOWER on IntegriCloud