diff options
author | Stanislaw Gruszka | 2018-08-29 13:16:35 +0200 |
---|---|---|
committer | Kalle Valo | 2018-09-04 10:02:47 +0200 |
commit | 108a4861ef19af44dbec89b4f9e2ebc87b781cdc (patch) | |
tree | 891acc13d8a7279221ef0d98f2495e3a133e5ba2 /drivers/net/wireless/mediatek/mt76/mt76x2.h | |
parent | mt76: merge mt76x0/regs.h into mt76x02_regs.h (diff) | |
download | kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.tar.gz kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.tar.xz kernel-qcow2-linux-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.zip |
mt76: create new mt76x02-lib module for common mt76x{0,2} code
Move rxfilter and mutex to common structure. Create mt76x02-lib.ko
for mt76x0 and mt76x2 common functions and create new unified
mt76x02_configure_filter() function there.
Signed-off-by: Stanislaw Gruszka <sgruszka@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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2.h index 8b5c3de9ea32..e9b57fce9685 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x2.h @@ -131,8 +131,6 @@ struct mt76x2_dev { u16 chainmask; - u32 rxfilter; - struct mt76x2_calibration cal; s8 target_power; @@ -293,9 +291,6 @@ int mt76x2_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_key_conf *key); int mt76x2_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params); -void mt76x2_configure_filter(struct ieee80211_hw *hw, - unsigned int changed_flags, - unsigned int *total_flags, u64 multicast); void mt76x2_txq_init(struct mt76x2_dev *dev, struct ieee80211_txq *txq); void mt76x2_sta_rate_tbl_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, |