Date: Fri, 8 Apr 2011 08:49:51 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220444 - head/sys/dev/ath/ath_hal Message-ID: <201104080849.p388npUA069522@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Apr 8 08:49:50 2011 New Revision: 220444 URL: http://svn.freebsd.org/changeset/base/220444 Log: Fix the completely wrong types I used in the previous commit. Modified: head/sys/dev/ath/ath_hal/ah.c head/sys/dev/ath/ath_hal/ah.h head/sys/dev/ath/ath_hal/ah_internal.h Modified: head/sys/dev/ath/ath_hal/ah.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah.c Fri Apr 8 07:44:00 2011 (r220443) +++ head/sys/dev/ath/ath_hal/ah.c Fri Apr 8 08:49:50 2011 (r220444) @@ -903,8 +903,8 @@ ath_hal_getChanNoise(struct ath_hal *ah, */ int ath_hal_get_mimo_chan_noise(struct ath_hal *ah, - const struct ieee80211_channel *chan, uint8_t *nf_ctl, - uint8_t *nf_ext) + const struct ieee80211_channel *chan, int16_t *nf_ctl, + int16_t *nf_ext) { HAL_CHANNEL_INTERNAL *ichan; int i; Modified: head/sys/dev/ath/ath_hal/ah.h ============================================================================== --- head/sys/dev/ath/ath_hal/ah.h Fri Apr 8 07:44:00 2011 (r220443) +++ head/sys/dev/ath/ath_hal/ah.h Fri Apr 8 08:49:50 2011 (r220444) @@ -955,8 +955,8 @@ extern HAL_STATUS __ahdecl ath_hal_set_c * radio. Returns 1 for valid results, 0 for invalid channel. */ extern int __ahdecl ath_hal_get_mimo_chan_noise(struct ath_hal *ah, - const struct ieee80211_channel *chan, uint8_t *nf_ctl, - uint8_t *nf_ext); + const struct ieee80211_channel *chan, int16_t *nf_ctl, + int16_t *nf_ext); /* * Calibrate noise floor data following a channel scan or similar. Modified: head/sys/dev/ath/ath_hal/ah_internal.h ============================================================================== --- head/sys/dev/ath/ath_hal/ah_internal.h Fri Apr 8 07:44:00 2011 (r220443) +++ head/sys/dev/ath/ath_hal/ah_internal.h Fri Apr 8 08:49:50 2011 (r220444) @@ -144,8 +144,8 @@ typedef struct { int16_t rawNoiseFloor; int16_t noiseFloorAdjust; #ifdef AH_SUPPORT_AR5416 - uint8_t noiseFloorCtl[AH_MIMO_MAX_CHAINS]; - uint8_t noiseFloorExt[AH_MIMO_MAX_CHAINS]; + int16_t noiseFloorCtl[AH_MIMO_MAX_CHAINS]; + int16_t noiseFloorExt[AH_MIMO_MAX_CHAINS]; #endif /* AH_SUPPORT_AR5416 */ uint16_t mainSpur; /* cached spur value for this channel */ } HAL_CHANNEL_INTERNAL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104080849.p388npUA069522>