Add a new HAL method - the AR93xx and later NICs have a separate

TX descriptor ring for TX status completion. This API call will pass
the allocated buffer details to the HAL.
This commit is contained in:
Adrian Chadd 2012-07-24 01:18:19 +00:00
parent e24497193b
commit 59a7572437
2 changed files with 6 additions and 0 deletions

View file

@ -1090,6 +1090,9 @@ struct ath_hal {
uint32_t *link);
void __ahdecl(*ah_getTxDescLinkPtr)(struct ath_hal *ah, void *ds,
uint32_t **linkptr);
void __ahdecl(*ah_setupTxStatusRing)(struct ath_hal *,
void *ts_start, uint32_t ts_paddr_start,
uint16_t size);
/* Receive Functions */
uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*, HAL_RX_QUEUE);

View file

@ -1099,6 +1099,9 @@ void ath_intr(void *);
((*(_ah)->ah_getTxDescLink)((_ah), (_ds), (_link)))
#define ath_hal_gettxdesclinkptr(_ah, _ds, _linkptr) \
((*(_ah)->ah_getTxDescLinkPtr)((_ah), (_ds), (_linkptr)))
#define ath_hal_setuptxstatusring(_ah, _tsstart, _tspstart, _size) \
((*(_ah)->ah_setupTxStatusRing)((_ah), (_tsstart), (_tspstart), \
(_size)))
#define ath_hal_setupfirsttxdesc(_ah, _ds, _aggrlen, _flags, _txpower, \
_txr0, _txtr0, _antm, _rcr, _rcd) \