* [PATCH] wifi: mac80211: fix mlme_link_id_dbg()
@ 2024-03-24 16:05 Johan Hovold
2024-03-25 13:44 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Johan Hovold @ 2024-03-24 16:05 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, Johan Hovold
Make sure that the new mlme_link_id_dbg() macro honours
CONFIG_MAC80211_MLME_DEBUG as intended to avoid spamming the log with
messages like:
wlan0: no EHT support, limiting to HE
wlan0: determined local STA to be HE, BW limited to 160 MHz
wlan0: determined AP xx:xx:xx:xx:xx:xx to be VHT
wlan0: connecting with VHT mode, max bandwidth 160 MHz
Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
net/mac80211/debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/debug.h b/net/mac80211/debug.h
index 49da401c5340..35a8ba25fa57 100644
--- a/net/mac80211/debug.h
+++ b/net/mac80211/debug.h
@@ -158,7 +158,7 @@ do { \
_sdata_dbg(print, sdata, "[link %d] " fmt, \
link_id, ##__VA_ARGS__); \
else \
- _sdata_dbg(1, sdata, fmt, ##__VA_ARGS__); \
+ _sdata_dbg(print, sdata, fmt, ##__VA_ARGS__); \
} while (0)
#define link_dbg(link, fmt, ...) \
_link_id_dbg(1, (link)->sdata, (link)->link_id, \
--
2.43.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] wifi: mac80211: fix mlme_link_id_dbg()
@ 2024-03-25 8:59 Johan Hovold
2024-03-25 10:26 ` Johan Hovold
0 siblings, 1 reply; 4+ messages in thread
From: Johan Hovold @ 2024-03-25 8:59 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, linux-kernel, Johan Hovold
Make sure that the new mlme_link_id_dbg() macro honours
CONFIG_MAC80211_MLME_DEBUG as intended to avoid spamming the log with
messages like:
wlan0: no EHT support, limiting to HE
wlan0: determined local STA to be HE, BW limited to 160 MHz
wlan0: determined AP xx:xx:xx:xx:xx:xx to be VHT
wlan0: connecting with VHT mode, max bandwidth 160 MHz
Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
net/mac80211/debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/debug.h b/net/mac80211/debug.h
index 49da401c5340..35a8ba25fa57 100644
--- a/net/mac80211/debug.h
+++ b/net/mac80211/debug.h
@@ -158,7 +158,7 @@ do { \
_sdata_dbg(print, sdata, "[link %d] " fmt, \
link_id, ##__VA_ARGS__); \
else \
- _sdata_dbg(1, sdata, fmt, ##__VA_ARGS__); \
+ _sdata_dbg(print, sdata, fmt, ##__VA_ARGS__); \
} while (0)
#define link_dbg(link, fmt, ...) \
_link_id_dbg(1, (link)->sdata, (link)->link_id, \
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] wifi: mac80211: fix mlme_link_id_dbg()
2024-03-25 8:59 [PATCH] wifi: mac80211: fix mlme_link_id_dbg() Johan Hovold
@ 2024-03-25 10:26 ` Johan Hovold
0 siblings, 0 replies; 4+ messages in thread
From: Johan Hovold @ 2024-03-25 10:26 UTC (permalink / raw)
To: Johan Hovold; +Cc: Johannes Berg, linux-wireless, linux-kernel
On Mon, Mar 25, 2024 at 09:59:48AM +0100, Johan Hovold wrote:
> Make sure that the new mlme_link_id_dbg() macro honours
> CONFIG_MAC80211_MLME_DEBUG as intended to avoid spamming the log with
> messages like:
>
> wlan0: no EHT support, limiting to HE
> wlan0: determined local STA to be HE, BW limited to 160 MHz
> wlan0: determined AP xx:xx:xx:xx:xx:xx to be VHT
> wlan0: connecting with VHT mode, max bandwidth 160 MHz
>
> Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Sorry about the resend. The original patch is here:
https://lore.kernel.org/linux-wireless/20240324160559.18861-1-johan+linaro@kernel.org/
Lore appears to be acting up, but before I realised that I thought I'd
messed up my mail setup.
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wifi: mac80211: fix mlme_link_id_dbg()
2024-03-24 16:05 Johan Hovold
@ 2024-03-25 13:44 ` Kalle Valo
0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2024-03-25 13:44 UTC (permalink / raw)
To: Johan Hovold; +Cc: Johannes Berg, linux-wireless
Johan Hovold <johan+linaro@kernel.org> writes:
> Make sure that the new mlme_link_id_dbg() macro honours
> CONFIG_MAC80211_MLME_DEBUG as intended to avoid spamming the log with
> messages like:
>
> wlan0: no EHT support, limiting to HE
> wlan0: determined local STA to be HE, BW limited to 160 MHz
> wlan0: determined AP xx:xx:xx:xx:xx:xx to be VHT
> wlan0: connecting with VHT mode, max bandwidth 160 MHz
>
> Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Thanks, I also noticed the extra messages. It would be good to get this
to v6.9.
Tested-by: Kalle Valo <kvalo@kernel.org>
--
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
end of thread, other threads:[~2024-03-25 13:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 8:59 [PATCH] wifi: mac80211: fix mlme_link_id_dbg() Johan Hovold
2024-03-25 10:26 ` Johan Hovold
-- strict thread matches above, loose matches on Subject: below --
2024-03-24 16:05 Johan Hovold
2024-03-25 13:44 ` 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).