svn commit: r194999 - in projects/mesh11s/sys/dev/ath/ath_hal: .
ar5212 ar5416
Sam Leffler
sam at FreeBSD.org
Thu Jun 25 19:39:17 UTC 2009
Author: sam
Date: Thu Jun 25 19:39:16 2009
New Revision: 194999
URL: http://svn.freebsd.org/changeset/base/194999
Log:
Fix typos. Repeat after me: test first, then commit.
Modified:
projects/mesh11s/sys/dev/ath/ath_hal/ah.c
projects/mesh11s/sys/dev/ath/ath_hal/ah.h
projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h
projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c
projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah.c
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ah.c Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ah.c Thu Jun 25 19:39:16 2009 (r194999)
@@ -504,7 +504,7 @@ ath_hal_getcapability(struct ath_hal *ah
*result = pCap->halIntrMask;
return HAL_OK;
case HAL_CAP_BSSIDMATCH: /* hardware has disable bssid match */
- return pCap->halBsssidMatchSupport ? HAL_OK : HAL_ENOTSUPP;
+ return pCap->halBssidMatchSupport ? HAL_OK : HAL_ENOTSUPP;
default:
return HAL_EINVAL;
}
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah.h
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ah.h Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ah.h Thu Jun 25 19:39:16 2009 (r194999)
@@ -297,7 +297,7 @@ typedef enum {
HAL_RX_FILTER_PHYERR = 0x00000100, /* Allow phy errors */
HAL_RX_FILTER_PHYRADAR = 0x00000200, /* Allow phy radar errors */
HAL_RX_FILTER_COMPBAR = 0x00000400, /* Allow compressed BAR */
- HAL_RX_FILTER_BSSID = 0x00000800, /* Force BSSID match */
+ HAL_RX_FILTER_BSSID = 0x00000800, /* Disable BSSID match */
} HAL_RX_FILTER;
typedef enum {
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ah_internal.h Thu Jun 25 19:39:16 2009 (r194999)
@@ -194,7 +194,7 @@ typedef struct {
halForcePpmSupport : 1,
halEnhancedPmSupport : 1,
halMbssidAggrSupport : 1,
- halBsssidMatchSupport : 1;
+ halBssidMatchSupport : 1;
uint32_t halWirelessModes;
uint16_t halTotalQueues;
uint16_t halKeyCacheSize;
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Thu Jun 25 19:39:16 2009 (r194999)
@@ -840,7 +840,7 @@ ar5212FillCapabilityInfo(struct ath_hal
/* h/w phy counters */
pCap->halHwPhyCounterSupport = AH_TRUE;
/* bssid match disable */
- pCap->halBssIdMaskSupport = AH_TRUE;
+ pCap->halBssidMatchSupport = AH_TRUE;
}
pCap->halTstampPrecision = 15;
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ar5212/ar5212_recv.c Thu Jun 25 19:39:16 2009 (r194999)
@@ -163,7 +163,7 @@ ar5212GetRxFilter(struct ath_hal *ah)
bits |= HAL_RX_FILTER_PHYRADAR;
if (phybits & (AR_PHY_ERR_OFDM_TIMING|AR_PHY_ERR_CCK_TIMING))
bits |= HAL_RX_FILTER_PHYERR;
- if (AH_PRIVATE(ah)->ah_caps.halBsssidMatchSupport &&
+ if (AH_PRIVATE(ah)->ah_caps.halBssidMatchSupport &&
(OS_REG_READ(ah, AR_MISC_MODE) & AR_MISC_MODE_BSSID_MATCH_FORCE))
bits |= HAL_RX_FILTER_BSSID;
return bits;
@@ -193,7 +193,7 @@ ar5212SetRxFilter(struct ath_hal *ah, ui
OS_REG_WRITE(ah, AR_RXCFG,
OS_REG_READ(ah, AR_RXCFG) &~ AR_RXCFG_ZLFDMA);
}
- if (AH_PRIVATE(ah)->ah_caps.halBsssidMatchSupport) {
+ if (AH_PRIVATE(ah)->ah_caps.halBssidMatchSupport) {
uint32_t miscbits = OS_REG_READ(ah, AR_MISC_MODE);
if (bits & HAL_RX_FILTER_BSSID)
miscbits |= AR_MISC_MODE_BSSID_MATCH_FORCE;
Modified: projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
==============================================================================
--- projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Jun 25 19:38:14 2009 (r194998)
+++ projects/mesh11s/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Thu Jun 25 19:39:16 2009 (r194999)
@@ -811,7 +811,7 @@ ar5416FillCapabilityInfo(struct ath_hal
pCap->halMbssidAggrSupport = AH_TRUE;
pCap->halForcePpmSupport = AH_TRUE;
pCap->halEnhancedPmSupport = AH_TRUE;
- pCap->halBsssidMatchSupport = AH_TRUE;
+ pCap->halBssidMatchSupport = AH_TRUE;
if (ath_hal_eepromGetFlag(ah, AR_EEP_RFKILL) &&
ath_hal_eepromGet(ah, AR_EEP_RFSILENT, &ahpriv->ah_rfsilent) == HAL_OK) {
More information about the svn-src-projects
mailing list