[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190718074522.GA13713@redhat.com>
Date: Thu, 18 Jul 2019 09:45:23 +0200
From: Stanislaw Gruszka <sgruszka@...hat.com>
To: Brian Norris <briannorris@...omium.org>
Cc: Johannes Berg <johannes@...solutions.net>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
Yan-Hsuan Chuang <yhchuang@...ltek.com>
Subject: Re: [PATCH] mac80211: don't warn about CW params when not using them
On Wed, Jul 17, 2019 at 06:57:12PM -0700, Brian Norris wrote:
> ieee80211_set_wmm_default() normally sets up the initial CW min/max for
> each queue, except that it skips doing this if the driver doesn't
> support ->conf_tx. We still end up calling drv_conf_tx() in some cases
> (e.g., ieee80211_reconfig()), which also still won't do anything
> useful...except it complains here about the invalid CW parameters.
>
> Let's just skip the WARN if we weren't going to do anything useful with
> the parameters.
>
> Signed-off-by: Brian Norris <briannorris@...omium.org>
> ---
> Noticed because rtw88 does not currently implement .conf_tx()
>
> I think there are several ways to slice this one. I picked one fix,
> which may not be the best one.
Fix looks fine for me. However I think rtw88 should implement
drv_conf_tx() because parameters can be different on different
network setups and maybe more important WMM/AC parameters become
quite recently part of ETSI regulatory.
Stanislaw
Powered by blists - more mailing lists