mt76: dma: introduce skb field in mt76_txwi_cache
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 2 Apr 2019 09:47:58 +0000 (11:47 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:58 +0000 (13:03 +0200)
commit6ca66722a887e38f82b50a4b41e43b6af0794ed2
treef4c0a86a33d9696bdcc0ab2dea9c9547d3965e63
parentcfaae9e67cf13011ce6d6ddd61eacff8f72b7bad
mt76: dma: introduce skb field in mt76_txwi_cache

Introduce skb field in mt76_txwi_cache. Moreover add txwi_flags
to mt76_driver_ops since new chipsets will release mt76_txwi_cache/skbs
at tx completion instead of dma one.
This is a preliminary patch to add mt7615 support

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/tx.c