summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2.h
diff options
context:
space:
mode:
authorLorenzo Bianconi2018-07-31 10:09:13 +0200
committerKalle Valo2018-08-02 20:48:06 +0200
commit9367a9c7f956c02a696af111d46e155fb8f2412a (patch)
tree4410cd01d04897ae50f81eaaba05ba9d6f14acfa /drivers/net/wireless/mediatek/mt76/mt76x2.h
parentmt76: introduce mt76x2-common module (diff)
downloadkernel-qcow2-linux-9367a9c7f956c02a696af111d46e155fb8f2412a.tar.gz
kernel-qcow2-linux-9367a9c7f956c02a696af111d46e155fb8f2412a.tar.xz
kernel-qcow2-linux-9367a9c7f956c02a696af111d46e155fb8f2412a.zip
mt76: add mt76x2_tx_common to mt76x2-common module
Move tx related code shared between mt76x2 and mt76x2u in mt76x2-common module Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2.h
index 896549c2fcbb..af9259cd6d42 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2.h
@@ -280,4 +280,6 @@ s8 mt76x2_tx_get_max_txpwr_adj(struct mt76x2_dev *dev,
s8 mt76x2_tx_get_txpwr_adj(struct mt76x2_dev *dev, s8 txpwr, s8 max_txpwr_adj);
void mt76x2_tx_set_txpwr_auto(struct mt76x2_dev *dev, s8 txpwr);
+int mt76x2_insert_hdr_pad(struct sk_buff *skb);
+
#endif