Commit 4d8421f2 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Kalle Valo

wifi: iwlwifi: don't spam logs with NSS>2 messages

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: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220905172246.105383-1-Jason@zx2c4.com
parent 2aec9099
...@@ -1833,7 +1833,7 @@ static void iwl_mvm_parse_ppe(struct iwl_mvm *mvm, ...@@ -1833,7 +1833,7 @@ static void iwl_mvm_parse_ppe(struct iwl_mvm *mvm,
* If nss < MAX: we can set zeros in other streams * If nss < MAX: we can set zeros in other streams
*/ */
if (nss > MAX_HE_SUPP_NSS) { if (nss > MAX_HE_SUPP_NSS) {
IWL_INFO(mvm, "Got NSS = %d - trimming to %d\n", nss, IWL_DEBUG_INFO(mvm, "Got NSS = %d - trimming to %d\n", nss,
MAX_HE_SUPP_NSS); MAX_HE_SUPP_NSS);
nss = MAX_HE_SUPP_NSS; nss = MAX_HE_SUPP_NSS;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment