svn commit: r187230 - user/sam/wifi/sys/dev/ath/ath_hal
Sam Leffler
sam at FreeBSD.org
Wed Jan 14 10:54:55 PST 2009
Author: sam
Date: Wed Jan 14 18:54:53 2009
New Revision: 187230
URL: http://svn.freebsd.org/changeset/base/187230
Log:
Start cleaning up internal channel data structure:
o purge unused bssSendHere
o store iqCalValid's HAL_BOOL value in an uint8_t so it packs well
o shuffle some members to improve struct packing; we still have a
big hole at the end but it'll go away shortly
Modified:
user/sam/wifi/sys/dev/ath/ath_hal/ah_internal.h
Modified: user/sam/wifi/sys/dev/ath/ath_hal/ah_internal.h
==============================================================================
--- user/sam/wifi/sys/dev/ath/ath_hal/ah_internal.h Wed Jan 14 18:23:13 2009 (r187229)
+++ user/sam/wifi/sys/dev/ath/ath_hal/ah_internal.h Wed Jan 14 18:54:53 2009 (r187230)
@@ -120,18 +120,16 @@ typedef struct {
int8_t maxTxPower;
int8_t minTxPower; /* as above... */
- HAL_BOOL bssSendHere;
- uint8_t gainI;
- HAL_BOOL iqCalValid;
- uint8_t calValid; /* bitmask of cal types */
+ uint8_t iqCalValid; /* NB: really HAL_BOOL */
+ uint8_t calValid; /* bitmask of cal types */
int8_t iCoff;
int8_t qCoff;
int16_t rawNoiseFloor;
int16_t noiseFloorAdjust;
- int8_t antennaMax;
- uint32_t regDmnFlags; /* Flags for channel use in reg */
+ uint16_t mainSpur; /* cached spur value for this cahnnel */
+ uint32_t regDmnFlags; /* Flags for channel use in reg */
uint32_t conformanceTestLimit; /* conformance test limit from reg domain */
- uint16_t mainSpur; /* cached spur value for this cahnnel */
+ int8_t antennaMax;
} HAL_CHANNEL_INTERNAL;
typedef struct {
More information about the svn-src-user
mailing list