Fix the completely wrong types I used in the previous commit.
This commit is contained in:
parent
82c30dc46e
commit
7ab2ab919c
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user