Avoid messages from mt76x2_switch_channel on UART

Hello,

I just received my board and I connected to the Uart port.
I would like to avoid the different messages which are displayed all the time:

get_chl_grp:illegal channel (169)
get_chl_grp:illegal channel (169)
get_low_mid_hi_index:illegal channel(169)
get_chl_grp:illegal channel (169)
get_chl_grp:illegal channel (169)
get_low_mid_hi_index:illegal channel(169)
mt76x2_switch_channel(): Switch to Ch#169(2T2R), BBP_BW=0, bbp_ch_idx=0)

Could you provide me a command line please to set this silent please?
Regards
sk

Is your Poplar board from Tocoding or Hoperun? What is the kernel version you are running?

I checked mt76x2u vendor kernel driver a little bit. It seems that RTDebugLevel can be set from user space using vendor private IOCTL. But I’m not sure there is a command line for this.

Hi shawnguo,

my board is Tocoding, coming with android 5.1.1 installed, kernel 3.18.24_hi3798cv2x.
After plugged the wire antennas on the wifi module, the mt76x2u is just scanning once and less verbose. I can use the console now
Thx!