svn commit: r249639 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Fri Apr 19 06:59:11 UTC 2013
Author: adrian
Date: Fri Apr 19 06:59:10 2013
New Revision: 249639
URL: http://svnweb.freebsd.org/changeset/base/249639
Log:
Use uint32_t for fields that are fetched via ath_hal_getcapability().
Modified:
head/sys/dev/ath/if_ath.c
head/sys/dev/ath/if_athvar.h
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Fri Apr 19 05:50:57 2013 (r249638)
+++ head/sys/dev/ath/if_ath.c Fri Apr 19 06:59:10 2013 (r249639)
@@ -739,7 +739,7 @@ ath_attach(u_int16_t devid, struct ath_s
*/
if (ath_hal_getcapability(ah, HAL_CAP_HT, 0, NULL) == HAL_OK &&
(wmodes & (HAL_MODE_HT20 | HAL_MODE_HT40))) {
- int rxs, txs;
+ uint32_t rxs, txs;
device_printf(sc->sc_dev, "[HT] enabling HT modes\n");
Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h Fri Apr 19 05:50:57 2013 (r249638)
+++ head/sys/dev/ath/if_athvar.h Fri Apr 19 06:59:10 2013 (r249639)
@@ -772,11 +772,11 @@ struct ath_softc {
u_int32_t sc_avgtsfdeltap;/* TDMA slot adjust (+) */
u_int32_t sc_avgtsfdeltam;/* TDMA slot adjust (-) */
uint16_t *sc_eepromdata; /* Local eeprom data, if AR9100 */
- int sc_txchainmask; /* hardware TX chainmask */
- int sc_rxchainmask; /* hardware RX chainmask */
- int sc_cur_txchainmask; /* currently configured TX chainmask */
- int sc_cur_rxchainmask; /* currently configured RX chainmask */
- int sc_rts_aggr_limit; /* TX limit on RTS aggregates */
+ uint32_t sc_txchainmask; /* hardware TX chainmask */
+ uint32_t sc_rxchainmask; /* hardware RX chainmask */
+ uint32_t sc_cur_txchainmask; /* currently configured TX chainmask */
+ uint32_t sc_cur_rxchainmask; /* currently configured RX chainmask */
+ uint32_t sc_rts_aggr_limit; /* TX limit on RTS aggregates */
int sc_aggr_limit; /* TX limit on all aggregates */
int sc_delim_min_pad; /* Minimum delimiter count */
More information about the svn-src-head
mailing list