mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move mt76_qsel definition in dma.h
Move mt76_qsel definition in dma.h in order to be reused in mt76x0 driver. Moreover remove empty mt76x2_dma.h header file Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
c87a7e84b2
commit
b85e072e4d
@@ -75,6 +75,13 @@ enum dma_msg_port {
|
||||
DISCARD,
|
||||
};
|
||||
|
||||
enum mt76_qsel {
|
||||
MT_QSEL_MGMT,
|
||||
MT_QSEL_HCCA,
|
||||
MT_QSEL_EDCA,
|
||||
MT_QSEL_EDCA_2,
|
||||
};
|
||||
|
||||
enum mt76_mcu_evt_type {
|
||||
EVT_CMD_DONE,
|
||||
EVT_CMD_ERROR,
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include "mt76x2.h"
|
||||
#include "mt76x2_dma.h"
|
||||
#include "dma.h"
|
||||
|
||||
int
|
||||
mt76x2_tx_queue_mcu(struct mt76x2_dev *dev, enum mt76_txq_id qid,
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Felix Fietkau <[email protected]>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __MT76x2_DMA_H
|
||||
#define __MT76x2_DMA_H
|
||||
|
||||
#include "dma.h"
|
||||
|
||||
enum mt76x2_qsel {
|
||||
MT_QSEL_MGMT,
|
||||
MT_QSEL_HCCA,
|
||||
MT_QSEL_EDCA,
|
||||
MT_QSEL_EDCA_2,
|
||||
};
|
||||
|
||||
#endif
|
||||
+1
-1
@@ -20,8 +20,8 @@
|
||||
|
||||
#include "mt76x2.h"
|
||||
#include "mt76x2_mcu.h"
|
||||
#include "mt76x2_dma.h"
|
||||
#include "mt76x2_eeprom.h"
|
||||
#include "dma.h"
|
||||
|
||||
static struct sk_buff *mt76x2_mcu_msg_alloc(const void *data, int len)
|
||||
{
|
||||
|
||||
+1
-1
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
|
||||
#include "mt76x2.h"
|
||||
#include "mt76x2_dma.h"
|
||||
#include "mt76x02_util.h"
|
||||
#include "dma.h"
|
||||
|
||||
struct beacon_bc_data {
|
||||
struct mt76x2_dev *dev;
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "mt76x2.h"
|
||||
#include "mt76x2_dma.h"
|
||||
#include "dma.h"
|
||||
|
||||
void mt76x2_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control,
|
||||
struct sk_buff *skb)
|
||||
|
||||
Reference in New Issue
Block a user