mt76: mmio: move mt76_insert_hdr_pad in mt76_dma_tx_queue_skb
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 14 Mar 2019 13:54:10 +0000 (14:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 1 May 2019 11:03:55 +0000 (13:03 +0200)
commit66105538a62a12db132e28918118cbb14f4afbd2
tree1384e23504a21c5739a9588e1f6a62c0a18678ab
parent3bb45b5febc076cde5816d11a8e81b6343268504
mt76: mmio: move mt76_insert_hdr_pad in mt76_dma_tx_queue_skb

Introduce tx_aligned4_skbs in mt76_driver_ops and move
mt76_insert_hdr_pad in mt76_dma_tx_queue_skb. This is a preliminary
patch in order to unify tx dma mapping for mt76x02 and new chipsets

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/mt76x0/pci.c
drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c
drivers/net/wireless/mediatek/mt76/mt76x2/pci.c