summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ah_internal.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-24 00:09:49 +0000
committeradrian <adrian@FreeBSD.org>2012-08-24 00:09:49 +0000
commit2a095635a7c1b4490fa3e842957c1dfabe956fdc (patch)
tree1be3843b93e1f9f07e51acc851be42d90e6ad8bf /sys/dev/ath/ath_hal/ah_internal.h
parentc0d788882dc33b1a15e9927136adb29244527f31 (diff)
downloadFreeBSD-src-2a095635a7c1b4490fa3e842957c1dfabe956fdc.zip
FreeBSD-src-2a095635a7c1b4490fa3e842957c1dfabe956fdc.tar.gz
Add some new flags:
* mfp support; * 4.9ghz support in the HAL; * device type - specifically, the bus type and whether it's a HB63 NIC (which requires some subtle chainmask handling differences in the AR5416 HAL.) Obtained from: Qualcomm Atheros
Diffstat (limited to 'sys/dev/ath/ath_hal/ah_internal.h')
-rw-r--r--sys/dev/ath/ath_hal/ah_internal.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ah_internal.h b/sys/dev/ath/ath_hal/ah_internal.h
index 200b84e..69428cc 100644
--- a/sys/dev/ath/ath_hal/ah_internal.h
+++ b/sys/dev/ath/ath_hal/ah_internal.h
@@ -228,7 +228,8 @@ typedef struct {
halEnhancedDmaSupport : 1;
uint32_t halIsrRacSupport : 1,
halApmEnable : 1,
- halIntrMitigation : 1;
+ halIntrMitigation : 1,
+ hal49GhzSupport : 1;
uint32_t halWirelessModes;
uint16_t halTotalQueues;
@@ -245,7 +246,7 @@ typedef struct {
uint32_t halIntrMask;
uint8_t halTxStreams;
uint8_t halRxStreams;
-
+ HAL_MFP_OPT_T halMfpSupport;
int halNumTxMaps;
int halTxDescLen;
int halTxStatusLen;
@@ -258,6 +259,12 @@ typedef struct {
struct regDomain;
/*
+ * Definitions for ah_flags in ath_hal_private
+ */
+#define AH_USE_EEPROM 0x1
+#define AH_IS_HB63 0x2
+
+/*
* The ``private area'' follows immediately after the ``public area''
* in the data structure returned by ath_hal_attach. Private data are
* used by device-independent code such as the regulatory domain support.
@@ -316,7 +323,9 @@ struct ath_hal_private {
uint16_t ah_phyRev; /* PHY revision */
uint16_t ah_analog5GhzRev; /* 2GHz radio revision */
uint16_t ah_analog2GhzRev; /* 5GHz radio revision */
+ uint32_t ah_flags; /* misc flags */
uint8_t ah_ispcie; /* PCIE, special treatment */
+ uint8_t ah_devType; /* card type - CB, PCI, PCIe */
HAL_OPMODE ah_opmode; /* operating mode from reset */
const struct ieee80211_channel *ah_curchan;/* operating channel */
OpenPOWER on IntegriCloud