Thread (1 message) 1 message, 1 author, 2022-01-27

Re: [PATCH 3/4] rtw88: Move enum rtw_tx_queue_type mapping code to tx.{c,h}

From: Kalle Valo <kvalo@kernel.org>
Date: 2022-01-27 12:11:35
Also in: linux-wireless, lkml

Martin Blumenstingl [off-list ref] writes:
Hi Kalle,

On Wed, Jan 19, 2022 at 7:20 AM Kalle Valo [off-list ref] wrote:
[...]
quoted
I was about to answer that with a helper function it's easier to catch
out of bands access, but then noticed the helper doesn't have a check
for that. Should it have one?
you mean something like:
    if (ac >= IEEE80211_NUM_ACS)
        return RTW_TX_QUEUE_BE;

Possibly also with a WARN_ON/WARN_ON_ONCE
Yeah, something like that would be good.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help