summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2.h
diff options
context:
space:
mode:
authorLorenzo Bianconi2018-09-09 23:57:57 +0200
committerFelix Fietkau2018-09-19 12:31:33 +0200
commitf7bbb80f22166387248b26353336a8300f05e555 (patch)
tree9fd4f9aadb486aea3f6d3cbf617343c95738c915 /drivers/net/wireless/mediatek/mt76/mt76x2.h
parentmt76x2: remove leftover mt76u_buf data structure in mt76x2_mcu (diff)
downloadkernel-qcow2-linux-f7bbb80f22166387248b26353336a8300f05e555.tar.gz
kernel-qcow2-linux-f7bbb80f22166387248b26353336a8300f05e555.tar.xz
kernel-qcow2-linux-f7bbb80f22166387248b26353336a8300f05e555.zip
mt76: introduce mmio data structure in mt76_dev
Introduce mt76_mmio data structure in mt76_dev and move mt76x2_mcu in mt76_mmio. This is a preliminary patch to unify mcu code between mt76x02{e,u} drivers Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x2.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2.h
index 5449d38d2f35..07400d9aba3f 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x2.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x2.h
@@ -47,15 +47,6 @@
#include "mt76x2_mac.h"
#include "mt76x2_dfs.h"
-struct mt76x2_mcu {
- struct mutex mutex;
-
- wait_queue_head_t wait;
- struct sk_buff_head res_q;
-
- u32 msg_seq;
-};
-
struct mt76x2_rx_freq_cal {
s8 high_gain[MT_MAX_CHAINS];
s8 rssi_offset[MT_MAX_CHAINS];
@@ -97,7 +88,6 @@ struct mt76x2_dev {
u8 txdone_seq;
DECLARE_KFIFO_PTR(txstatus_fifo, struct mt76x02_tx_status);
- struct mt76x2_mcu mcu;
struct sk_buff *rx_head;
struct tasklet_struct tx_tasklet;