summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_rate/sample/sample.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-15 07:10:10 +0000
committeradrian <adrian@FreeBSD.org>2012-08-15 07:10:10 +0000
commit927418e50b37d8399f2d5689a4d16230df2efb13 (patch)
tree5770d3d1c8e8df935dc037dee14cdede617a9cf4 /sys/dev/ath/ath_rate/sample/sample.h
parent781aafc3e578c3bb38ab7fd7dd5f6b8cbaf302df (diff)
downloadFreeBSD-src-927418e50b37d8399f2d5689a4d16230df2efb13.zip
FreeBSD-src-927418e50b37d8399f2d5689a4d16230df2efb13.tar.gz
Extend the sample mask from 32 bits to 64 bits.
This is required to support > MCS15 as more than 32 bit rate entries are suddenly available. This is quite messy - instead of doing typecasts at each mask operation, this should be migrated to use a macro and have that do the typecast.
Diffstat (limited to 'sys/dev/ath/ath_rate/sample/sample.h')
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.h b/sys/dev/ath/ath_rate/sample/sample.h
index b9e7230..7438a3d 100644
--- a/sys/dev/ath/ath_rate/sample/sample.h
+++ b/sys/dev/ath/ath_rate/sample/sample.h
@@ -91,7 +91,7 @@ bin_to_size(int index)
struct sample_node {
int static_rix; /* rate index of fixed tx rate */
#define SAMPLE_MAXRATES 64 /* NB: corresponds to hal info[32] */
- uint32_t ratemask; /* bit mask of valid rate indices */
+ uint64_t ratemask; /* bit mask of valid rate indices */
const struct txschedule *sched; /* tx schedule table */
const HAL_RATE_TABLE *currates;
OpenPOWER on IntegriCloud