How to mute this WiFi log in dmesg?

I got a lot of these messages:

[21831.809026] RTW: [PHL STA]- role-idx: 0
[21831.812918] RTW: [PHL STA]- mac_addr:be:48:52:e5:9d:b2
[21831.818103] RTW: [PHL STA]- aid: 0
[21831.821547] RTW: [PHL STA]- macid: 0
[21831.825145] RTW: [PHL STA]- wifi_band: 1
[21831.829083] RTW: [PHL STA]- bw: 0
[21831.832403] RTW: [PHL STA]- chan: 36
[21831.835989] RTW: [PHL STA]- offset: 0
[22241.805046] RTW: [PHL STA]- role-idx: 0
[22241.808927] RTW: [PHL STA]- mac_addr:8a:c5:17:0e:f6:75
[22241.814097] RTW: [PHL STA]- aid: 0
[22241.817525] RTW: [PHL STA]- macid: 0
[22241.821108] RTW: [PHL STA]- wifi_band: 1
[22241.825045] RTW: [PHL STA]- bw: 0
[22241.828380] RTW: [PHL STA]- chan: 36
[22241.831976] RTW: [PHL STA]- offset: 0

How can I mute it or turn the log off?

1 Like

Does wifi work for you on Ubuntu or Fedora? only on bianbu for my jupiter.

1 Like

It works on Bianbu and Arch. I haven’t tested it on Fedora yet, but I built the kernel myself, so I think it should work there too.

1 Like

Finally I found options to disable all log.

$ cat /etc/modprobe.d/rtl_8852bs.conf 
options 8852bs rtw_drv_log_level=0
options 8852bs rtw_phl_log_level=0
2 Likes