diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-03-19 11:37:46 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:56 +0200 |
commit | 87d531038fa338e6fc42a7edc9fe0861653f3b1f (patch) | |
tree | 70ed048794196a0cea3ed7c596e0c942be4fb164 /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | 8300ee7c7d47a06313fd1a38668c9583a176373e (diff) | |
download | lwn-87d531038fa338e6fc42a7edc9fe0861653f3b1f.tar.gz lwn-87d531038fa338e6fc42a7edc9fe0861653f3b1f.zip |
mt76: unify set_tim
All mt76 drivers (now also USB drivers) require empty .set_tim
callback. Add it to common mt76 module and use on all drivers.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index b6279dd1ed89..069d687eb3c4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -734,6 +734,8 @@ int mt76_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, void mt76_csa_check(struct mt76_dev *dev); void mt76_csa_finish(struct mt76_dev *dev); +int mt76_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, bool set); + /* internal */ void mt76_tx_free(struct mt76_dev *dev); struct mt76_txwi_cache *mt76_get_txwi(struct mt76_dev *dev); |