Adding OpenWrt support for DIR-3060

yes & i think the DIR-1935 as well

i saw they had dir1950 but at the time i bought it, i thought it was like 1960. it wasn't, so i returned it.

i didn't even open it to check. i just knew the board was too small. i was working on 2640 at the time so i didn't want to work on 1950.

1950 and 1750 seem like new boards different from 1960/1760. it could be 1935 is same as 1950.

edit: nah 1935 and 1950 are different. so many variants lol!

tomorrow's GPIO & LED day.

well, the GPIOS already work. so LEDs primarily.

and touching up. and ensuring my 882 code path is still proper lol (it should be, but you have to be careful).

hope there aren't quad radios coming anytime soon :stuck_out_tongue:

@Lucky1 said
buttons & led from Schematic
wps button H5,CTS3_N, GPIO 6
reset button G18,JTMS, GPIO 15

power white F16,JTCLK, GPIO 16
power ogange H3,RXD3, GPIO 8
internet white P14,I2C_SD, GPIO 3
internet orange P13,I2C_SCLK, GPIO 4
wifi 2.4G H2,TXD2, GPIO 11
wifi 5G LB J3,RTS2_N, GPIO 9
wifi 5G HB J4,RTS3_N, GPIO 5
USB 3.0 G16,JTDI, GPIO 14
USB 2.0 G17,JTDO, GPIO 13

these are the right GPIO values.

what i noticed is that the wifi gpio values have a default value of 0, and turn on when you set them to 1.

but the USB gpios have a default value of 1, and are active when you set them to 0.

i assume this means the usb gpios are "active_low"?

epic job as always @lucky1. now to encode this information....

edit: @lucky1, i read your posting once more.

when you say they're not connected to the 7615 like the other board, does that mean we can't get proper activity LEDS either?

i'm not doubting what you're saying, since you have the right GPIO values. but it makes me wonder why they made the choice to not have them connected like before? possibly due to DBDC Mode?

think i got it, luck!

just need netdev triggers, setting the mode to "tx rx" and the device_name to the ones we discussed.

very excited to see how this all comes together in a few minutes.

@broly , @Lucky1 -
please clarify - all your excitement is not pertinent to the DIR3060. i cant get the LED's working, the reboots are unstable, and the wireless is.....still not reproducible.

3060 and 3040 are the same device i think? do you only have one button at the front? and a reset button at the back? if so, same device.

our serial headers are in the same spot, at least.

in openwrt under the "system" menu
there is an option called "LED configuration"
I believe I have mapped all the led's
by setting each one to "defaut on" they should be on
by setting each one to "none" they should be off

@lucky - this did not work on my firmware.
i'm resetting to default now - i might have made too many config changes.
reboot is still very unstable
thanks

I have put mapping for the LED's
did they show up or was the menu not there ?
sorry I'm trying to figure out what is there
and what works to narrow down what's needed to fix it all

I have made new firmware
the led menu wasn't there so i it seems fix on my testing
I have made changes recommend by kar200
as being different from non DBDC for the WiFi LED's
http://luckys.onmypc.net/openwrt/DIR-3060/2021.04.27/

@Lucky1 -
as i said I borked my router and had to go back to serial flash.
i loaded your new build 4.27.
the power, interget, 2g and 5g-l lights go on during boot, and when openwrt default config is finished, the power and 5g-l lights are on (but no radio is on)
the led section looks like this:


i cant test more until tonight.
thx

ok
I'm trying to make sure the stuff I have put in is working as expected
sometime if it's it not correct it can cause all sorts of problems maybe even the one's you are seeing
so you have to rule these things out
tho it does seem that DBDC WiFi stuff is still not really there yet

IF you haven't done so try to change the trigger from netdev to (Always on - Always off) to make sure @Lucky1 has the correct GPIO's.

@Lucky1 Mine are set this way. They work fine.

dlink,dir-853-a3)
	ucidef_set_led_netdev "wan" "wan" "blue:net" "wan"
	ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "blue:wlan2g" "wlan0"
	ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "blue:wlan5g" "wlan1"
	;;

@Lucky1 -
working on this build:
3 radios (with manual edit of /etc/config/wireless)
leds
reboot

notes:
luci gui still shows radio0 as off, even though it transmits/receives on 2.4g (set as 11ag, channel auto); storng signal, fast for 2.4g band
radio1- still very weak signal (11a, auto channel) on 5g, speed as expected for signal strength
radio2 - strong signal, fast (11a, auto channel) on 5g

i get it that DBDC is a work in progress but your recent changes seem to have made overall operation better
thanks!

@kar200 -
i can manipulate the 5 led's via gui using lucky1's mapping.

sounds good
I'm not sure how the OEM firmware is setup but one LED is called LB & the other HB
I'm not sure witch is witch but I'm guessing one is Low Band maybe channel 36
and the High Band maybe channel 149 if you can use these where you are

I expected radio1 to be the faster one being 4x4
mine are faster the higher the channel & the more power is allowed also

i'm pretty sure the dbdc radio for 5.0G can access all channels.

the 5.0G LEDS labels aren't reflecting channel limitations per-se.

edit: the reason one is called 5.0G - L is because the DBDC radio, while it is able to do any channel, it CANNOT do a 160 MHz width. i set it to vht160 but the driver will put it to 80:

confirmed, both radios can do any channels (is what i meant) at 5.0G.

i assume this 5G radio would be rated at 1733 as opposed to 866 (or whatever) if it supported 160 MHz. either way, it's nice the driver firmware sets it to the maximum possible.

ra0       RTWIFI SoftAP  ESSID:"dbdc1"  
          Mode:Master  Channel=8  Access Point: 34:0A:33:A3:71:C6   
          Bit Rate=300 Mb/s   
          
tunl0     no wireless extensions.

rax0      RTWIFI SoftAP  ESSID:"dbdc2"  
          Mode:Master  Channel=60  Access Point: 36:0A:33:B3:71:C6   
          Bit Rate=1.734 Gb/s   
          
wds2      RTWIFI SoftAP  ESSID:""  
          Mode:Master  Channel=0  Access Point: Not-Associated   
          Bit Rate:144 Mb/s   
          
wdsi2     RTWIFI SoftAP  ESSID:""  
          Mode:Master  Channel=6  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
apcli0    RTWIFI SoftAP  ESSID:""  
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:15 Mb/s   
          
teql0     no wireless extensions.

lo        no wireless extensions.

apclix0   RTWIFI SoftAP  ESSID:""  
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
vlan2     no wireless extensions.

rai0      RTWIFI SoftAP  ESSID:"fivegtest"  
          Mode:Master  Channel=36  Access Point: 34:0A:33:A3:71:C7   
          Bit Rate=-826967 kb/s   
          
eth2      no wireless extensions.

wds3      RTWIFI SoftAP  ESSID:""  
          Mode:Master  Channel=0  Access Point: Not-Associated   
          Bit Rate:144 Mb/s   
          
wdsi3     RTWIFI SoftAP  ESSID:""  
          Mode:Master  Channel=6  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
ray0      RTWIFI SoftAP  ESSID:"fivegtest"  
          Mode:Master  Channel=6  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
wds0      RTWIFI SoftAP  ESSID:"dbdc1"  
          Mode:Master  Channel=0  Access Point: 34:0A:33:A3:71:C6   
          Bit Rate=144 Mb/s   
          
wdsi0     RTWIFI SoftAP  ESSID:"fivegtest"  
          Mode:Master  Channel=6  Access Point: 34:0A:33:A3:71:C7   
          Bit Rate=800 Mb/s   
          
br0       no wireless extensions.

apclii0   RTWIFI SoftAP  ESSID:""  
          Mode:Managed  Channel=6  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
eth3      no wireless extensions.

wds1      RTWIFI SoftAP  ESSID:"dbdc2"  
          Mode:Master  Channel=0  Access Point: 36:0A:33:B3:71:C6   
          Bit Rate=144 Mb/s   
          
wdsi1     RTWIFI SoftAP  ESSID:"fivegtest"  
          Mode:Master  Channel=6  Access Point: Not-Associated   
          Bit Rate:800 Mb/s   
          
vlan1     no wireless extensions.
set (ra0: ===> main_virtual_if_open
8BE2): Network is down
MT7615 found as INDEX0
[0]MT7615 found by chip
load l1profile succeed!
driver_own()::Try to Clear FW Own...
driver_own()::Success to clear FW Own
APWdsInitialize():WdsEntry Number=4
multi_profile_check: DEFAULT_5G_PROFILE is disable, buf1 is 2G profile, buf2 is 5G profile
multi_profile_check: buf1: /tmp/RT2860.dat
multi_profile_check: buf2: /tmp/RT2860_DBDC.dat
[multi_profile_merge_5g_only] DBDC_MODE=1
multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
Open file "/tmp/DBDC_card0.dat" to store DBDC cfg! (5)
E2pAccessMode=2
SSID[0]=dbdc1, EdcaIdx=0
SSID[1]=dbdc2, EdcaIdx=0
DBDC Mode=1, eDBDC_mode = 1
BSS0 PhyMode=14
wmode_band_equal(): Band Equal!
BSS1 PhyMode=49
BndStrgBssIdx=1;1
[TxPower] BAND0: 100, BAND1: 100 
[PowerUpenable] BAND0: 0, BAND1: 1
FragThreshold[0]=2346
FragThreshold[1]=2346
Valid=1
APAifsn[0]=3
APAifsn[1]=7
APAifsn[2]=1
APAifsn[3]=1
Valid=1
APAifsn[0]=3
APAifsn[1]=7
APAifsn[2]=1
APAifsn[3]=1
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
BSSAifsn[0]=3
BSSAifsn[1]=7
BSSAifsn[2]=2
BSSAifsn[3]=2
[RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
[rtmp_read_ap_client_from_file] pf1=1 pf2=1
APWdsInitialize():WdsEntry Number=4
WDS-Enable mode=0
HT: WDEV[0] Ext Channel = ABOVE
HT: WDEV[1] Ext Channel = BELOW
WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
Top Init Done!
Use dev_alloc_skb
RX[0] DESC af204000 size = 16384
RX[1] DESC af186000 size = 8192
cut_through_init(): ct sw token number = 4095
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8c099988,8c099988
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8c099998,8c099998
Hif Init Done!
ctl->txq = c073daf0
ctl->rxq = c073dafc
ctl->ackq = c073db08
ctl->kickq = c073db14
ctl->tx_doneq = c073db20
ctl->rx_doneq = c073db2c
Parsing patch header
        Built date: 
2
0
1
8
0
5
1
8
1
0
0
6
0
4
a


        Platform: 
A
L
P
S

        HW/SW version: 
0x
8a
10
8a
10

        Patch version: 
0x
00
00
00
10

        Target address: 0x80000, length: 11072
patch is not ready && get semaphore success
EventGenericEventHandler: CMD Success
MtCmdPatchFinishReq
EventGenericEventHandler: CMD Success
release patch semaphore
WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
Parsing CPU 0 fw tailer
        Chip ID: 
0x
04

        Eco version: 
0x
00

        Region number: 
0x
00

        Format version: 
0x
00

        Ram version: 
_
r
e
s
e
r
v
e
d
_

        Built date: 
2
0
1
9
0
3
0
7
0
1
5
6
0
3


        Common crc: 0x0
Parsing tailer region 0
        Feature set: 
0x
01

        Target address: 0x84000, Download size: 409600
Parsing tailer region 1
        Feature set: 
0x
01

        Target address: 0x209c400, Download size: 43328
EventGenericEventHandler: CMD Success
EventGenericEventHandler: CMD Success
MtCmdFwStartReq: override = 0x1, address = 0x84000
EventGenericEventHandler: CMD Success
Parsing CPU 1 fw tailer
        Chip ID: 
0x
04

        Eco version: 
0x
00

        Region number: 
0x
00

        Format version: 
0x
00

        Ram version: 
_
r
e
s
e
r
v
e
d
_

        Built date: 
2
0
1
9
0
4
1
5
1
5
4
1
4
9


        Common crc: 0x0
Parsing tailer region 0
        Feature set: 
0x
01

        Target address: 0x90000000, Download size: 122608
EventGenericEventHandler: CMD Success
MtCmdFwStartReq: override = 0x4, address = 0x0
EventGenericEventHandler: CMD Success
MCU Init Done!
efuse_probe: efuse = 10000212
RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
RtmpEepromGetDefault::e2p_dafault=1
RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
NICReadEEPROMParameters: EEPROM 0x52 b302
NICReadEEPROMParameters: EEPROM 0x52 b302
Country Region from e2p = 101
mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
RcRadioInit(): DbdcMode=1, ConcurrentBand=2
RcRadioInit(): pRadioCtrl=8ffa4f00,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
RcRadioInit(): pRadioCtrl=8ffa5200,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
EEPROM Init Done!
mt_mac_init()-->
mt7615_init_mac_cr()-->
mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
<--mt_mac_init()
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
MAC Init Done!
MT7615BBPInit():BBP Initialization.....
        Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
        Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
MT7615BBPInit() todo
PHY Init Done!
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
WifiFwdSet::disabled=0
ap_ftkd> Initialize FT KDP Module...
Main bssid = 00:00:00:00:00:00
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
INIT REDUCE TCP ACK, ra0
<==== mt_wifi_init, Status=0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
phy_freq_adjust : no prim_ch value for adjust!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
phy_freq_adjust : no prim_ch value for adjust!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
phy_freq_adjust : no prim_ch value for adjust!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
phy_freq_adjust : no prim_ch value for adjust!
Total allocated 4 WDS interfaces!
WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
RedInit: set CR4/N9 RED Enable to 1.
RedInit: RED Initiailize Done.
cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 0
wdev_attr_update(): wdevId0 = 34:0a:33:a3:71:c6
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
 [RadarStateCheck] RD_NORMAL_MODE  
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=14, ch=0, wdev_type=1
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
AP inf up for ra_0(func_idx) OmacIdx=0
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0181000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
MTAPAutoSelectChannel: IsABand = 0, ChannelListNum = 11
mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
MtCmdGetRXDCOCCalResult:(ret = 0)
====================================================================
Channel   1 : Busy Time =  38397, Skip Channel = FALSE, BwCap = TRUE
Channel   2 : Busy Time =  20117, Skip Channel = FALSE, BwCap = TRUE
Channel   3 : Busy Time =  35872, Skip Channel = FALSE, BwCap = TRUE
Channel   4 : Busy Time =  25556, Skip Channel = FALSE, BwCap = TRUE
Channel   5 : Busy Time =  16656, Skip Channel = FALSE, BwCap = TRUE
Channel   6 : Busy Time =  29448, Skip Channel = FALSE, BwCap = TRUE
Channel   7 : Busy Time =  48606, Skip Channel = FALSE, BwCap = TRUE
Channel   8 : Busy Time =   5011, Skip Channel = FALSE, BwCap = TRUE
Channel   9 : Busy Time =   3999, Skip Channel = FALSE, BwCap = TRUE
Channel  10 : Busy Time =   8670, Skip Channel = FALSE, BwCap = TRUE
Channel  11 : Busy Time =  19101, Skip Channel = FALSE, BwCap = TRUE
====================================================================
Rule 3 Channel Busy time value : Select Primary Channel 9
Rule 3 Channel Busy time value : Min Channel Busy = 3999
Rule 3 Channel Busy time value : BW = 20
[SelectClearChannelBusyTime] - band0 END
ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 9, IsAband = 0
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 9 
 [RadarStateCheck] RD_NORMAL_MODE  
mt7615_apply_dcoc() : reload Central CH [7] BW [1] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
wifi_sys_linkup(), wdev idx = 0
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
 LinkToOmacIdx = 0, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
MtCmdSetDbdcCtrl:(ret = 0)
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
APStartUpForMbss: BssIndex = 0 channel = 9
MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
wds3: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 5
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=14, ch=0, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_3(func_idx) OmacIdx=0
wds2: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 4
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=14, ch=0, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_2(func_idx) OmacIdx=0
wds0: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 2
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=14, ch=0, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_0(func_idx) OmacIdx=0
wds1: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 3
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 1
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 0
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
MtCmdSetDbdcCtrl:(ret = 0)
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=14, ch=0, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_1(func_idx) OmacIdx=0
bridge : interface ra0 successfully added to bribr0: port 2(ra0) entered blocking state
dge br0
br0: port 2(ra0) entered disabled state
device ra0 entered promiscuous mode
br0: port 2(ra0) entered blocking state
br0: port 2(ra0) entered forwarding state
rax0: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 1
wdev_attr_update(): wdevId1 = 36:0a:33:b3:71:c6
[RcGetHdevByPhyMode] channel 0 fix for rdev fetching
rcUpdateBandForBFMU     PhyCtrl[0].RadioCtrl.IsBfBand = 0
rcUpdateBandForBFMU     PhyCtrl[1].RadioCtrl.IsBfBand = 1
TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
MtCmdSetDbdcCtrl:(ret = 0)
 [RadarStateCheck] RD_NORMAL_MODE  
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=0, wdev_type=1
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
AP inf up for ra_1(func_idx) OmacIdx=17
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0181000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
[AutoChSelBuildChannelListFor5G] ChListNum5G = 13
MTAPAutoSelectChannel: IsABand = 1, ChannelListNum = 12
mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [149] BW [0] from cetral freq [5755]  offset [1500]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [153] BW [0] from cetral freq [5755]  offset [1500]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [157] BW [0] from cetral freq [5795]  offset [1600]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [161] BW [0] from cetral freq [5805]  offset [500]
MtCmdGetRXDCOCCalResult:(ret = 0)
====================================================================
Channel  36 : Busy Time =   1846, Skip Channel = FALSE, BwCap = TRUE
Channel  40 : Busy Time =   1187, Skip Channel = FALSE, BwCap = TRUE
Channel  44 : Busy Time =   3887, Skip Channel = FALSE, BwCap = TRUE
Channel  48 : Busy Time =    458, Skip Channel = FALSE, BwCap = TRUE
Channel  52 : Busy Time =   1175, Skip Channel = FALSE, BwCap = TRUE
Channel  56 : Busy Time =      7, Skip Channel = FALSE, BwCap = TRUE
Channel  60 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
Channel  64 : Busy Time =    901, Skip Channel = FALSE, BwCap = TRUE
Channel 149 : Busy Time =     29, Skip Channel = FALSE, BwCap = TRUE
Channel 153 : Busy Time =     65, Skip Channel = FALSE, BwCap = TRUE
Channel 157 : Busy Time =   1837, Skip Channel = FALSE, BwCap = TRUE
Channel 161 : Busy Time =   2479, Skip Channel = FALSE, BwCap = TRUE
====================================================================
Rule 3 Channel Busy time value : Select Primary Channel 60
Rule 3 Channel Busy time value : Min Channel Busy = 1175
Rule 3 Channel Busy time value : BW = 80
[SelectClearChannelBusyTime] - band1 END
ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 60, IsAband = 1
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 60 
 [RadarStateCheck] RD_NORMAL_MODE  
mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
wifi_sys_linkup(), wdev idx = 1
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
 LinkToOmacIdx = 11, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
MtCmdSetDbdcCtrl:(ret = 0)
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
APStartUpForMbss: BssIndex = 1 channel = 60
MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
bridge : interface rax0 successfbr0: port 3(rax0) entered blocking state
ully added to brbr0: port 3(rax0) entered disabled state
idge br0
device rax0 entered promiscuous mode
br0: port 3(rax0) entered blocking state
br0: port 3(rax0) entered forwarding state
cannot open /proc/irq/26/smp_affinity
rai0: ===> main_virtual_if_open
MT7615 found as INDEX0
INDEX0 for MT7615 occupied, next
MT7615 found as INDEX1
[1]MT7615 found by chip
load l1profile succeed!
driver_own()::Try to Clear FW Own...
driver_own()::Success to clear FW Own
APWdsInitialize():WdsEntry Number=4
multi_profile_check: DEFAULT_5G_PROFILE is disable, buf1 is 2G profile, buf2 is 5G profile
multi_profile_check: buf1: /tmp/RT2860_pci.dat
multi_profile_check: buf2: /tmp/RT2860_pci.dat
DBDC_MODE is not enable! Not need to merge.
E2pAccessMode=2
SSID[0]=fivegtest, EdcaIdx=0
DBDC Mode=0, eDBDC_mode = 0
BSS0 PhyMode=49
wmode_band_equal(): Band Equal!
[TxPower] BAND0: 100 
[PowerUpenable] BAND0: 1
FragThreshold[0]=2346
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[0]
read_etxbf: MBSS[0] ETxBfEnCond = 1
[RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
APWdsInitialize():WdsEntry Number=4
WDS-Enable mode=0
HT: WDEV[0] Ext Channel = BELOW
WtcSetMaxStaNum: BssidNum:1, MaxStaNum:124 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:125
Top Init Done!
Use dev_alloc_skb
RX[0] DESC ae9b4000 size = 16384
RX[1] DESC ae9b8000 size = 8192
cut_through_init(): ct sw token number = 4095
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8d86df08,8d86df08
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8d86df18,8d86df18
Hif Init Done!
ctl->txq = c0e3daf0
ctl->rxq = c0e3dafc
ctl->ackq = c0e3db08
ctl->kickq = c0e3db14
ctl->tx_doneq = c0e3db20
ctl->rx_doneq = c0e3db2c
Parsing patch header
        Built date: 
2
0
1
8
0
5
1
8
1
0
0
6
0
4
a


        Platform: 
A
L
P
S

        HW/SW version: 
0x
8a
10
8a
10

        Patch version: 
0x
00
00
00
10

        Target address: 0x80000, length: 11072
patch is not ready && get semaphore success
EventGenericEventHandler: CMD Success
MtCmdPatchFinishReq
EventGenericEventHandler: CMD Success
release patch semaphore
WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
Parsing CPU 0 fw tailer
        Chip ID: 
0x
04

        Eco version: 
0x
00

        Region number: 
0x
00

        Format version: 
0x
00

        Ram version: 
_
r
e
s
e
r
v
e
d
_

        Built date: 
2
0
1
9
0
3
0
7
0
1
5
6
0
3


        Common crc: 0x0
Parsing tailer region 0
        Feature set: 
0x
01

        Target address: 0x84000, Download size: 409600
Parsing tailer region 1
        Feature set: 
0x
01

        Target address: 0x209c400, Download size: 43328
EventGenericEventHandler: CMD Success
EventGenericEventHandler: CMD Success
MtCmdFwStartReq: override = 0x1, address = 0x84000
EventGenericEventHandler: CMD Success
Parsing CPU 1 fw tailer
        Chip ID: 
0x
04

        Eco version: 
0x
00

        Region number: 
0x
00

        Format version: 
0x
00

        Ram version: 
_
r
e
s
e
r
v
e
d
_

        Built date: 
2
0
1
9
0
4
1
5
1
5
4
1
4
9


        Common crc: 0x0
Parsing tailer region 0
        Feature set: 
0x
01

        Target address: 0x90000000, Download size: 122608
EventGenericEventHandler: CMD Success
MtCmdFwStartReq: override = 0x4, address = 0x0
EventGenericEventHandler: CMD Success
MCU Init Done!
efuse_probe: efuse = 10000212
RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
RtmpEepromGetDefault::e2p_dafault=1
RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
NICReadEEPROMParameters: EEPROM 0x52 b302
NICReadEEPROMParameters: EEPROM 0x52 b302
Country Region from e2p = 101
mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
RcRadioInit(): DbdcMode=0, ConcurrentBand=1
RcRadioInit(): pRadioCtrl=8e978f00,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
MtCmdSetDbdcCtrl:(ret = 0)
MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
EEPROM Init Done!
mt_mac_init()-->
mt7615_init_mac_cr()-->
mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
<--mt_mac_init()
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
MAC Init Done!
MT7615BBPInit():BBP Initialization.....
        Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
        Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
MT7615BBPInit() todo
PHY Init Done!
MtCmdSetMacTxRx:(ret = 0)
WifiFwdSet::disabled=0
ap_ftkd> Initialize FT KDP Module...
Main bssid = 00:00:00:00:00:00
MtCmdSetMacTxRx:(ret = 0)
MtCmdSetMacTxRx:(ret = 0)
INIT REDUCE TCP ACK, rai0
<==== mt_wifi_init, Status=0
TxBfModuleEnCtrl:It's not DBDC mode
MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
hc_radio_res_request(): wdev=1, hobj is not ready!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
hc_radio_res_request(): wdev=2, hobj is not ready!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
hc_radio_res_request(): wdev=3, hobj is not ready!
The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
hc_radio_res_request(): wdev=4, hobj is not ready!
Total allocated 4 WDS interfaces!
WtcSetMaxStaNum: BssidNum:1, MaxStaNum:124 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:125
RedInit: set CR4/N9 RED Enable to 1.
RedInit: RED Initiailize Done.
cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 0
wdev_attr_update(): wdevId0 = 34:0a:33:a3:71:c7
MtCmdSetDbdcCtrl:(ret = 0)
 [RadarStateCheck] RD_NORMAL_MODE  
mt7615_apply_dcoc() : reload Central CH [136] BW [0] from cetral freq [5670]  offset [1300]
MtCmdGetRXDCOCCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=136, wdev_type=1
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
AP inf up for ra_0(func_idx) OmacIdx=0
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 0, pAd: c0881000, ifname: rai0, channel: 136
ApAutoChannelAtBootUp<-----------------
 ap_run_at_boot() : ACS is disable !!
[PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
RTMPSetPhyMode(): channel out of range, use first ch=36
mt7615_apply_dcoc() : reload 160 Central CH [42] BW [3] from cetral freq [5210]  offset [1900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload 160 Central CH [58] BW [3] from cetral freq [5290]  offset [1a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
wifi_sys_linkup(), wdev idx = 0
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
 LinkToOmacIdx = 0, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
APStartUpForMbss: BssIndex = 0 channel = 36
MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
wdsi1: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 2
MtCmdSetDbdcCtrl:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [136] BW [0] from cetral freq [5670]  offset [1300]
MtCmdGetRXDCOCCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=136, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_1(func_idx) OmacIdx=0
wdsi0: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 1
MtCmdSetDbdcCtrl:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=136, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_0(func_idx) OmacIdx=0
wdsi3: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 4
MtCmdSetDbdcCtrl:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=136, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_3(func_idx) OmacIdx=0
wdsi2: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 3
MtCmdSetDbdcCtrl:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, ch=136, wdev_type=8
ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
WDS inf up for wds_2(func_idx) OmacIdx=0
bridge : interface rai0 successfully added to brbr0: port 4(rai0) entered blocking state
idge br0
br0: port 4(rai0) entered disabled state
device rai0 entered promiscuous mode
br0: port 4(rai0) entered blocking state
br0: port 4(rai0) entered forwarding state

I'm sure the radio's do it all there may be some bias in the antenna setup
and it's also a way for both 5G radios to not end up on the same channel
they where both set to auto in the in the comments

1 Like

you're the man.

seriously: you're the best new contributor to the RAMIPS platform in recent memory.

your insight is the reason i had fully functional GPIO/LEDs via DTS.

you were able to pore through the FCC specification documents and extract the correct GPIOs without having the board.

great job.

i really appreciate your participation and effort in this area and i hope you continue to participate.

1 Like

2 posts were split to a new topic: Adding OpenWrt support for DIR-1360

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.