summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-10-27 17:16:46 +0000
committersam <sam@FreeBSD.org>2008-10-27 17:16:46 +0000
commit23c8556e7e9d1c874c3e644fa41ae779e43c7838 (patch)
tree1c87a689f3f9c34aca892bfcbd991960e2db7f73
parent216fa3b455113206831a8d053500104741c0bcd5 (diff)
downloadFreeBSD-src-23c8556e7e9d1c874c3e644fa41ae779e43c7838.zip
FreeBSD-src-23c8556e7e9d1c874c3e644fa41ae779e43c7838.tar.gz
rename bf_flags to bf_txflags in preparation for the addition of flags
separate from the tx descriptor flags currently recorded
-rw-r--r--sys/dev/ath/if_ath.c8
-rw-r--r--sys/dev/ath/if_athvar.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 81d2248..9fbab9b 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -4958,7 +4958,7 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf
, ctsrate /* rts/cts rate */
, ctsduration /* rts/cts duration */
);
- bf->bf_flags = flags;
+ bf->bf_txflags = flags;
/*
* Setup the multi-rate retry state only when we're
* going to use it. This assumes ath_hal_setuptxdesc
@@ -5054,7 +5054,7 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
* Hand the descriptor to the rate control algorithm.
*/
if ((ts->ts_status & HAL_TXERR_FILT) == 0 &&
- (bf->bf_flags & HAL_TXDESC_NOACK) == 0) {
+ (bf->bf_txflags & HAL_TXDESC_NOACK) == 0) {
/*
* If frame was ack'd update the last rx time
* used to workaround phantom bmiss interrupts.
@@ -6220,7 +6220,7 @@ ath_printtxbuf(const struct ath_buf *bf, u_int qnum, u_int ix, int done)
printf(" (DS.V:%p DS.P:%p) L:%08x D:%08x F:04%x%s\n"
" %08x %08x %08x %08x %08x %08x\n",
ds, (const struct ath_desc *)bf->bf_daddr + i,
- ds->ds_link, ds->ds_data, bf->bf_flags,
+ ds->ds_link, ds->ds_data, bf->bf_txflags,
!done ? "" : (ts->ts_status == 0) ? " *" : " !",
ds->ds_ctl0, ds->ds_ctl1,
ds->ds_hw[0], ds->ds_hw[1], ds->ds_hw[2], ds->ds_hw[3]);
@@ -6863,7 +6863,7 @@ ath_tx_raw_start(struct ath_softc *sc, struct ieee80211_node *ni,
, ctsrate /* rts/cts rate */
, ctsduration /* rts/cts duration */
);
- bf->bf_flags = flags;
+ bf->bf_txflags = flags;
if (ismrr) {
rix = ath_tx_findrix(rt, params->ibp_rate1);
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index 4a7eefa..a62db40 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -106,7 +106,7 @@ struct ath_buf {
TAILQ_ENTRY(ath_buf) bf_stagelist; /* stage queue list */
u_int32_t bf_age; /* age when placed on stageq */
int bf_nseg;
- int bf_flags; /* tx descriptor flags */
+ int bf_txflags; /* tx descriptor flags */
struct ath_desc *bf_desc; /* virtual addr of desc */
struct ath_desc_status bf_status; /* tx/rx status */
bus_addr_t bf_daddr; /* physical addr of desc */
OpenPOWER on IntegriCloud