summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwi/if_iwivar.h
diff options
context:
space:
mode:
authordamien <damien@FreeBSD.org>2005-08-20 16:49:03 +0000
committerdamien <damien@FreeBSD.org>2005-08-20 16:49:03 +0000
commitd3d084c7ccf7e8a7827e5530641bf9335d33eedc (patch)
treec1c2821a54a54c2307ac3859f09f5eb676c73237 /sys/dev/iwi/if_iwivar.h
parent78a1b1beb47866d8c70bf7e8efd8007e2f6eacf8 (diff)
downloadFreeBSD-src-d3d084c7ccf7e8a7827e5530641bf9335d33eedc.zip
FreeBSD-src-d3d084c7ccf7e8a7827e5530641bf9335d33eedc.tar.gz
Add some necessary bits for upcoming 802.11e support:
o management of multiple tx rings (up to 4) o setting of WME IE in association requests Some features are still missing though, like the possibility to override the default cwmin/cwmax/asfn values of each tx queues.
Diffstat (limited to 'sys/dev/iwi/if_iwivar.h')
-rw-r--r--sys/dev/iwi/if_iwivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/iwi/if_iwivar.h b/sys/dev/iwi/if_iwivar.h
index 2e8bcab..ff9d9b3 100644
--- a/sys/dev/iwi/if_iwivar.h
+++ b/sys/dev/iwi/if_iwivar.h
@@ -86,6 +86,8 @@ struct iwi_tx_ring {
bus_dma_tag_t data_dmat;
bus_dmamap_t desc_map;
bus_addr_t physaddr;
+ bus_addr_t csr_ridx;
+ bus_addr_t csr_widx;
struct iwi_tx_desc *desc;
struct iwi_tx_data *data;
int count;
@@ -125,7 +127,7 @@ struct iwi_softc {
#define IWI_FLAG_SCANNING (1 << 3)
struct iwi_cmd_ring cmdq;
- struct iwi_tx_ring txq;
+ struct iwi_tx_ring txq[WME_NUM_AC];
struct iwi_rx_ring rxq;
struct resource *irq;
OpenPOWER on IntegriCloud