Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 18:54:53 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r187230 - user/sam/wifi/sys/dev/ath/ath_hal
Message-ID:  <200901141854.n0EIsr4N051053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901141854.n0EIsr4N051053>