]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
rtw88: rsvd page should go though management queue
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 14 Jun 2019 07:24:14 +0000 (15:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:09:01 +0000 (08:09 +0300)
The hardware default uses management queue to transmit frames that are
downloaded into reserved page, so we need to clearly assign the frames
to use qsel in TX_DESC_QSEL_MGMT to avoid using wrong queue.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/tx.c

index e32faf8bead92cf2ae7483348423c98b3b15e556..8eaa9809ca443964d415d753812a97c13103ac99 100644 (file)
@@ -362,6 +362,6 @@ void rtw_rsvd_page_pkt_info_update(struct rtw_dev *rtwdev,
        pkt_info->bmc = bmc;
        pkt_info->tx_pkt_size = skb->len;
        pkt_info->offset = chip->tx_pkt_desc_sz;
-       pkt_info->qsel = skb->priority;
+       pkt_info->qsel = TX_DESC_QSEL_MGMT;
        pkt_info->ls = true;
 }