summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-10 19:25:43 +0000
committeradrian <adrian@FreeBSD.org>2012-04-10 19:25:43 +0000
commitc2d174fcfd76cebd7724bbb555fac3f84d27842f (patch)
tree055e832a32049757ac8010a406f911e3abf6455f
parente1c6390e1202c7ff9a0d927f04fd68267819dd5d (diff)
downloadFreeBSD-src-c2d174fcfd76cebd7724bbb555fac3f84d27842f.zip
FreeBSD-src-c2d174fcfd76cebd7724bbb555fac3f84d27842f.tar.gz
Convert the flags over to a set of bit flags.
-rw-r--r--sys/dev/ath/if_athvar.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index 1b2b9ab..3343cd0 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -206,18 +206,19 @@ struct ath_buf {
uint16_t bfs_nframes; /* number of frames in aggregate */
uint16_t bfs_ndelim; /* number of delims for padding */
- int bfs_aggr:1; /* part of aggregate? */
- int bfs_aggrburst:1; /* part of aggregate burst? */
- int bfs_isretried:1; /* retried frame? */
- int bfs_dobaw:1; /* actually check against BAW? */
- int bfs_addedbaw:1; /* has been added to the BAW */
- int bfs_shpream:1; /* use short preamble */
- int bfs_istxfrag:1; /* is fragmented */
- int bfs_ismrr:1; /* do multi-rate TX retry */
- int bfs_doprot:1; /* do RTS/CTS based protection */
- int bfs_doratelookup:1; /* do rate lookup before each TX */
- int bfs_need_seqno:1; /* need to assign a seqno for aggregation */
- int bfs_seqno_assigned:1; /* seqno has been assigned */
+ u_int32_t bfs_aggr:1, /* part of aggregate? */
+ bfs_aggrburst:1, /* part of aggregate burst? */
+ bfs_isretried:1, /* retried frame? */
+ bfs_dobaw:1, /* actually check against BAW? */
+ bfs_addedbaw:1, /* has been added to the BAW */
+ bfs_shpream:1, /* use short preamble */
+ bfs_istxfrag:1, /* is fragmented */
+ bfs_ismrr:1, /* do multi-rate TX retry */
+ bfs_doprot:1, /* do RTS/CTS based protection */
+ bfs_doratelookup:1, /* do rate lookup before each TX */
+ bfs_need_seqno:1, /* need to assign a seqno for aggr */
+ bfs_seqno_assigned:1; /* seqno has been assigned */
+
int bfs_nfl; /* next fragment length */
/*
OpenPOWER on IntegriCloud