summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-04-08 08:49:50 +0000
committeradrian <adrian@FreeBSD.org>2011-04-08 08:49:50 +0000
commit416bdcba5e6296557c941806cd8ce943d47a90ff (patch)
treee6f6827922fcf05de54affd419b2f773789c7f52 /sys
parent85cfc21c68871aa6b15f78cbe9db38f92bc04e9b (diff)
downloadFreeBSD-src-416bdcba5e6296557c941806cd8ce943d47a90ff.zip
FreeBSD-src-416bdcba5e6296557c941806cd8ce943d47a90ff.tar.gz
Fix the completely wrong types I used in the previous commit.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ath/ath_hal/ah.c4
-rw-r--r--sys/dev/ath/ath_hal/ah.h4
-rw-r--r--sys/dev/ath/ath_hal/ah_internal.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ath/ath_hal/ah.c b/sys/dev/ath/ath_hal/ah.c
index b3d3881..1391395 100644
--- a/sys/dev/ath/ath_hal/ah.c
+++ b/sys/dev/ath/ath_hal/ah.c
@@ -903,8 +903,8 @@ ath_hal_getChanNoise(struct ath_hal *ah, const struct ieee80211_channel *chan)
*/
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;
diff --git a/sys/dev/ath/ath_hal/ah.h b/sys/dev/ath/ath_hal/ah.h
index 4303cd6..af0d7a6 100644
--- a/sys/dev/ath/ath_hal/ah.h
+++ b/sys/dev/ath/ath_hal/ah.h
@@ -955,8 +955,8 @@ extern HAL_STATUS __ahdecl ath_hal_set_channels(struct ath_hal *,
* 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.
diff --git a/sys/dev/ath/ath_hal/ah_internal.h b/sys/dev/ath/ath_hal/ah_internal.h
index c78c0bd..9ee87a6 100644
--- a/sys/dev/ath/ath_hal/ah_internal.h
+++ b/sys/dev/ath/ath_hal/ah_internal.h
@@ -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;
OpenPOWER on IntegriCloud