Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unlocked ramcodes #562

Open
i3roly opened this issue Jan 9, 2021 · 219 comments
Open

unlocked ramcodes #562

i3roly opened this issue Jan 9, 2021 · 219 comments

Comments

@i3roly
Copy link

i3roly commented Jan 9, 2021

ok @hanwckf

i know you guys are holding out on us ok. there is no way you aren't.

both the mt76 driver (when i did get vht160 stable enough to run speedtest a few times) AND the proprietary driver seem to never pass 400 Mbps down, or 500 Mbps upload.

literally right when it hits about ~400 Mbps, it starts to throttle down and seems to top out around 371Mbps.

it is highly unusual both drivers yield very similar performance that is far below the specification and capabilities of the driver. this would explain why the factory firmware from dlink is encrypted (if i recall correctly) and also you cannot access terminal via serial.

i understand why these unlocked ramcodes aren't public, but please be considerate. i have been supporting this platform for a few years and now all that's missing is the full performance. there is no way that two drivers can yield the same performance cap if it is not being done artificially at the driver (or ram code, is my guess) level.

@kar200
Copy link

kar200 commented Jan 10, 2021

What device are you using? I got something like 650mbs or a bit more on the MT7615DN wireless chip.
Did you compile the firmware yourself or using one from here? make sure you have hardware offloading enabled for both wireless and ethernet.

You also can decrypt the stock firmware if you want
https://github.com/0xricksanchez/dlink-decrypt

And you might be able to access the console interface (depending on the device and firwmare).

@i3roly
Copy link
Author

i3roly commented Jan 10, 2021

it's my own spin, but the ceiling seems to be the same whether or not i use this driver or the one from openwrt: http://github.com/openwrt/mt76

i am pretty sure hardware offloading is enabled by default? there is no configuration flag for it, from what i can see.

i will try to decrypt the firmware and see if maybe their eeproms are better, but i won't be able to get the ram codes.

i had another user of my firmware confirm that their ceiling was also around 350-400MBps. for upload i can, and have, hit 500-550MBps but nothing higher.

this is for the MT7615E. i think the 7615D is 2x2 or 3x3? it's very possible they didn't limit the lower-end chip (no offence intended). the 7615E is the flagship with either 3x3 but more commonly 4x4.

@kar200
Copy link

kar200 commented Jan 10, 2021

That is weird then. offloading is compiled by default but not enabled. It is for NAT though so if your wireless network is on the same subnet as your gateway it should not make a difference. It is enabled in the wan section

I have tested just then with iperf3 on a different subnet with hw offloading and here are the results. I did both download and upload tests. Again my device uses MT7615DN (DBDC).

➜  tools iperf3 -c 192.168.1.1 -p 5201 -t 20
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.2.161 port 56790 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  74.0 MBytes   621 Mbits/sec    0   2.01 MBytes
[  5]   1.00-2.00   sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]   2.00-3.00   sec  76.2 MBytes   640 Mbits/sec    0   2.01 MBytes
[  5]   3.00-4.00   sec  68.8 MBytes   577 Mbits/sec    0   2.01 MBytes
[  5]   4.00-5.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   5.00-6.00   sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]   6.00-7.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   7.00-8.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   8.00-9.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   9.00-10.00  sec  78.8 MBytes   661 Mbits/sec    0   2.01 MBytes
[  5]  10.00-11.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  11.00-12.00  sec  80.0 MBytes   671 Mbits/sec    0   2.01 MBytes
[  5]  12.00-13.00  sec  78.8 MBytes   661 Mbits/sec    0   2.01 MBytes
[  5]  13.00-14.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  14.00-15.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  15.00-16.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  16.00-17.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  17.00-18.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  18.00-19.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  19.00-20.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.57 GBytes   672 Mbits/sec    0             sender
[  5]   0.00-20.01  sec  1.56 GBytes   669 Mbits/sec                  receiver

iperf Done.
➜  tools iperf3 -c 192.168.1.1 -p 5201 -t 20 -R
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  5] local 192.168.2.161 port 56808 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  64.9 MBytes   544 Mbits/sec
[  5]   1.00-2.00   sec  70.3 MBytes   590 Mbits/sec
[  5]   2.00-3.00   sec  67.6 MBytes   567 Mbits/sec
[  5]   3.00-4.00   sec  69.2 MBytes   580 Mbits/sec
[  5]   4.00-5.00   sec  69.3 MBytes   581 Mbits/sec
[  5]   5.00-6.00   sec  71.2 MBytes   597 Mbits/sec
[  5]   6.00-7.00   sec  65.0 MBytes   545 Mbits/sec
[  5]   7.00-8.00   sec  66.9 MBytes   561 Mbits/sec
[  5]   8.00-9.00   sec  68.7 MBytes   576 Mbits/sec
[  5]   9.00-10.00  sec  69.1 MBytes   580 Mbits/sec
[  5]  10.00-11.00  sec  68.9 MBytes   578 Mbits/sec
[  5]  11.00-12.00  sec  68.2 MBytes   572 Mbits/sec
[  5]  12.00-13.00  sec  69.6 MBytes   584 Mbits/sec
[  5]  13.00-14.00  sec  68.6 MBytes   575 Mbits/sec
[  5]  14.00-15.00  sec  67.5 MBytes   566 Mbits/sec
[  5]  15.00-16.00  sec  65.8 MBytes   552 Mbits/sec
[  5]  16.00-17.00  sec  67.8 MBytes   569 Mbits/sec
[  5]  17.00-18.00  sec  67.2 MBytes   564 Mbits/sec
[  5]  18.00-19.00  sec  63.8 MBytes   535 Mbits/sec
[  5]  19.00-20.00  sec  65.3 MBytes   547 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.33 GBytes   569 Mbits/sec  800             sender
[  5]   0.00-20.00  sec  1.32 GBytes   568 Mbits/sec                  receiver

iperf Done.

@i3roly
Copy link
Author

i3roly commented Jan 10, 2021

while i don't have iperf running (i don't know how to open the ports locally lulz), i wouldn't doubt i get similar uploading performance.

are you using this build?

i am quite sure it's the rom patch binary. the one from openwrt and this build are identical. it seems almost all post 5.x mt_wifi builds all have teh same rom patch.

@hanwckf @Yonsm DON'T BE UYGIURS! HOOK UP THE PATCH MAN

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

AX200+7615E+padavan,it's very easy to hit 800 Mbps.
So i think it's ur problem instead of padavan's.
https://s3.ax1x.com/2021/01/12/sYDLpn.png
Not only me ,other padavan users also hit 800Mbps.
https://www.acwifi.net/7629.html
https://www.right.com.cn/forum/thread-4047892-1-1.html

@MeIsReallyBa
Copy link

iperf3 -R means downloading test and we both get good download speed (7615dn 580Mbps and 7615e 800Mbps).
So considering ur own problem first.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

GagansMacPro:datasets Gagan$ iperf3 -c 192.168.1.1 -p 5201 -t 60 -R -b 1000000000
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  5] local 192.168.1.30 port 49433 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  26.1 MBytes   219 Mbits/sec                  
[  5]   1.00-2.00   sec  32.9 MBytes   276 Mbits/sec                  
[  5]   2.00-3.00   sec  32.1 MBytes   269 Mbits/sec                  
[  5]   3.00-4.00   sec  32.6 MBytes   274 Mbits/sec                  
[  5]   4.00-5.00   sec  32.7 MBytes   274 Mbits/sec                  
[  5]   5.00-6.00   sec  31.7 MBytes   266 Mbits/sec                  
[  5]   6.00-7.00   sec  32.2 MBytes   270 Mbits/sec                  
[  5]   7.00-8.00   sec  32.8 MBytes   275 Mbits/sec                  
[  5]   8.00-9.00   sec  33.1 MBytes   277 Mbits/sec                  
[  5]   9.00-10.00  sec  32.7 MBytes   274 Mbits/sec                  
[  5]  10.00-11.00  sec  33.0 MBytes   277 Mbits/sec                  
[  5]  11.00-12.00  sec  32.6 MBytes   273 Mbits/sec                  
[  5]  12.00-13.00  sec  32.9 MBytes   276 Mbits/sec                  
[  5]  13.00-14.00  sec  32.6 MBytes   273 Mbits/sec                  
[  5]  14.00-15.00  sec  32.8 MBytes   275 Mbits/sec                  
[  5]  15.00-16.00  sec  31.5 MBytes   265 Mbits/sec                  
[  5]  16.00-17.00  sec  33.1 MBytes   278 Mbits/sec                  
[  5]  17.00-18.00  sec  32.6 MBytes   274 Mbits/sec                  
[  5]  18.00-19.00  sec  32.5 MBytes   273 Mbits/sec                  
[  5]  19.00-20.00  sec  32.7 MBytes   274 Mbits/sec                  
[  5]  20.00-21.00  sec  33.0 MBytes   277 Mbits/sec                  
[  5]  21.00-22.00  sec  32.8 MBytes   275 Mbits/sec                  
[  5]  22.00-23.00  sec  32.4 MBytes   272 Mbits/sec                  
[  5]  23.00-24.00  sec  31.3 MBytes   262 Mbits/sec                  
[  5]  24.00-25.00  sec  34.5 MBytes   289 Mbits/sec                  
[  5]  25.00-26.00  sec  36.0 MBytes   302 Mbits/sec                  
[  5]  26.00-27.00  sec  32.2 MBytes   270 Mbits/sec                  
[  5]  27.00-28.00  sec  35.0 MBytes   294 Mbits/sec                  
[  5]  28.00-29.00  sec  34.8 MBytes   292 Mbits/sec                  
[  5]  29.00-30.00  sec  35.6 MBytes   299 Mbits/sec                  
[  5]  30.00-31.00  sec  35.1 MBytes   294 Mbits/sec                  
[  5]  31.00-32.00  sec  35.4 MBytes   297 Mbits/sec                  
[  5]  32.00-33.00  sec  34.0 MBytes   285 Mbits/sec                  
[  5]  33.00-34.00  sec  35.2 MBytes   295 Mbits/sec                  
[  5]  34.00-35.00  sec  33.9 MBytes   284 Mbits/sec                  
[  5]  35.00-36.00  sec  34.9 MBytes   293 Mbits/sec                  
[  5]  36.00-37.00  sec  34.4 MBytes   289 Mbits/sec                  
[  5]  37.00-38.00  sec  33.3 MBytes   279 Mbits/sec                  
[  5]  38.00-39.00  sec  33.8 MBytes   284 Mbits/sec                  
[  5]  39.00-40.00  sec  35.4 MBytes   297 Mbits/sec                  
[  5]  40.00-41.00  sec  32.9 MBytes   276 Mbits/sec                  
[  5]  41.00-42.00  sec  35.3 MBytes   296 Mbits/sec                  
[  5]  42.00-43.00  sec  34.8 MBytes   292 Mbits/sec                  
[  5]  43.00-44.00  sec  35.2 MBytes   295 Mbits/sec                  
[  5]  44.00-45.00  sec  33.7 MBytes   283 Mbits/sec                  
[  5]  45.00-46.00  sec  35.3 MBytes   296 Mbits/sec                  
[  5]  46.00-47.00  sec  35.4 MBytes   297 Mbits/sec                  
[  5]  47.00-48.00  sec  35.2 MBytes   295 Mbits/sec                  
[  5]  48.00-49.00  sec  32.5 MBytes   273 Mbits/sec                  
[  5]  49.00-50.00  sec  33.8 MBytes   284 Mbits/sec                  
[  5]  50.00-51.00  sec  34.4 MBytes   289 Mbits/sec                  
[  5]  51.00-52.00  sec  35.0 MBytes   294 Mbits/sec                  
[  5]  52.00-53.00  sec  35.0 MBytes   294 Mbits/sec                  
[  5]  53.00-54.00  sec  35.0 MBytes   294 Mbits/sec                  
[  5]  54.00-55.00  sec  34.7 MBytes   291 Mbits/sec                  
[  5]  55.00-56.00  sec  35.8 MBytes   300 Mbits/sec                  
[  5]  56.00-57.00  sec  35.2 MBytes   296 Mbits/sec                  
[  5]  57.00-58.00  sec  35.1 MBytes   295 Mbits/sec                  
[  5]  58.00-59.00  sec  33.8 MBytes   283 Mbits/sec                  
[  5]  59.00-60.00  sec  35.7 MBytes   299 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-60.00  sec  1.97 GBytes   283 Mbits/sec    0             sender
[  5]   0.00-60.00  sec  1.97 GBytes   283 Mbits/sec                  receiver

this is what it says now.

it could be my wireless card (BCM943602CDP WiFi Bluetooth Airport Card), but i thought this was rated for 1733Mbps.

also, when this test is performed, it is using only the wifi interface, right? i want to eliminate the ethernet driver as a potential problem. i get high speed via ethernet no problem.

while the speed above is lower than usual, it is reflective of the issue. i don't even know if i have a card capable of 1733Mbps if this card is not able to. other device is WUSB600N ver 2 which can get similar speed.

what do you think the problem could be?

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

another thing i don't udnerstand: how can iperf3 performance be lower than speedtest?
Screen Shot 2021-01-12 at 6 51 57 AM

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

here is my configuration file. the bigger issue is (i think) the performance is the same on mt76 driver and this driver. i don't know why this is the case. and i don't know why upload is faster than download. it is possible an antenna is loose in the actual router, and i will check that, but i think there must be some other issue related to software..

root@DD-WRT:~# cat /tmp/RT2860_pci.dat 
Default
E2pAccessMode=2
CountryRegion=0
CountryRegionABand=0
CountryCode=CA
SSID1=AGT1337-5.0G
SSID2=x
SSID3=---to the fellas out there
SSID4=---with ladies to impress
SSID5=--it's easy to do
SSID6=--just follow these steps:
BssidNum=6
HT_TxStream=4
HT_RxStream=4
MaxStaNum=128
MACRepeaterOuiMode=2
WirelessMode=14
HideSSID=0;1;0;0;0;0
ShortSlot=1
PhyRateLimit=0
PreAntSwitch=
AutoChannelSelect=0
AutoChannelSkipList=56
IEEE80211H=0
own_ip_addr=x
WPAPSK1=x
WPAPSK2=x
WPAPSK3=x
WPAPSK4=x
WPAPSK5=x
WPAPSK6=x
DefaultKeyID=1;1;1;1;1;1
EncrypType=AES;AES;AES;AES;AES;AES
AuthMode=WPA2PSKWPA3PSK;WPA2PSK;WPA2PSKWPA3PSK;WPA2PSKWPA3PSK;WPA2PSKWPA3PSK;WPA2PSKWPA3PSK
RADIUS_Server=0.0.0.0;0.0.0.0;0.0.0.0;0.0.0.0;0.0.0.0;0.0.0.0
RADIUS_Port=1812;1812;1812;1812;1812;1812
RADIUS_Key=ralink;ralink;ralink;ralink;ralink;ralink
IEEE8021X=0;0;0;0;0;0
EAPifname=br0;br0;br0;br0;br0;br0
PreAuthifname=br0;br0;br0;br0;br0;br0
WdsEnable=0
WdsEncrypType=NONE
WdsList=
WdsKey=
HT_BW=1
VHT_BW=2
HT_EXTCHA=0
HT_OpMode=0
HT_MCS=33
TxRate=0
Channel=157
BasicRate=15
BeaconPeriod=100
DtimPeriod=1
TxPower=150
DisableOLBC=0
BGProtection=0
TXPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
TurboRate=0
WmmCapable=1
APAifsn=3;7;1;1
APCwmin=4;4;3;2
APCwmax=6;10;4;3
APTxop=0;0;94;47
APACM=0;0;0;0
BSSAifsn=3;7;2;2
BSSCwmin=4;4;3;2
BSSCwmax=10;10;4;3
BSSTxop=0;0;94;47
BSSACM=0;0;0;0
AckPolicy=0;0;0;0
NoForwarding=0
NoForwardingBTNBSSID=0
DfsEnable=1
DfsCalibration=1
PowerUpenable=10
ApCliEnable=0
FineAGC=0
StreamMode=3
StreamModeMac0=
StreamModeMac1=
StreamModeMac2=
StreamModeMac3=
CSPeriod=10
StationKeepAlive=0;0
PreAuth=0
RekeyInterval=0
RekeyMethod=DISABLE
PMKCachePeriod=10
HSCounter=0
AccessPolicy0=0
AccessControlList0=
AccessPolicy1=0
AccessControlList1=
AccessPolicy2=0
AccessControlList2=
AccessPolicy3=0
AccessControlList3=
HT_HTC=1
HT_RDG=1
HT_MIMOPS=1
HT_LinkAdapt=0
HT_MpduDensity=5
HT_AutoBA=1
HT_AMSDU=1
VHT_BW_SIGNAL=0
VHT_SGI=1
HT_BAWinSize=64
HT_GI=1
HT_STBC=1
HT_BSSCoexistence=0
HT_LDPC=1
VHT_LDPC=1
VHT_STBC=1
VHT_LDPC=1
VHT_SGI=1
G_BAND_256QAM=0
ITxBfEn=1
ETxBfEnCond=1
MUTxRxEnable=1
VOW_Airtime_Fairness_En=0
VOW_Airtime_Ctrl_En=0
VOW_RX_En=0
CP_SUPPORT=2
PMFMFPC=0
PMFMFPR=0
PMFSHA256=0
RED_Enable=1

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

he bigger issue is (i think) the performance is the same on mt76 driver and this driver. i don't know why this is the case. and i don't know why upload is faster than download. it is possible an antenna is loose in the actual router, and i will check that, but i think there must be some other issue related to software..

root@DD-WRT:~# cat /tmp/RT2860_

You are using DD-WRT and it doesn't support wifi hardware nat as openwrt.
It's no suprising that you get this speed.We all get good wifi speed under padavan.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

are you talking about the raeth driver? i am using the mtk_eth_soc driver and it does have hardware nat...
see here:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=424a9ae128bd2045cd4bfd6e3229f2529d150a25

i tried using raeth driver two years ago and it did not work with linux 4.14. are you saying the raeth driver has been fixed for newer kernels? i wanted to use this driver for some time. and the hardware nat (in net/nat/hw_nat) needs raeth to work

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

are you talking about the raeth driver? i am using the mtk_eth_soc driver and it does have hardware nat...
see here:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=424a9ae128bd2045cd4bfd6e3229f2529d150a25

i tried using raeth driver two years ago and it did not work with linux 4.14. are you saying the raeth driver has been fixed for newer kernels? i wanted to use this driver for some time. and the hardware nat (in net/nat/hw_nat) needs raeth to work

openwrt only support ethernet hardware nat,no wifi hardware nat support.
Only MTK SDK firmware and padavan support wifi hardware nat.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

but wifi hardware nat need raeth wire driver, which does not work for linux 4.x last time i have checked. do you know if anyone has updated raeth driver for linux 4.x?

wifi hardware nat needs this driver: https://github.com/hanwckf/rt-n56u/tree/master/trunk/linux-3.4.x/drivers/net/raeth

@MeIsReallyBa
Copy link

but wifi hardware nat need raeth wire driver, which does not work for linux 4.x last time i have checked. do you know if anyone has updated raeth driver for linux 4.x?

wifi hardware nat needs this driver: https://github.com/hanwckf/rt-n56u/tree/master/trunk/linux-3.4.x/drivers/net/raeth

No one has done that.So in all,the firmware that doesn't support wifi hardware nat cuased ur low wifi speed.Padavan has no problem.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

someone needs to do that man! linux 3.18 is no longer supported lol. i wanted to use the raether driver for a long time!!

and hardware nat needs this driveR! :(

@MeIsReallyBa
Copy link

someone needs to do that man! linux 3.18 is no longer supported lol. i wanted to use the raether driver for a long time!!

and hardware nat needs this driveR! :(

it's about hardware nat and has nothing to do with wifi driver.

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

someone needs to do that man! linux 3.18 is no longer supported lol. i wanted to use the raether driver for a long time!!

and hardware nat needs this driveR! :(

Here is DLINK XDR1860 (7621+7915+linux 4.4_MTK HNAT) GPL source code.Maybe u could try to port it.
https://dlink-gpl.s3.amazonaws.com/GPL2000124/DIRX1860_A1_GPL102B06DLink.tar.gz

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

i will look into this. thanks for this information. leave the ticket open though.

i think net/nat/hw_nat may not need raeth driver, but i thought it did. i will also poke at this source.

thanks very much mt_wifi master.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

source doesn't have new raeth driver but it suggests it has been updated

grep: DIRX1860_A1_GPL102B06DLink/alpha/pkg.priv/mtk/linux-4.4: No such file or directory

:(

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

doesn't have new raeth driver but it suggests it has been updated

grep: DIRX1860_A1_GPL102B06DLink/alpha/pkg.priv/mtk/linux-4.4: No such file or directory

:(

It used new mtk driver instead of reath.u could also found hnat information through .dts files.
target/linux/ramips/files/drivers/net/ethernet/mediatek

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

are you saying "new mtk driver" as in the one from openwrt?

i see in wifi driver there is WHNAT config option, but i thought this needed net/nat/hw_nat?

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

m openwrt?

i see in wifi driver there is WHNAT config option, bu

openwrt rewrote mtk driver so there is much similarity between sdk and openwrt driver code.
But openwrt driver dropped wifi hardware nat support.
only mt7622 support WHNAT .

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

nevermind, it needs FAST_HW_SUPPORT which needs HW_NAT

argh :P

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

i am using the openwrt driver but from what i can gather, wifi hardware nat won't work without ethernet hardware nat

in the DIR x1860 source, they reference RAETH for 4.4 but it's not included.

i don't think openwrt driver can work with WIFI HW_NAT unless i can somehow port HW_NAT from net/nat.

my openwrt driver has HNAT for mt7621 but it does not have 2 gmac or anything like that.

i am not sure what to do. i want rated speed :P

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 12, 2021

fast_nat_support is designed for raeth driver and new mtk driver can support wifi hwnat without fast_nat_support.
But openwrt mtk driver dropped wifi hwnat support when Nbd168 rewrote the driver code.
Look at .config you will find that dlink x1860 is using mtk sdk ethernet driver instead of raeth driver.The thing you can do to enable wifi-hwnat is to make mtk sdk ethernet driver work.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

so if i remove dependency in embedded/Kconfig:

config WHNAT_SUPPORT
tristate "Wifi Hardware NAT support"
depends on CHIP_MT7615E
depends on WLAN_HOOK
depends on FAST_NAT_SUPPORT
default n

and also in mt7615_ap/Makefile:

ifeq ($(CONFIG_FAST_NAT_SUPPORT),y)
ifeq ($(CONFIG_WLAN_HOOK),y)
ifeq ($(CONFIG_WHNAT_SUPPORT),y)
EXTRA_CFLAGS += -DWHNAT_SUPPORT
else
ifeq ($(CONFIG_WHNAT_SUPPORT),m)
EXTRA_CFLAGS += -DWHNAT_SUPPORT
endif
endif
endif

then i should get rated speed?

@MeIsReallyBa
Copy link

No.WIFI-HWNAT has dependency on ethernet driver.
WIFI driver needs ethernet driver to forward data from MTK PPE to 7621 and finally to 7615.(MTK7622 can forward data directly from MTK PPE to 7615 and this is what WHNAT means)

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

but i can't find the mtk ethernet driver in the GPL source. you're saying this source is different from the openwrt, has hardware nat, and will allow WHNAT to work, right?

@MeIsReallyBa
Copy link

target/linux/ramips/files/drivers/net/ethernet/mediatek
This is where x1860 MTK driver located.

@i3roly
Copy link
Author

i3roly commented Jan 12, 2021

OH that's in 101 GPL source not 102!

GagansMacPro:tools Gagan$ ls DIRX1860_A1_GPL102B06DLink/target/linux/ramips/files/drivers/net/ethernet/mediatek
ls: DIRX1860_A1_GPL102B06DLink/target/linux/ramips/files/drivers/net/ethernet/mediatek: No such file or directory
GagansMacPro:tools Gagan$ ls DIRX1860_A1_GPL102B06DLink/target/linux/ramips/files/drivers/mmc/host/mt7621-sd/^C
GagansMacPro:tools Gagan$ ls DIRX1860_A1_GPL10
DIRX1860_A1_GPL101B07DLink/ DIRX1860_A1_GPL101B07DLink.tar.gz DIRX1860_A1_GPL102B06DLink/ DIRX1860_A1_GPL102B06DLink.tar.gz
GagansMacPro:tools Gagan$ ls DIRX1860_A1_GPL101B07DLink
DIRX1860_A1_GPL101B07DLink/ DIRX1860_A1_GPL101B07DLink.tar.gz
GagansMacPro:tools Gagan$ ls DIRX1860_A1_GPL101B07DLink/target/linux/ramips/files/drivers/net/ethernet/mediatek
Kconfig Makefile mtk_eth_dbg.c mtk_eth_dbg.h mtk_eth_path.c mtk_eth_soc.c mtk_eth_soc.h mtk_hnat mtk_sgmii.c

SWEET SHIT dude i'll work on this ina few hours after i get proper practice done.

this was distracting me.

so this driver is the one that will work OMFG

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i checked. it's the same as the one from DIRX1860_A1_GPL102B06DLink source. it's possible you made another change to the wifi driver but i don't know.

what i do know is this is frustrating! :( the module is hooked in properly but for some reason, it's not accelerating the way it should be.

i am hoping someone can provide a suggestion as to what else could be the problem.

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i'm off to play civilization revolution for the xbox for now. this sucks. at least everyone in the "chinese router scene" is now aware i can produce bacon :)

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i can confirm that it must be the ramcodes. stop the bullshit brother, no offense.

just tried GPL MTK driver with hnat, here is bootlog. and i get SAME iperf3 performance via 2.4G (no reason to think 5.0G is any different).

i spent one week RIGOROUSLY evaluating your claim that it was the lack of hardware nat, but as i've shown: this is simply not true. the performance is definitely being limited by the ramcodes.

Automatic boot of image at addr 0x84000000 ...
## Booting image at 84000000 ...
   Image Name:   DD-WRT v24 Linux Kernel Imag
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3823275 Bytes =  3.6 MB
   Load Address: 80001000
   Entry Point:  80788410
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80788410) ...
## Giving linux memsize in MB, 128

Starting kernel ...

Linux version 4.14.215 (Gagan@GagansMacPro) (gcc version 10.2.0 (GCC)) #3785 SMP PREEMPT Sun Jan 17 08:51:02 MST 2021
SoC Type: MediaTek MT7621 ver:1 eco:3
bootconsole [early0] enabled
CPU0 revision is: 0001992f (MIPS 1004Kc)
MIPS: machine is D-Link DIR-882 rev. A1
Determined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
VPE topology {2,2} total 4
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Zone ranges:
  DMA      [mem 0x0000000000000000-0x0000000000ffffff]
  Normal   [mem 0x0000000001000000-0x0000000007ffffff]
  HighMem  empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x0000000007ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
percpu: Embedded 14 pages/cpu s27792 r8192 d21360 u57344
Built 1 zonelists, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,57600n8 rootfstype=squashfs root=/dev/mtdblock5
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14200(86%)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Writing ErrCtl register=0002320f
Readback ErrCtl register=0002320f
Memory: 118828K/131072K available (7744K kernel code, 966K rwdata, 1556K rodata, 280K init, 207K bss, 12244K reserved, 0K cma-reserved, 0K highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
        Tasks RCU enabled.
NR_IRQS: 256
CPU Clock: 880MHz
clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU1 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 1: done.
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU2 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 2: done.
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU3 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 3: done.
smp: Brought up 1 node, 4 CPUs
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc+0x2b8/0x358 with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 16 (order: -3, 512 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
pull PCIe RST: RALINK_RSTCTRL = 4000000
release PCIe RST: RALINK_RSTCTRL = 7000000
***** Xtal 40MHz *****
release PCIe RST: RALINK_RSTCTRL = 7000000
Port 0 N_FTS = 1b102800
Port 1 N_FTS = 1b102800
Port 2 N_FTS = 1b102800
PCIE2 no card, disable it(RST&CLK)
 -> 21007f2
PCIE0 enabled
PCIE1 enabled
PCI host bridge /pcie@1e140000 ranges:
 MEM 0x0000000060000000..0x000000006fffffff
  IO 0x000000001e160000..0x000000001e16ffff
PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
mt7621_gpio 1e000600.gpio: registering 32 gpios
mt7621_gpio 1e000600.gpio: registering 32 gpios
mt7621_gpio 1e000600.gpio: registering 32 gpios
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-mt7621 1e000900.i2c: clock 100KHz, re-start not support
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
pci_bus 0000:00: root bus resource [io  0xffffffff]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
pci 0000:00:01.0: PCI bridge to [bus 02]
pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
clocksource: Switched to clocksource GIC
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
4 CPUs re-calibrate udelay(lpj = 1163264)
workingset: timestamp_bits=30 max_order=15 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
ntfs: driver 2.1.32 [Flags: R/W].
io scheduler noop registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
io scheduler kyber registered
mtk_hsdma 1e007000.hsdma: Using 3 as missing dma-requests property
mtk_hsdma 1e007000.hsdma: MediaTek HSDMA driver registered
random: fast init done
serial8250_init
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
console [ttyS0] disabled
1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [early0] disabled
bootconsole [early0] disabled
Ralink gpio driver initialized:power_gpio[8]
physmap platform flash device: 01000000 at 1c000000
virtual memory bc000000
physmap-flash physmap-flash.0: map_probe failed
spi-mt7621 1e000b00.spi: sys_freq: 500000000
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
spi0.0: parsing partitions cmdlinepart
spi0.0: got parser cmdlinepart
5 fixed-partitions partitions found on MTD device spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000000060000 : "Config2"
0x000000060000-0x000001000000 : "sysv"
1 squashfs-split partitions found on MTD device sysv
0x000000406000-0x000000ff0000 : "ddwrt"
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
libphy: mdio: probed
mtk_soc_eth 1e100000.ethernet: generated random MAC address e6:bb:ea:58:26:93
mtk_soc_eth 1e100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 23
mtk_soc_eth 1e100000.ethernet: generated random MAC address ee:2b:4f:2b:8b:67
mtk_soc_eth 1e100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 23
netif_napi_add() called with weight 256 on device 
mediatek_soc_hnat 1e100000.hnat: wan = eth1
mediatek_soc_hnat 1e100000.hnat: ppd = eth0
mediatek_soc_hnat 1e100000.hnat: gmac num = 2
mediatek_soc_hnat 1e100000.hnat: ext devices = rai0
mediatek_soc_hnat 1e100000.hnat: ext devices = ra0
mediatek_soc_hnat 1e100000.hnat: FOE entry number = 8192
mediatek_soc_hnat 1e100000.hnat: hwnat start
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
register mt_drv
bus=0x1, slot = 0x0, irq=0x0
PCI: Enabling device 0000:00:00.0 (0004 -> 0006)

== pAd = c0101000, size = 4307040, Status=0 ==
pAd->PciHif.CSRBaseAddress =0xc0000000, csr_addr=0xc0000000!
RTMPInitPCIeDevice():device_id=0x7615
mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
AP Driver version-5.0.4.0
RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
mt7615_init()-->
Use 1st ePAeLNA default bin.
Use 0st /etc/wlan/mt7615e.eeprom.bin default bin.
<--mt7615_init()
<-- RTMPAllocTxRxRingMemory, Status=0
bus=0x2, slot = 0x1, irq=0x0
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)

== pAd = c0681000, size = 4307040, Status=0 ==
pAd->PciHif.CSRBaseAddress =0xc0580000, csr_addr=0xc0580000!
RTMPInitPCIeDevice():device_id=0x7615
mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
AP Driver version-5.0.4.0
RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
mt7615_init()-->
Use 2nd ePAeLNA default bin.
Use 1st /etc/wlan/mt7615e.eeprom.bin default bin.
<--mt7615_init()
<-- RTMPAllocTxRxRingMemory, Status=0
rdm_major = 255
xhci-mtk 1e1c0000.xhci: xHCI Host Controller
xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
xhci-mtk 1e1c0000.xhci: irq 22, io mem 0x1e1c0000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci-mtk 1e1c0000.xhci: xHCI Host Controller
xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
rtc-pcf8563 0-0051: registered as rtc0
i2c /dev entries driver
Ralink APSoC Hardware Watchdog Timer
OF: /leds/usb2: could not get #gpio-cells for /palmbus@1E000000/gpio@600
leds-gpio: probe of leds failed with error -22
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
u32 classifier
    Performance counters on
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
ctnetlink v0.93: registering with nfnetlink.
ipip: IPv4 and MPLS over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
Segment Routing with IPv6
NET: Registered protocol family 17
Bridge firewalling registered
NET4: DECnet for Linux: V.2.5.68s (C) 1995-2003 Linux DECnet Project Team
DECnet: Routing cache hash table of 512 buckets, 4Kbytes
NET: Registered protocol family 12
8021q: 802.1Q VLAN Support v1.8
nvram driver (major 251) installed
registered taskstats version 1
rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
devtmpfs: mounted
Freeing unused kernel memory: 280K
This architecture does not have kernel memory protection.
usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 2-1:1.0
scsi 0:0:0:0: Direct-Access     SanDisk  Extreme          0001 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI removable disk
init : starting devinit
starting hotplug
random: crng init done
start MSTP Daemon
method nfs not found
sh: line 1: /sys/class/ksmbd-control/kill_server: No such file or directory
method rsync not found
method ftpsrv not found
done
init : starting Architecture code for rt2880
configure mac address to 74:da:da:cb:59:af
Started WatchDog Timer.
mtk-eip93 1e004000.crypto: PRNG initialized
mtk-eip93 1e004000.crypto: EIP93 initialized succesfull

--- /dev/sda

--- /dev/sda2
Block device, size 58.44 GiB (62746787840 bytes)
Block device, size 2 GiB (2147483648 bytes)
DOS/MBR partition map
Partition 1: 16 GiB (17179869184 bytes, 33554432 sectors from 2048)
  Type 0x83 (Linux)

--- /dev/sda3
Block device, size 16 GiB (17179869184 bytes)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
  Swap size 2.000 GiB (2147475456 bytes, 524286 pages of 4 KiB)
Ext4 file system
  Volume name "work"
  UUID 34ED1C3B-B2FD-46CA-BF54-70F3635C6F9C (DCE, v4)
  Last mounted at "/tmp/mnt/sda3"
  Volume size 16 GiB (17179869184 bytes, 4194304 blocks of 4 KiB)
  Ext4 file system
    Volume name "main"
    UUID DA5BA80A-6C8C-4354-A329-C864080FD27E (DCE, v4)
    Last mounted at "/opt"
    Volume size 16 GiB (17179869184 bytes, 4194304 blocks of 4 KiB)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Partition 2: 2 GiB (2147483648 bytes, 4194304 sectors from 33556480)
  Type 0x82 (Linux swap / Solaris)


  Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
    Swap size 2.000 GiB (2147475456 bytes, 524286 pages of 4 KiB)
Partition 3: 16 GiB (17179869184 bytes, 33554432 sectors from 37750784)
  Type 0x83 (Linux)
  Ext4 file system
    Volume name "work"
    UUID 34ED1C3B-B2FD-46CA-BF54-70F3635C6F9C (DCE, v4)
    Last mounted at "/tmp/mnt/sda3"
    Volume size 16 GiB (17179869184 bytes, 4194304 blocks of 4 KiB)


/dev/sda3:
 setting standby to 242
 (1.0 hours)

/dev/sda:
 setting standby to 242
 (1.0 hours)

/dev/sda2:
 setting standby to 242
 (1.0 hours)
cannot open /proc/sys/kernel/sysrq
sh: line 1: /tmp/disk/sda: No such file or directory
sh: line 1: /tmp/disk/sda: No such file or directory
EXT4-fs (sda3): Ignoring removed nobh option
grep: /etc/passwd: No such file or directory
sh: line 1: /etc/passwd: No such file or directory
EXT4-fs (sda3): barriers disabled
EXT4-fs (sda3): recovery complete
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: init_itable=0,nobarrier,nobh,barrier=0
swapon: /dev/sda2: insecure permissions Adding 2097148k swap on /dev/sda2.  Priority:-2 extents:1 across:2097148k 
0644, 0660 suggested.
cp: cannot stat '/tmp/mycron.d/*': No such file or directory
cp: cannot stat '/jffs/mycron.d/*': No such file or directory
cp: cannot stat '/mmc/mycron.d/*': No such file or directory
mount: /tmp/mnt/sda2: operation failed: Invalid argument.
grep: /etc/passwd: No such file or directory
sh: line 1: /etc/passwd: No such file or directory
mount: /tmp/mnt/sda2: mount point does not exist.
cp: cannot stat '/tmp/mycron.d/*': No such file or directory
cp: cannot stat '/jffs/mycron.d/*': No such file or directory
cp: cannot stat '/mmc/mycron.d/*': No such file or directory
cron: can't lock /var/run/crond.pid, otherpid may be 517: Resource temporarily unavailable
cron : daemon successfully started
cron : daemon successfully started
grep: /etc/passwd: No such file or directory
sh: line 1: /etc/passwd: No such file or directory
cron : daemon successfully stopped
cp: cannot stat '/tmp/mycron.d/*': No such file or directory
method nfs not found
method nfs not found
cp: cannot stat '/jffs/mycron.d/*': No such file or directory
cp: cannot stat '/mmc/mycron.d/*': No such file or directory
method rsync not found
method rsync not found
cron : daemon successfully started
method nfs not found
method rsync not found
method ftpsrv not found
method ftpsrv not found
method ftpsrv not found
syslogd : daemon successfully started
klogd : daemon successfully started
resetbutton : resetbutton daemon successfully started
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFNETMASK: Cannot assign requested address
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
bridge : bridge br0 successfully added
CTL_set_cist_bridge_config: Got return code 0, -1
Couldn't find bridge with index 10

Couldn't change bridge bridge_max_age
CTL_set_cist_bridge_config: Got return code 0, -1
Couldn't find bridge with index 10

Couldn'IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready
t change bridge bridge_forward_delay
CTL_set_msti_bridge_config: Got return code 0, -1
Couldn't find bridge with index 10

bridge : bridge br0 already exists
device br0 entered promiscuous mode
CTL_set_cist_bridge_config: Got return code 0, -1
Couldn't find bridge with index 10

Couldn't change bridge bridge_max_age
CTL_set_cist_bridge_config: Got return code 0, -1
Couldn't find bridge with index 10

Couldn't change bridge bridge_forward_delay
check vlan1
name=[vlan1] lan_ifname=[br0]
bridge : interface vlan1 successfully added to bridge br0
br0: port 1(vlan1) entered blocking state
br0: port 1(vlan1) entered disabled state
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
br0: port 1(vlan1) entered blocking state
br0: port 1(vlan1) entered forwarding state
IPv6: ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
check vlan2
device br0 left promiscuous mode
device br0 entered promiscuous mode
device br0 left promiscuous mode
ra1: ERROR while getting interface flags: No such device
ra2: ERROR while getting interface flags: No such device
ra3: ERROR while getting interface flags: No such device
ra4: ERROR while getting interface flags: No such device
ra5: ERROR while getting interface flags: No such device
ra6: ERROR while getting interface flags: No such device
ra7: ERROR while getting interface flags: No such device
ra8: ERROR while getting interface flags: No such device
ra9: ERROR while getting interface flags: No such device
wds0: ERROR while getting interface flags: No such device
wds1: ERROR while getting interface flags: No such device
wds2: ERROR while getting interface flags: No such device
wds3: ERROR while getting interface flags: No such device
wds4: ERROR while getting interface flags: No such device
wds5: ERROR while getting interface flags: No such device
wds6: ERROR while getting interface flags: No such device
wds7: ERROR while getting interface flags: No such device
wds8: ERROR while getting interface flags: No such device
wds9: ERROR while getting interface flags: No such device
apcli0: ERROR while getting interface flags: No such device
Interface doesn't accept private ioctl...
set (8BE2): Network is down
rai1: ERROR while getting interface flags: No such device
rai2: ERROR while getting interface flags: No such device
rai3: ERROR while getting interface flags: No such device
rai4: ERROR while getting interface flags: No such device
rai5: ERROR while getting interface flags: No such device
rai6: ERROR while getting interface flags: No such device
rai7: ERROR while getting interface flags: No such device
rai8: ERROR while getting interface flags: No such device
rai9: ERROR while getting interface flags: No such device
wdsi0: ERROR while getting interface flags: No such device
wdsi1: ERROR while getting interface flags: No such device
wdsi2: ERROR while getting interface flags: No such device
wdsi3: ERROR while getting interface flags: No such device
wdsi4: ERROR while getting interface flags: No such device
wdsi5: ERROR while getting interface flags: No such device
wdsi6: ERROR while getting interface flags: No such device
wdsi7: ERROR while getting interface flags: No such device
wdsi8: ERROR while getting interface flags: No such device
wdsi9: ERROR while getting interface flags: No such device
apclii0: ERROR while getting interface flags: No such device
Interface doesn't accept private ioctl...
set (8BE2): Network is down
ra0: ===> main_virtual_if_open
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=10
E2pAccessMode=2
SSID[0]=AGT1337-2.4G, EdcaIdx=0
SSID[1]=sidhufamily2, EdcaIdx=0
SSID[2]=-1-cut a hole in the bawx, EdcaIdx=0
SSID[3]=-2-put cho junk in that baw-awx, EdcaIdx=0
SSID[4]=-3-let her open the baw-awx, EdcaIdx=0
SSID[5]=-a-and that's the way you do it, EdcaIdx=0
BSS0 PhyMode=14
wmode_band_equal(): Band Equal!
[TxPower] BAND0: 150 
[PowerUpenable] BAND0: 1
FragThreshold[0]=2346
APWdsInitialize():WdsEntry Number=10
WDS-Enable mode=0
HT: WDEV[0] Ext Channel = ABOVE
WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:10, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
Top Init Done!
Use dev_alloc_skb
RX[0] DESC a70e8000 size = 16384
RX[1] DESC a70d2000 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(): 85d86888,85d86888
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 85d86898,85d86898
Hif Init Done!
ctl->txq = c0517020
ctl->rxq = c051702c
ctl->ackq = c0517038
ctl->kickq = c0517044
ctl->tx_doneq = c0517050
ctl->rx_doneq = c051705c
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
2
0
0
8
1
4
1
6
3
6
4
9


        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: 48320
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
1
2
1
1
6
1
3
0
7


        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 b313
NICReadEEPROMParameters: EEPROM 0x52 b313
Country Region from e2p = 101
mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
RcRadioInit(): DbdcMode=0, ConcurrentBand=1
RcRadioInit(): pRadioCtrl=87d94af8,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
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
<--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)
<==== mt_wifi_init, Status=0
TxBfModuleEnCtrl:It's not DBDC mode
MtCmdEDCCACtrl: BandIdx: 0, 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!
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!
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 10 WDS interfaces!
WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:10, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
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 = 74:da:da:cb:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
 [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: c0101000, ifname: ra0, channel: 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_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
MtCmdGetTXDPDCalResult:(ret = 0)
====================================================================
Channel   1 : Busy Time =  18510, Skip Channel = FALSE, BwCap = TRUE
Channel   2 : Busy Time =   9161, Skip Channel = FALSE, BwCap = TRUE
Channel   3 : Busy Time =  10345, Skip Channel = FALSE, BwCap = TRUE
Channel   4 : Busy Time =   6609, Skip Channel = FALSE, BwCap = TRUE
Channel   5 : Busy Time =   4539, Skip Channel = FALSE, BwCap = TRUE
Channel   6 : Busy Time =  15230, Skip Channel = FALSE, BwCap = TRUE
Channel   7 : Busy Time =   9315, Skip Channel = FALSE, BwCap = TRUE
Channel   8 : Busy Time =   6029, Skip Channel = FALSE, BwCap = TRUE
Channel   9 : Busy Time =  18691, Skip Channel = FALSE, BwCap = TRUE
Channel  10 : Busy Time =  12160, Skip Channel = FALSE, BwCap = TRUE
Channel  11 : Busy Time =  21120, Skip Channel = FALSE, BwCap = TRUE
====================================================================
Rule 3 Channel Busy time value : Select Primary Channel 5
Rule 3 Channel Busy time value : Min Channel Busy = 4539
Rule 3 Channel Busy time value : BW = 20
[SelectClearChannelBusyTime] - band0 END
ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 5, IsAband = 0
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
mt7615_apply_dcoc() : reload Central CH [7] BW [1] from cetral freq [2447]  offset [2400]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [7] BW [1] from cetral freq [2442] i[45] offset [4bf8]
MtCmdGetTXDPDCalResult:(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
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
extif_set_dev(ra0)
wds6: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 12
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_6(func_idx) OmacIdx=0
wds8: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 14
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_8(func_idx) OmacIdx=0
wds0: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 6
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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
wds7: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 13
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_7(func_idx) OmacIdx=0
wds3: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 9
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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 = 8
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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
wds4: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 10
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_4(func_idx) OmacIdx=0
wds1: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 7
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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
wds5: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 11
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_5(func_idx) OmacIdx=0
wds9: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 15
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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_9(func_idx) OmacIdx=0
bridge : interface ra0 successfully added to bridge br0
br0: port 2(ra0) entered blocking state
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
cannot open /proc/irq/24/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=10
E2pAccessMode=2
SSID[0]=AGT1337-5.0G, EdcaIdx=0
SSID[1]=sidhufamily1, EdcaIdx=0
SSID[2]=---to the fellas out there, EdcaIdx=0
SSID[3]=---with ladies to impress, EdcaIdx=0
SSID[4]=--it's easy to do, EdcaIdx=0
SSID[5]=--just follow these steps:, EdcaIdx=0
BSS0 PhyMode=49
wmode_band_equal(): Band Equal!
[TxPower] BAND0: 150 
[PowerUpenable] BAND0: 1
FragThreshold[0]=2346
read_etxbf: ETxBfEnCond = 0
read_etxbf: BSSID[0]
read_etxbf: MBSS[0] ETxBfEnCond = 0
read_etxbf: More BSSID[1]
read_etxbf: More MBSS[1] ETxBfEnCond = 0
read_etxbf: More BSSID[2]
read_etxbf: More MBSS[2] ETxBfEnCond = 0
read_etxbf: More BSSID[3]
read_etxbf: More MBSS[3] ETxBfEnCond = 0
read_etxbf: More BSSID[4]
read_etxbf: More MBSS[4] ETxBfEnCond = 0
read_etxbf: More BSSID[5]
read_etxbf: More MBSS[5] ETxBfEnCond = 0
[RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
APWdsInitialize():WdsEntry Number=10
WDS-Enable mode=0
HT: WDEV[0] Ext Channel = BELOW
WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:10, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
Top Init Done!
Use dev_alloc_skb
RX[0] DESC a6f50000 size = 16384
RX[1] DESC a6f54000 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(): 838ebf08,838ebf08
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 838ebf18,838ebf18
Hif Init Done!
ctl->txq = c0a97020
ctl->rxq = c0a9702c
ctl->ackq = c0a97038
ctl->kickq = c0a97044
ctl->tx_doneq = c0a97050
ctl->rx_doneq = c0a9705c
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
2
0
0
8
1
4
1
6
3
6
4
9


        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: 48320
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
1
2
1
1
6
1
3
0
7


        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 b313
NICReadEEPROMParameters: EEPROM 0x52 b313
Country Region from e2p = 101
mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
RcRadioInit(): DbdcMode=0, ConcurrentBand=1
RcRadioInit(): pRadioCtrl=86ee0af8,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
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
<--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)
<==== mt_wifi_init, Status=0
TxBfModuleEnCtrl:It's not DBDC mode
MtCmdEDCCACtrl: BandIdx: 0, 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!
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!
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 10 WDS interfaces!
WtcSetMaxStaNum: BssidNum:6, MaxStaNum:120 (WdsNum:10, ApcliNum:1, MaxNumChipRept:32), MinMcastWcid:121
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 = 74:da:da:cb:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
 [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_0(func_idx) OmacIdx=0
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[AutoChSelBuildChannelListFor5G] ChListNum5G = 13
MTAPAutoSelectChannel: IsABand = 1, ChannelListNum = 8
mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [36] BW [0] from cetral freq [5180] i[7] offset [2be8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [40] BW [0] from cetral freq [5200] i[8] offset [2cc0]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [44] BW [0] from cetral freq [5220] i[9] offset [2d98]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [48] BW [0] from cetral freq [5240] i[10] offset [2e70]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [52] BW [0] from cetral freq [5260] i[11] offset [2f48]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [56] BW [0] from cetral freq [5280] i[12] offset [3020]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [60] BW [0] from cetral freq [5300] i[13] offset [30f8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload Central CH [64] BW [0] from cetral freq [5320] i[14] offset [31d0]
MtCmdGetTXDPDCalResult:(ret = 0)
====================================================================
Channel  36 : Busy Time =   1735, Skip Channel = FALSE, BwCap = TRUE
Channel  40 : Busy Time =    703, Skip Channel = FALSE, BwCap = TRUE
Channel  44 : Busy Time =   2354, Skip Channel = FALSE, BwCap = TRUE
Channel  48 : Busy Time =    433, Skip Channel = FALSE, BwCap = TRUE
Channel  52 : Busy Time =   1271, Skip Channel = FALSE, BwCap = TRUE
Channel  56 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
Channel  60 : Busy Time =    227, Skip Channel = FALSE, BwCap = TRUE
Channel  64 : Busy Time =   4261, Skip Channel = FALSE, BwCap = TRUE
====================================================================
Rule 3 Channel Busy time value : Select Primary Channel 56
Rule 3 Channel Busy time value : Min Channel Busy = 4261
Rule 3 Channel Busy time value : BW = 160
[SelectClearChannelBusyTime] - band0 END
ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 56, IsAband = 1
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
mt7615_apply_dcoc() : reload 160 Central CH [58] BW [3] from cetral freq [5290]  offset [1a00]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dcoc() : reload 160 Central CH [42] BW [3] from cetral freq [5210]  offset [1900]
MtCmdGetRXDCOCCalResult:(ret = 0)
mt7615_apply_dpd() : reload 160 Central CH [58] BW [3] from cetral freq [5300] i[13] offset [30f8]
MtCmdGetTXDPDCalResult:(ret = 0)
mt7615_apply_dpd() : reload 160 Central CH [42] BW [3] from cetral freq [5220] i[9] offset [2d98]
MtCmdGetTXDPDCalResult:(ret = 0)
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=0, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
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 = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
extif_set_dev(rai0)
wdsi6: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 12
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_6(func_idx) OmacIdx=0
wdsi3: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 9
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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
wdsi4: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 10
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_4(func_idx) OmacIdx=0
wdsi8: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 14
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_8(func_idx) OmacIdx=0
wdsi9: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 15
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_9(func_idx) OmacIdx=0
wdsi1: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 7
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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
wdsi0: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 6
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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
wdsi2: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 8
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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
wdsi5: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 11
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_5(func_idx) OmacIdx=0
wdsi7: ===> wds_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 13
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
phy_freq_adjust : no prim_ch value for adjust!
Caller: HcAcquireRadioForWdev+0xbc/0xe0
phy_mode=49, 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_7(func_idx) OmacIdx=0
bridge : interface rai0 successfully added to bridge br0
br0: port 3(rai0) entered blocking state
br0: port 3(rai0) entered disabled state
device rai0 entered promiscuous mode
br0: port 3(rai0) entered blocking state
br0: port 3(rai0) entered forwarding state
ra1: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 1
wdev_attr_update(): wdevId1 = 76:da:da:9b:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_1(func_idx) OmacIdx=17
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0101000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 5
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
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= 0, CmdBssInfoBmcRate.u2McTransmit = 0
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface ra1 successfully added to bridge br0
br0: port 4(ra1) entered blocking state
br0: port 4(ra1) entered disabled state
device ra1 entered promiscuous mode
br0: port 4(ra1) entered blocking state
br0: port 4(ra1) entered forwarding state
ra2: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 2
wdev_attr_update(): wdevId2 = 76:da:da:ab:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_2(func_idx) OmacIdx=18
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0101000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 5
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=2, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 2
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
 LinkToOmacIdx = 12, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 12
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface ra2 successfully added to bridge br0
br0: port 5(ra2) entered blocking state
br0: port 5(ra2) entered disabled state
device ra2 entered promiscuous mode
br0: port 5(ra2) entered blocking state
br0: port 5(ra2) entered forwarding state
ra3: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 3
wdev_attr_update(): wdevId3 = 76:da:da:bb:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_3(func_idx) OmacIdx=19
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0101000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 5
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=3, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 3
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
 LinkToOmacIdx = 13, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 13
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface ra3 successfully added to bridge br0
br0: port 6(ra3) entered blocking state
br0: port 6(ra3) entered disabled state
device ra3 entered promiscuous mode
br0: port 6(ra3) entered blocking state
br0: port 6(ra3) entered forwarding state
ra4: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 4
wdev_attr_update(): wdevId4 = 76:da:da:cb:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_4(func_idx) OmacIdx=20
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0101000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 5
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=4, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 4
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:123 for WDEV_TYPE:1
 LinkToOmacIdx = 14, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 14
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface ra4 successfully added to bridge br0
br0: port 7(ra4) entered blocking state
br0: port 7(ra4) entered disabled state
device ra4 entered promiscuous mode
br0: port 7(ra4) entered blocking state
br0: port 7(ra4) entered forwarding state
ra5: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 5
wdev_attr_update(): wdevId5 = 76:da:da:db:59:b0
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_5(func_idx) OmacIdx=21
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0101000, ifname: ra0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 5
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 5 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 5
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:122 for WDEV_TYPE:1
 LinkToOmacIdx = 15, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 15
APStartUpForMbss: BssIndex = 0 channel = 5
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface ra5 successfully added to bridge br0
br0: port 8(ra5) entered blocking state
br0: port 8(ra5) entered disabled state
device ra5 entered promiscuous mode
br0: port 8(ra5) entered blocking state
br0: port 8(ra5) entered forwarding state
rai1: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 1
wdev_attr_update(): wdevId1 = 76:da:da:9b:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_1(func_idx) OmacIdx=17
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 56
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
[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
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
APStartUpForMbss: BssIndex = 0 channel = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface rai1 successfully added to bridge br0
br0: port 9(rai1) entered blocking state
br0: port 9(rai1) entered disabled state
device rai1 entered promiscuous mode
br0: port 9(rai1) entered blocking state
br0: port 9(rai1) entered forwarding state
rai2: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 2
wdev_attr_update(): wdevId2 = 76:da:da:ab:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_2(func_idx) OmacIdx=18
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 56
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=2, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 2
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
 LinkToOmacIdx = 12, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 12
APStartUpForMbss: BssIndex = 0 channel = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface rai2 successfully added to bridge br0
br0: port 10(rai2) entered blocking state
br0: port 10(rai2) entered disabled state
device rai2 entered promiscuous mode
br0: port 10(rai2) entered blocking state
br0: port 10(rai2) entered forwarding state
rai3: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 3
wdev_attr_update(): wdevId3 = 76:da:da:bb:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_3(func_idx) OmacIdx=19
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 56
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=3, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 3
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
 LinkToOmacIdx = 13, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 13
APStartUpForMbss: BssIndex = 0 channel = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface rai3 successfully added to bridge br0
br0: port 11(rai3) entered blocking state
br0: port 11(rai3) entered disabled state
device rai3 entered promiscuous mode
br0: port 11(rai3) entered blocking state
br0: port 11(rai3) entered forwarding state
rai4: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 4
wdev_attr_update(): wdevId4 = 76:da:da:cb:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_4(func_idx) OmacIdx=20
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 56
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=4, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 4
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:123 for WDEV_TYPE:1
 LinkToOmacIdx = 14, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 14
APStartUpForMbss: BssIndex = 0 channel = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface rai4 successfully added to bridge br0
br0: port 12(rai4) entered blocking state
br0: port 12(rai4) entered disabled state
device rai4 entered promiscuous mode
br0: port 12(rai4) entered blocking state
br0: port 12(rai4) entered forwarding state
rai5: ===> mbss_virtual_if_open
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 5
wdev_attr_update(): wdevId5 = 76:da:da:db:59:b1
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
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=0, ampdu_factor=3
AP inf up for ra_5(func_idx) OmacIdx=21
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup = 1, pAd: c0681000, ifname: rai0, channel: 0
MtCmdSetMacTxRx:(ret = 0)
[ApAutoChannelAtBootUp] ACS of BandIdx = 0 is already DONE, Channel = 56
 AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 56 
 [RadarStateCheck] RD_NORMAL_MODE  
[DfsCacNormalStart] Normal start. Enable MAC TX
[WrapDfsRadarDetectStart]: DfsChBand[0]: 0, DfsChBand[1]: 0
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=5, MFPC=1, MFPR=0, SHA256=0
[PMF]PMF_MakeRsnIeGMgmtCipher: Insert BIP to the group management cipher of RSNIE
wifi_sys_linkup(), wdev idx = 5
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:122 for WDEV_TYPE:1
 LinkToOmacIdx = 15, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 15
APStartUpForMbss: BssIndex = 0 channel = 56
MtCmdTxPowerDropCtrl: ucPowerDrop: 150, BandIdx: 0
bridge : interface rai5 successfully added to bridge br0
br0: port 13(rai5) entered blocking state
br0: port 13(rai5) entered disabled state
device rai5 entered promiscuous mode
br0: port 13(rai5) entered blocking state
br0: port 13(rai5) entered forwarding state
method udhcpd not found
wland: No such file or directory
wland : daemon successfully started
klogd : kernel log daemon successfully stopped
syslogd : syslog daemon successfully stopped
sfe : shortcut forwarding engine successfully stopped
device vlan2 entered promiscuous mode
rmmod: ERROR: Module eoip is not currently loaded
dnsmasq : daemon successfully started
Key is a ssh-rsa key
Wrote key to '/tmp/root/.ssh/ssh_host_rsa_key'
iptables v1.8.5 (legacy): Empty interface is likely to be undesired
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.5 (legacy): Empty interface is likely to be undesired
Try `iptables -h' or 'iptables --help' for more information.
dropbear : ssh daemon successfully started
httpd : httpd server started at port 80
httpd : http daemon successfully started
cat: /proc/net/ip_conntrack_flush: No such file or directory
0
cannot open /proc/sys/net/ipv4/conf/br0/loop
 vpn modules : vpn modules successfully unloaded
vpn modules : nf_conntrack_proto_gre successfully loaded
vpn modules : nf_nat_proto_gre successfully loaded
vpn modules : nf_conntrack_pptp successfully loaded
vpn modules : nf_nat_pptp successfully loaded
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
ip6_tables: (C) 2000-2006 Netfilter Core Team
device vlan2 left promiscuous mode
ttraff : traffic counter daemon successfully started
==>Set_RadioOn_Proc (ON) equal to current state, ignore!!! (wdev_idx 0)

 Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-02
==>Set_RadioOn_Proc (ON) equal to current state, ignore!!! (wdev_idx 0)

 Set_Led_Proc ==> arg = 00-00-00-00-02-00-00-02
httpd : daemon successfully stopped
httpd : httpd server shutdownhttpd : httpd server started at port 80
httpd : http daemon successfully started
resetbutton : daemon successfully stopped
resetbutton : resetbutton daemon successfully started
[USB] checking...
[USB] checking...
/opt/etc/init.d/rcS: No such file or directory
/jffs/etc/init.d/rcS: No such file or directory
/mmc/etc/init.d/rcS: No such file or directory
logger: socket /dev/log: Connection refused
proxywatchdog.sh: no process found
mkdir: cannot create directory '/tmp/mnt': File exists
/mnt/smbshare
umount: /mnt/smbshare: no mount point specified.
rmmod: ERROR: Module cifs is not currently loaded
rmmod: ERROR: Module fscache is not currently loaded
schedulerb.sh: no process found
shatd: no process found
wdswatchdog.sh: no process found
The Milkfish Router Services
ERROR: Necessary service setting not found: milkfish_username - aborting.
The Milkfish Router Services
Restoring SIP ddsubscriber database from NVRAM...
Empty.
The Milkfish Router Services
Restoring SIP ddaliases database from NVRAM...
Empty.

DD-WRT login: root
Password: 
Last login: Sun Jan 17 02:39:45 CET 2021 from 192.168.1.30 on pts/0
Last login: Tue Oct  6 18:57:34 on console
==========================================================
 
     ___  ___     _      _____  ______        ___  __  ___
    / _ \/ _ \___| | /| / / _ \/_  __/__  __.`, /-` /.`, /
   / // / // /___/ |/ |/ / , _/ / /   \ \/ /_``_// //_``_/
  /____/____/    |__/|__/_/|_| /_/     \__/ /_/(_)_//_/
                                                     
                         DD-WRT v4.14
                      Wireless Liberty
                   http://www.dd-wrt.com
-----
This version has been brought to you by:
 __   __  _____  _____   _   ____   ______  _____  _   __
|  \ /  ||  ___||  __ \ | | / __ \ |__  __||  ___|| | / /
|   ^   || |__  | |  \ \| || |  | |  | |   | |__  | |/ /
|  | |  ||  ___|| |  | || || '--' |  | |   |  ___||   \
|  | |  || |___ | |__/ /| || |--| |  | |   | |___ | |\ \
|__| |__||_____||_____/ |_||_|  |_|  |_|   |_____||_| \_\
 
                      Everyday Genius.
-----
"It takes Everyday Genius to attain Wireless Liberty"
                                                     ~Anon
======*insert graffiti expressing 'Ralf r00lz!1!1!'*======
root@DD-WRT:~# 
root@DD-WRT:~# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.30, port 60100
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.30 port 60101
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.01   sec  5.94 MBytes  49.6 Mbits/sec    0    259 KBytes       
[  5]   1.01-2.00   sec  8.64 MBytes  72.6 Mbits/sec    0    259 KBytes       
[  5]   2.00-3.00   sec  9.13 MBytes  76.6 Mbits/sec    0    270 KBytes       
[  5]   3.00-4.00   sec  8.76 MBytes  73.5 Mbits/sec    0    270 KBytes       
[  5]   4.00-5.00   sec  8.20 MBytes  68.8 Mbits/sec    0    270 KBytes       
[  5]   5.00-6.00   sec  9.32 MBytes  78.2 Mbits/sec    0    270 KBytes       
[  5]   6.00-7.00   sec  9.01 MBytes  75.6 Mbits/sec    0    270 KBytes       
[  5]   7.00-8.00   sec  9.26 MBytes  77.7 Mbits/sec    0    270 KBytes       
[  5]   8.00-9.00   sec  9.13 MBytes  76.7 Mbits/sec    0    270 KBytes       
[  5]   9.00-10.00  sec  9.01 MBytes  75.5 Mbits/sec    0    270 KBytes       
[  5]  10.00-11.00  sec  9.07 MBytes  76.1 Mbits/sec    0    270 KBytes       
[  5]  11.00-12.00  sec  8.95 MBytes  75.1 Mbits/sec    0    270 KBytes       
[  5]  12.00-13.00  sec  9.13 MBytes  76.6 Mbits/sec    0    270 KBytes       
[  5]  13.00-14.00  sec  8.95 MBytes  75.1 Mbits/sec    0    270 KBytes       
[  5]  14.00-15.00  sec  8.39 MBytes  70.4 Mbits/sec    0    270 KBytes       
[  5]  15.00-16.00  sec  9.38 MBytes  78.7 Mbits/sec    0    270 KBytes       
[  5]  16.00-17.00  sec  9.07 MBytes  76.1 Mbits/sec    0    270 KBytes       
[  5]  17.00-18.00  sec  9.01 MBytes  75.6 Mbits/sec    0    270 KBytes       
[  5]  18.00-19.00  sec  9.07 MBytes  76.1 Mbits/sec    0    270 KBytes       
[  5]  19.00-20.00  sec  8.33 MBytes  69.9 Mbits/sec    0    270 KBytes       
[  5]  20.00-20.01  sec   382 KBytes   282 Mbits/sec    0    270 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.01  sec   176 MBytes  73.8 Mbits/sec    0             sender
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.30, port 60102
[  5] local 192.168.1.1 port 5201 connected to 192.168.1.30 port 60103
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  7.26 MBytes  60.8 Mbits/sec    0    130 KBytes       
[  5]   1.00-2.00   sec  8.08 MBytes  67.6 Mbits/sec    0    130 KBytes       
[  5]   2.00-3.00   sec  8.70 MBytes  73.0 Mbits/sec    0    130 KBytes       
[  5]   3.00-4.00   sec  9.01 MBytes  75.5 Mbits/sec    0    130 KBytes       
[  5]   4.00-5.01   sec  8.70 MBytes  72.9 Mbits/sec    0    132 KBytes       
[  5]   5.01-6.00   sec  8.39 MBytes  70.5 Mbits/sec    0    132 KBytes       
[  5]   6.00-7.00   sec  8.20 MBytes  68.8 Mbits/sec    0    132 KBytes       
[  5]   7.00-8.00   sec  8.39 MBytes  70.4 Mbits/sec    0    132 KBytes       
[  5]   8.00-9.00   sec  8.64 MBytes  72.5 Mbits/sec    0    132 KBytes       
[  5]   9.00-10.00  sec  8.82 MBytes  74.1 Mbits/sec    0    132 KBytes       
[  5]  10.00-11.00  sec  7.89 MBytes  66.1 Mbits/sec    0    132 KBytes       
[  5]  11.00-12.00  sec  8.70 MBytes  73.0 Mbits/sec    0    132 KBytes       
[  5]  12.00-13.00  sec  8.76 MBytes  73.5 Mbits/sec    0    132 KBytes       
[  5]  13.00-14.00  sec  8.95 MBytes  75.1 Mbits/sec    0    132 KBytes       
[  5]  14.00-15.00  sec  8.95 MBytes  75.1 Mbits/sec    0    132 KBytes       
[  5]  15.00-16.00  sec  9.38 MBytes  78.7 Mbits/sec    0    132 KBytes       
[  5]  16.00-17.00  sec  9.01 MBytes  75.6 Mbits/sec    0    132 KBytes       
[  5]  17.00-18.00  sec  9.38 MBytes  78.7 Mbits/sec    0    132 KBytes       
[  5]  18.00-19.00  sec  9.38 MBytes  78.7 Mbits/sec    0    132 KBytes       
[  5]  19.00-20.00  sec  9.26 MBytes  77.6 Mbits/sec    0    132 KBytes 

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

again i want to thank you for trying to help, i really do appreciate it. but my time isn't cheap. i have spent a reasonable amount of time making this platform good, and i feel the lack of performance for some reason is upsetting. i am aware of the high suicides at FOXCONN and associated entities (REALTEK included). i am sorry for that and i don't intend to sound like one of the supervisors at those corporations who drive the hard working employees to such tragic ends.

this is frustrating. there is no reason performance should be low. there should be a real desire from the chinese router enthusiasts to help me out here (i appreciate your efforts). the only thing i can point to is the ramcodes, which are able to drastically affect performance.

@MeIsReallyBa
Copy link

This is my wireless speedtest which runs in openwrt master(linux 5.4).It test the speed between wired lan and wifi.From my test,the wireless driver has bo problem.
NvJXZT

@MeIsReallyBa
Copy link

The tested router is xiaomi redmi ac2100(7621+7615e).I used the MTK proprietary driver.

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i like the proprietary driver. i don't know what the problem is! this is a frustrating situation.

is your ac2100 7615x2? sounds like similar SOC to the dir 882. what kind of SPI/nand?

@MeIsReallyBa
Copy link

i like the proprietary driver. i don't know what the problem is! this is a frustrating situation.

is your ac2100 7615x2? sounds like similar SOC to the dir 882. what kind of SPI/nand?

7615+7603,nand.

@MeIsReallyBa
Copy link

The wan<->wifi speed is about 400Mbps in default situation and I can hit 800Mbps If I use nat_flow since it support wireless hw_nat.

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

it's possible something is wrong with kernel but i don't see how kernel could interfere with speed like this.... the drivers are from GPL and this github, so i want to believe kernel isn't the issue here. seems like only big difference.

@MeIsReallyBa
Copy link

padavan and my openwrt are using the same the proprietary driver.All the the proprietary driver code is shown on the github.

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i know. so i don't understand how this is possible. sigh

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 17, 2021

You can plug your network cable into the lan instead of wan so you can test wireless speed in the situation that exclude the impact of nat performance

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

i just run iperf -s off my router, i know you said i shouldn't, but i don't think this is the problem. it doesn't matter whether i use wan or wan, the cap is about the same. i'm wondering what would cause it.

also, idisabled "DRACTRL_LIMIT_MAX_PHY_RATE=1300" in the makefile, but i don't know if this would cause any problem since it just seems to set fgphymode check

#ifdef RACTRL_LIMIT_MAX_PHY_RATE
#ifdef DOT11_VHT_AC
if ( pAd->MacTab.Size == 0 )
{
pAd->fgRaLimitPhyRate = FALSE;
}
else if ((pAd->fgRaLimitPhyRate == FALSE) && !IS_ENTRY_NONE(pEntry))
{
UINT16 u2TxTP;
BOOLEAN fgPhyModeCheck = FALSE;
u2TxTP = pEntry->OneSecTxBytes >> BYTES_PER_SEC_TO_MBPS;
if (pEntry->SupportRateMode & SUPPORT_VHT_MODE)
{
if (pEntry->MaxHTPhyMode.field.BW == BW_160)
{
fgPhyModeCheck = TRUE;
}
if (RACTRL_LIMIT_MAX_PHY_RATE >= MAX_PHY_RATE_3SS)
{
if (pEntry->SupportVHTMCS4SS)
{
fgPhyModeCheck = TRUE;
}
}
else if (RACTRL_LIMIT_MAX_PHY_RATE >= MAX_PHY_RATE_2SS)
{
if (pEntry->SupportVHTMCS3SS)
{
fgPhyModeCheck = TRUE;
}
}
else
{
fgPhyModeCheck = TRUE;
}
}
if ((u2TxTP > LIMIT_MAX_PHY_RATE_THRESHOLD) && fgPhyModeCheck)
{
MtCmdSetMaxPhyRate(pAd, RACTRL_LIMIT_MAX_PHY_RATE);
pAd->fgRaLimitPhyRate = TRUE;
}
}
#endif /* DOT11_VHT_AC */
#endif /* RACTRL_LIMIT_MAX_PHY_RATE */

@i3roly
Copy link
Author

i3roly commented Jan 17, 2021

it has to be something with the remove_vlan_tag function. i don't think it's being untagged properly or something.

i'm going to try the one on this git since padavan seems to have rewritten it.

edit: actually nevermind, there are too many changes in the macros for me to wade through it all. just have to focus on this function i guess

edit2: in older kernel KConfig it explicitly states hw_vlan_tx is not supported for dual gmac.i thought this would be a problem, but commenting out CONFIG_RAETH_HW_VLAN_TX in raeth_config didn't help

@i3roly
Copy link
Author

i3roly commented Jan 18, 2021

btw @MeIsReallyBa i noticed that dirx1860 102 gpl has slightly newer RAETH with 1200 mode enabled whereas 101 does not. i'm wondering if that is partially the reason you don't get your switch picked up.

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 18, 2021

What I mean is that the wan will work even if switch is not loaded properly.In fact after modifying the dts, the switch was successfully loaded

@i3roly
Copy link
Author

i3roly commented Jan 18, 2021

i know that. what i am saying is, it is possible that newer raeth from 102 may allow the switch to work.

i finally got the "Reentry frame" error to go away. i had to add non-"ethX" interface to br0.

i create two vlans on eth2 and added vlan1.

root@DD-WRT:~# switch vlan dump
  vid  fid  portmap    s-tag
    1    0  1111-11-       0
    2    0  ----1-1-       0

it's still not going over 400Mbps though.

i suspect this issue has to do with the vlans and the bridge. but i'm not exactly sure what to do aside from havign vlan1 on the bridge.

@i3roly
Copy link
Author

i3roly commented Jan 18, 2021

@MeIsReallyBa show me your bootlog if you can, please. also, any relevant vlan information etc.

i hate to be honest but i don't think you're telling the full truth. the linux dir you've provided doesn't even have a properly-hooked wifi driver into the hw_nat. so either you're using some stock router fw and testing on that (and not telling me), or you're not telling the truth.

it's not possible for you to get that performance with that linux directory in the build tree, if we are to believe the lack of hW_NAT was the reason for bad performance.

since you are the one who provides the newer drivers, the only thing i can think of is you have some sort of incentive to not be forthcoming about the lack of full performance.

in other words: your evidence is extremely lacking in comparison to mine

@i3roly
Copy link
Author

i3roly commented Jan 19, 2021

it sort of works now!

i suspect the reason i'm not maxing out is because APPUL (@apple) wifi licks balls. i'm pretty sure if i was in windows i'd get more.

either way. hitting 500/500 consistently now with the HARDWARE NAT baby

the broken english log output is so amazing rn

my users are probably so happy hahahahah.

REALTEK FOR LIFE

Screen Shot 2021-01-18 at 5 58 21 PM

@MeIsReallyBa i know what you mean now when you're talking about CPU. one core will just max out when it starts pushing. it starts sort of slow then all of a sudden it keeps going up and up. i'm often running out of packets by the time this shit is warmed up.

THIS THING IS SO SICK. THE HARDWARE NAT HAHHAHA

@MeIsReallyBa
Copy link

[ 0.000000] Linux version 4.4.177 (bibi@ubuntu) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r4046-beaa2ecc10) ) #0 SMP Tue Nov 19 05:51:15 2019
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Phicomm K2P
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat 8151b180, node_mem_map 815a5000
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4096 pages, LIFO batch:0
[ 0.000000] Normal zone: 480 pages used for memmap
[ 0.000000] Normal zone: 61440 pages, LIFO batch:15
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] PERCPU: Embedded 10 pages/cpu @817b3000 s8544 r8192 d24224 u40960
[ 0.000000] pcpu-alloc: s8544 r8192 d24224 u40960 alloc=104096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=0002f561
[ 0.000000] Readback ErrCtl register=0002f561
[ 0.000000] Memory: 253884K/262144K available (4224K kernel code, 160K rwdata, 928K rodata, 244K init, 202K bss, 8260K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007795] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.070421] pid_max: default: 32768 minimum: 301
[ 0.075129] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.081654] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.558288] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.558298] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.558310] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.558476] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.177759] Synchronize counters for CPU 1: done.
[ 3.278128] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.278136] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.278141] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.278214] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.268190] Synchronize counters for CPU 2: done.
[ 3.368251] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 3.368258] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 3.368264] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 3.368351] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.353371] Synchronize counters for CPU 3: done.
[ 0.358107] Brought up 4 CPUs
[ 0.365483] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.375287] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.381585] pinctrl core: initialized pinctrl subsystem
[ 0.387397] NET: Registered protocol family 16
[ 0.399412] FPU Affinity set after 11720 emulations
[ 0.427154] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.432818] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.438408] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.644954] PCIe port 0 link down
[ 0.648186] PCIe port 2 link down
[ 0.651486] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 0.691278] PCI host bridge to bus 0000:00
[ 0.695316] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 0.702188] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 0.708964] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.715719] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.723612] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 0.723670] pci 0000:00:00.0: reg 0x14: [mem 0x60100000-0x6010ffff]
[ 0.723757] pci 0000:00:00.0: supports D1
[ 0.723771] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.724250] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 0.724329] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.724635] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.724667] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.724733] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 0.731449] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[ 0.738170] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 0.745444] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.750342] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 0.759776] clocksource: Switched to clocksource GIC
[ 0.766666] NET: Registered protocol family 2
[ 0.771780] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.778668] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.785102] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.791465] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.797224] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.803779] NET: Registered protocol family 1
[ 0.808133] PCI: CLS 80 bytes, default 32
[ 0.823040] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.828799] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.841979] io scheduler noop registered
[ 0.845825] io scheduler deadline registered (default)
[ 0.851881] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.859231] console [ttyS0] disabled
[ 0.862806] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 33, base_baud = 3125000) is a 16550A
[ 0.871800] console [ttyS0] enabled
[ 0.878683] bootconsole [early0] disabled
[ 0.887209] 1e000d00.uartfull: ttyS1 at MMIO 0x1e000d00 (irq = 34, base_baud = 3125000) is a 16550A
[ 0.899534] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[ 0.904712] 4 ofpart partitions found on MTD device spi32766.0
[ 0.910570] Creating 4 MTD partitions on "spi32766.0":
[ 0.915716] 0x000000000000-0x000000030000 : "Bootloader"
[ 0.922535] 0x000000030000-0x000000040000 : "Config"
[ 0.928832] 0x000000040000-0x000000050000 : "Factory"
[ 0.935180] 0x000000050000-0x000001000000 : "firmware"
[ 0.965011] no rootfs found after FIT image in "firmware"
[ 1.051312] 2 uimage-fw partitions found on MTD device firmware
[ 1.057244] 0x000000050000-0x000000203d0f : "kernel"
[ 1.063677] 0x000000203d0f-0x000001000000 : "rootfs"
[ 1.070162] mtd: device 5 (rootfs) set to be root filesystem
[ 1.075940] 1 squashfs-split partitions found on MTD device rootfs
[ 1.082158] 0x000000de0000-0x000001000000 : "rootfs_data"
[ 1.089414] libphy: Fixed MDIO Bus: probed
[ 1.093803] CHIP_ID = MT7621
[ 1.096685] WAN at P4
[ 1.098951] GMAC1 support rgmii
[ 1.102108] GE1_RGMII_FORCE_1000
[ 1.105333] GMAC2 support rgmii
[ 1.108467] GE2_RGMII_FORCE_1000
[ 1.111881] STD_v0.1 1024 rx/2048 tx descriptors allocated, mtu = 1500!
[ 1.330969] MT7530 Reset Completed!!
[ 1.340090] change HW-TRAP to 0x17c8f
[ 1.350988] set LAN/WAN LLLLW
[ 1.362639] eth1: ===> virtualif_open
[ 1.366615] == MT7530 MCM ==
[ 1.370840] mt7621_wdt 1e000100.wdt: Initialized
[ 1.377506] NET: Registered protocol family 10
[ 1.383517] NET: Registered protocol family 17
[ 1.388029] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.400678] 8021q: 802.1Q VLAN Support v1.8
[ 1.407760] hctosys: unable to open rtc device (rtc0)
[ 1.420900] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.428588] Freeing unused kernel memory: 244K
[ 1.433077] This architecture does not have kernel memory protection.
[ 2.206398] init: Console is alive
[ 2.210097] init: - watchdog -
[ 3.453668] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 3.642356] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.670033] init: - preinit -
[ 4.133365] random: procd: uninitialized urandom read (4 bytes read, 88 bits of entropy available)
[ 4.381756] Raeth STD_v0.1 (
[ 4.384487] Tasklet<6>[ 4.386588] )
[ 4.388216]
[ 4.388216] phy_qrx_ring = 0x00c39000, qrx_ring = 0xa0c39000
[ 4.397434] txd_pool=a0cc0000 phy_txd_pool=00cc0000
[ 4.402350] ei_local->skb_free start address is 0x8ff82000.
[ 4.413598] phy_free_head is 0x00c18000!!!
[ 4.417692] phy_free_tail_phy is 0x00c19ff0!!!
[ 4.422151] gmac1_txd_num:1024; gmac2_txd_num:1024; num_tx_desc:2048
[ 4.428501] Enable QDMA TX NDP coherence check and re-read mechanism
[ 4.434874] *********QDMA_GLO_CFG=80100465
[ 5.299771] IPv6: addrconf_dad_work: send ns, eth0: addr=fe80::94f6:f7ff:fee1:b22e
[ 7.633612] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 7.646486] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 7.729959] ra2880stop()...
[ 7.732608] Done
[ 7.734658] eth1: ===> virtualif_close
[ 7.739207] Free TX/RX Ring Memory!
[ 7.750834] procd: - early -
[ 7.753835] procd: - watchdog -
[ 8.389911] procd: - watchdog -
[ 8.393380] procd: - ubus -
[ 8.515684] random: ubusd: uninitialized urandom read (4 bytes read, 112 bits of entropy available)
[ 8.594311] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.603855] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.613000] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.626328] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.635495] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.644757] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.653997] random: ubusd: uninitialized urandom read (4 bytes read, 113 bits of entropy available)
[ 8.663461] procd: - init -
[ 9.029327] kmodloader: loading kernel modules from /etc/modules.d/

[ 9.106700] tun: Universal TUN/TAP device driver, 1.6
[ 9.111815] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 9.122459] sit: IPv6 over IPv4 tunneling driver
[ 9.132051] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.148392] nf_conntrack version 0.5.0 (3970 buckets, 15880 max)
[ 10.350831] Netfilter messages via NETLINK v0.30.
[ 10.357437] ip_set: protocol 6
[ 10.440137] random: nonblocking pool is initialized
[ 14.582668] cryptodev: driver 1.8 loaded.
[ 14.844214] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.516089] register mt_drv
[ 16.532591]
[ 16.532591] == pAd = c0981000, size = 4053248, Status=0 ==
[ 16.539581] pAd->PciHif.CSRBaseAddress =0xc0880000, csr_addr=0xc0880000!
[ 16.546325] RTMPInitPCIeDevice():device_id=0x7615
[ 16.551056] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
[ 16.558188] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
[ 16.563260] AP Driver version-5.0.4.0
[ 16.566925] RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
[ 16.573980] mt7615_init()-->
[ 16.576860] Use the default ePAeLNA bin image!
[ 16.581315] Use the default /etc_ro/wlan/MT7615E_EEPROM1.bin bin image!
[ 16.587946] <--mt7615_init()
[ 16.593945] <-- RTMPAllocTxRxRingMemory, Status=0
[ 16.637224] ctnetlink v0.93: registering with nfnetlink.
[ 16.969497] xt_time: kernel timezone is -0000
[ 16.985059] PPP generic driver version 2.4.2
[ 16.990995] NET: Registered protocol family 24
[ 17.000552] kmodloader: done loading kernel modules from /etc/modules.d/

[ 21.291622] Ralink HW NAT Module Enabled
[ 21.301922] init PpeVirtFoeBase_tmp = a0e00000
[ 21.306377] init ppe_foe_base = a0e00000
[ 21.313468] ppe_dev_reg_handler : ineterface eth0 register (0)
[ 21.319306] ppe_set_dst_port :dst_port[0] =eth0
[ 21.323946] ppe_dev_reg_handler : ineterface eth1 register (1)
[ 21.329900] ppe_set_dst_port :dst_port[1] =eth1
[ 23.701370] Raeth STD_v0.1 (
[ 23.704101] Tasklet<6>[ 23.706210] )
[ 23.707859]
[ 23.707859] phy_qrx_ring = 0x00dc7000, qrx_ring = 0xa0dc7000
[ 23.718199] txd_pool=a0d20000 phy_txd_pool=00d20000
[ 23.723168] ei_local->skb_free start address is 0x8ff82000.
[ 23.734649] phy_free_head is 0x00dc2000!!!
[ 23.738775] phy_free_tail_phy is 0x00dc3ff0!!!
[ 23.743534] gmac1_txd_num:1024; gmac2_txd_num:1024; num_tx_desc:2048
[ 23.750159] Enable QDMA TX NDP coherence check and re-read mechanism
[ 23.756718] ***********QDMA_GLO_CFG=80100465
[ 23.767667] device eth0 entered promiscuous mode
[ 23.775823] br-lan: port 1(eth0) entered forwarding state
[ 23.781427] br-lan: port 1(eth0) entered forwarding state
[ 23.787244] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 23.811018] rax0: ===> main_virtual_if_open
[ 23.815877] load l1profile succeed!
[ 23.819547] driver_own()::Try to Clear FW Own...
[ 23.957200] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 23.964179] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 23.970959] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 24.295673] driver_own()::Success to clear FW Own
[ 24.306439] APWdsInitialize():WdsEntry Number=4
[ 24.488555] [multi_profile_merge_5g_only] DBDC_MODE=1
[ 24.539255] multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
[ 24.546100] Open file "/etc/wireless/mt7615/DBDC_card0.dat" to store DBDC cfg! (21)
[ 24.556552] E2pAccessMode=2
[ 24.560515] SSID[0]=OpenWrt, EdcaIdx=0
[ 24.564579] SSID[1]=OpenWrt_5G, EdcaIdx=0
[ 24.569314] DBDC Mode=1, eDBDC_mode = 1
[ 24.574354] BSS0 PhyMode=14
[ 24.577170] wmode_band_equal(): Band Equal!
[ 24.581391] BSS1 PhyMode=49
[ 24.587034] BandSteering=0
[ 24.590144] BndStrgBssIdx=1;1
[ 24.593519] [TxPower] BAND0: 100, BAND1: 100
[ 24.598687] Power Boost (CCK, OFDM): RTMPSetProfileParametersPower Boost (HT20): RTMPSetProfileParametersPower Boost (HT40): RTMPSetProfileParametersPower Boost (VHT20): RTMPSetProfileParametersPower Boost (VHT40): RTMPSetProfileParametersPower Boost (VHT80): RTMPSetProfileParametersPower Boost (VHT160): RTMPSetProfileParameters[PERCENTAGEenable] BAND0: 0, BAND1: 0
[ 24.636127] [BFBACKOFFenable] BAND0: 0, BAND1: 0
[ 24.641144] CalCacheApply = 0
[ 24.646940] FragThreshold[0]=2346
[ 24.650295] FragThreshold[1]=2346
[ 24.655380] Valid=1
[ 24.657488] APAifsn[0]=3
[ 24.660061] APAifsn[1]=7
[ 24.662604] APAifsn[2]=1
[ 24.665146] APAifsn[3]=1
[ 24.668121] Valid=1
[ 24.670258] APAifsn[0]=3
[ 24.672803] APAifsn[1]=7
[ 24.675345] APAifsn[2]=1
[ 24.677882] APAifsn[3]=1
[ 24.686864] BSSAifsn[0]=3
[ 24.689494] BSSAifsn[1]=7
[ 24.692189] BSSAifsn[2]=2
[ 24.694820] BSSAifsn[3]=2
[ 24.697880] BSSAifsn[0]=3
[ 24.700545] BSSAifsn[1]=7
[ 24.703194] BSSAifsn[2]=2
[ 24.705822] BSSAifsn[3]=2
[ 24.712857] DfsZeroWait Support=0/0
[ 24.718703] DfsZeroWaitCacTime=255/255
[ 24.724652] read_etxbf: ETxBfEnCond = 1
[ 24.728497] read_etxbf: BSSID[0]
[ 24.731763] read_etxbf: MBSS[0] ETxBfEnCond = 1
[ 24.736318] read_etxbf: ETxBfEnCond = 1
[ 24.740196] read_etxbf: BSSID[1]
[ 24.743436] read_etxbf: MBSS[1] ETxBfEnCond = 1
[ 24.819141] [rtmp_read_ap_client_from_file] pf1=1 pf2=1
[ 24.829976] If/wds0 - PeerPhyOpMode=255
[ 24.835513] APWdsInitialize():WdsEntry Number=4
[ 24.840084] WDS-Enable mode=0
[ 24.843546] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[ 24.853330] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[ 24.869407] HT: WDEV[0] Ext Channel = ABOVE
[ 24.873640] HT: WDEV[1] Ext Channel = ABOVE
[ 24.878692] ChipI=7615, Value=0, pcie_aspm in profile=0
[ 24.941957] ICapMode = 0
[ 24.956352] WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
[ 24.967206] Top Init Done!
[ 24.969981] Use dev_alloc_skb
[ 24.974696] RX[0] DESC a0cf8000 size = 16384
[ 24.981759] RX[1] DESC a0cf6000 size = 8192
[ 24.986987] cut_through_init(): ct sw token number = 4095
[ 24.992851] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 25.000654] cut_through_token_list_init(): 8fde1288,8fde1288
[ 25.006865] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 25.014685] cut_through_token_list_init(): 8fde1298,8fde1298
[ 25.020443] Hif Init Done!
[ 25.023161] ctl->txq = c0d59038
[ 25.026302] ctl->rxq = c0d59044
[ 25.029444] ctl->ackq = c0d59050
[ 25.032701] ctl->kickq = c0d5905c
[ 25.036022] ctl->tx_doneq = c0d59068
[ 25.039601] ctl->rx_doneq = c0d59074
[ 25.043330] Parsing patch header
[ 25.046568] Built date: 20180518100604a
[ 25.050647]
[ 25.052140] Platform: ALPS
[ 25.054968] HW/SW version: 0x8a108a10
[ 25.058768] Patch version: 0x00000010
[ 25.062609] Target address: 0x80000, length: 11072
[ 25.067735] patch is not ready && get semaphore success
[ 25.073135] EventGenericEventHandler: CMD Success
[ 25.078098] MtCmdPatchFinishReq
[ 25.092587] EventGenericEventHandler: CMD Success
[ 25.097452] release patch semaphore
[ 25.101009] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
[ 25.107296] Parsing CPU 0 fw tailer
[ 25.110817] Chip ID: 0x04
[ 25.113549] Eco version: 0x00
[ 25.116626] Region number: 0x00
[ 25.119903] Format version: 0x00
[ 25.123244] Ram version: reserved
[ 25.126896] Built date: 20190307015603
[ 25.130945] Common crc: 0x0
[ 25.133834] Parsing tailer region 0
[ 25.137325] Feature set: 0x01
[ 25.140459] Target address: 0x84000, Download size: 409600
[ 25.146037] Parsing tailer region 1
[ 25.149529] Feature set: 0x01
[ 25.152650] Target address: 0x209c400, Download size: 43328
[ 25.158404] EventGenericEventHandler: CMD Success
[ 25.169200] EventGenericEventHandler: CMD Success
[ 25.174726] MtCmdFwStartReq: override = 0x1, address = 0x84000
[ 25.180715] EventGenericEventHandler: CMD Success
[ 25.185468] Parsing CPU 1 fw tailer
[ 25.188963] Chip ID: 0x04
[ 25.191719] Eco version: 0x00
[ 25.194787] Region number: 0x00
[ 25.198028] Format version: 0x00
[ 25.201376] Ram version: reserved
[ 25.205005] Built date: 20190415154149
[ 25.209009] Common crc: 0x0
[ 25.211913] Parsing tailer region 0
[ 25.215404] Feature set: 0x01
[ 25.218477] Target address: 0x90000000, Download size: 122608
[ 25.224425] EventGenericEventHandler: CMD Success
[ 25.230705] MtCmdFwStartReq: override = 0x4, address = 0x0
[ 25.271422] EventGenericEventHandler: CMD Success
[ 25.340685] MCU Init Done!
[ 25.343416] efuse_probe: efuse = 10000212
[ 25.347436] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[ 25.352878] RtmpEepromGetDefault::e2p_dafault=1
[ 25.357422] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[ 25.365041] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
[ 25.421431] [34mNICReadEEPROMParameters: EEPROM 0x52 b300[m
[ 25.779733] br-lan: port 1(eth0) entered forwarding state
[ 31.817071] done.
[ 31.819051] jffs2: notice: (1415) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 32.920073] Country Region from e2p = 101
[ 32.924159] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
[ 32.930479] mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
[ 32.937655] mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
[ 32.944950] RcRadioInit(): DbdcMode=1, ConcurrentBand=2
[ 32.950270] RcRadioInit(): pRadioCtrl=8f7e0ef8,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
[ 32.958735] RcRadioInit(): pRadioCtrl=8f7e11fc,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
[ 32.967427] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 1
[ 32.973611] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 0
[ 32.979956] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
[ 32.985805] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
[ 32.991569] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
[ 32.999034] MtCmdSetDbdcCtrl:(ret = 0)
[ 33.002869] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
[ 33.011952] RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 33.020107] --> Error opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 33.026848] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
[ 33.032753] RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 33.040914] EEPROM Init Done!
[ 33.043897] mt_mac_init()-->
[ 33.046806] mt7615_init_mac_cr()-->
[ 33.050446] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
[ 33.055712] mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
[ 33.060995] <--mt_mac_init()
[ 33.064444] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 33.071505] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 33.078298] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 33.085237] MAC Init Done!
[ 33.087967] MT7615BBPInit():BBP Initialization.....
[ 33.092992] Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
[ 33.102160] Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
[ 33.111815] MT7615BBPInit() todo
[ 33.115203] PHY Init Done!
[ 33.121249] MtCmdSetMacTxRx:(ret = 0)
[ 33.126062] MtCmdSetMacTxRx:(ret = 0)
[ 33.130289] WifiFwdSet::disabled=0
[ 33.133778] Main bssid = 00:00:00:00:00:00
[ 33.139439] MtCmdSetMacTxRx:(ret = 0)
[ 33.143470] MtCmdSetMacTxRx:(ret = 0)
[ 33.147374] MtCmdSetMacTxRx:(ret = 0)
[ 33.152518] MtCmdSetMacTxRx:(ret = 0)
[ 33.156276] INIT REDUCE TCP ACK, rax0
[ 33.160011] <==== mt_wifi_init, Status=0
[ 33.163980] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
[ 33.169688] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
[ 33.175433] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
[ 33.182690] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
[ 33.187696] MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
[ 33.196101] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
[ 33.203485] hc_radio_res_request(): wdev=2, hobj is not ready!
[ 33.211094] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
[ 33.218471] hc_radio_res_request(): wdev=3, hobj is not ready!
[ 33.226731] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
[ 33.234258] hc_radio_res_request(): wdev=4, hobj is not ready!
[ 33.243833] The new WDS interface MAC = 00:00:00:00:00:00, MacTabMatchWCID = 0
[ 33.251290] hc_radio_res_request(): wdev=5, hobj is not ready!
[ 33.258810] Total allocated 4 WDS interfaces!
[ 33.269083] WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
[ 33.404938] RedInit: set CR4/N9 RED Enable to 1.
[ 33.409629] RedInit: RED Initiailize Done.
[ 33.413961] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
[ 33.420182] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 33.426597] wifi_sys_open(), wdev idx = 0
[ 33.430875] wdev_attr_update(): wdevId0 = 04:5f:a7:66:70:24
[ 33.436548] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 1
[ 33.442803] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 0
[ 33.449041] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
[ 33.454855] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
[ 33.460587] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
[ 33.468104] MtCmdSetDbdcCtrl:(ret = 0)
[ 33.472622] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m
[ 33.478124] mt7615_apply_cal_data() : eeprom 0x52 bit 1 is 0, do runtime cal , skip RX reload
[ 33.486717] mt7615_apply_cal_data() : eeprom 0x52 bit 0 is 0, do runtime cal , skip TX reload
[ 33.495477] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
[ 33.504608] BW = 1,TXStream = 2, RXStream = 2, scan(0)
[ 33.775546] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 33.783102] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 33.788669] phy_mode=14, ch=6, wdev_type=1
[ 33.792952] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 33.802385] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
[ 33.809949] AP inf up for ra_0(func_idx) OmacIdx=0
[ 33.814950] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[ 33.821833] ApAutoChannelAtBootUp----------------->
[ 33.826796] ApAutoChannelAtBootUp: AutoChannelBootup = 0
[ 33.832259] ApAutoChannelAtBootUp<-----------------
[ 33.837219] [41m ap_run_at_boot() : ACS is disable !![m
[ 33.842791] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[ 33.848983] wifi_sys_linkup(), wdev idx = 0
[ 33.853350] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
[ 33.853350] LinkToOmacIdx = 0, LinkToWdevType = 1
[ 33.866640] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[ 33.879441] MtCmdSetDbdcCtrl:(ret = 0)
[ 33.884480] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
[ 33.890649] APStartUpForMbss: BssIndex = 0 channel = 6
[ 33.895872] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
[ 33.905180] apidx 0 for WscUUIDInit
[ 33.908753] Generate UUID for apidx(0)
[ 33.912874] ppe_dev_reg_handler : ineterface rax0 register (2)
[ 33.921758] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 33.967856] device rax0 entered promiscuous mode
[ 33.972816] br-lan: port 2(rax0) entered forwarding state
[ 33.978649] br-lan: port 2(rax0) entered forwarding state
[ 33.991140] ra0: ===> mbss_virtual_if_open
[ 33.995319] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 34.001813] wifi_sys_open(), wdev idx = 1
[ 34.005908] wdev_attr_update(): wdevId1 = 06:5f:a7:76:70:24
[ 34.011748] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 0
[ 34.017990] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1
[ 34.024327] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 34.030052] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 34.035743] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 34.043204] MtCmdSetDbdcCtrl:(ret = 0)
[ 34.047335] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m
[ 34.052950] mt7615_apply_cal_data() : eeprom 0x52 bit 1 is 0, do runtime cal , skip RX reload
[ 34.061602] mt7615_apply_cal_data() : eeprom 0x52 bit 0 is 0, do runtime cal , skip TX reload
[ 34.070325] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0
[ 34.079603] BW = 2,TXStream = 2, RXStream = 2, scan(0)
[ 34.186686] EventExtEventHandler: Unknown Ext Event(7)
[ 34.286725] EventExtEventHandler: Unknown Ext Event(7)
[ 34.386784] EventExtEventHandler: Unknown Ext Event(7)
[ 34.486801] EventExtEventHandler: Unknown Ext Event(7)
[ 34.586862] EventExtEventHandler: Unknown Ext Event(7)
[ 34.686899] EventExtEventHandler: Unknown Ext Event(7)
[ 34.786929] EventExtEventHandler: Unknown Ext Event(7)
[ 34.886975] EventExtEventHandler: Unknown Ext Event(7)
[ 34.987017] EventExtEventHandler: Unknown Ext Event(7)
[ 35.100773] EventExtEventHandler: Unknown Ext Event(7)
[ 35.200698] EventExtEventHandler: Unknown Ext Event(7)
[ 35.300770] EventExtEventHandler: Unknown Ext Event(7)
[ 35.400785] EventExtEventHandler: Unknown Ext Event(7)
[ 35.500816] EventExtEventHandler: Unknown Ext Event(7)
[ 35.600872] EventExtEventHandler: Unknown Ext Event(7)
[ 35.700886] EventExtEventHandler: Unknown Ext Event(7)
[ 35.800938] EventExtEventHandler: Unknown Ext Event(7)
[ 35.900986] EventExtEventHandler: Unknown Ext Event(7)
[ 35.938104] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 35.938235] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
[ 35.951486] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 35.957050] phy_mode=49, ch=44, wdev_type=1
[ 35.961350] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 35.969785] br-lan: port 2(rax0) entered forwarding state
[ 35.976237] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
[ 35.982466] AP inf up for ra_1(func_idx) OmacIdx=17
[ 35.987476] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
[ 35.992755] ApAutoChannelAtBootUp----------------->
[ 35.997698] ApAutoChannelAtBootUp: AutoChannelBootup = 0
[ 36.003103] ApAutoChannelAtBootUp<-----------------
[ 36.008028] [41m ap_run_at_boot() : ACS is disable !![m
[ 36.013581] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
[ 36.019539] wifi_sys_linkup(), wdev idx = 1
[ 36.023808] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
[ 36.023808] LinkToOmacIdx = 11, LinkToWdevType = 1
[ 36.036971] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
[ 36.049647] MtCmdSetDbdcCtrl:(ret = 0)
[ 36.054164] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
[ 36.060205] APStartUpForMbss: BssIndex = 1 channel = 44
[ 36.065633] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
[ 36.078086] apidx 1 for WscUUIDInit
[ 36.081754] Generate UUID for apidx(1)
[ 36.085677] ppe_dev_reg_handler : ineterface ra0 register (3)
[ 36.095169] device ra0 entered promiscuous mode
[ 36.100167] br-lan: port 3(ra0) entered forwarding state
[ 36.105606] br-lan: port 3(ra0) entered forwarding state
[ 36.117105] eth1: ===> virtualif_open
[ 38.099748] br-lan: port 3(ra0) entered forwarding state
[ 41.671522] Ralink HW NAT Module Disabled
[ 41.770108] Ralink HW NAT Module Enabled
[ 41.774093] ***ppe_foe_base = a0e00000
[ 41.777857] ***PpeVirtFoeBase_tmp = a0e00000
[ 41.785891] ppe_dev_reg_handler : ineterface eth0 register (0)
[ 41.791809] ppe_set_dst_port :dst_port[0] =eth0
[ 41.796362] ppe_dev_reg_handler : ineterface eth1 register (1)
[ 41.802246] ppe_set_dst_port :dst_port[1] =eth1
[ 42.085522] ra0: ===> mbss_virtual_if_close
[ 42.089915] wifi_sys_linkdown(), wdev idx = 1
[ 42.094382] ExtEventBeaconLostHandler::FW LOG, Beacon lost (06:5f:a7:76:70:24), Reason 0x10
[ 42.094387] Beacon lost - AP disabled!!!
[ 42.107815] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[ 42.119762] wifi_sys_close(), wdev idx = 1
[ 42.124121] ppe_dev_unreg_handler : ineterface ra0 set null (64)
[ 42.130552] br-lan: port 3(ra0) entered disabled state
[ 42.155292] rax0: ===> main_virtual_if_close
[ 42.159897] wifi_sys_linkdown(), wdev idx = 0
[ 42.160118] ExtEventBeaconLostHandler::FW LOG, Beacon lost (04:5f:a7:66:70:24), Reason 0x10
[ 42.160123] Beacon lost - AP disabled!!!
[ 42.177763] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[ 42.190094] wifi_sys_close(), wdev idx = 0
[ 42.194657] APStop(), oper(0) bssid(0)=04:5f:a7:66:70:24
[ 42.200205] wifi_sys_close(), wdev idx = 0
[ 42.204692] wifi_sys_close(), wdev idx = 1
[ 42.208951] <=== APStop()
[ 42.260585] CmdReStartDLRsp: WiFI FW Download Success
[ 42.266157] RT28xxPciAsicRadioOff(): Not support for HIF_MT yet!
[ 42.272205] RTMPDrvClose call RT28xxPciAsicRadioOff fail !!
[ 42.277833] tx_kickout_fail_count = 0
[ 42.281508] tx_timeout_fail_count = 0
[ 42.285166] rx_receive_fail_count = 0
[ 42.288822] alloc_cmd_msg = 1321
[ 42.292060] free_cmd_msg = 1321
[ 42.296780] cut_through_token_list_destroy(): 8fde1288,8fde1288
[ 42.303544] cut_through_token_list_destroy(): 8fde1298,8fde1298
[ 42.310359] fw_own()::Set Fw Own
[ 42.317784] RTMP_AllTimerListRelease: Size=0
[ 42.322111] fw_own()::Return since already in Fw Own...
[ 42.327401] <---HwCtrlThread
[ 42.330405] EXIT REDUCE TCP ACK, rax0
[ 42.334148] ppe_dev_unreg_handler : ineterface rax0 set null (64)
[ 42.340615] br-lan: port 2(rax0) entered disabled state
[ 42.389548] ra0: ===> mbss_virtual_if_open
[ 42.394250] load l1profile succeed!
[ 42.397845] driver_own()::Try to Clear FW Own...
[ 42.704879] driver_own()::Success to clear FW Own
[ 42.711306] APWdsInitialize():WdsEntry Number=4
[ 42.784820] [multi_profile_merge_5g_only] DBDC_MODE=1
[ 42.814421] multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
[ 42.821231] Open file "/etc/wireless/mt7615/DBDC_card0.dat" to store DBDC cfg! (21)
[ 42.852585] E2pAccessMode=2
[ 42.856062] SSID[0]=OpenWrt, EdcaIdx=0
[ 42.860030] SSID[1]=OpenWrt_5G, EdcaIdx=1
[ 42.864487] DBDC Mode=1, eDBDC_mode = 1
[ 42.869055] BSS0 PhyMode=14
[ 42.871878] wmode_band_equal(): Band Equal!
[ 42.876063] BSS1 PhyMode=49
[ 42.880663] BandSteering=0
[ 42.883594] BndStrgBssIdx=1;1
[ 42.886803] [TxPower] BAND0: 100, BAND1: 100
[ 42.891665] Power Boost (CCK, OFDM): RTMPSetProfileParametersPower Boost (HT20): RTMPSetProfileParametersPower Boost (HT40): RTMPSetProfileParametersPower Boost (VHT20): RTMPSetProfileParametersPower Boost (VHT40): RTMPSetProfileParametersPower Boost (VHT80): RTMPSetProfileParametersPower Boost (VHT160): RTMPSetProfileParameters[PERCENTAGEenable] BAND0: 0, BAND1: 0
[ 42.926677] [BFBACKOFFenable] BAND0: 0, BAND1: 0
[ 42.931533] CalCacheApply = 0
[ 42.935993] FragThreshold[0]=2346
[ 42.939302] FragThreshold[1]=2346
[ 42.943541] Valid=1
[ 42.945638] APAifsn[0]=3
[ 42.948165] APAifsn[1]=7
[ 42.950707] APAifsn[2]=1
[ 42.953236] APAifsn[3]=1
[ 42.955991] Valid=1
[ 42.958084] APAifsn[0]=3
[ 42.960624] APAifsn[1]=7
[ 42.963154] APAifsn[2]=1
[ 42.965682] APAifsn[3]=1
[ 42.971740] BSSAifsn[0]=3
[ 42.974358] BSSAifsn[1]=7
[ 42.976971] BSSAifsn[2]=2
[ 42.979585] BSSAifsn[3]=2
[ 42.982442] BSSAifsn[0]=3
[ 42.985058] BSSAifsn[1]=7
[ 42.987672] BSSAifsn[2]=2
[ 42.990299] BSSAifsn[3]=2
[ 42.995218] DfsZeroWait Support=0/0
[ 42.999960] DfsZeroWaitCacTime=255/255
[ 43.004827] read_etxbf: ETxBfEnCond = 1
[ 43.008657] read_etxbf: BSSID[0]
[ 43.011904] read_etxbf: MBSS[0] ETxBfEnCond = 1
[ 43.016434] read_etxbf: ETxBfEnCond = 1
[ 43.020277] read_etxbf: BSSID[1]
[ 43.023500] read_etxbf: MBSS[1] ETxBfEnCond = 1
[ 43.071550] [rtmp_read_ap_client_from_file] pf1=1 pf2=1
[ 43.079740] If/wds0 - PeerPhyOpMode=255
[ 43.084456] APWdsInitialize():WdsEntry Number=4
[ 43.088980] WDS-Enable mode=0
[ 43.092206] AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
[ 43.101966] AndesSendCmdMsg: Command type = ed, Extension command type = 48
[ 43.113684] HT: WDEV[0] Ext Channel = ABOVE
[ 43.117865] HT: WDEV[1] Ext Channel = ABOVE
[ 43.122508] ChipI=7615, Value=0, pcie_aspm in profile=0
[ 43.157588] ICapMode = 0
[ 43.166327] WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
[ 43.176958] Top Init Done!
[ 43.179674] Use dev_alloc_skb
[ 43.184314] RX[0] DESC a0cf8000 size = 16384
[ 43.190223] RX[1] DESC a0cf6000 size = 8192
[ 43.195056] cut_through_init(): ct sw token number = 4095
[ 43.201094] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 43.208845] cut_through_token_list_init(): 8ec85908,8ec85908
[ 43.215096] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 43.222867] cut_through_token_list_init(): 8ec85918,8ec85918
[ 43.228549] Hif Init Done!
[ 43.231279] ctl->txq = c0d59038
[ 43.234417] ctl->rxq = c0d59044
[ 43.237552] ctl->ackq = c0d59050
[ 43.240788] ctl->kickq = c0d5905c
[ 43.244099] ctl->tx_doneq = c0d59068
[ 43.247668] ctl->rx_doneq = c0d59074
[ 43.251325] Parsing patch header
[ 43.254554] Built date: 20180518100604a
[ 43.258530]
[ 43.260027] Platform: ALPS
[ 43.262834] HW/SW version: 0x8a108a10
[ 43.266602] Patch version: 0x00000010
[ 43.270389] Target address: 0x80000, length: 11072
[ 43.275461] patch is ready, continue to ILM/DLM DL
[ 43.280290] WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
[ 43.286561] Parsing CPU 0 fw tailer
[ 43.290057] Chip ID: 0x04
[ 43.292772] Eco version: 0x00
[ 43.295831] Region number: 0x00
[ 43.299064] Format version: 0x00
[ 43.302396] Ram version: reserved
[ 43.306004] Built date: 20190307015603
[ 43.309994] Common crc: 0x0
[ 43.312872] Parsing tailer region 0
[ 43.316354] Feature set: 0x01
[ 43.319416] Target address: 0x84000, Download size: 409600
[ 43.324994] Parsing tailer region 1
[ 43.328477] Feature set: 0x01
[ 43.331553] Target address: 0x209c400, Download size: 43328
[ 43.337281] EventGenericEventHandler: CMD Success
[ 43.346857] EventGenericEventHandler: CMD Success
[ 43.352151] MtCmdFwStartReq: override = 0x1, address = 0x84000
[ 43.358048] EventGenericEventHandler: CMD Success
[ 43.362806] Parsing CPU 1 fw tailer
[ 43.366297] Chip ID: 0x04
[ 43.369013] Eco version: 0x00
[ 43.372101] Region number: 0x00
[ 43.375335] Format version: 0x00
[ 43.378653] Ram version: reserved
[ 43.382273] Built date: 20190415154149
[ 43.386247] Common crc: 0x0
[ 43.389124] Parsing tailer region 0
[ 43.392615] Feature set: 0x01
[ 43.395679] Target address: 0x90000000, Download size: 122608
[ 43.401580] EventGenericEventHandler: CMD Success
[ 43.407635] MtCmdFwStartReq: override = 0x4, address = 0x0
[ 43.448387] EventGenericEventHandler: CMD Success
[ 43.517323] MCU Init Done!
[ 43.520049] efuse_probe: efuse = 10000212
[ 43.524057] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
[ 43.529450] RtmpEepromGetDefault::e2p_dafault=1
[ 43.533988] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
[ 43.541568] NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
[ 43.561267] [34mNICReadEEPROMParameters: EEPROM 0x52 b300[m
[ 51.063228] Country Region from e2p = 101
[ 51.067265] mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
[ 51.073469] mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
[ 51.080612] mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
[ 51.087754] RcRadioInit(): DbdcMode=1, ConcurrentBand=2
[ 51.092994] RcRadioInit(): pRadioCtrl=8f7e0ef8,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
[ 51.101444] RcRadioInit(): pRadioCtrl=8f7e11fc,Band=1,rfcap=2,channel=36,PhyMode=1 extCha=0xf
[ 51.109980] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 1
[ 51.116069] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 0
[ 51.122170] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
[ 51.127825] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
[ 51.133490] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
[ 51.140722] MtCmdSetDbdcCtrl:(ret = 0)
[ 51.144492] MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
[ 51.150366] RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 51.158454] --> Error opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 51.165188] MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
[ 51.170989] RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/SingleSKU_mt7615e-sku.dat
[ 51.179090] EEPROM Init Done!
[ 51.182082] mt_mac_init()-->
[ 51.184960] mt7615_init_mac_cr()-->
[ 51.188463] mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
[ 51.193700] mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
[ 51.198937] <--mt_mac_init()
[ 51.202293] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 51.209062] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 51.215863] CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
[ 51.222481] MAC Init Done!
[ 51.225191] MT7615BBPInit():BBP Initialization.....
[ 51.230088] Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
[ 51.239133] Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
[ 51.248184] MT7615BBPInit() todo
[ 51.251421] PHY Init Done!
[ 51.257150] MtCmdSetMacTxRx:(ret = 0)
[ 51.261165] MtCmdSetMacTxRx:(ret = 0)
[ 51.265126] WifiFwdSet::disabled=0
[ 51.268580] Main bssid = 04:5f:a7:66:70:24
[ 51.274140] MtCmdSetMacTxRx:(ret = 0)
[ 51.278041] MtCmdSetMacTxRx:(ret = 0)
[ 51.283076] MtCmdSetMacTxRx:(ret = 0)
[ 51.286977] MtCmdSetMacTxRx:(ret = 0)
[ 51.290697] INIT REDUCE TCP ACK, rax0
[ 51.294356] <==== mt_wifi_init, Status=0
[ 51.298275] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 1
[ 51.303944] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 0
[ 51.309600] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 0
[ 51.316743] MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
[ 51.321748] MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
[ 51.326800] WtcSetMaxStaNum: BssidNum:2, MaxStaNum:123 (WdsNum:4, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:124
[ 51.433452] RedInit: set CR4/N9 RED Enable to 1.
[ 51.438091] RedInit: RED Initiailize Done.
[ 51.442215] cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
[ 51.448245] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 51.454537] wifi_sys_open(), wdev idx = 1
[ 51.458553] wdev_attr_update(): wdevId1 = 06:5f:a7:76:70:24
[ 51.464154] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 0
[ 51.470258] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1
[ 51.476348] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 51.482014] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 51.487670] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 51.494970] MtCmdSetDbdcCtrl:(ret = 0)
[ 51.498920] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m
[ 51.504450] mt7615_apply_cal_data() : eeprom 0x52 bit 1 is 0, do runtime cal , skip RX reload
[ 51.513040] mt7615_apply_cal_data() : eeprom 0x52 bit 0 is 0, do runtime cal , skip TX reload
[ 51.521586] MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 42 DBDCIdx= 1, Band= 0
[ 51.530727] BW = 2,TXStream = 2, RXStream = 2, scan(0)
[ 51.637956] EventExtEventHandler: Unknown Ext Event(7)
[ 51.737993] EventExtEventHandler: Unknown Ext Event(7)
[ 51.838034] EventExtEventHandler: Unknown Ext Event(7)
[ 51.938075] EventExtEventHandler: Unknown Ext Event(7)
[ 52.038117] EventExtEventHandler: Unknown Ext Event(7)
[ 52.138156] EventExtEventHandler: Unknown Ext Event(7)
[ 52.238197] EventExtEventHandler: Unknown Ext Event(7)
[ 52.338240] EventExtEventHandler: Unknown Ext Event(7)
[ 52.438281] EventExtEventHandler: Unknown Ext Event(7)
[ 52.450287] HcGetEdca(): wdev=0, hobj is not ready!
[ 52.455177] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
[ 52.551924] EventExtEventHandler: Unknown Ext Event(7)
[ 52.651963] EventExtEventHandler: Unknown Ext Event(7)
[ 52.752004] EventExtEventHandler: Unknown Ext Event(7)
[ 52.852046] EventExtEventHandler: Unknown Ext Event(7)
[ 52.952086] EventExtEventHandler: Unknown Ext Event(7)
[ 53.052127] EventExtEventHandler: Unknown Ext Event(7)
[ 53.152167] EventExtEventHandler: Unknown Ext Event(7)
[ 53.252210] EventExtEventHandler: Unknown Ext Event(7)
[ 53.352250] EventExtEventHandler: Unknown Ext Event(7)
[ 53.384708] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 53.391539] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 53.397036] phy_mode=49, ch=44, wdev_type=1
[ 53.401248] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 53.410575] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
[ 53.416733] AP inf up for ra_1(func_idx) OmacIdx=17
[ 53.421660] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
[ 53.426657] ApAutoChannelAtBootUp----------------->
[ 53.431558] ApAutoChannelAtBootUp: AutoChannelBootup = 0
[ 53.436866] ApAutoChannelAtBootUp<-----------------
[ 53.441752] [41m ap_run_at_boot() : ACS is disable !![m
[ 53.447161] [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
[ 53.453423] wifi_sys_linkup(), wdev idx = 1
[ 53.457663] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
[ 53.457663] LinkToOmacIdx = 11, LinkToWdevType = 1
[ 53.470764] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
[ 53.483345] MtCmdSetDbdcCtrl:(ret = 0)
[ 53.487607] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 11
[ 53.493503] APStartUpForMbss: BssIndex = 1 channel = 44
[ 53.498868] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
[ 53.506269] apidx 1 for WscUUIDInit
[ 53.509757] Generate UUID for apidx(1)
[ 53.513572] ppe_dev_reg_handler : ineterface ra0 register (2)
[ 53.519585] br-lan: port 3(ra0) entered forwarding state
[ 53.525010] br-lan: port 3(ra0) entered forwarding state
[ 53.541226] apcli0: ===> apcli_virtual_if_open
[ 53.545746] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 53.552330] wifi_sys_open(), wdev idx = 7
[ 53.556455] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 0
[ 53.562621] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1
[ 53.568755] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 53.574453] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 53.580146] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 53.587529] MtCmdSetDbdcCtrl:(ret = 0)
[ 53.591438] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 53.598408] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 53.604042] phy_mode=49, ch=44, wdev_type=128
[ 53.608426] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 53.617806] ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
[ 53.623949] APCLI inf up for apcli_1(func_idx) OmacIdx=1
[ 53.629621] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 1
[ 53.635841] ppe_dev_reg_handler : ineterface apcli0 register (3)
[ 53.652619] rax0: ===> main_virtual_if_open
[ 53.656895] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 53.663360] wifi_sys_open(), wdev idx = 0
[ 53.667494] wdev_attr_update(): wdevId0 = 04:5f:a7:66:70:24
[ 53.673232] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 0
[ 53.679335] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1
[ 53.685523] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 53.691258] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 53.697021] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 53.704423] MtCmdSetDbdcCtrl:(ret = 0)
[ 53.708345] [1;33m [RadarStateCheck] RD_NORMAL_MODE [m
[ 53.713875] mt7615_apply_cal_data() : eeprom 0x52 bit 1 is 0, do runtime cal , skip RX reload
[ 53.722536] mt7615_apply_cal_data() : eeprom 0x52 bit 0 is 0, do runtime cal , skip TX reload
[ 53.731176] MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
[ 53.740218] BW = 1,TXStream = 2, RXStream = 2, scan(0)
[ 54.005354] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 54.012087] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 54.017587] phy_mode=14, ch=6, wdev_type=1
[ 54.021709] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 54.031034] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
[ 54.037108] AP inf up for ra_0(func_idx) OmacIdx=0
[ 54.042032] AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
[ 54.047037] ApAutoChannelAtBootUp----------------->
[ 54.052103] ApAutoChannelAtBootUp: AutoChannelBootup = 0
[ 54.057467] ApAutoChannelAtBootUp<-----------------
[ 54.062359] [41m ap_run_at_boot() : ACS is disable !![m
[ 54.067770] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
[ 54.073747] wifi_sys_linkup(), wdev idx = 0
[ 54.077981] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
[ 54.077981] LinkToOmacIdx = 0, LinkToWdevType = 1
[ 54.091051] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
[ 54.103085] MtCmdSetDbdcCtrl:(ret = 0)
[ 54.107316] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
[ 54.113125] APStartUpForMbss: BssIndex = 0 channel = 6
[ 54.118442] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
[ 54.125870] apidx 0 for WscUUIDInit
[ 54.129359] Generate UUID for apidx(0)
[ 54.133176] ppe_dev_reg_handler : ineterface rax0 register (4)
[ 54.139519] br-lan: port 2(rax0) entered forwarding state
[ 54.145187] br-lan: port 2(rax0) entered forwarding state
[ 54.158509] apclix0: ===> apcli_virtual_if_open
[ 54.163117] RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 54.169416] wifi_sys_open(), wdev idx = 6
[ 54.173704] rcUpdateBandForBFMU PhyCtrl[0].RadioCtrl.IsBfBand = 0
[ 54.179919] rcUpdateBandForBFMU PhyCtrl[1].RadioCtrl.IsBfBand = 1
[ 54.186244] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 54.191981] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 54.197801] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 54.205278] MtCmdSetDbdcCtrl:(ret = 0)
[ 54.209304] [DfsCacNormalStart] Normal start. Enable MAC TX
[ 54.216323] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
[ 54.222227] phy_mode=14, ch=6, wdev_type=128
[ 54.226613] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
[ 54.235979] ht_cap->HtCapParm: mdpu_density=0, ampdu_factor=3
[ 54.242193] APCLI inf up for apcli_0(func_idx) OmacIdx=2
[ 54.247968] MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
[ 54.254261] ppe_dev_reg_handler : ineterface apclix0 register (5)
[ 54.324532] Device Instance
[ 54.327387] WDEV 00:, Name:rax0, Wdev(list) Idx:0
[ 54.332344] Idx:5
[ 54.334605] ppe_dev_reg_handler : rax0 dst_port table has beed registered(4)
[ 54.341742] WDEV 01:, Name:ra0, Wdev(list) Idx:1
[ 54.346473] Idx:7
[ 54.348673] ppe_dev_reg_handler : ra0 dst_port table has beed registered(2)
[ 54.355742] WDEV 02:, Name:wdsx0, Wdev(list) Idx:2
[ 54.360717] Idx:8
[ 54.362936] ppe_dev_reg_handler : ineterface wdsx0 register (6)
[ 54.368861] WDEV 03:, Name:wdsx1, Wdev(list) Idx:3
[ 54.373817] Idx:9
[ 54.376019] ppe_dev_reg_handler : ineterface wdsx1 register (7)
[ 54.381962] WDEV 04:, Name:wdsx2, Wdev(list) Idx:4
[ 54.386837] Idx:10
[ 54.389110] ppe_dev_reg_handler : ineterface wdsx2 register (8)
[ 54.395058] WDEV 05:, Name:wdsx3, Wdev(list) Idx:5
[ 54.399938] Idx:11
[ 54.402234] ppe_dev_reg_handler : ineterface wdsx3 register (9)
[ 54.408156] WDEV 06:, Name:apclix0, Wdev(list) Idx:6
[ 54.413232] Idx:12
[ 54.415505] ppe_dev_reg_handler : apclix0 dst_port table has beed registered(5)
[ 54.422839] WDEV 07:, Name:apcli0, Wdev(list) Idx:7
[ 54.427808] Idx:13
[ 54.430111] ppe_dev_reg_handler : apcli0 dst_port table has beed registered(3)
[ 54.437329]
[ 54.438813]
[ 54.440343]
[ 54.441834]
[ 54.443319]
[ 54.444809]
[ 54.446303]
[ 54.447787]
[ 54.449274]
[ 54.450814]
[ 54.452310]
[ 54.453794]
[ 54.455277]
[ 54.456763]
[ 54.467368] Device Instance
[ 54.470313] WDEV 00:, Name:rax0, Wdev(list) Idx:0
[ 54.475105] Idx:5
[ 54.477290] ppe_dev_reg_handler : rax0 dst_port table has beed registered(4)
[ 54.484423] WDEV 01:, Name:ra0, Wdev(list) Idx:1
[ 54.489228] Idx:7
[ 54.491554] ppe_dev_reg_handler : ra0 dst_port table has beed registered(2)
[ 54.498578] WDEV 02:, Name:wdsx0, Wdev(list) Idx:2
[ 54.503605] Idx:8
[ 54.505906] ppe_dev_reg_handler : wdsx0 dst_port table has beed registered(6)
[ 54.513173] WDEV 03:, Name:wdsx1, Wdev(list) Idx:3
[ 54.518060] Idx:9
[ 54.520286] ppe_dev_reg_handler : wdsx1 dst_port table has beed registered(7)
[ 54.527458] WDEV 04:, Name:wdsx2, Wdev(list) Idx:4
[ 54.532453] Idx:10
[ 54.534791] ppe_dev_reg_handler : wdsx2 dst_port table has beed registered(8)
[ 54.541992] WDEV 05:, Name:wdsx3, Wdev(list) Idx:5
[ 54.546880] Idx:11
[ 54.549235] ppe_dev_reg_handler : wdsx3 dst_port table has beed registered(9)
[ 54.556509] WDEV 06:, Name:apclix0, Wdev(list) Idx:6
[ 54.561606] Idx:12
[ 54.563911] ppe_dev_reg_handler : apclix0 dst_port table has beed registered(5)
[ 54.571348] WDEV 07:, Name:apcli0, Wdev(list) Idx:7
[ 54.576368] Idx:13
[ 54.578653] ppe_dev_reg_handler : apcli0 dst_port table has beed registered(3)
[ 54.585953]
[ 54.587522]
[ 54.589064]
[ 54.590601]
[ 54.592110]
[ 54.593612]
[ 54.595114]
[ 54.596661]
[ 54.598211]
[ 54.599705]
[ 54.601254]
[ 54.602768]
[ 54.604271]
[ 54.605827]
[ 54.611901] Device Instance
[ 54.614756] WDEV 00:, Name:rax0, Wdev(list) Idx:0
[ 54.619560] Idx:5
[ 54.621848] ppe_dev_reg_handler : rax0 dst_port table has beed registered(4)
[ 54.628929] WDEV 01:, Name:ra0, Wdev(list) Idx:1
[ 54.633769] Idx:7
[ 54.636012] ppe_dev_reg_handler : ra0 dst_port table has beed registered(2)
[ 54.643045] WDEV 02:, Name:wdsx0, Wdev(list) Idx:2
[ 54.647939] Idx:8
[ 54.650176] ppe_dev_reg_handler : wdsx0 dst_port table has beed registered(6)
[ 54.657337] WDEV 03:, Name:wdsx1, Wdev(list) Idx:3
[ 54.662259] Idx:9
[ 54.664480] ppe_dev_reg_handler : wdsx1 dst_port table has beed registered(7)
[ 54.671667] WDEV 04:, Name:wdsx2, Wdev(list) Idx:4
[ 54.676549] Idx:10
[ 54.678819] ppe_dev_reg_handler : wdsx2 dst_port table has beed registered(8)
[ 54.685975] WDEV 05:, Name:wdsx3, Wdev(list) Idx:5
[ 54.690867] Idx:11
[ 54.693140] ppe_dev_reg_handler : wdsx3 dst_port table has beed registered(9)
[ 54.700297] WDEV 06:, Name:apclix0, Wdev(list) Idx:6
[ 54.705349] Idx:12
[ 54.707622] ppe_dev_reg_handler : apclix0 dst_port table has beed registered(5)
[ 54.714949] WDEV 07:, Name:apcli0, Wdev(list) Idx:7
[ 54.719911] Idx:13
[ 54.722200] ppe_dev_reg_handler : apcli0 dst_port table has beed registered(3)
[ 54.729417]
[ 54.730920]
[ 54.732409]
[ 54.733895]
[ 54.735382]
[ 54.736866]
[ 54.738350]
[ 54.739834]
[ 54.741337]
[ 54.742824]
[ 54.744308]
[ 54.745792]
[ 54.747275]
[ 54.748759]
[ 54.758224] Device Instance
[ 54.761126] WDEV 00:, Name:rax0, Wdev(list) Idx:0
[ 54.765915] Idx:5
[ 54.768103] ppe_dev_reg_handler : rax0 dst_port table has beed registered(4)
[ 54.775220] WDEV 01:, Name:ra0, Wdev(list) Idx:1
[ 54.779929] Idx:7
[ 54.782154] ppe_dev_reg_handler : ra0 dst_port table has beed registered(2)
[ 54.789125] WDEV 02:, Name:wdsx0, Wdev(list) Idx:2
[ 54.794089] Idx:8
[ 54.796282] ppe_dev_reg_handler : wdsx0 dst_port table has beed registered(6)
[ 54.803459] WDEV 03:, Name:wdsx1, Wdev(list) Idx:3
[ 54.808344] Idx:9
[ 54.810553] ppe_dev_reg_handler : wdsx1 dst_port table has beed registered(7)
[ 54.817697] WDEV 04:, Name:wdsx2, Wdev(list) Idx:4
[ 54.822619] Idx:10
[ 54.824897] ppe_dev_reg_handler : wdsx2 dst_port table has beed registered(8)
[ 54.832083] WDEV 05:, Name:wdsx3, Wdev(list) Idx:5
[ 54.836978] Idx:11
[ 54.839253] ppe_dev_reg_handler : wdsx3 dst_port table has beed registered(9)
[ 54.846466] WDEV 06:, Name:apclix0, Wdev(list) Idx:6
[ 54.851542] Idx:12
[ 54.853825] ppe_dev_reg_handler : apclix0 dst_port table has beed registered(5)
[ 54.861177] WDEV 07:, Name:apcli0, Wdev(list) Idx:7
[ 54.866145] Idx:13
[ 54.868422] ppe_dev_reg_handler : apcli0 dst_port table has beed registered(3)
[ 54.875698]
[ 54.877197]
[ 54.878681]
[ 54.880178]
[ 54.881672]
[ 54.883162]
[ 54.884650]
[ 54.886214]
[ 54.887773]
[ 54.889275]
[ 54.890823]
[ 54.892319]
[ 54.893802]
[ 54.895286]
[ 54.896896] IPv6: addrconf_dad_work: send ns, apcli0: addr=fe80::5f:a7ff:fe66:7024
[ 55.180257] IPv6: addrconf_dad_work: send ns, apclix0: addr=fe80::4f:a7ff:fe66:7024
[ 55.520147] br-lan: port 3(ra0) entered forwarding state
[ 56.140115] br-lan: port 2(rax0) entered forwarding state
[ 93.951317] IPv6: addrconf_dad_work: send ns, br-lan: addr=fd7a:8657:a1f2::1
[ 94.731318] IPv6: addrconf_dad_work: send ns, br-lan: addr=fe80::65f:a7ff:fe66:7023
[ 97.151378] IPv6: addrconf_dad_work: send ns, eth1: addr=fe80::65f:a7ff:fe66:7022
[ 98.191408] IPv6: addrconf_dad_work: send ns, eth1: addr=fdbc:6636:7575:0:65f:a7ff:fe66:7022
[ 152.864454] New Sta:c0:b8:83:33:da:79
[ 152.947887] Rcv Wcid(1) AddBAReq
[ 152.951148] Start Seq = 0000000c
[ 152.959883] br0Ip = c0a80101
[ 152.962795] brNetmask = ffffff00
[ 164.332765] IPv6: addrconf_dad_work: send ns, br-lan: addr=fdbc:6636:7575:4::1
[ 164.473063] IPv6: addrconf_dad_work: send ns, eth1: addr=fdbc:6636:7575:0:65f:a7ff:fe66:7022
[ 164.612852] IPv6: addrconf_dad_work: send ns, eth1: addr=fdbc:6636:7575::bfc

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 19, 2021

Why do you think the wifi driver has not been hooked into hw_nat?
1

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 19, 2021

#562 (comment)
Everyone except you has got good wifi speed, and we all think that the hardware nat is the reason that affects the wifi speed. If you think we are all lying to you, then I don't think I need to reply to this issue. I spent so much time replying and nobody pays me .I reply to this issue only out of hobbies, and I can remain silent like hanwckf.

@i3roly
Copy link
Author

i3roly commented Jan 19, 2021 via email

@MeIsReallyBa
Copy link

MeIsReallyBa commented Jan 19, 2021

I was assuming you used the driver as it is on the source. But when I looked at your source in 7615+7615 it seems you've uncommented the appropriate portions. My apologies on that. How did you get rid of the "no prim_ch value for adjust?" From: MeIsReallyBa Sent: Monday, 18 January 2021 8:49 PM To: hanwckf/rt-n56u Reply To: hanwckf/rt-n56u Cc: gagan sidhu; Mention Subject: Re: [hanwckf/rt-n56u] unlocked ramcodes (#562) Why do you think the wifi driver has not been hooked into hw_nat? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#562 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AITLEGYTU6WNAZNAANUQVJ3S2T6LPANCNFSM4V35NZEA.

The only 7615+7615 TP router in my hand only supports one GMAC, so I have not tested the 7615+7615 driver. The 7615+7615 may even be the version under linux 5.4, maybe I didn't pay attention to it when I packaged it.I have never met "no prim_ch value for adjust", so I can't help.

@MeIsReallyBa
Copy link

That is weird then. offloading is compiled by default but not enabled. It is for NAT though so if your wireless network is on the same subnet as your gateway it should not make a difference. It is enabled in the wan section

I have tested just then with iperf3 on a different subnet with hw offloading and here are the results. I did both download and upload tests. Again my device uses MT7615DN (DBDC).

➜  tools iperf3 -c 192.168.1.1 -p 5201 -t 20
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.2.161 port 56790 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  74.0 MBytes   621 Mbits/sec    0   2.01 MBytes
[  5]   1.00-2.00   sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]   2.00-3.00   sec  76.2 MBytes   640 Mbits/sec    0   2.01 MBytes
[  5]   3.00-4.00   sec  68.8 MBytes   577 Mbits/sec    0   2.01 MBytes
[  5]   4.00-5.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   5.00-6.00   sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]   6.00-7.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   7.00-8.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   8.00-9.00   sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]   9.00-10.00  sec  78.8 MBytes   661 Mbits/sec    0   2.01 MBytes
[  5]  10.00-11.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  11.00-12.00  sec  80.0 MBytes   671 Mbits/sec    0   2.01 MBytes
[  5]  12.00-13.00  sec  78.8 MBytes   661 Mbits/sec    0   2.01 MBytes
[  5]  13.00-14.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  14.00-15.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  15.00-16.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  16.00-17.00  sec  81.2 MBytes   682 Mbits/sec    0   2.01 MBytes
[  5]  17.00-18.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  18.00-19.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
[  5]  19.00-20.00  sec  82.5 MBytes   692 Mbits/sec    0   2.01 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.57 GBytes   672 Mbits/sec    0             sender
[  5]   0.00-20.01  sec  1.56 GBytes   669 Mbits/sec                  receiver

iperf Done.
➜  tools iperf3 -c 192.168.1.1 -p 5201 -t 20 -R
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  5] local 192.168.2.161 port 56808 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  64.9 MBytes   544 Mbits/sec
[  5]   1.00-2.00   sec  70.3 MBytes   590 Mbits/sec
[  5]   2.00-3.00   sec  67.6 MBytes   567 Mbits/sec
[  5]   3.00-4.00   sec  69.2 MBytes   580 Mbits/sec
[  5]   4.00-5.00   sec  69.3 MBytes   581 Mbits/sec
[  5]   5.00-6.00   sec  71.2 MBytes   597 Mbits/sec
[  5]   6.00-7.00   sec  65.0 MBytes   545 Mbits/sec
[  5]   7.00-8.00   sec  66.9 MBytes   561 Mbits/sec
[  5]   8.00-9.00   sec  68.7 MBytes   576 Mbits/sec
[  5]   9.00-10.00  sec  69.1 MBytes   580 Mbits/sec
[  5]  10.00-11.00  sec  68.9 MBytes   578 Mbits/sec
[  5]  11.00-12.00  sec  68.2 MBytes   572 Mbits/sec
[  5]  12.00-13.00  sec  69.6 MBytes   584 Mbits/sec
[  5]  13.00-14.00  sec  68.6 MBytes   575 Mbits/sec
[  5]  14.00-15.00  sec  67.5 MBytes   566 Mbits/sec
[  5]  15.00-16.00  sec  65.8 MBytes   552 Mbits/sec
[  5]  16.00-17.00  sec  67.8 MBytes   569 Mbits/sec
[  5]  17.00-18.00  sec  67.2 MBytes   564 Mbits/sec
[  5]  18.00-19.00  sec  63.8 MBytes   535 Mbits/sec
[  5]  19.00-20.00  sec  65.3 MBytes   547 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-20.00  sec  1.33 GBytes   569 Mbits/sec  800             sender
[  5]   0.00-20.00  sec  1.32 GBytes   568 Mbits/sec                  receiver

iperf Done.

What firmware are u using?padavan?

@i3roly
Copy link
Author

i3roly commented Jan 19, 2021 via email

@i3roly
Copy link
Author

i3roly commented Jan 19, 2021

@MeIsReallyBa when do you think we'll see a newer mt_wifi driver with full PMF functionality? ithink this is where most errors are coming from.

@i3roly
Copy link
Author

i3roly commented Jan 29, 2021

@MeIsReallyBa can you show me your dat files for the radios? i want to make sure i have the optimal settings. my airport is reporting MCS index of 9 when i've set it to 33 in the dat file. wondering if that is part of the reason for suboptimal performance.

@i3roly
Copy link
Author

i3roly commented Mar 1, 2021

@MeIsReallyBa are you alive? why is 2.4ghz performance so bad? is it bad for you? i never get over 100mbit. one guy is complaining about signal dropping. anything i can do to possibly fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants