if_athvar.h (22a3aee637a6d1f7b6a5538dd2d3216b9fa98d45) | if_athvar.h (9be82a4209213b335b9e52ed27ab35919503ae10) |
---|---|
1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 313 unchanged lines hidden (view full) --- 322 * hardware queue). 323 */ 324struct ath_txq { 325 struct ath_softc *axq_softc; /* Needed for scheduling */ 326 u_int axq_qnum; /* hardware q number */ 327#define ATH_TXQ_SWQ (HAL_NUM_TX_QUEUES+1) /* qnum for s/w only queue */ 328 u_int axq_ac; /* WME AC */ 329 u_int axq_flags; | 1/*- 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 313 unchanged lines hidden (view full) --- 322 * hardware queue). 323 */ 324struct ath_txq { 325 struct ath_softc *axq_softc; /* Needed for scheduling */ 326 u_int axq_qnum; /* hardware q number */ 327#define ATH_TXQ_SWQ (HAL_NUM_TX_QUEUES+1) /* qnum for s/w only queue */ 328 u_int axq_ac; /* WME AC */ 329 u_int axq_flags; |
330#define ATH_TXQ_PUTPENDING 0x0001 /* ath_hal_puttxbuf pending */ | 330//#define ATH_TXQ_PUTPENDING 0x0001 /* ath_hal_puttxbuf pending */ 331#define ATH_TXQ_PUTRUNNING 0x0002 /* ath_hal_puttxbuf has been called */ |
331 u_int axq_depth; /* queue depth (stat only) */ 332 u_int axq_aggr_depth; /* how many aggregates are queued */ 333 u_int axq_intrcnt; /* interrupt count */ 334 u_int32_t *axq_link; /* link ptr in last TX desc */ 335 TAILQ_HEAD(axq_q_s, ath_buf) axq_q; /* transmit queue */ 336 struct mtx axq_lock; /* lock on q and link */ 337 338 /* --- 1085 unchanged lines hidden --- | 332 u_int axq_depth; /* queue depth (stat only) */ 333 u_int axq_aggr_depth; /* how many aggregates are queued */ 334 u_int axq_intrcnt; /* interrupt count */ 335 u_int32_t *axq_link; /* link ptr in last TX desc */ 336 TAILQ_HEAD(axq_q_s, ath_buf) axq_q; /* transmit queue */ 337 struct mtx axq_lock; /* lock on q and link */ 338 339 /* --- 1085 unchanged lines hidden --- |