mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move tx hw data queues in mt76_phy
Move hw data queues in mt76_phy from mt76_dev since mt7915 supports per phy hw queues in dbdc mode Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ccd62467d0
commit
2e217fb9e9
+3
-3
@@ -383,7 +383,7 @@ mt7603_ps_tx_list(struct mt7603_dev *dev, struct sk_buff_head *list)
|
||||
while ((skb = __skb_dequeue(list)) != NULL) {
|
||||
int qid = skb_get_queue_mapping(skb);
|
||||
|
||||
mt76_tx_queue_skb_raw(dev, dev->mt76.q_tx[qid], skb, 0);
|
||||
mt76_tx_queue_skb_raw(dev, dev->mphy.q_tx[qid], skb, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -394,7 +394,7 @@ mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps)
|
||||
struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
|
||||
struct sk_buff_head list;
|
||||
|
||||
mt76_stop_tx_queues(&dev->mt76, sta, true);
|
||||
mt76_stop_tx_queues(&dev->mphy, sta, true);
|
||||
mt7603_wtbl_set_ps(dev, msta, ps);
|
||||
if (ps)
|
||||
return;
|
||||
@@ -514,7 +514,7 @@ mt7603_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue,
|
||||
u16 cw_max = (1 << 10) - 1;
|
||||
u32 val;
|
||||
|
||||
queue = dev->mt76.q_tx[queue]->hw_idx;
|
||||
queue = dev->mphy.q_tx[queue]->hw_idx;
|
||||
|
||||
if (params->cw_min)
|
||||
cw_min = params->cw_min;
|
||||
|
||||
Reference in New Issue
Block a user