Guest User

semi-GLIBC DD-WRT 4.9.54 MT7621AT+MT7615x2 boot & APSoC init

a guest
Oct 8th, 2017
519
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1 https://pastebin.com/gyzLGKEs first successful mips32 compile
  2. 2 https://pastebin.com/nHzYRDps copied over missing libc files/tidied up (missed copying c++ over in this one)
  3. 3 https://pastebin.com/AzFHxnPD libqmi (glib 2.52 and util-linux 2.29 upgraded as well)
  4. 4 https://pastebin.com/Cyh8eivj minidlna update
  5. 5 https://pastebin.com/L9w8arvC gudev added
  6. 6 https://pastebin.com/h2xFLf2V php7 updates etc
  7. 7 https://pastebin.com/bHPpZrRx updated ar71xx for 4.9 (also did it for ar934x platform ["wasp"--mips74k])
  8. 8 https://pastebin.com/zsdTjjKQ status update on the firmware (not really exclusive to the AC55U, just packing it using mkimage vs lzma-loader etc).
  9. 9 https://pastebin.com/qNMiWkD9 failure of AC55U due to sensitive MTD flash partitioning (likely due to shoe-horning of AR7134 devicetree file for QCA9558)
  10. 10 https://pastebin.com/1BPUmMzx just an update to glibc 2.29 and using the latest 4.9 committed by brainslayer to ensure we're all on teh same page.
  11. 11 https://pastebin.com/9jrT1gkP raw bootlog from the r6700v2/r6800/r6900v2. included so people can observe how the u-boot and "stage  code seem to be "together"; that is, the u-boot seems to be customised to deal with the sercomm utilities (no mtdparts, but there is an sc_nand).
  12. 12 https://pastebin.com/TJHeu9VC discussing the sercomm boot tools and such.
  13. 13 https://pastebin.com/uadhgmvS just showing the boot log (without initramfs enabled).
  14. 14 https://pastebin.com/jNmY4y9D was just sharing the observation about initrd that wasn't really useful to the problem
  15. 15 https://pastebin.com/EUeDuLHZ briefly discussing the boot and problem with the dtb (device tree binary) not being "seen" by the kernel
  16. 16 https://pastebin.com/K7yuBYfv just a nothingness update (talking about clocksource driver being picked up when disabling the devicetree node calls in mt7621.c)
  17. 17 https://pastebin.com/LAewauYh discussing the devicetree hack created by The oh-so-clever Crispy One John Crispin (blogic), and how it must be used instead of the "appended_dtb" kernel configuration options. also pointed out the resulting file system driver issue
  18. 18 https://pastebin.com/uMBaREgn expressing my justified frustration at being unable to mount the bloody filesystem, which is/was likely caused by the network devices having "priority" on the CPU cores, thereby creating a "lock' that can only be opened with the drivers.
  19. 19 https://pastebin.com/nqYDn4XD successful driver loading, and the rdinit allows the sercommised firmware to "let go" and release the kernel for further booting. this is where i bricked my router trying to update/flash a compiled u-boot. at least i got this build to dump the stack before it died (https://pastebin.com/g1fsrWtm remember, it's MIPS!)
  20. 20 https://pastebin.com/ux4jky9c just discussing the transition to a d-link dir882 and the issue with the ralink_nand driver.
  21. 21 https://pastebin.com/m0Fer8cM just talking about wrapping ralink_nand.h.
  22. 22 https://pastebin.com/sDSU1JZg discussing RDinit success (in the sense that it works) when using DLINK's uclibc romfs, but no such success when invoking glibc-linked programs.
  23. 23 https://www.sendspace.com/file/5x7z3g discussing the successful boot with initrd of a uclibc image
  24. 24 https://pastebin.com/vKyTpSGe just sharing my excitement at having a statically-compiled gcc for the platform (among other things)
  25.  
  26. after banging my head against a hard surface for approximately the twenty hours, the showing radios now reporting ZERO errors with respect to radio nvram. 5g 80211AC now functional.
  27.  
  28. i've added the rt2880_app programs 'flash', 'eth_mac'. might add others if they're needed. right now ralink_init and nvram_daemon in the uclibc form are as good as it is going to get, since they didn't give object files for either binary (lame).
  29. below is a bootlog
  30.  
  31. enjoy
  32.  
  33. #mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux#mipslinux
  34. done
  35. Bytes transferred = 16367616 (f9c000 hex)
  36. LoadAddr=84000000 NetBootFileXferSize= 00f9c000
  37. .........................................................................................................................................................................................................................................................
  38. .........................................................................................................................................................................................................................................................
  39. .
  40. .
  41. Done!
  42. ## Booting image at bc060000 ...
  43.    Image Name:   Linux Kernel Image
  44.    Image Type:   MIPS Linux Kernel Image (lzma compressed)
  45.    Data Size:    16367404 Bytes = 15.6 MB
  46.    Load Address: 80001000
  47.    Entry Point:  806bc0dc
  48.    Verifying Checksum ... OK
  49.    Uncompressing Kernel Image ... OK
  50. No initrd
  51. ## Transferring control to Linux (at address 806bc0dc) ...
  52. ## Giving linux memsize in MB, 128
  53.  
  54. Starting kernel ...
  55.  
  56. Linux version 4.9.54 (Gagan@GagansMacPro) (gcc version 7.2.0 (GCC)) #1329 SMP PREEMPT Sun Oct 8 21:50:56 MDT 2017
  57. SoC Type: MediaTek MT7621 ver:1 eco:3
  58. bootconsole [early0] enabled
  59. CPU0 revision is: 0001992f (MIPS 1004Kc)
  60. MIPS: machine is Dlink DIR882 A1
  61. Determined physical RAM map:
  62.  memory: 08000000 @ 00000000 (usable)
  63. Initrd not found or empty - disabling initrd
  64. VPE topology {2,2} total 4
  65. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  66. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  67. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  68. Zone ranges:
  69.   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
  70.   HighMem  empty
  71. Movable zone start for each node
  72. Early memory node ranges
  73.   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
  74. Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
  75. On node 0 totalpages: 32768
  76. free_area_init_node: node 0, pgdat 8095ffc0, node_mem_map 8160e000
  77.   Normal zone: 256 pages used for memmap
  78.   Normal zone: 0 pages reserved
  79.   Normal zone: 32768 pages, LIFO batch:7
  80. percpu: Embedded 13 pages/cpu @81719000 s23664 r8192 d21392 u53248
  81. pcpu-alloc: s23664 r8192 d21392 u53248 alloc=13*4096
  82. pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  83. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  84. Kernel command line: console=ttyS0,57600n8 stacktrace debug
  85. log_buf_len individual max cpu contribution: 4096 bytes
  86. log_buf_len total cpu_extra contributions: 12288 bytes
  87. log_buf_len min size: 16384 bytes
  88. log_buf_len: 32768 bytes
  89. early log buf free: 14320(87%)
  90. PID hash table entries: 512 (order: -1, 2048 bytes)
  91. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  92. Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  93. Writing ErrCtl register=00010460
  94. Readback ErrCtl register=00010460
  95. Memory: 107060K/131072K available (6922K kernel code, 1281K rwdata, 1400K rodata, 12272K init, 679K bss, 24012K reserved, 0K cma-reserved, 0K highmem)
  96. Preemptible hierarchical RCU implementation.
  97.         Build-time adjustment of leaf fanout to 32.
  98. NR_IRQS:256
  99. clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
  100. sched_clock: 32 bits at 250 Hz, resolution 4000000ns, wraps every 8589934590000000ns
  101. Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
  102. pid_max: default: 32768 minimum: 301
  103. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  104. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  105. Performance counters: mips/1004K PMU enabled, 2 32-bit counters available to each CPU, irq 17
  106. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  107. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  108. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  109. CPU1 revision is: 0001992f (MIPS 1004Kc)
  110. Synchronize counters for CPU 1:
  111. done.
  112. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  113. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  114. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  115. CPU2 revision is: 0001992f (MIPS 1004Kc)
  116. Synchronize counters for CPU 2:
  117. done.
  118. Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
  119. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
  120. MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
  121. CPU3 revision is: 0001992f (MIPS 1004Kc)
  122. Synchronize counters for CPU 3:
  123. done.
  124. Brought up 4 CPUs
  125. devtmpfs: initialized
  126. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  127. futex hash table entries: 1024 (order: 3, 32768 bytes)
  128. pinctrl core: initialized pinctrl subsystem
  129. NET: Registered protocol family 16
  130. rt2880-pinmux pinctrl: try to register 61 pins ...
  131. pinctrl core: registered pin 0 (io0) on rt2880-pinmux
  132. pinctrl core: registered pin 1 (io1) on rt2880-pinmux
  133. pinctrl core: registered pin 2 (io2) on rt2880-pinmux
  134. pinctrl core: registered pin 3 (io3) on rt2880-pinmux
  135. pinctrl core: registered pin 4 (io4) on rt2880-pinmux
  136. pinctrl core: registered pin 5 (io5) on rt2880-pinmux
  137. pinctrl core: registered pin 6 (io6) on rt2880-pinmux
  138. pinctrl core: registered pin 7 (io7) on rt2880-pinmux
  139. pinctrl core: registered pin 8 (io8) on rt2880-pinmux
  140. pinctrl core: registered pin 9 (io9) on rt2880-pinmux
  141. pinctrl core: registered pin 10 (io10) on rt2880-pinmux
  142. pinctrl core: registered pin 11 (io11) on rt2880-pinmux
  143. pinctrl core: registered pin 12 (io12) on rt2880-pinmux
  144. pinctrl core: registered pin 13 (io13) on rt2880-pinmux
  145. pinctrl core: registered pin 14 (io14) on rt2880-pinmux
  146. pinctrl core: registered pin 15 (io15) on rt2880-pinmux
  147. pinctrl core: registered pin 16 (io16) on rt2880-pinmux
  148. pinctrl core: registered pin 17 (io17) on rt2880-pinmux
  149. pinctrl core: registered pin 18 (io18) on rt2880-pinmux
  150. pinctrl core: registered pin 19 (io19) on rt2880-pinmux
  151. pinctrl core: registered pin 20 (io20) on rt2880-pinmux
  152. pinctrl core: registered pin 21 (io21) on rt2880-pinmux
  153. pinctrl core: registered pin 22 (io22) on rt2880-pinmux
  154. pinctrl core: registered pin 23 (io23) on rt2880-pinmux
  155. pinctrl core: registered pin 24 (io24) on rt2880-pinmux
  156. pinctrl core: registered pin 25 (io25) on rt2880-pinmux
  157. pinctrl core: registered pin 26 (io26) on rt2880-pinmux
  158. pinctrl core: registered pin 27 (io27) on rt2880-pinmux
  159. pinctrl core: registered pin 28 (io28) on rt2880-pinmux
  160. pinctrl core: registered pin 29 (io29) on rt2880-pinmux
  161. pinctrl core: registered pin 30 (io30) on rt2880-pinmux
  162. pinctrl core: registered pin 31 (io31) on rt2880-pinmux
  163. pinctrl core: registered pin 32 (io32) on rt2880-pinmux
  164. pinctrl core: registered pin 33 (io33) on rt2880-pinmux
  165. pinctrl core: registered pin 34 (io34) on rt2880-pinmux
  166. pinctrl core: registered pin 35 (io35) on rt2880-pinmux
  167. pinctrl core: registered pin 36 (io36) on rt2880-pinmux
  168. pinctrl core: registered pin 37 (io37) on rt2880-pinmux
  169. pinctrl core: registered pin 38 (io38) on rt2880-pinmux
  170. pinctrl core: registered pin 39 (io39) on rt2880-pinmux
  171. pinctrl core: registered pin 40 (io40) on rt2880-pinmux
  172. pinctrl core: registered pin 41 (io41) on rt2880-pinmux
  173. pinctrl core: registered pin 42 (io42) on rt2880-pinmux
  174. pinctrl core: registered pin 43 (io43) on rt2880-pinmux
  175. pinctrl core: registered pin 44 (io44) on rt2880-pinmux
  176. pinctrl core: registered pin 45 (io45) on rt2880-pinmux
  177. pinctrl core: registered pin 46 (io46) on rt2880-pinmux
  178. pinctrl core: registered pin 47 (io47) on rt2880-pinmux
  179. pinctrl core: registered pin 48 (io48) on rt2880-pinmux
  180. pinctrl core: registered pin 49 (io49) on rt2880-pinmux
  181. pinctrl core: registered pin 50 (io50) on rt2880-pinmux
  182. pinctrl core: registered pin 51 (io51) on rt2880-pinmux
  183. pinctrl core: registered pin 52 (io52) on rt2880-pinmux
  184. pinctrl core: registered pin 53 (io53) on rt2880-pinmux
  185. pinctrl core: registered pin 54 (io54) on rt2880-pinmux
  186. pinctrl core: registered pin 55 (io55) on rt2880-pinmux
  187. pinctrl core: registered pin 56 (io56) on rt2880-pinmux
  188. pinctrl core: registered pin 57 (io57) on rt2880-pinmux
  189. pinctrl core: registered pin 58 (io58) on rt2880-pinmux
  190. pinctrl core: registered pin 59 (io59) on rt2880-pinmux
  191. pinctrl core: registered pin 60 (io60) on rt2880-pinmux
  192. pinctrl core: add 5 pinctrl maps
  193. rt2880-pinmux pinctrl: found group selector 1 for i2c
  194. rt2880-pinmux pinctrl: found group selector 3 for uart2
  195. rt2880-pinmux pinctrl: found group selector 2 for uart3
  196. rt2880-pinmux pinctrl: found group selector 8 for rgmii2
  197. rt2880-pinmux pinctrl: found group selector 10 for sdhci
  198. rt2880-pinmux pinctrl: request pin 3 (io3) for pinctrl
  199. rt2880-pinmux pinctrl: request pin 4 (io4) for pinctrl
  200. rt2880-pinmux pinctrl: request pin 9 (io9) for pinctrl
  201. rt2880-pinmux pinctrl: request pin 10 (io10) for pinctrl
  202. rt2880-pinmux pinctrl: request pin 11 (io11) for pinctrl
  203. rt2880-pinmux pinctrl: request pin 12 (io12) for pinctrl
  204. rt2880-pinmux pinctrl: request pin 5 (io5) for pinctrl
  205. rt2880-pinmux pinctrl: request pin 6 (io6) for pinctrl
  206. rt2880-pinmux pinctrl: request pin 7 (io7) for pinctrl
  207. rt2880-pinmux pinctrl: request pin 8 (io8) for pinctrl
  208. rt2880-pinmux pinctrl: request pin 22 (io22) for pinctrl
  209. rt2880-pinmux pinctrl: request pin 23 (io23) for pinctrl
  210. rt2880-pinmux pinctrl: request pin 24 (io24) for pinctrl
  211. rt2880-pinmux pinctrl: request pin 25 (io25) for pinctrl
  212. rt2880-pinmux pinctrl: request pin 26 (io26) for pinctrl
  213. rt2880-pinmux pinctrl: request pin 27 (io27) for pinctrl
  214. rt2880-pinmux pinctrl: request pin 28 (io28) for pinctrl
  215. rt2880-pinmux pinctrl: request pin 29 (io29) for pinctrl
  216. rt2880-pinmux pinctrl: request pin 30 (io30) for pinctrl
  217. rt2880-pinmux pinctrl: request pin 31 (io31) for pinctrl
  218. rt2880-pinmux pinctrl: request pin 32 (io32) for pinctrl
  219. rt2880-pinmux pinctrl: request pin 33 (io33) for pinctrl
  220. rt2880-pinmux pinctrl: request pin 41 (io41) for pinctrl
  221. rt2880-pinmux pinctrl: request pin 42 (io42) for pinctrl
  222. rt2880-pinmux pinctrl: request pin 43 (io43) for pinctrl
  223. rt2880-pinmux pinctrl: request pin 44 (io44) for pinctrl
  224. rt2880-pinmux pinctrl: request pin 45 (io45) for pinctrl
  225. rt2880-pinmux pinctrl: request pin 46 (io46) for pinctrl
  226. rt2880-pinmux pinctrl: request pin 47 (io47) for pinctrl
  227. rt2880-pinmux pinctrl: request pin 48 (io48) for pinctrl
  228. rt2880-pinmux pinctrl: failed to lookup the sleep state
  229. FPU Affinity set after 4688 emulations
  230. pinctrl core: add 1 pinctrl maps
  231. rt2880-pinmux pinctrl: found group selector 6 for pcie
  232. rt2880-pinmux pinctrl: request pin 19 (io19) for 1e140000.pcie
  233. pull PCIe RST: RALINK_RSTCTRL = 4000000
  234. release PCIe RST: RALINK_RSTCTRL = 7000000
  235. ***** Xtal 40MHz *****
  236. release PCIe RST: RALINK_RSTCTRL = 7000000
  237. Port 0 N_FTS = 1b105000
  238. Port 1 N_FTS = 1b105000
  239. Port 2 N_FTS = 1b102800
  240. PCIE2 no card, disable it(RST&CLK)
  241.  -> 21007f2
  242. PCIE0 enabled
  243. PCIE1 enabled
  244. PCI host bridge /pcie@1e140000 ranges:
  245.  MEM 0x0000000060000000..0x000000006fffffff
  246.   IO 0x000000001e160000..0x000000001e16ffff
  247. PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
  248. mt7621_gpio 1e000600.gpio: registering 32 gpios
  249. mt7621_gpio 1e000600.gpio: registering 32 gpios
  250. mt7621_gpio 1e000600.gpio: registering 32 gpios
  251. vgaarb: loaded
  252. SCSI subsystem initialized
  253. usbcore: registered new interface driver usbfs
  254. usbcore: registered new interface driver hub
  255. usbcore: registered new device driver usb
  256. PCI host bridge to bus 0000:00
  257. pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
  258. pci_bus 0000:00: root bus resource [io  0xffffffff]
  259. pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
  260. pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  261. pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
  262. pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
  263. pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
  264. pci 0000:00:00.0: supports D1
  265. pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  266. pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
  267. pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
  268. pci 0000:00:01.0: reg 0x14: [mem 0x60210000-0x6021ffff]
  269. pci 0000:00:01.0: supports D1
  270. pci 0000:00:01.0: PME# supported from D0 D1 D3hot
  271. pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
  272. pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
  273. pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  274. pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
  275. pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
  276. pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
  277. pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
  278. pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
  279. pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
  280. pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
  281. pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
  282. pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
  283. pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
  284. pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
  285. pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
  286. pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
  287. pci 0000:00:00.0: PCI bridge to [bus 01]
  288. pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
  289. pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
  290. pci 0000:00:01.0: PCI bridge to [bus 02]
  291. pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
  292. BAR0 at slot 0 = 0
  293. bus=0x0, slot = 0x0
  294. BAR0 at slot 1 = 0
  295. bus=0x0, slot = 0x1
  296. bus=0x1, slot = 0x0, irq=0x0
  297. bus=0x2, slot = 0x1, irq=0x0
  298. clocksource: Switched to clocksource GIC
  299. NET: Registered protocol family 2
  300. TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  301. TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
  302. TCP: Hash tables configured (established 1024 bind 1024)
  303. UDP hash table entries: 256 (order: 1, 8192 bytes)
  304. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  305. NET: Registered protocol family 1
  306. PCI: CLS 80 bytes, default 32
  307. 4 CPUs re-calibrate udelay(lpj = 1167360)
  308. alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
  309. workingset: timestamp_bits=30 max_order=15 bucket_order=0
  310. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  311. random: fast init done
  312. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  313. io scheduler noop registered
  314. io scheduler deadline registered (default)
  315. serial8250_init
  316. Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
  317. serial8250 serial8250: no of_node; not parsing pinctrl DT
  318. console [ttyS0] disabled
  319. 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
  320. console [ttyS0] enabled
  321. console [ttyS0] enabled
  322. bootconsole [early0] disabled
  323. bootconsole [early0] disabled
  324. Ralink gpio driver initialized
  325. brd: module loaded
  326. physmap-flash physmap-flash.0: no of_node; not parsing pinctrl DT
  327. physmap platform flash device: 01000000 at 1c000000
  328. virtual memory bc000000
  329. physmap-flash physmap-flash.0: map_probe failed
  330. flash manufacture id: c2, device id 20 18
  331. MX25L12805D(c2 2018c220) (16384 Kbytes)
  332. mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
  333. Creating 7 MTD partitions on "raspi":
  334. 0x000000000000-0x000001000000 : "ALL"
  335. 0x000000000000-0x000000030000 : "Bootloader"
  336. 0x000000030000-0x000000040000 : "Config"
  337. 0x000000040000-0x000000050000 : "Factory"
  338. 0x000000050000-0x000000060000 : "Config2"
  339. 0x000000060000-0x000000fb0000 : "Kernel"
  340. 0x000000fb0000-0x000001000000 : "Private"
  341. libphy: Fixed MDIO Bus: probed
  342. tun: Universal TUN/TAP device driver, 1.6
  343. tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
  344. GMAC1_MAC_ADRH -- : 0x000074da
  345. GMAC1_MAC_ADRL -- : 0xdaa587f4
  346. Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
  347. GMAC1_MAC_ADRH -- : 0x000074da
  348. GMAC1_MAC_ADRL -- : 0xdaa587f4
  349. PROC INIT OK!
  350. PPP generic driver version 2.4.2
  351. PPP BSD Compression module registered
  352. PPP Deflate Compression module registered
  353. PPP MPPE Compression module registered
  354. NET: Registered protocol family 24
  355. register mt_drv
  356. mt_drv 0000:01:00.0: no of_node; not parsing pinctrl DT
  357.  
  358.  
  359. === pAd = c0281000, size = 3654600 ===
  360.  
  361. <-- RTMPAllocAdapterBlock, Status=0
  362. get_wdev_by_idx: invalid idx(0)
  363. pAd->PciHif.CSRBaseAddress =0xc0180000, csr_addr=0xc0180000!
  364. get_wdev_by_idx: invalid idx(0)
  365. RTMPInitPCIeDevice():device_id=0x7615
  366. DriverOwn()::Try to Clear FW Own...
  367. DriverOwn()::Success to clear FW Own
  368. mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
  369. mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
  370. RtmpChipOpsHook(493): Not support for HIF_MT yet! MACVersion=0x0
  371. mt7615_init()-->
  372. Use 1st iPAiLNA default bin.
  373. Use 0st /etc_ro/wlan/MT7615_2G_cal_MT.bin default bin.
  374. <--mt7615_init()
  375. ChipOpsMCUHook
  376. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  377. cut_through_token_list_init(): 83c0ef08,83c0ef08
  378. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  379. cut_through_token_list_init(): 83c0ef18,83c0ef18
  380. <-- RTMPAllocTxRxRingMemory, Status=0
  381. get_wdev_by_idx: invalid idx(0)
  382. get_wdev_by_idx: invalid idx(0)
  383. get_wdev_by_idx: invalid idx(0)
  384. get_wdev_by_idx: invalid idx(0)
  385. get_wdev_by_idx: invalid idx(0)
  386. get_wdev_by_idx: invalid idx(0)
  387. get_wdev_by_idx: invalid idx(0)
  388. get_wdev_by_idx: invalid idx(0)
  389. get_wdev_by_idx: invalid idx(0)
  390. get_wdev_by_idx: invalid idx(0)
  391. 80211> RFICType= 3, NumOfChan= 58
  392. 80211> Number of rate = 12
  393. 80211> CurTxPower = 0 dBm
  394. 80211> TxStream = 1
  395. get_wdev_by_idx: invalid idx(0)
  396. get_wdev_by_idx: invalid idx(0)
  397. get_wdev_by_idx: invalid idx(0)
  398. get_wdev_by_idx: invalid idx(0)
  399. get_wdev_by_idx: invalid idx(0)
  400. get_wdev_by_idx: invalid idx(0)
  401. 80211> CFG80211_Register with max interface 8
  402. get_wdev_by_idx: invalid idx(0)
  403. pci probe count=1
  404. mt_drv 0000:02:00.0: no of_node; not parsing pinctrl DT
  405.  
  406.  
  407. === pAd = c0701000, size = 3654600 ===
  408.  
  409. <-- RTMPAllocAdapterBlock, Status=0
  410. get_wdev_by_idx: invalid idx(0)
  411. pAd->PciHif.CSRBaseAddress =0xc0600000, csr_addr=0xc0600000!
  412. get_wdev_by_idx: invalid idx(0)
  413. RTMPInitPCIeDevice():device_id=0x7615
  414. DriverOwn()::Try to Clear FW Own...
  415. DriverOwn()::Success to clear FW Own
  416. mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
  417. mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
  418. RtmpChipOpsHook(493): Not support for HIF_MT yet! MACVersion=0x0
  419. mt7615_init()-->
  420. Use 2nd iPAiLNA default bin.
  421. Use 1st /etc_ro/wlan/MT7615_5G_cal_MT.bin default bin.
  422. <--mt7615_init()
  423. ChipOpsMCUHook
  424. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  425. cut_through_token_list_init(): 839a7808,839a7808
  426. cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
  427. cut_through_token_list_init(): 839a7818,839a7818
  428. <-- RTMPAllocTxRxRingMemory, Status=0
  429. get_wdev_by_idx: invalid idx(0)
  430. get_wdev_by_idx: invalid idx(0)
  431. get_wdev_by_idx: invalid idx(0)
  432. get_wdev_by_idx: invalid idx(0)
  433. get_wdev_by_idx: invalid idx(0)
  434. get_wdev_by_idx: invalid idx(0)
  435. get_wdev_by_idx: invalid idx(0)
  436. get_wdev_by_idx: invalid idx(0)
  437. get_wdev_by_idx: invalid idx(0)
  438. get_wdev_by_idx: invalid idx(0)
  439. 80211> RFICType= 3, NumOfChan= 58
  440. 80211> Number of rate = 12
  441. 80211> CurTxPower = 0 dBm
  442. 80211> TxStream = 1
  443. get_wdev_by_idx: invalid idx(0)
  444. get_wdev_by_idx: invalid idx(0)
  445. get_wdev_by_idx: invalid idx(0)
  446. get_wdev_by_idx: invalid idx(0)
  447. get_wdev_by_idx: invalid idx(0)
  448. get_wdev_by_idx: invalid idx(0)
  449. 80211> CFG80211_Register with max interface 8
  450. get_wdev_by_idx: invalid idx(0)
  451. pci probe count=2
  452. xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  453. xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
  454. xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
  455. xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
  456. usb usb1: no of_node; not parsing pinctrl DT
  457. hub 1-0:1.0: no of_node; not parsing pinctrl DT
  458. hub 1-0:1.0: USB hub found
  459. hub 1-0:1.0: 2 ports detected
  460. xhci-mtk 1e1c0000.xhci: xHCI Host Controller
  461. xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
  462. usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
  463. usb usb2: no of_node; not parsing pinctrl DT
  464. hub 2-0:1.0: no of_node; not parsing pinctrl DT
  465. hub 2-0:1.0: USB hub found
  466. hub 2-0:1.0: 1 port detected
  467. usbcore: registered new interface driver usb-storage
  468. usbcore: registered new interface driver usbhid
  469. usbhid: USB HID core driver
  470. u32 classifier
  471.     Performance counters on
  472.     Actions configured
  473. Netfilter messages via NETLINK v0.30.
  474. nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
  475. ctnetlink v0.93: registering with nfnetlink.
  476. ipip: IPv4 and MPLS over IPv4 tunneling driver
  477. ip_tables: (C) 2000-2006 Netfilter Core Team
  478. ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
  479. NET: Registered protocol family 17
  480. Bridge firewalling registered
  481. 8021q: 802.1Q VLAN Support v1.8
  482. nvram driver (major 250) installed
  483. Please be patient, while System loads ...
  484. Freeing unused kernel memory: 12272K
  485. This architecture does not have kernel memory protection.
  486. Now calling with ramdisk_execute_command...
  487. ==========================================================
  488.  
  489.      ___  ___     _      _____  ______        ___   ___
  490.     / _ \/ _ \___| | /| / / _ \/_  __/__  __.`, / /`_  /
  491.    / // / // /___/ |/ |/ / , _/ / /   \ \/ /_``_//__  /
  492.   /____/____/    |__/|__/_/|_| /_/     \__/ /_/(_)/__/    
  493.                                                      
  494.                          DD-WRT v4.9
  495.                       Wireless Liberty
  496.                    http://www.dd-wrt.com
  497. -----
  498. This version has been brought to you by:
  499.  __   __  _____  _____   _   ____   ______  _____  _   __
  500. |  \ /  ||  ___||  __ \ | | / __ \ |__  __||  ___|| | / /
  501. |   ^   || |__  | |  \ \| || |  | |  | |   | |__  | |/ /
  502. |  | |  ||  ___|| |  | || || '--' |  | |   |  ___||   \
  503. |  | |  || |___ | |__/ /| || |--| |  | |   | |___ | |\ \
  504. |__| |__||_____||_____/ |_||_|  |_|  |_|   |_____||_| \_\
  505.  
  506.                       Everyday Genius.
  507. -----
  508. "It takes Everyday Genius to attain Wireless Liberty"
  509.                                                      ~Anon
  510. ======*insert graffiti expressing 'Ralf r00lz!1!1!'*======
  511. init: can't log to /dev/tty5
  512. starting pid 83, tty '/dev/ttyS0': '/bin/sh'
  513. sh-4.4# usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
  514. usb 2-1: no of_node; not parsing pinctrl DT
  515. usb-storage 2-1:1.0: no of_node; not parsing pinctrl DT
  516. usb-storage 2-1:1.0: USB Mass Storage device detected
  517. scsi host0: usb-storage 2-1:1.0
  518. scsi 0:0:0:0: Direct-Access              Patriot Memory   PMAP PQ: 0 ANSI: 6
  519. sd 0:0:0:0: no of_node; not parsing pinctrl DT
  520. sd 0:0:0:0: [sda] 30949376 512-byte logical blocks: (15.8 GB/14.8 GiB)
  521. sd 0:0:0:0: [sda] Write Protect is off
  522. sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
  523. sd 0:0:0:0: [sda] No Caching mode page found
  524. sd 0:0:0:0: [sda] Assuming drive cache: write through
  525.  sda: sda1
  526. sd 0:0:0:0: [sda] Attached SCSI removable disk
  527.  
  528. sh-4.4#
  529. sh-4.4# ifconfig
  530. get_wdev_by_idx: invalid idx(0)
  531. get_wdev_by_idx: invalid idx(0)
  532. sh-4.4# ifconfig eth2 up
  533. 74:FFFFFFDA:FFFFFFDA:FFFFFFA5:FFFFFF87:FFFFFFF4
  534. Raeth v3.1 (Tasklet
  535. )
  536. set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
  537.  
  538. phy_tx_ring = 0x01270000, tx_ring = 0xa1270000
  539.  
  540. phy_rx_ring0 = 0x01274000, rx_ring0 = 0xa1274000
  541. MT7530 Reset Completed!!
  542. change HW-TRAP to 0x17c8f
  543. set LAN/WAN LLLLW
  544. GMAC1_MAC_ADRH -- : 0x000074da
  545. GMAC1_MAC_ADRL -- : 0xdaa587f4
  546. GDMA2_MAC_ADRH -- : 0x000074da
  547. GDMA2_MAC_ADRL -- : 0xdaa587f7
  548. eth3: ===> VirtualIF_open
  549. CDMA_CSG_CFG = 81000000
  550. GDMA1_FWD_CFG = 20710000
  551. GDMA2_FWD_CFG = 20710000
  552. sh-4.4# ifconfig wlan0 up
  553. get_wdev_by_idx: invalid idx(0)
  554. get_wdev_by_idx: invalid idx(0)
  555. get_wdev_by_idx: invalid idx(0)
  556. get_wdev_by_idx: invalid idx(0)
  557. get_wdev_by_idx: invalid idx(0)
  558. get_wdev_by_idx: invalid idx(0)
  559. get_wdev_by_idx: invalid idx(0)
  560. DriverOwn()::Return since already in Driver Own...
  561. ===============================
  562. Current DevInfo Num: 0
  563. ===============================
  564. ===============================
  565. Current BssInfo Num: 0
  566. ===============================
  567. ===============================
  568. Current StaRec Num: 0
  569. ===============================
  570. APWdsInitialize():WdsEntry[0]
  571. APWdsInitialize():WdsEntry[1]
  572. APWdsInitialize():WdsEntry[2]
  573. APWdsInitialize():WdsEntry[3]
  574. multi-profile merge success, en:1,pf1_num:1,pf2_num:1,total:2
  575. E2pAccessMode=2
  576. SSID[0]=MT7621_AP, EdcaIdx=0
  577. SSID[1]=MT7621_AP, EdcaIdx=0
  578. cfg_mode=9
  579. cfg_mode=9
  580. wmode_band_equal(): Band Equal!
  581. cfg_mode=9
  582. cfg_mode=9
  583. [TxPower] BAND0: 100
  584. [SKUenable] BAND0: 0
  585.  
  586. [PERCENTAGEenable] BAND0: 0
  587. [BFBACKOFFenable] BAND0: 0
  588.  
  589. CalCacheApply = 0
  590. APEdca0
  591. Valid=1
  592. APAifsn[0]=3
  593. APAifsn[1]=7
  594. APAifsn[2]=1
  595. APAifsn[3]=1
  596. APEdca1
  597. Valid=1
  598. APAifsn[0]=3
  599. APAifsn[1]=7
  600. APAifsn[2]=1
  601. APAifsn[3]=1
  602. APEdca2
  603. APEdca3
  604. BSSAifsn[0]=3
  605. BSSAifsn[1]=7
  606. BSSAifsn[2]=2
  607. BSSAifsn[3]=2
  608. BSSAifsn[0]=3
  609. BSSAifsn[1]=7
  610. BSSAifsn[2]=2
  611. BSSAifsn[3]=2
  612. APSDCapable[0]=0
  613. APSDCapable[1]=0
  614. default ApCliAPSDCapable[0]=0
  615. default ApCliAPSDCapable[1]=0
  616. DfsZeroWait Support=0/0
  617. DfsZeroWaitCacTime=255/255
  618. [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
  619. [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
  620. [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
  621. [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
  622. [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
  623. [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
  624. rtmp_read_wds_from_file(): WDS Profile
  625. APWdsInitialize():WdsEntry[0]
  626. APWdsInitialize():WdsEntry[1]
  627. APWdsInitialize():WdsEntry[2]
  628. APWdsInitialize():WdsEntry[3]
  629. WDS-Enable mode=0
  630. HT: Ext Channel = ABOVE
  631. HT: Ext Channel = ABOVE
  632. WtcSetMaxStaNum: MaxStaNum:86, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:32, MinMcastWcid:124
  633. Top Init Done!
  634. Use alloc_skb
  635. RX[0] DESC a3d5c000 size = 8192
  636. RX[1] DESC a3d5e000 size = 8192
  637. Hif Init Done!
  638. ctl->txq = c05f8f5c
  639. ctl->rxq = c05f8f68
  640. ctl->ackq = c05f8f74
  641. ctl->kickq = c05f8f80
  642. ctl->tx_doneq = c05f8f8c
  643. ctl->rx_doneq = c05f8f98
  644. mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
  645. mt7615_fw_prepare(2754): MT7615_E3, USE E3 patch and ram code binary image
  646. AndesMTLoadRomMethodFwDlRing(1036), cap->rom_patch_len(11150)
  647. AndesRestartCheck: Current TOP_MISC2(0x1)
  648. AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
  649. 20
  650. 17
  651. 03
  652. 04
  653. 03
  654. 14
  655. 43
  656. a
  657.  
  658. platform =
  659. AL
  660. PS
  661.  
  662. hw/sw version =
  663. 8a10
  664. 8a10
  665.  
  666. patch version =
  667. 0000
  668. 0010
  669.  
  670. ESW: Link Status Changed - Port3 Link UP
  671. Patch SEM Status=2
  672. MtCmdPatchSemGet:(ret = 0)
  673.  
  674. Patch is not ready && get semaphore success, SemStatus(2)
  675. EventGenericEventHandler: CMD Success
  676. MtCmdAddressLenReq:(ret = 0)
  677. MtCmdPatchFinishReq
  678. EventGenericEventHandler: CMD Success
  679. Send checksum req..
  680. Patch SEM Status=3
  681. MtCmdPatchSemGet:(ret = 0)
  682.  
  683. Release patch semaphore, SemStatus(3)
  684. AndesMTEraseRomPatch
  685. WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
  686. AndesMTLoadFwMethodFwDlRing(810), cap->fw_len(459960)
  687. Build Date:_
  688. 20
  689. 17
  690. 05
  691. 12
  692. 14
  693. 37
  694.  
  695. Build Date:_
  696. 20
  697. 17
  698. 05
  699. 12
  700. 14
  701. 37
  702.  
  703. AndesRestartCheck: Current TOP_MISC2(0x1)
  704. AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
  705. EventGenericEventHandler: CMD Success
  706. MtCmdAddressLenReq:(ret = 0)
  707. EventGenericEventHandler: CMD Success
  708. MtCmdAddressLenReq:(ret = 0)
  709. MtCmdFwStartReq: override = 1, address = 540672
  710. EventGenericEventHandler: CMD Success
  711. Build Date:_
  712. 20
  713. 17
  714. 03
  715. 14
  716. 17
  717. 26
  718.  
  719. EventGenericEventHandler: CMD Success
  720. MtCmdAddressLenReq:(ret = 0)
  721. MtCmdFwStartReq: override = 4, address = 0
  722. EventGenericEventHandler: CMD Success
  723. WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
  724. MCU Init Done!
  725. efuse_probe: efuse = 10000212
  726. RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
  727. RtmpEepromGetDefault::e2p_dafault=1
  728. RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
  729. NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
  730. NICReadEEPROMParameters():Calling eeinit
  731. NICReadEEPROMParameters: EEPROM 0x52 b313
  732. NICReadEEPROMParameters: EEPROM 0x52 b313
  733. Country Region from e2p = 101
  734. mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
  735. mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
  736. mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
  737. rtmp_read_txpwr_from_eeprom(243): Don't Support this now!
  738. RTMPReadTxPwrPerRate(1382): Don't Support this now!
  739. RcRadioInit(): DbdcMode=0, ConcurrentBand=1
  740. RcRadioInit(): pRadioCtrl=87c31450,Band=0,rfcap=3,channel=1,PhyMode=2
  741. MtCmdSetDbdcCtrl:(ret = 0)
  742. Band Rf: 1, Phy Mode: 2
  743. AntCfgInit(2787): Not support for HIF_MT yet!
  744. MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
  745. MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
  746. EEPROM Init Done!
  747. mt_mac_init()-->
  748. mt_mac_pse_init(2787): Don't Support this now!
  749. mt7615_init_mac_cr()-->
  750. mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
  751. mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
  752. MtAsicSetMacMaxLen(1313): Not finish Yet!
  753. <--mt_mac_init()
  754. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  755. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  756. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  757. MAC Init Done!
  758. MT7615BBPInit():BBP Initialization.....
  759.         Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
  760.         Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
  761. MT7615BBPInit() todo
  762. PHY Init Done!
  763. tx_pwr_comp_init():NotSupportYet!
  764. MtCmdSetMacTxRx:(ret = 0)
  765. CountryCode(2.4G/5G)=5/7, RFIC=25, PHY mode(2.4G/5G)=14/14, support 14 channels
  766. WifiSysOpen(), wdev idx = 0
  767. wdev_attr_update(): wdevId0 = 74:da:da:a5:87:f5
  768. MtCmdSetDbdcCtrl:(ret = 0)
  769. ApAutoChannelAtBootUp----------------->
  770. ApAutoChannelAtBootUp: AutoChannelBootup = 0, AutoChannelFlag = 0
  771. ApAutoChannelAtBootUp<-----------------
  772. Current Channel is 6. DfsZeroWaitSupport=0
  773. MtAsicSetChBusyStat(865): Not support for HIF_MT yet!
  774. [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
  775. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=6
  776. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  777. MtCmdSetMacTxRx:(ret = 0)
  778. mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
  779. MtCmdGetRXDCOCCalResult:(ret = 0)
  780. mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
  781. MtCmdGetTXDPDCalResult:(ret = 0)
  782. MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
  783. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  784. SYNC - BBP R4 to 20MHz.l
  785. mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
  786. MtCmdGetRXDCOCCalResult:(ret = 0)
  787. mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
  788. MtCmdGetTXDPDCalResult:(ret = 0)
  789. MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
  790. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  791. SYNC - BBP R4 to 20MHz.l
  792. :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
  793. mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
  794. MtCmdGetRXDCOCCalResult:(ret = 0)
  795. mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  796. MtCmdGetTXDPDCalResult:(ret = 0)
  797. MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
  798. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  799. SYNC - BBP R4 to 20MHz.l
  800. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  801. MtCmdGetRXDCOCCalResult:(ret = 0)
  802. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  803. MtCmdGetTXDPDCalResult:(ret = 0)
  804. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  805. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  806. SYNC - BBP R4 to 20MHz.l
  807. mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
  808. MtCmdGetRXDCOCCalResult:(ret = 0)
  809. mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  810. MtCmdGetTXDPDCalResult:(ret = 0)
  811. MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
  812. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  813. SYNC - BBP R4 to 20MHz.l
  814. mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
  815. MtCmdGetRXDCOCCalResult:(ret = 0)
  816. mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  817. MtCmdGetTXDPDCalResult:(ret = 0)
  818. MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
  819. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  820. SYNC - BBP R4 to 20MHz.l
  821. mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
  822. MtCmdGetRXDCOCCalResult:(ret = 0)
  823. mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  824. MtCmdGetTXDPDCalResult:(ret = 0)
  825. MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
  826. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  827. SYNC - BBP R4 to 20MHz.l
  828. mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
  829. MtCmdGetRXDCOCCalResult:(ret = 0)
  830. mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  831. MtCmdGetTXDPDCalResult:(ret = 0)
  832. MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
  833. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  834. SYNC - BBP R4 to 20MHz.l
  835. mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
  836. MtCmdGetRXDCOCCalResult:(ret = 0)
  837. mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  838. MtCmdGetTXDPDCalResult:(ret = 0)
  839. MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
  840. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  841. SYNC - BBP R4 to 20MHz.l
  842. mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500]
  843. MtCmdGetRXDCOCCalResult:(ret = 0)
  844. mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  845. MtCmdGetTXDPDCalResult:(ret = 0)
  846. MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0
  847. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  848. SYNC - BBP R4 to 20MHz.l
  849. mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500]
  850. MtCmdGetRXDCOCCalResult:(ret = 0)
  851. mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  852. MtCmdGetTXDPDCalResult:(ret = 0)
  853. MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0
  854. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  855. SYNC - BBP R4 to 20MHz.l
  856. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
  857.  LinkToOmacIdx = 0, LinkToWdevType = 1
  858. [RadarStateCheck]Set into RD_NORMAL_MODE
  859. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
  860. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
  861. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
  862. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  863. mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=6, HT-CentCh=6, VHT-CentCh=0
  864. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  865. MtCmdGetRXDCOCCalResult:(ret = 0)
  866. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  867. MtCmdGetTXDPDCalResult:(ret = 0)
  868. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  869. BW = 0,TXStream = 4, RXStream = 4, scan(0)
  870. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 6(Prim=6, HT-CentCh=6, VHT-CentCh=0, BBP_BW=0)
  871. LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
  872. MtAsicSetRalinkBurstMode(2618): Not support for HIF_MT yet!
  873. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  874. MtAsicSetTxPreamble(2597): Not support for HIF_MT yet!
  875. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
  876. AndesLedEnhanceOP: Success!
  877. Main bssid = 74:da:da:a5:87:f5
  878. AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
  879. MtCmdSetMacTxRx:(ret = 0)
  880. fdb_enable()
  881. MCS Set = ff ff 00 00 01
  882. <==== mt_wifi_init, Status=0
  883. MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
  884. MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
  885. WDS_Init():
  886. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  887.   MacTabMatchWCID = 0
  888. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  889.   MacTabMatchWCID = 0
  890. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  891.   MacTabMatchWCID = 0
  892. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  893.   MacTabMatchWCID = 0
  894. Total allocated 4 WDS interfaces!
  895. 80211> re-init bands...
  896. 80211> RFICType= 3, NumOfChan= 58
  897. 80211> Number of rate = 12
  898. 80211> CurTxPower = 0 dBm
  899. 80211> TxStream = 2
  900. WtcSetMaxStaNum: MaxStaNum:86, BssidNum:2, WdsNum:4, ApcliNum:2, MaxNumChipRept:32, MinMcastWcid:124
  901. red_is_enabled: set CR4/N9 RED Enable to 1.
  902. cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
  903. Correct apidx from 1 to 0 for WscUUIDInit
  904. Generate UUID for apidx(0)
  905. UUID: c02b357c, len = 16
  906. 0x0000 : bc
  907. 32 9e
  908. 00 1d
  909. d8 11
  910. b2 86
  911. 01 74
  912. da da
  913. a5 87
  914. f5
  915.  
  916. sh-4.4# ifconfig wlani0 up
  917. get_wdev_by_idx: invalid idx(0)
  918. get_wdev_by_idx: invalid idx(0)
  919. get_wdev_by_idx: invalid idx(0)
  920. get_wdev_by_idx: invalid idx(0)
  921. get_wdev_by_idx: invalid idx(0)
  922. get_wdev_by_idx: invalid idx(0)
  923. get_wdev_by_idx: invalid idx(0)
  924. DriverOwn()::Return since already in Driver Own...
  925. ===============================
  926. Current DevInfo Num: 0
  927. ===============================
  928. ===============================
  929. Current BssInfo Num: 0
  930. ===============================
  931. ===============================
  932. Current StaRec Num: 0
  933. ===============================
  934. APWdsInitialize():WdsEntry[0]
  935. APWdsInitialize():WdsEntry[1]
  936. APWdsInitialize():WdsEntry[2]
  937. APWdsInitialize():WdsEntry[3]
  938. multi-profile merge success, en:1,pf1_num:2,pf2_num:2,total:4
  939. E2pAccessMode=2
  940. SSID[0]=DIR-882_5G_factory_root, EdcaIdx=0
  941. SSID[1]=DIR-882_5G_factory_vap1, EdcaIdx=0
  942. SSID[2]=DIR-882_5G_factory_root, EdcaIdx=0
  943. SSID[3]=DIR-882_5G_factory_vap1, EdcaIdx=0
  944. cfg_mode=14
  945. cfg_mode=14
  946. wmode_band_equal(): Band Equal!
  947. cfg_mode=14
  948. cfg_mode=14
  949. cfg_mode=14
  950. cfg_mode=14
  951. cfg_mode=14
  952. cfg_mode=14
  953. [TxPower] BAND0: 100
  954. [SKUenable] BAND0: 1
  955.  
  956. [PERCENTAGEenable] BAND0: 1
  957. [BFBACKOFFenable] BAND0: 0
  958.  
  959. CalCacheApply = 0
  960. APEdca0
  961. Valid=1
  962. APAifsn[0]=3
  963. APAifsn[1]=7
  964. APAifsn[2]=1
  965. APAifsn[3]=1
  966. APEdca1
  967. Valid=1
  968. APAifsn[0]=3
  969. APAifsn[1]=7
  970. APAifsn[2]=1
  971. APAifsn[3]=1
  972. APEdca2
  973. APEdca3
  974. BSSAifsn[0]=3
  975. BSSAifsn[1]=7
  976. BSSAifsn[2]=2
  977. BSSAifsn[3]=2
  978. BSSAifsn[0]=3
  979. BSSAifsn[1]=7
  980. BSSAifsn[2]=2
  981. BSSAifsn[3]=2
  982. BSSAifsn[0]=3
  983. BSSAifsn[1]=7
  984. BSSAifsn[2]=2
  985. BSSAifsn[3]=2
  986. BSSAifsn[0]=3
  987. BSSAifsn[1]=7
  988. BSSAifsn[2]=2
  989. BSSAifsn[3]=2
  990. APSDCapable[0]=0
  991. APSDCapable[1]=0
  992. default ApCliAPSDCapable[0]=0
  993. default ApCliAPSDCapable[1]=0
  994. DfsZeroWait Support=0/0
  995. DfsZeroWaitCacTime=255/255
  996. [RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
  997. [PMF]Set_PMFMFPC_Proc:: apidx=0, Desired MFPC=0
  998. [PMF]Set_PMFMFPC_Proc:: apidx=1, Desired MFPC=0
  999. [PMF]Set_PMFMFPR_Proc:: apidx=0, Desired MFPR=0
  1000. [PMF]Set_PMFMFPR_Proc:: apidx=1, Desired MFPR=0
  1001. [PMF]Set_PMFSHA256_Proc:: apidx=0, Desired PMFSHA256=0
  1002. [PMF]Set_PMFSHA256_Proc:: apidx=1, Desired PMFSHA256=0
  1003. rtmp_read_wds_from_file(): WDS Profile
  1004. APWdsInitialize():WdsEntry[0]
  1005. APWdsInitialize():WdsEntry[1]
  1006. APWdsInitialize():WdsEntry[2]
  1007. APWdsInitialize():WdsEntry[3]
  1008. WDS-Enable mode=0
  1009. HT: Ext Channel = ABOVE
  1010. HT: Ext Channel = ABOVE
  1011. IcapMode = 0
  1012. WtcSetMaxStaNum: MaxStaNum:84, BssidNum:4, WdsNum:4, ApcliNum:2, MaxNumChipRept:32, MinMcastWcid:122
  1013. Top Init Done!
  1014. Use alloc_skb
  1015. RX[0] DESC a3af6000 size = 8192
  1016. RX[1] DESC a3af8000 size = 8192
  1017. Hif Init Done!
  1018. ctl->txq = c0a78f5c
  1019. ctl->rxq = c0a78f68
  1020. ctl->ackq = c0a78f74
  1021. ctl->kickq = c0a78f80
  1022. ctl->tx_doneq = c0a78f8c
  1023. ctl->rx_doneq = c0a78f98
  1024. mt7615_fw_prepare():FW(8a10), HW(8a10), CHIPID(7615))
  1025. mt7615_fw_prepare(2754): MT7615_E3, USE E3 patch and ram code binary image
  1026. AndesMTLoadRomMethodFwDlRing(1036), cap->rom_patch_len(11150)
  1027. AndesRestartCheck: Current TOP_MISC2(0x1)
  1028. AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
  1029. 20
  1030. 17
  1031. 03
  1032. 04
  1033. 03
  1034. 14
  1035. 43
  1036. a
  1037.  
  1038. platform =
  1039. AL
  1040. PS
  1041.  
  1042. hw/sw version =
  1043. 8a10
  1044. 8a10
  1045.  
  1046. patch version =
  1047. 0000
  1048. 0010
  1049.  
  1050. Patch SEM Status=2
  1051. MtCmdPatchSemGet:(ret = 0)
  1052.  
  1053. Patch is not ready && get semaphore success, SemStatus(2)
  1054. EventGenericEventHandler: CMD Success
  1055. MtCmdAddressLenReq:(ret = 0)
  1056. MtCmdPatchFinishReq
  1057. EventGenericEventHandler: CMD Success
  1058. Send checksum req..
  1059. Patch SEM Status=3
  1060. MtCmdPatchSemGet:(ret = 0)
  1061.  
  1062. Release patch semaphore, SemStatus(3)
  1063. AndesMTEraseRomPatch
  1064. WfMcuHwInit: Before NICLoadFirmware, check IcapMode=0
  1065. AndesMTLoadFwMethodFwDlRing(810), cap->fw_len(459960)
  1066. Build Date:_
  1067. 20
  1068. 17
  1069. 05
  1070. 12
  1071. 14
  1072. 37
  1073.  
  1074. Build Date:_
  1075. 20
  1076. 17
  1077. 05
  1078. 12
  1079. 14
  1080. 37
  1081.  
  1082. AndesRestartCheck: Current TOP_MISC2(0x1)
  1083. AndesRestartCheck: (TOP_MISC2 = 1), ready to continue...RET(0)
  1084. EventGenericEventHandler: CMD Success
  1085. MtCmdAddressLenReq:(ret = 0)
  1086. EventGenericEventHandler: CMD Success
  1087. MtCmdAddressLenReq:(ret = 0)
  1088. MtCmdFwStartReq: override = 1, address = 540672
  1089. EventGenericEventHandler: CMD Success
  1090. Build Date:_
  1091. 20
  1092. 17
  1093. 03
  1094. 14
  1095. 17
  1096. 26
  1097.  
  1098. EventGenericEventHandler: CMD Success
  1099. MtCmdAddressLenReq:(ret = 0)
  1100. MtCmdFwStartReq: override = 4, address = 0
  1101. EventGenericEventHandler: CMD Success
  1102. WfMcuHwInit: NICLoadFirmware OK, Check IcapMode=0
  1103. MCU Init Done!
  1104. efuse_probe: efuse = 10000212
  1105. RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
  1106. RtmpEepromGetDefault::e2p_dafault=1
  1107. RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
  1108. NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
  1109. NICReadEEPROMParameters():Calling eeinit
  1110. NICReadEEPROMParameters: EEPROM 0x52 b313
  1111. NICReadEEPROMParameters: EEPROM 0x52 b313
  1112. Country Region from e2p = 101
  1113. mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
  1114. mt7615_antenna_default_reset(): DBDC 2G TxPath = 2, 2G RxPath = 2
  1115. mt7615_antenna_default_reset(): DBDC 5G TxPath = 2, 2G RxPath = 2
  1116. rtmp_read_txpwr_from_eeprom(243): Don't Support this now!
  1117. RTMPReadTxPwrPerRate(1382): Don't Support this now!
  1118. RcRadioInit(): DbdcMode=0, ConcurrentBand=1
  1119. RcRadioInit(): pRadioCtrl=839a8450,Band=0,rfcap=3,channel=1,PhyMode=2
  1120. MtCmdSetDbdcCtrl:(ret = 0)
  1121. Band Rf: 1, Phy Mode: 2
  1122. AntCfgInit(2787): Not support for HIF_MT yet!
  1123. MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
  1124. MtBfBackOffLoadTable: RF_LOCKDOWN Feature OFF !!!
  1125. EEPROM Init Done!
  1126. mt_mac_init()-->
  1127. mt_mac_pse_init(2787): Don't Support this now!
  1128. mt7615_init_mac_cr()-->
  1129. mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
  1130. mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
  1131. MtAsicSetMacMaxLen(1313): Not finish Yet!
  1132. <--mt_mac_init()
  1133. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  1134. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  1135. CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
  1136. MAC Init Done!
  1137. MT7615BBPInit():BBP Initialization.....
  1138.         Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
  1139.         Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
  1140. MT7615BBPInit() todo
  1141. PHY Init Done!
  1142. tx_pwr_comp_init():NotSupportYet!
  1143. MtCmdSetMacTxRx:(ret = 0)
  1144. CountryRegionABand=25 not supportCountryCode(2.4G/5G)=5/25, RFIC=25, PHY mode(2.4G/5G)=49/49, support 0 channels
  1145. WifiSysOpen(), wdev idx = 0
  1146. wdev_attr_update(): wdevId0 = 74:da:da:a5:87:f6
  1147. MtCmdSetDbdcCtrl:(ret = 0)
  1148. ApAutoChannelAtBootUp----------------->
  1149. ApAutoChannelAtBootUp: AutoChannelBootup = 1, AutoChannelFlag = 0
  1150. ApAutoChannelAtBootUp<-----------------
  1151. Current Channel is 36. DfsZeroWaitSupport=0
  1152. MtAsicSetChBusyStat(865): Not support for HIF_MT yet!
  1153. [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
  1154. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1155. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1156. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
  1157.  LinkToOmacIdx = 0, LinkToWdevType = 1
  1158. [RadarStateCheck]Set into RD_NORMAL_MODE
  1159. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1160. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1161. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1162. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1163. mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=36, HT-CentCh=36, VHT-CentCh=42
  1164. channel_adjust_bw_by_region: channel(36) wdev(0) change bw from 0 to 2
  1165. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1166. MtCmdGetRXDCOCCalResult:(ret = 0)
  1167. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1168. MtCmdGetTXDPDCalResult:(ret = 0)
  1169. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1170. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1171. :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
  1172. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1173. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1174. LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
  1175. MtAsicSetRalinkBurstMode(2618): Not support for HIF_MT yet!
  1176. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1177. MtAsicSetTxPreamble(2597): Not support for HIF_MT yet!
  1178. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
  1179. AndesLedEnhanceOP: Success!
  1180. Main bssid = 74:da:da:a5:87:f6
  1181. AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
  1182. MtCmdSetMacTxRx:(ret = 0)
  1183. fdb_enable()
  1184. MCS Set = ff ff ff ff 00
  1185. <==== mt_wifi_init, Status=0
  1186. MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 0
  1187. MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
  1188. WDS_Init():
  1189. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  1190.   MacTabMatchWCID = 0
  1191. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  1192.   MacTabMatchWCID = 0
  1193. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  1194.   MacTabMatchWCID = 0
  1195. The new WDS interface MAC = FF:FF:FF:FF:FF:FF
  1196.   MacTabMatchWCID = 0
  1197. Total allocated 4 WDS interfaces!
  1198. 80211> re-init bands...
  1199. 80211> RFICType= 3, NumOfChan= 58
  1200. 80211> Number of rate = 12
  1201. 80211> CurTxPower = 0 dBm
  1202. 80211> TxStream = 4
  1203. WtcSetMaxStaNum: MaxStaNum:84, BssidNum:4, WdsNum:4, ApcliNum:2, MaxNumChipRept:32, MinMcastWcid:122
  1204. red_is_enabled: set CR4/N9 RED Enable to 1.
  1205. cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
  1206. Correct apidx from 1 to 0 for WscUUIDInit
  1207. Generate UUID for apidx(0)
  1208. UUID: c073357c, len = 16
  1209. 0x0000 : bc
  1210. 32 9e
  1211. 00 1d
  1212. d8 11
  1213. b2 86
  1214. 01 74
  1215. da da
  1216. a5 87
  1217. f5
  1218.  
  1219. sh-4.4# random: crng init done
  1220.  
  1221. sh-4.4#
  1222. sh-4.4# iwpriv wlan0 set SSID="1. Cut a hole in the Box..."
  1223. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1224. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1225. AndesLedEnhanceOP: Success!
  1226. WifiSysClose(), wdev idx = 0
  1227. WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
  1228. WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
  1229. WifiSysClose(), wdev idx = 1
  1230. MtAsicSetRalinkBurstMode(2618): Not support for HIF_MT yet!
  1231. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1232. MtAsicSetTxPreamble(2597): Not support for HIF_MT yet!
  1233. WifiSysOpen(), wdev idx = 0
  1234. wdev_attr_update(): wdevId0 = 74:da:da:a5:87:f5
  1235. MtCmdSetDbdcCtrl:(ret = 0)
  1236. [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
  1237. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=6
  1238. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1239. MtCmdSetMacTxRx:(ret = 0)
  1240. mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
  1241. MtCmdGetRXDCOCCalResult:(ret = 0)
  1242. mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
  1243. MtCmdGetTXDPDCalResult:(ret = 0)
  1244. MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
  1245. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1246. SYNC - BBP R4 to 20MHz.l
  1247. mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
  1248. MtCmdGetRXDCOCCalResult:(ret = 0)
  1249. mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
  1250. MtCmdGetTXDPDCalResult:(ret = 0)
  1251. MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
  1252. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1253. SYNC - BBP R4 to 20MHz.l
  1254. mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
  1255. MtCmdGetRXDCOCCalResult:(ret = 0)
  1256. mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1257. MtCmdGetTXDPDCalResult:(ret = 0)
  1258. MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
  1259. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1260. SYNC - BBP R4 to 20MHz.l
  1261. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  1262. MtCmdGetRXDCOCCalResult:(ret = 0)
  1263. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1264. MtCmdGetTXDPDCalResult:(ret = 0)
  1265. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  1266. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1267. SYNC - BBP R4 to 20MHz.l
  1268. mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
  1269. MtCmdGetRXDCOCCalResult:(ret = 0)
  1270. mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1271. MtCmdGetTXDPDCalResult:(ret = 0)
  1272. MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
  1273. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1274. SYNC - BBP R4 to 20MHz.l
  1275. mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
  1276. MtCmdGetRXDCOCCalResult:(ret = 0)
  1277. mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1278. MtCmdGetTXDPDCalResult:(ret = 0)
  1279. MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
  1280. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1281. SYNC - BBP R4 to 20MHz.l
  1282. mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
  1283. MtCmdGetRXDCOCCalResult:(ret = 0)
  1284. mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1285. MtCmdGetTXDPDCalResult:(ret = 0)
  1286. MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
  1287. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1288. SYNC - BBP R4 to 20MHz.l
  1289. mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
  1290. MtCmdGetRXDCOCCalResult:(ret = 0)
  1291. mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1292. MtCmdGetTXDPDCalResult:(ret = 0)
  1293. MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
  1294. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1295. SYNC - BBP R4 to 20MHz.l
  1296. mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
  1297. MtCmdGetRXDCOCCalResult:(ret = 0)
  1298. mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1299. MtCmdGetTXDPDCalResult:(ret = 0)
  1300. MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
  1301. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1302. SYNC - BBP R4 to 20MHz.l
  1303. mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500]
  1304. MtCmdGetRXDCOCCalResult:(ret = 0)
  1305. mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1306. MtCmdGetTXDPDCalResult:(ret = 0)
  1307. MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0
  1308. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1309. SYNC - BBP R4 to 20MHz.l
  1310. mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500]
  1311. MtCmdGetRXDCOCCalResult:(ret = 0)
  1312. mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1313. MtCmdGetTXDPDCalResult:(ret = 0)
  1314. MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0
  1315. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1316. SYNC - BBP R4 to 20MHz.l
  1317. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
  1318.  LinkToOmacIdx = 0, LinkToWdevType = 1
  1319. [RadarStateCheck]Set into RD_NORMAL_MODE
  1320. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
  1321. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
  1322. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
  1323. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1324. mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=6, HT-CentCh=6, VHT-CentCh=0
  1325. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  1326. MtCmdGetRXDCOCCalResult:(ret = 0)
  1327. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1328. MtCmdGetTXDPDCalResult:(ret = 0)
  1329. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  1330. BW = 0,TXStream = 4, RXStream = 4, scan(0)
  1331. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 6(Prim=6, HT-CentCh=6, VHT-CentCh=0, BBP_BW=0)
  1332. LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
  1333. WifiSysOpen(), wdev idx = 1
  1334. wdev_attr_update(): wdevId1 = 76:da:da:b5:87:f5
  1335. MtCmdSetDbdcCtrl:(ret = 0)
  1336. [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
  1337. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=6
  1338. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:14,Channel=6
  1339. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1340. MtCmdSetMacTxRx:(ret = 0)
  1341. mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
  1342. MtCmdGetRXDCOCCalResult:(ret = 0)
  1343. mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
  1344. MtCmdGetTXDPDCalResult:(ret = 0)
  1345. MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
  1346. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1347. SYNC - BBP R4 to 20MHz.l
  1348. mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
  1349. MtCmdGetRXDCOCCalResult:(ret = 0)
  1350. mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
  1351. MtCmdGetTXDPDCalResult:(ret = 0)
  1352. MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
  1353. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1354. SYNC - BBP R4 to 20MHz.l
  1355. mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
  1356. MtCmdGetRXDCOCCalResult:(ret = 0)
  1357. mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1358. MtCmdGetTXDPDCalResult:(ret = 0)
  1359. MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
  1360. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1361. SYNC - BBP R4 to 20MHz.l
  1362. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  1363. MtCmdGetRXDCOCCalResult:(ret = 0)
  1364. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1365. MtCmdGetTXDPDCalResult:(ret = 0)
  1366. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  1367. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1368. SYNC - BBP R4 to 20MHz.l
  1369. mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
  1370. MtCmdGetRXDCOCCalResult:(ret = 0)
  1371. mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1372. MtCmdGetTXDPDCalResult:(ret = 0)
  1373. MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
  1374. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1375. SYNC - BBP R4 to 20MHz.l
  1376. mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
  1377. MtCmdGetRXDCOCCalResult:(ret = 0)
  1378. mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1379. MtCmdGetTXDPDCalResult:(ret = 0)
  1380. MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
  1381. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1382. SYNC - BBP R4 to 20MHz.l
  1383. mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
  1384. MtCmdGetRXDCOCCalResult:(ret = 0)
  1385. mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1386. MtCmdGetTXDPDCalResult:(ret = 0)
  1387. MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
  1388. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1389. SYNC - BBP R4 to 20MHz.l
  1390. mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
  1391. MtCmdGetRXDCOCCalResult:(ret = 0)
  1392. mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1393. MtCmdGetTXDPDCalResult:(ret = 0)
  1394. MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
  1395. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1396. SYNC - BBP R4 to 20MHz.l
  1397. mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
  1398. MtCmdGetRXDCOCCalResult:(ret = 0)
  1399. mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1400. MtCmdGetTXDPDCalResult:(ret = 0)
  1401. MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
  1402. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1403. SYNC - BBP R4 to 20MHz.l
  1404. mt7615_apply_dcoc() : reload Central CH [12] BW [0] from cetral freq [2467]  offset [2500]
  1405. MtCmdGetRXDCOCCalResult:(ret = 0)
  1406. mt7615_apply_dpd() : reload Central CH [12] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1407. MtCmdGetTXDPDCalResult:(ret = 0)
  1408. MtCmdChannelSwitch: control_chl = 12,control_ch2=0, central_chl = 12 DBDCIdx= 0, Band= 0
  1409. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1410. SYNC - BBP R4 to 20MHz.l
  1411. mt7615_apply_dcoc() : reload Central CH [13] BW [0] from cetral freq [2467]  offset [2500]
  1412. MtCmdGetRXDCOCCalResult:(ret = 0)
  1413. mt7615_apply_dpd() : reload Central CH [13] BW [0] from cetral freq [2462] i[46] offset [4cd0]
  1414. MtCmdGetTXDPDCalResult:(ret = 0)
  1415. MtCmdChannelSwitch: control_chl = 13,control_ch2=0, central_chl = 13 DBDCIdx= 0, Band= 0
  1416. BW = 0,TXStream = 4, RXStream = 4, scan(1)
  1417. SYNC - BBP R4 to 20MHz.l
  1418. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
  1419.  LinkToOmacIdx = 11, LinkToWdevType = 1
  1420. [RadarStateCheck]Set into RD_NORMAL_MODE
  1421. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 0,                 CmdBssInfoBmcRate.u2McTransmit = 0
  1422. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 0, BandIdx: 0
  1423. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
  1424. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1425. mt7615_bbp_adjust():rf_bw=0, ext_ch=0, PrimCh=6, HT-CentCh=6, VHT-CentCh=0
  1426. mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
  1427. MtCmdGetRXDCOCCalResult:(ret = 0)
  1428. mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
  1429. MtCmdGetTXDPDCalResult:(ret = 0)
  1430. MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
  1431. BW = 0,TXStream = 4, RXStream = 4, scan(0)
  1432. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 6(Prim=6, HT-CentCh=6, VHT-CentCh=0, BBP_BW=0)
  1433. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
  1434. AndesLedEnhanceOP: Success!
  1435. Main bssid = 74:da:da:a5:87:f5
  1436. sh-4.4# iwpriv wlan0 set SSID2="1. Cut a hole in the Box..."
  1437. Interface doesn't accept private ioctl...
  1438. set (8BE2): Invalid argument
  1439. sh-4.4# iwpriv wlani0 set SSID="1. Cut a hole in the Box..."
  1440. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1441. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1442. AndesLedEnhanceOP: Success!
  1443. WifiSysClose(), wdev idx = 0
  1444. WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
  1445. WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
  1446. WifiSysClose(), wdev idx = 1
  1447. WifiSysClose(), wdev idx = 2
  1448. WifiSysClose(), wdev idx = 3
  1449. MtAsicSetRalinkBurstMode(2618): Not support for HIF_MT yet!
  1450. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1451. MtAsicSetTxPreamble(2597): Not support for HIF_MT yet!
  1452. WifiSysOpen(), wdev idx = 0
  1453. wdev_attr_update(): wdevId0 = 74:da:da:a5:87:f6
  1454. MtCmdSetDbdcCtrl:(ret = 0)
  1455. [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
  1456. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1457. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1458. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
  1459.  LinkToOmacIdx = 0, LinkToWdevType = 1
  1460. [RadarStateCheck]Set into RD_NORMAL_MODE
  1461. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1462. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1463. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1464. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1465. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1466. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1467. MtCmdGetRXDCOCCalResult:(ret = 0)
  1468. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1469. MtCmdGetTXDPDCalResult:(ret = 0)
  1470. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1471. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1472. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1473. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1474. LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
  1475. WifiSysOpen(), wdev idx = 1
  1476. wdev_attr_update(): wdevId1 = 76:da:da:95:87:f6
  1477. MtCmdSetDbdcCtrl:(ret = 0)
  1478. [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
  1479. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1480. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1481. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1482. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
  1483.  LinkToOmacIdx = 11, LinkToWdevType = 1
  1484. [RadarStateCheck]Set into RD_NORMAL_MODE
  1485. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1486. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1487. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1488. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1489. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1490. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1491. MtCmdGetRXDCOCCalResult:(ret = 0)
  1492. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1493. MtCmdGetTXDPDCalResult:(ret = 0)
  1494. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1495. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1496. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1497. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1498. WifiSysOpen(), wdev idx = 2
  1499. wdev_attr_update(): wdevId2 = 76:da:da:a5:87:f6
  1500. MtCmdSetDbdcCtrl:(ret = 0)
  1501. [PMF]APPMFInit:: apidx=2, MFPC=0, MFPR=0, SHA256=0
  1502. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1503. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1504. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1505. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1506. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
  1507.  LinkToOmacIdx = 12, LinkToWdevType = 1
  1508. [RadarStateCheck]Set into RD_NORMAL_MODE
  1509. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1510. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1511. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1512. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1513. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1514. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1515. MtCmdGetRXDCOCCalResult:(ret = 0)
  1516. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1517. MtCmdGetTXDPDCalResult:(ret = 0)
  1518. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1519. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1520. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1521. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1522. WifiSysOpen(), wdev idx = 3
  1523. wdev_attr_update(): wdevId3 = 76:da:da:b5:87:f6
  1524. MtCmdSetDbdcCtrl:(ret = 0)
  1525. [PMF]APPMFInit:: apidx=3, MFPC=0, MFPR=0, SHA256=0
  1526. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1527. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1528. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1529. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1530. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1531. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
  1532.  LinkToOmacIdx = 13, LinkToWdevType = 1
  1533. [RadarStateCheck]Set into RD_NORMAL_MODE
  1534. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1535. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1536. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1537. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1538. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1539. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1540. MtCmdGetRXDCOCCalResult:(ret = 0)
  1541. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1542. MtCmdGetTXDPDCalResult:(ret = 0)
  1543. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1544. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1545. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1546. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1547. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
  1548. AndesLedEnhanceOP: Success!
  1549. Main bssid = 74:da:da:a5:87:f6
  1550. sh-4.4# iwpriv wlani0 set SSID="2. Put your Junk in that Box!"  
  1551. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1552. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1553. AndesLedEnhanceOP: Success!
  1554. WifiSysClose(), wdev idx = 0
  1555. WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
  1556. WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
  1557. WifiSysClose(), wdev idx = 1
  1558. WifiSysGetBssInfoState(): BssInfoIdx 1 not found!!!
  1559. WifiSysUpdateBssInfoState(): BssInfoIdx 1 not found!!!
  1560. WifiSysClose(), wdev idx = 2
  1561. WifiSysGetBssInfoState(): BssInfoIdx 2 not found!!!
  1562. WifiSysUpdateBssInfoState(): BssInfoIdx 2 not found!!!
  1563. WifiSysClose(), wdev idx = 3
  1564. WifiSysGetBssInfoState(): BssInfoIdx 3 not found!!!
  1565. WifiSysUpdateBssInfoState(): BssInfoIdx 3 not found!!!
  1566. MtAsicSetRalinkBurstMode(2618): Not support for HIF_MT yet!
  1567. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1568. MtAsicSetTxPreamble(2597): Not support for HIF_MT yet!
  1569. WifiSysOpen(), wdev idx = 0
  1570. wdev_attr_update(): wdevId0 = 74:da:da:a5:87:f6
  1571. MtCmdSetDbdcCtrl:(ret = 0)
  1572. [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
  1573. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1574. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1575. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
  1576.  LinkToOmacIdx = 0, LinkToWdevType = 1
  1577. [RadarStateCheck]Set into RD_NORMAL_MODE
  1578. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1579. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1580. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1581. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1582. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1583. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1584. MtCmdGetRXDCOCCalResult:(ret = 0)
  1585. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1586. MtCmdGetTXDPDCalResult:(ret = 0)
  1587. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1588. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1589. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1590. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1591. LeadTimeForBcn, OmacIdx = 0, WDEV_WITH_BCN_ABILITY
  1592. WifiSysOpen(), wdev idx = 1
  1593. wdev_attr_update(): wdevId1 = 76:da:da:95:87:f6
  1594. MtCmdSetDbdcCtrl:(ret = 0)
  1595. [PMF]APPMFInit:: apidx=1, MFPC=0, MFPR=0, SHA256=0
  1596. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1597. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1598. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1599. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:126 for WDEV_TYPE:1
  1600.  LinkToOmacIdx = 11, LinkToWdevType = 1
  1601. [RadarStateCheck]Set into RD_NORMAL_MODE
  1602. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1603. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1604. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1605. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1606. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1607. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1608. MtCmdGetRXDCOCCalResult:(ret = 0)
  1609. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1610. MtCmdGetTXDPDCalResult:(ret = 0)
  1611. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1612. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1613. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1614. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1615. WifiSysOpen(), wdev idx = 2
  1616. wdev_attr_update(): wdevId2 = 76:da:da:a5:87:f6
  1617. MtCmdSetDbdcCtrl:(ret = 0)
  1618. [PMF]APPMFInit:: apidx=2, MFPC=0, MFPR=0, SHA256=0
  1619. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1620. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1621. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1622. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1623. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:125 for WDEV_TYPE:1
  1624.  LinkToOmacIdx = 12, LinkToWdevType = 1
  1625. [RadarStateCheck]Set into RD_NORMAL_MODE
  1626. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1627. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1628. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1629. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1630. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1631. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1632. MtCmdGetRXDCOCCalResult:(ret = 0)
  1633. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1634. MtCmdGetTXDPDCalResult:(ret = 0)
  1635. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1636. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1637. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1638. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1639. WifiSysOpen(), wdev idx = 3
  1640. wdev_attr_update(): wdevId3 = 76:da:da:b5:87:f6
  1641. MtCmdSetDbdcCtrl:(ret = 0)
  1642. [PMF]APPMFInit:: apidx=3, MFPC=0, MFPR=0, SHA256=0
  1643. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1644. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1645. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1646. HcUpdatePhyMode(): Update PhyMode for all wdev for this band PhyMode:49,Channel=36
  1647. Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
  1648. wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:124 for WDEV_TYPE:1
  1649.  LinkToOmacIdx = 13, LinkToWdevType = 1
  1650. [RadarStateCheck]Set into RD_NORMAL_MODE
  1651. bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO),                 CmdBssInfoBmcRate.u2BcTransmit= 8192,                 CmdBssInfoBmcRate.u2McTransmit = 8196
  1652. MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
  1653. MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 1, BandIdx: 0
  1654. MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
  1655. mt7615_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
  1656. mt7615_apply_dcoc() : reload Central CH [42] BW [2] from cetral freq [5210]  offset [1900]
  1657. MtCmdGetRXDCOCCalResult:(ret = 0)
  1658. mt7615_apply_dpd() : reload Central CH [42] BW [2] from cetral freq [5220] i[9] offset [2d98]
  1659. MtCmdGetTXDPDCalResult:(ret = 0)
  1660. MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 42 DBDCIdx= 0, Band= 0
  1661. BW = 2,TXStream = 4, RXStream = 4, scan(0)
  1662. ap_phy_rrm_init_byRf(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
  1663. [WrapDfsRadarDetectStart]: Band0Ch is 36[WrapDfsRadarDetectStart]: Band1Ch is 0
  1664. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
  1665. AndesLedEnhanceOP: Success!
  1666. Main bssid = 74:da:da:a5:87:f6
  1667. sh-4.4# ifconfig
  1668. eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
  1669.         ether 74:da:da:a5:87:f4  txqueuelen 1000  (Ethernet)
  1670.         RX packets 0  bytes 0 (0.0 B)
  1671.         RX errors 0  dropped 0  overruns 0  frame 0
  1672.         TX packets 0  bytes 0 (0.0 B)
  1673.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  1674.         device interrupt 3  
  1675.  
  1676. wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
  1677.         ether 74:da:da:a5:87:f5  txqueuelen 3000  (Ethernet)
  1678.         RX packets 0  bytes 0 (0.0 B)
  1679.         RX errors 0  dropped 0  overruns 0  frame 0
  1680.         TX packets 0  bytes 0 (0.0 B)
  1681.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  1682.         device interrupt 23  
  1683.  
  1684. wlani0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
  1685.         ether 74:da:da:a5:87:f6  txqueuelen 3000  (Ethernet)
  1686.         RX packets 0  bytes 0 (0.0 B)
  1687.         RX errors 0  dropped 0  overruns 0  frame 0
  1688.         TX packets 0  bytes 0 (0.0 B)
  1689.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  1690.         device interrupt 24  
  1691.  
  1692. sh-4.4# iwconfig
  1693. wds2      RTWIFI SoftAP  ESSID:""  
  1694.           Mode:Managed  Channel=6  Access Point: Not-Associated  
  1695.           Bit Rate:144 Mb/s  
  1696.          
  1697. wlani1    IEEE 802.11  Mode:Master  
  1698.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1699.           Power Management:on
  1700.          
  1701. wdsi1     RTWIFI SoftAP  ESSID:"DIR-882_5G_factory_vap1"  
  1702.           Mode:Managed  Channel=36  Access Point: 76:DA:DA:95:87:F6  
  1703.           Bit Rate=1.732 Gb/s  
  1704.          
  1705. wlany1    IEEE 802.11  Mode:Master  
  1706.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1707.           Power Management:on
  1708.          
  1709. apcli0    RTWIFI SoftAP  ESSID:""  
  1710.           Mode:Managed  Channel=6  Access Point: Not-Associated  
  1711.           Bit Rate:144 Mb/s  
  1712.          
  1713. tunl0     no wireless extensions.
  1714.  
  1715. eth2      no wireless extensions.
  1716.  
  1717. wds3      RTWIFI SoftAP  ESSID:""  
  1718.           Mode:Managed  Channel=6  Access Point: Not-Associated  
  1719.           Bit Rate:144 Mb/s  
  1720.          
  1721. wlanx0    IEEE 802.11  Mode:Master  
  1722.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1723.           Power Management:on
  1724.          
  1725. apclii0   RTWIFI SoftAP  ESSID:""  
  1726.           Mode:Managed  Channel=36  Access Point: Not-Associated  
  1727.           Bit Rate:1.732 Gb/s  
  1728.          
  1729. wdsi2     RTWIFI SoftAP  ESSID:"DIR-882_5G_factory_root"  
  1730.           Mode:Managed  Channel=36  Access Point: 76:DA:DA:A5:87:F6  
  1731.           Bit Rate=1.732 Gb/s  
  1732.          
  1733. teql0     no wireless extensions.
  1734.  
  1735. wds0      RTWIFI SoftAP  ESSID:"1. Cut a hole in the Box..."  
  1736.           Mode:Managed  Channel=6  Access Point: 74:DA:DA:A5:87:F5  
  1737.           Bit Rate=144 Mb/s  
  1738.          
  1739. lo        no wireless extensions.
  1740.  
  1741. eth3      no wireless extensions.
  1742.  
  1743. wdsi3     RTWIFI SoftAP  ESSID:"DIR-882_5G_factory_vap1"  
  1744.           Mode:Managed  Channel=36  Access Point: 76:DA:DA:B5:87:F6  
  1745.           Bit Rate=1.732 Gb/s  
  1746.          
  1747. wds1      RTWIFI SoftAP  ESSID:"MT7621_AP"  
  1748.           Mode:Managed  Channel=6  Access Point: 76:DA:DA:B5:87:F5  
  1749.           Bit Rate=144 Mb/s  
  1750.          
  1751. wlani0    IEEE 802.11  Mode:Master  
  1752.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1753.           Power Management:on
  1754.          
  1755. wdsi0     RTWIFI SoftAP  ESSID:"2. Put your Junk in that Box!"  
  1756.           Mode:Managed  Channel=36  Access Point: 74:DA:DA:A5:87:F6  
  1757.           Bit Rate=1.732 Gb/s  
  1758.          
  1759. wlan0     IEEE 802.11  Mode:Master  
  1760.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1761.           Power Management:on
  1762.          
  1763. wlany0    IEEE 802.11  Mode:Master  
  1764.           Retry short  long limit:0   RTS thr=2347 B   Fragment thr=2346 B  
  1765.           Power Management:on
  1766.          
  1767. sh-4.4# ifconfig wlan0 down
  1768. WifiSysClose(), wdev idx = 0
  1769. WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
  1770. WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
  1771. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1772. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1773. AndesLedEnhanceOP: Success!
  1774. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1775. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1776. AndesLedEnhanceOP: Success!
  1777. WifiSysClose(), wdev idx = 0
  1778. WifiSysClose(), wdev idx = 1
  1779. WifiSysGetBssInfoState(): BssInfoIdx 1 not found!!!
  1780. WifiSysUpdateBssInfoState(): BssInfoIdx 1 not found!!!
  1781. kill LoopBackTxTask task failed!
  1782. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=4, LED_CMD=1!
  1783. AndesLedEnhanceOP: Success!
  1784. AndesRestartCheck: Current TOP_MISC2(0x7)
  1785. CmdReStartDLRsp: Status Success!, Status(0)
  1786. EventExtEventHandler: Unknown Ext Event(6f)
  1787. AndesRestartCheck:  TOP_MISC2(1)
  1788. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=2, LED_CMD=1!
  1789. AndesLedEnhanceOP: Success!
  1790. RT28xxPciAsicRadioOff(): Not support for HIF_MT yet!
  1791. tx_kickout_fail_count = 0
  1792. tx_timeout_fail_count = 0
  1793. rx_receive_fail_count = 0
  1794. alloc_cmd_msg = 1970
  1795. free_cmd_msg = 1970
  1796. cut_through_token_list_destroy(): 83c0ef08,83c0ef08
  1797. cut_through_token_list_destroy(): 83c0ef18,83c0ef18
  1798. FwOwn()::Set Fw Own
  1799. RTMP_AllTimerListRelease: Size=0
  1800. FwOwn()::Return since already in Fw Own...
  1801. <---HwCtrlThread
  1802. sh-4.4# ifconfig wlani0 down
  1803. WifiSysClose(), wdev idx = 0
  1804. WifiSysGetBssInfoState(): BssInfoIdx 0 not found!!!
  1805. WifiSysUpdateBssInfoState(): BssInfoIdx 0 not found!!!
  1806. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1807. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1808. AndesLedEnhanceOP: Success!
  1809. WifiSysClose(), wdev idx = 0
  1810. WifiSysClose(), wdev idx = 1
  1811. WifiSysGetBssInfoState(): BssInfoIdx 1 not found!!!
  1812. WifiSysUpdateBssInfoState(): BssInfoIdx 1 not found!!!
  1813. WifiSysClose(), wdev idx = 2
  1814. WifiSysGetBssInfoState(): BssInfoIdx 2 not found!!!
  1815. WifiSysUpdateBssInfoState(): BssInfoIdx 2 not found!!!
  1816. WifiSysClose(), wdev idx = 3
  1817. WifiSysGetBssInfoState(): BssInfoIdx 3 not found!!!
  1818. WifiSysUpdateBssInfoState(): BssInfoIdx 3 not found!!!
  1819. MtAsicSetPiggyBack(802): Not support for HIF_MT yet!
  1820. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
  1821. AndesLedEnhanceOP: Success!
  1822. kill LoopBackTxTask task failed!
  1823. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=4, LED_CMD=1!
  1824. AndesLedEnhanceOP: Success!
  1825. AndesRestartCheck: Current TOP_MISC2(0x7)
  1826. CmdReStartDLRsp: Status Success!, Status(0)
  1827. AndesRestartCheck:  TOP_MISC2(1)
  1828. RTMPSetLEDStatus: before AndesLedEnhanceOP , status=2, LED_CMD=1!
  1829. AndesLedEnhanceOP: Success!
  1830. RT28xxPciAsicRadioOff(): Not support for HIF_MT yet!
  1831. tx_kickout_fail_count = 0
  1832. tx_timeout_fail_count = 0
  1833. rx_receive_fail_count = 0
  1834. alloc_cmd_msg = 2046
  1835. free_cmd_msg = 2046
  1836. cut_through_token_list_destroy(): 839a7808,839a7808
  1837. cut_through_token_list_destroy(): 839a7818,839a7818
  1838. FwOwn()::Set Fw Own
  1839. RTMP_AllTimerListRelease: Size=0
  1840. FwOwn()::Return since already in Fw Own...
  1841. <---HwCtrlThread
RAW Paste Data