GL-MT3000 (Beryl AX) Scan Loop in Wifi Repeater Mode

I’m not sure if this is expected behaviour. When the unit cannot connect to a wifi network in repeater mode, it goes into a scan loop where the unit constantly restarts until repeater mode is disabled or it can successfully connect to a network.

The scan loop is very annoying because the administrative interface is completely unusable. You need to make changes (i.e. connect to a different network) between the interface stopping and restarting.

Here are the logs:

[   59.806764] PrintSrCmd:
[   59.806764] u1CmdSubId = 3, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[   59.806764] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 1
[   59.820824] PrintSrCmd:
[   59.820824] u1CmdSubId = 23, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[   59.820824] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[   59.834973] PrintSrCmd:
[   59.834973] u1CmdSubId = 31, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[   59.834973] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[   59.849123] PrintSrCmd:
[   59.849123] u1CmdSubId = 33, u1ArgNum = 0, u1DbdcIdx = 0, u1Status = 0
[   59.849123] u1DropTaIdx = 0, u1StaIdx = 0, u4Value = 0
[   59.863360] 7981@C12L1,EDCCAInit() 21006: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0
[   59.874379] 7981@C03L3,MtCmdTxPwrShowInfo() 13746: ucTxPowerInfoCatg: 2, BandIdx: 0 
[   59.882153] 7981@C03L3,MtCmdTxPwrShowInfo() 13775: (ret = 0)
[   59.882264] [mtf_txpower_all_rate_info] band_idx:0 pwr:37 ChBand:2G ePAGain:0
[   59.887824] extif_set_dev(ra0)
[   59.897970] mtk_ppe_dev_register_hook : ineterface ra0 register (1)
[   59.905405] Set ScanSSID = 
[   59.908908] Number of channels to scan = 5
[   59.913418] 7981@C23L3,TakeChannelOpCharge() 1109: caller:Set_PartialScan_Proc+0x24c/0x338 [mt_wifi]. TakeCharge succeed!
[   59.913418]  bScanning = 1
[   59.936080] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 0, bScanning = 1, BreakTime = 0[0]
[   60.052081] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 0, bScanning = 1, BreakTime = 1[0]
[   60.168047] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 0, bScanning = 1, BreakTime = 2[0]
[   60.180387] 7981@C23L3,scan_partial_trigger_checker() 1638: Reset BssTable for partial scan
[   60.189132] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=1, ctrl_ch2=0, cent_ch=1 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   60.211789] 7981@C03L2,ExtEventBeaconLostHandler() 170: FW EVENT (94:83:c4:27:9c:0c), Reason 0x10
[   60.220661] 7981@C03L1,ExtEventBeaconLostHandler() 176:   AP Beacon OFF!!!
[   60.227558] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=1, ctrl_ch2=0, cent_ch=1, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   60.292048] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 1, bScanning = 1, BreakTime = 0[1]
[   60.384505] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=2, ctrl_ch2=0, cent_ch=2 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   60.400032] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 2, bScanning = 1, BreakTime = 0[1]
[   60.407091] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=2, ctrl_ch2=0, cent_ch=2, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   60.516032] BcnCheck start after 2300 ms (ra0)
[   60.520817] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 2, bScanning = 1, BreakTime = 0[1]
[   60.521591] 7981@C03L2,ExtEventBeaconLostHandler() 170: FW EVENT (94:83:c4:27:9c:0c), Reason 0x10
[   60.542010] 7981@C03L1,ExtEventBeaconLostHandler() 176:   AP Beacon OFF!!!
[   60.568585] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=3, ctrl_ch2=0, cent_ch=3 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   60.591151] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=3, ctrl_ch2=0, cent_ch=3, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   60.624029] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 3, bScanning = 1, BreakTime = 0[1]
[   60.740055] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 3, bScanning = 1, BreakTime = 0[1]
[   60.752998] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=4, ctrl_ch2=0, cent_ch=4 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   60.775594] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=4, ctrl_ch2=0, cent_ch=4, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   60.856031] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 4, bScanning = 1, BreakTime = 0[1]
[   60.932505] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=5, ctrl_ch2=0, cent_ch=5 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   60.960072] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=5, ctrl_ch2=0, cent_ch=5, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   60.972047] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 0[1]
[   61.088049] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 0[1]
[   61.116451] 7981@C23L3,operate_loader_phy() 394: oper_cfg: prim_ch(11), ht_bw(0), extcha(0), vht_bw(0), cen_ch_2(0), PhyMode=78!
[   61.128026] 7981@C23L3,operate_loader_phy() 408: oper_dev after adjust: bw(0), prim_ch(11), cen_ch_1(11), cen_ch_2(0),ext_cha(0)!
[   61.139673] 7981@C23L3,operate_loader_phy() 428: oper_radio after decision: bw(0), prim_ch(11), cen_ch_1(11), cen_ch_2(0)!
[   61.150821] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=11, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(0)
[   61.204030] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 0[1]
[   61.281291] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=11, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(0)
[   61.295326] 7981@C12L1,EDCCAInit() 21006: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0
[   61.306312] 7981@C23L3,scan_ch_restore() 252: End of SCAN(TYPE: 8, BandIdx: 0), restore to BW(0) channel 11, Total BSS[02]
[   61.317372] 7981@C08L3,UpdateBeaconHandler() 1931: BCN_UPDATE_ENABLE_TX, OmacIdx = 0 (ra0)
[   61.320024] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 0[1]
[   61.325631] 7981@C08L3,UpdateBeaconHandler() 1936: 	Band0 BcnInitedRnd = 357
[   61.440038] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 0[0]
[   61.556035] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 1[0]
[   61.672290] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 5, bScanning = 1, BreakTime = 2[0]
[   61.684866] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=6, ctrl_ch2=0, cent_ch=6 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   61.707786] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=6, ctrl_ch2=0, cent_ch=6, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   61.721526] 7981@C03L2,ExtEventBeaconLostHandler() 170: FW EVENT (94:83:c4:27:9c:0c), Reason 0x10
[   61.730410] 7981@C03L1,ExtEventBeaconLostHandler() 176:   AP Beacon OFF!!!
[   61.788046] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 6, bScanning = 1, BreakTime = 0[1]
[   61.880525] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=7, ctrl_ch2=0, cent_ch=7 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   61.903153] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=7, ctrl_ch2=0, cent_ch=7, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   61.904028] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 7, bScanning = 1, BreakTime = 0[1]
[   62.032033] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 7, bScanning = 1, BreakTime = 0[1]
[   62.048516] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=8, ctrl_ch2=0, cent_ch=8 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   62.071072] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=8, ctrl_ch2=0, cent_ch=8, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   62.148092] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 8, bScanning = 1, BreakTime = 0[1]
[   62.228515] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=9, ctrl_ch2=0, cent_ch=9 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   62.251068] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=9, ctrl_ch2=0, cent_ch=9, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   62.264034] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 9, bScanning = 1, BreakTime = 0[1]
[   62.380039] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 9, bScanning = 1, BreakTime = 0[1]
[   62.408503] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=10, ctrl_ch2=0, cent_ch=10 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   62.431249] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=10, ctrl_ch2=0, cent_ch=10, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(1)
[   62.496036] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 0[1]
[   62.588457] 7981@C23L3,operate_loader_phy() 394: oper_cfg: prim_ch(11), ht_bw(0), extcha(0), vht_bw(0), cen_ch_2(0), PhyMode=78!
[   62.600032] 7981@C23L3,operate_loader_phy() 408: oper_dev after adjust: bw(0), prim_ch(11), cen_ch_1(11), cen_ch_2(0),ext_cha(0)!
[   62.611688] 7981@C23L3,operate_loader_phy() 428: oper_radio after decision: bw(0), prim_ch(11), cen_ch_1(11), cen_ch_2(0)!
[   62.622734] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 0[1]
[   62.635259] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=11, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(0)
[   62.724039] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 0[1]
[   62.764611] 7981@C03L3,MtCmdSetTxRxPath() 2799: ctrl_chl=11, ctrl_ch2=0, cent_ch=11, RxPath=3, BandIdx=0, ChBand=0, BW=0,TXStream=2, RXStream=3, scan(0)
[   62.778616] 7981@C12L1,EDCCAInit() 21006: EDCCA compensation: uni_compensation=0, bw_compensation=0, final compensation=0
[   62.789593] 7981@C23L3,scan_ch_restore() 252: End of SCAN(TYPE: 8, BandIdx: 0), restore to BW(0) channel 11, Total BSS[18]
[   62.800637] 7981@C08L3,UpdateBeaconHandler() 1931: BCN_UPDATE_ENABLE_TX, OmacIdx = 0 (ra0)
[   62.808898] 7981@C08L3,UpdateBeaconHandler() 1936: 	Band0 BcnInitedRnd = 369
[   62.832267] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 0[0]
[   62.936034] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 1[0]
[   63.052036] 7981@C23L3,scan_partial_trigger_checker() 1612: (ra0) NumOfChannels = 5, LastScanChannel = 10, bScanning = 1, BreakTime = 2[0]
[   63.064582] 7981@C03L3,MtCmdChannelSwitch() 2538: ctrl_chl=11, ctrl_ch2=0, cent_ch=11 DBDCIdx=0, ChBand=0, BW=0, TXStream=2, RXStream=2, scan(1)
[   63.065642] 7981@C03L2,ExtEventBeaconLostHandler() 170: FW EVENT (94:83:c4:27:9c:0c), Reason 0x10
[   63.086387] 7981@C03L1,ExtEventBeaconLostHandler() 176:   AP Beacon OFF!!!

You can see the restarts occurring regularly:

[  112.350395] 7981@C03L2,ExtEventBeaconLostHandler() 170: FW EVENT (94:83:c4:27:9c:0d), Reason 0x10
[  112.359273] 7981@C03L1,ExtEventBeaconLostHandler() 176:   AP Beacon OFF!!!

What firmware is being used?

Is locked BSSID enabled?

Firmware:

Current Firmware
Version
4.4.5
Firmware Type
release1
Compile Time
2023-08-11 19:19:31(UTC+08:00)

I couldn’t find the locked BSSID setting, but here’s what I found:

Allow Switching To Other Saved Networks: Enabled
Band Selection: Auto
Allow Repeating Of DFS Channels: Disabled
Force 20MHz Bandwith For 2.4G: Disabled

Can you try 4.4.6 GL.iNet download center

Do not keep settings.

I think this worked! I’ll keep playing with it to make sure.

1 Like