* [PATCH] iwlwifi: don't spam logs with NSS>2 messages
@ 2022-09-05 17:22 Jason A. Donenfeld
2022-09-05 17:39 ` Kalle Valo
2022-09-07 7:11 ` wifi: " Kalle Valo
0 siblings, 2 replies; 4+ messages in thread
From: Jason A. Donenfeld @ 2022-09-05 17:22 UTC (permalink / raw)
To: netdev, linux-wireless; +Cc: Jason A. Donenfeld, Johannes Berg
I get a log line like this every 4 seconds when connected to my AP:
[15650.221468] iwlwifi 0000:09:00.0: Got NSS = 4 - trimming to 2
Looking at the code, this seems to be related to a hardware limitation,
and there's nothing to be done. In an effort to keep my dmesg
manageable, downgrade this error to "debug" rather than "info".
Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
index 5eb28f8ee87e..11536f115198 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
@@ -1833,8 +1833,8 @@ static void iwl_mvm_parse_ppe(struct iwl_mvm *mvm,
* If nss < MAX: we can set zeros in other streams
*/
if (nss > MAX_HE_SUPP_NSS) {
- IWL_INFO(mvm, "Got NSS = %d - trimming to %d\n", nss,
- MAX_HE_SUPP_NSS);
+ IWL_DEBUG_INFO(mvm, "Got NSS = %d - trimming to %d\n", nss,
+ MAX_HE_SUPP_NSS);
nss = MAX_HE_SUPP_NSS;
}
--
2.37.3
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] iwlwifi: don't spam logs with NSS>2 messages
2022-09-05 17:22 [PATCH] iwlwifi: don't spam logs with NSS>2 messages Jason A. Donenfeld
@ 2022-09-05 17:39 ` Kalle Valo
2022-09-05 18:05 ` Johannes Berg
2022-09-07 7:11 ` wifi: " Kalle Valo
1 sibling, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2022-09-05 17:39 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: netdev, linux-wireless, Johannes Berg
"Jason A. Donenfeld" <Jason@zx2c4.com> writes:
> I get a log line like this every 4 seconds when connected to my AP:
>
> [15650.221468] iwlwifi 0000:09:00.0: Got NSS = 4 - trimming to 2
>
> Looking at the code, this seems to be related to a hardware limitation,
> and there's nothing to be done. In an effort to keep my dmesg
> manageable, downgrade this error to "debug" rather than "info".
>
> Cc: Johannes Berg <johannes.berg@intel.com>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Gregory, can I take this directly to wireless tree for v6.0?
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iwlwifi: don't spam logs with NSS>2 messages
2022-09-05 17:39 ` Kalle Valo
@ 2022-09-05 18:05 ` Johannes Berg
0 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2022-09-05 18:05 UTC (permalink / raw)
To: Kalle Valo, Jason A. Donenfeld, gregory.greenman; +Cc: netdev, linux-wireless
On Mon, 2022-09-05 at 20:39 +0300, Kalle Valo wrote:
> "Jason A. Donenfeld" <Jason@zx2c4.com> writes:
>
> > I get a log line like this every 4 seconds when connected to my AP:
> >
> > [15650.221468] iwlwifi 0000:09:00.0: Got NSS = 4 - trimming to 2
> >
> > Looking at the code, this seems to be related to a hardware limitation,
> > and there's nothing to be done. In an effort to keep my dmesg
> > manageable, downgrade this error to "debug" rather than "info".
> >
> > Cc: Johannes Berg <johannes.berg@intel.com>
> > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
>
> Gregory, can I take this directly to wireless tree for v6.0?
>
We have an identical patch in our tree that I wrote a while ago, just
hasn't made it out ... I guess you can :)
johannes
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wifi: iwlwifi: don't spam logs with NSS>2 messages
2022-09-05 17:22 [PATCH] iwlwifi: don't spam logs with NSS>2 messages Jason A. Donenfeld
2022-09-05 17:39 ` Kalle Valo
@ 2022-09-07 7:11 ` Kalle Valo
1 sibling, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2022-09-07 7:11 UTC (permalink / raw)
To: Jason A. Donenfeld
Cc: netdev, linux-wireless, Jason A. Donenfeld, Johannes Berg
"Jason A. Donenfeld" <Jason@zx2c4.com> wrote:
> I get a log line like this every 4 seconds when connected to my AP:
>
> [15650.221468] iwlwifi 0000:09:00.0: Got NSS = 4 - trimming to 2
>
> Looking at the code, this seems to be related to a hardware limitation,
> and there's nothing to be done. In an effort to keep my dmesg
> manageable, downgrade this error to "debug" rather than "info".
>
> Cc: Johannes Berg <johannes.berg@intel.com>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Patch applied to wireless.git, thanks.
4d8421f2dd88 wifi: iwlwifi: don't spam logs with NSS>2 messages
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220905172246.105383-1-Jason@zx2c4.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-07 7:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 17:22 [PATCH] iwlwifi: don't spam logs with NSS>2 messages Jason A. Donenfeld
2022-09-05 17:39 ` Kalle Valo
2022-09-05 18:05 ` Johannes Berg
2022-09-07 7:11 ` wifi: " Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).