ath: Fix mismatches in array bounds.
Reported by: GCC -Warray-parameter Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37542
This commit is contained in:
parent
3f89900bf1
commit
c1ebd4c98f
@ -1411,7 +1411,7 @@ extern void ar9300_iq_calibration(struct ath_hal *ah, u_int8_t num_chains);
|
|||||||
extern void ar9300_temp_comp_cal_collect(struct ath_hal *ah);
|
extern void ar9300_temp_comp_cal_collect(struct ath_hal *ah);
|
||||||
extern void ar9300_temp_comp_calibration(struct ath_hal *ah, u_int8_t num_chains);
|
extern void ar9300_temp_comp_calibration(struct ath_hal *ah, u_int8_t num_chains);
|
||||||
extern int16_t ar9300_get_min_cca_pwr(struct ath_hal *ah);
|
extern int16_t ar9300_get_min_cca_pwr(struct ath_hal *ah);
|
||||||
extern void ar9300_upload_noise_floor(struct ath_hal *ah, int is2G, int16_t nfarray[]);
|
extern void ar9300_upload_noise_floor(struct ath_hal *ah, int is2G, int16_t nfarray[HAL_NUM_NF_READINGS]);
|
||||||
|
|
||||||
extern HAL_BOOL ar9300_set_tx_power_limit(struct ath_hal *ah, u_int32_t limit,
|
extern HAL_BOOL ar9300_set_tx_power_limit(struct ath_hal *ah, u_int32_t limit,
|
||||||
u_int16_t extra_txpow, u_int16_t tpc_in_db);
|
u_int16_t extra_txpow, u_int16_t tpc_in_db);
|
||||||
|
@ -574,7 +574,7 @@ extern HAL_BOOL ar5212ResetCalValid(struct ath_hal *ah,
|
|||||||
const struct ieee80211_channel *);
|
const struct ieee80211_channel *);
|
||||||
extern int16_t ar5212GetNoiseFloor(struct ath_hal *ah);
|
extern int16_t ar5212GetNoiseFloor(struct ath_hal *ah);
|
||||||
extern void ar5212InitNfCalHistBuffer(struct ath_hal *);
|
extern void ar5212InitNfCalHistBuffer(struct ath_hal *);
|
||||||
extern int16_t ar5212GetNfHistMid(const int16_t calData[]);
|
extern int16_t ar5212GetNfHistMid(const int16_t calData[AR512_NF_CAL_HIST_MAX]);
|
||||||
extern void ar5212SetSpurMitigation(struct ath_hal *,
|
extern void ar5212SetSpurMitigation(struct ath_hal *,
|
||||||
const struct ieee80211_channel *);
|
const struct ieee80211_channel *);
|
||||||
extern HAL_BOOL ar5212SetAntennaSwitchInternal(struct ath_hal *ah,
|
extern HAL_BOOL ar5212SetAntennaSwitchInternal(struct ath_hal *ah,
|
||||||
|
Loading…
Reference in New Issue
Block a user