mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: move mt76_tm_policy to from testmode.h to mt76.h
This fixes using testmode.h from user space code Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <linux/usb.h>
|
||||
#include <linux/average.h>
|
||||
#include <linux/soc/mediatek/mtk_wed.h>
|
||||
#include <net/netlink.h>
|
||||
#include <net/mac80211.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,6,0)
|
||||
#include <net/page_pool.h>
|
||||
@@ -1473,6 +1474,7 @@ static inline void mt76_testmode_reset(struct mt76_phy *phy, bool disable)
|
||||
#endif
|
||||
}
|
||||
|
||||
extern const struct nla_policy mt76_tm_policy[NUM_MT76_TM_ATTRS];
|
||||
|
||||
/* internal */
|
||||
static inline struct ieee80211_hw *
|
||||
|
||||
@@ -193,6 +193,4 @@ enum mt76_testmode_tx_mode {
|
||||
MT76_TM_TX_MODE_MAX = NUM_MT76_TM_TX_MODES - 1,
|
||||
};
|
||||
|
||||
extern const struct nla_policy mt76_tm_policy[NUM_MT76_TM_ATTRS];
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user