大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

WSR-2533DHPL2

これもWMC-DLGST2同様に、定期的な通院のついでに吉川のハードオフに行ってみた際見付け、MT7621であることを把握しており確保したもの。

弄っていくのでメモ。

Switch

確認中

zone WAN LAN
port (WSR-2533DHPL2) INTERNET LAN1 LAN2 LAN3
port (MT7530) port0 port1 port2 port3

MAC

  • LAN: 18:EC:E7:xx:xx:E0 (board_data, mac (hex))
  • WAN: 18:EC:E7:xx:xx:E0 (board_data, mac (hex))
  • 2.4G: 18:EC:E7:xx:xx:E1 (Factory, 0x4 (hex))
  • 5G: 18:EC:E7:xx:xx:E4 (Factory, 0x8004 (hex))

U-Boot

  • help

      MT7621 # help
      ?       - alias for 'help'
      bootm   - boot application image from memory
      go      - start application at address 'addr'
      help    - print online help
      loadb   - load binary file over serial line (kermit mode)
      md      - memory display
      mdio   - Ralink PHY register R/W command !!
      mm      - memory modify (auto-incrementing)
      nand    - nand command
      nm      - memory modify (constant address)
      printenv- print environment variables
      reset   - Perform RESET of the CPU
      saveenv - save environment variables to persistent storage
      setenv  - set environment variables
      tftpboot- boot image via network using TFTP protocol
      version - print monitor version
    
  • version

      MT7621 # version
    
      U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04
    
  • printenv

      MT7621 # printenv
      bootcmd=tftp
      bootdelay=5
      baudrate=57600
      ethaddr="00:AA:BB:CC:DD:10"
      ipaddr=192.168.11.1
      serverip=192.168.11.2
      bootfile="linux.trx-recovery"
      bootpartition=0
      bootversion=0.04
      stdin=serial
      stdout=serial
      stderr=serial
      BootType=3
    
      Environment size: 225/4092 bytes
    
  • tftpboot

      MT7621 # tftpboot
    
       NetLoop,call eth_halt ! 
    
       NetLoop,call eth_init ! 
      Trying Eth0 (10/100-M)
    
       Waitting for RX_DMA_BUSY status Start... done
    
    
       ETH_STATE_ACTIVE!! 
      TFTP from server 192.168.11.2; our IP address is 192.168.11.1
      Filename 'linux.trx-recovery'.
    
       TIMEOUT_COUNT=10,Load address: 0x84000000
      Loading: *
    

Kernel

  • uname -a

      root@localhost:/# uname -a
      Linux localhost 3.10.14 #3 SMP Mon Oct 10 14:58:22 CST 2022 mips GNU/Linux
    
  • cat /proc/version

      root@localhost:/# cat /proc/version
      Linux version 3.10.14 (xxxxxxxxx@build02-sw2-dc6) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #3 SMP Mon Oct 10 14:58:22 CST 2022
    
  • cat /proc/cpuinfo

      root@localhost:/# cat /proc/cpuinfo
      system type             : MT7621
      machine                 : Unknown
      processor               : 0
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 583.68
      wait instruction        : yes
      microsecond timers      : yes
      tlb_entries             : 32
      extra interrupt vector  : yes
      hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
      isa                     : mips1 mips2 mips32r1 mips32r2
      ASEs implemented        : mips16 dsp mt
      shadow register sets    : 1
      kscratch registers      : 0
      core                    : 0
      VPE                     : 0
      VCED exceptions         : not available
      VCEI exceptions         : not available
    
      processor               : 1
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 583.68
      wait instruction        : yes
      microsecond timers      : yes
      tlb_entries             : 32
      extra interrupt vector  : yes
      hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
      isa                     : mips1 mips2 mips32r1 mips32r2
      ASEs implemented        : mips16 dsp mt
      shadow register sets    : 1
      kscratch registers      : 0
      core                    : 0
      VPE                     : 1
      VCED exceptions         : not available
      VCEI exceptions         : not available
    
      processor               : 2
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 583.68
      wait instruction        : yes
      microsecond timers      : yes
      tlb_entries             : 32
      extra interrupt vector  : yes
      hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
      isa                     : mips1 mips2 mips32r1 mips32r2
      ASEs implemented        : mips16 dsp mt
      shadow register sets    : 1
      kscratch registers      : 0
      core                    : 1
      VPE                     : 0
      VCED exceptions         : not available
      VCEI exceptions         : not available
    
      processor               : 3
      cpu model               : MIPS 1004Kc V2.15
      BogoMIPS                : 583.68
      wait instruction        : yes
      microsecond timers      : yes
      tlb_entries             : 32
      extra interrupt vector  : yes
      hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
      isa                     : mips1 mips2 mips32r1 mips32r2
      ASEs implemented        : mips16 dsp mt
      shadow register sets    : 1
      kscratch registers      : 0
      core                    : 1
      VPE                     : 1
      VCED exceptions         : not available
      VCEI exceptions         : not available
    
  • cat /proc/meminfo

      root@localhost:/# cat /proc/meminfo
      MemTotal:         121916 kB
      MemFree:           54140 kB
      Buffers:            4724 kB
      Cached:            15688 kB
      SwapCached:            0 kB
      Active:            14980 kB
      Inactive:          12748 kB
      Active(anon):       7656 kB
      Inactive(anon):      584 kB
      Active(file):       7324 kB
      Inactive(file):    12164 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:          7288 kB
      Mapped:             5736 kB
      Shmem:               924 kB
      Slab:              17708 kB
      SReclaimable:       2100 kB
      SUnreclaim:        15608 kB
      KernelStack:         984 kB
      PageTables:          928 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:       60956 kB
      Committed_AS:      17672 kB
      VmallocTotal:    1048372 kB
      VmallocUsed:       16012 kB
      VmallocChunk:    1032096 kB
    
  • cat /proc/mtd

      root@localhost:/# cat /proc/mtd
      dev:    size   erasesize  name
      mtd0: 07f80000 00020000 "ALL"
      mtd1: 00080000 00020000 "Bootloader"
      mtd2: 00080000 00020000 "Config"
      mtd3: 00040000 00020000 "Factory"
      mtd4: 03d20000 00020000 "Kernel"
      mtd5: 03a40000 00020000 "RootFS"
      mtd6: 03d20000 00020000 "Kernel2"
      mtd7: 03a40000 00020000 "RootFS2"
      mtd8: 00200000 00020000 "glbcfg"
      mtd9: 00200000 00020000 "board_data"
    
  • cat /etc/gpio/button_map.txt

      root@localhost:/# cat /etc/gpio/button_map.txt 
      #button should be define link this
      #name=gpio
      #active=[low/high]
      #spec=duration
      #the order of the keywords are critical
    
      #define the button "wps"
      wps_sgl=6
      active=low
      spec=1000
    
      #define the button "default"
      default_sgl=3
      active=low
      spec=3000
    
      #define the switch "router/ap mode"
      routermode=7
      active=high
      spec=0
    
  • bootlog

    
      ===================================================================
                      MT7621   stage1 code 10:33:11 (ASIC)
                      CPU=50000000 HZ BUS=16666666 HZ
      ==================================================================
      Change MPLL source from XTAL to CR...
      do MEMPLL setting..
      MEMPLL Config : 0x11100000
      3PLL mode + External loopback
      === XTAL-40Mhz === DDR-1200Mhz ===
      PLL3 FB_DL: 0x2, 1/0 = 646/378 09000000
      PLL4 FB_DL: 0x10, 1/0 = 598/426 41000000
      PLL2 FB_DL: 0x19, 1/0 = 684/340 65000000
      do DDR setting..[00320381]
      Apply DDR3 Setting...(use customer AC)
                0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
            --------------------------------------------------------------------------------
      0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      000E:|    0    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1
      000F:|    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1    1
      0010:|    1    1    1    1    1    1    1    1    1    1    1    0    0    0    0    0
      0011:|    1    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0
      0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
      rank 0 coarse = 16
      rank 0 fine = 40
      B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
      opt_dle value:9
      DRAMC_R0DELDLY[018]=00002121
      ==================================================================
                      RX      DQS perbit delay software calibration 
      ==================================================================
      1.0-15 bit dq delay value
      ==================================================================
      bit|     0  1  2  3  4  5  6  7  8  9
      --------------------------------------
      0 |    7 7 6 11 6 8 9 6 6 5 
      10 |    9 7 8 10 9 7 
      --------------------------------------
    
      ==================================================================
      2.dqs window
      x=pass dqs delay value (min~max)center 
      y=0-7bit DQ of every group
      input delay:DQS0 =33 DQS1 = 33
      ==================================================================
      bit     DQS0     bit      DQS1
      0  (1~61)31  8  (1~61)31
      1  (1~62)31  9  (1~59)30
      2  (1~63)32  10  (1~65)33
      3  (1~66)33  11  (1~61)31
      4  (0~63)31  12  (1~64)32
      5  (1~61)31  13  (1~61)31
      6  (1~64)32  14  (2~64)33
      7  (1~65)33  15  (0~61)30
      ==================================================================
      3.dq delay value last
      ==================================================================
      bit|    0  1  2  3  4  5  6  7  8   9
      --------------------------------------
      0 |    9 9 7 11 8 10 10 6 8 8 
      10 |    9 9 9 12 9 10 
      ==================================================================
      ==================================================================
           TX  perbyte calibration 
      ==================================================================
      DQS loop = 15, cmp_err_1 = ffff0000 
      dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 
      dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 
      DQ loop=15, cmp_err_1 = ffff0000
      dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1 
      dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2 
      byte:0, (DQS,DQ)=(8,8)
      byte:1, (DQS,DQ)=(8,8)
      20,data:88
      [EMI] DRAMC calibration passed
    
      ===================================================================
                      MT7621   stage1 code done 
                      CPU=50000000 HZ BUS=16666666 HZ
      ===================================================================
    
    
      U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04
    
      Board: Ralink APSoC DRAM:  128 MB
      relocate_code Pointer at: 87f94000
    
      Config XHCI 40M PLL 
      ******************************
      Software System Reset Occurred
      ******************************
      Allocate 16 byte aligned buffer: 87fc88b0
      Enable NFI Clock
      # MTK NAND # : Use HW ECC
      NAND ID [EF F1 00 95 00]
      Device found in MTK table, ID: eff1, EXT_ID: 9500
      Support this Device in MTK table! eff1 
      select_chip
      [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
      Signature matched and data read!
      load_fact_bbt success 1023
      load fact bbt success
      [mtk_nand] probe successfully!
      mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
      ..============================================ 
      Ralink UBoot Version: 5.0.0.0
      -------------------------------------------- 
      ASIC MT7621A DualCore (MAC to MT7530 Mode)
      DRAM_CONF_FROM: Auto-Detection 
      DRAM_TYPE: DDR3 
      DRAM bus: 16 bit
      Xtal Mode=3 OCP Ratio=1/3
      Flash component: NAND Flash
      Date:Nov 19 2019  Time:15:33:02
      ============================================ 
      icache: sets:256, ways:4, linesz:32 ,total:32768
      dcache: sets:256, ways:4, linesz:32 ,total:32768 
    
       ##### The CPU freq = 880 MHZ #### 
       estimate memory size =128 Mbytes
      #Reset_MT7530
      set LAN/WAN WLLLL
    
      Please choose the operation: 
         1: Load system code to SDRAM via TFTP. 
         2: Load system code then write to Flash via TFTP. 
         3: Boot system code via Flash (default).
         4: Entr boot command line interface.
         7: Load Boot Loader code then write to Flash via Serial. 
         9: Load Boot Loader code then write to Flash via TFTP. 
      default: 3
       0 
    
      3: System Boot system code via Flash0.
      ## Booting image at bc140000 ...
    
      =================================================
      Check image validation:
      Image1 Trx Check --> ---------------------
      TRX MAGIC    324c4850
      Image len    924000
      header crc32 99d09d2e
      ---------------------
       trx magic OK!
      ...................................................................................................................................................
      ## check_trx, crc=-1714381522, *crc_ret=-1714381522.
      OK
      Image1 Header Magic Number --> OK
      Image1 Header Checksum --> OK
      Image1 Data Checksum --> .............................................OK
    
      =================================================
    
      =================================================
      Check image validation:
      Image2 Trx Check --> ---------------------
      TRX MAGIC    324c4850
      Image len    924000
      header crc32 99d09d2e
      ---------------------
       trx magic OK!
      ...................................................................................................................................................
      ## check_trx, crc=-1714381522, *crc_ret=-1714381522.
      OK
      Image2 Header Magic Number --> OK
      Image2 Header Checksum --> OK
      Image2 Data Checksum --> .............................................OK
    
      =================================================
      ## check Image1 return 0, check Image2 return 0, Image1 crc=-1714381522, Image2 crc=-1714381522.
      Image1 is ok!
      Image2 is ok and same as Image1!
         Image Name:   MIPS OpenWrt Linux-3.10.14
         Image Type:   MIPS Linux Kernel Image (lzma compressed)
         Data Size:    2933542 Bytes =  2.8 MB
         Load Address: 81001000
         Entry Point:  815489e0
      .............................................   Uncompressing Kernel Image ... OK
      No initrd
      ## Transferring control to Linux (at address 815489e0) ...
      ## Giving linux memsize in MB, 128
    
      Starting kernel ...
    
    
      LINUX started...
    
       THIS IS ASIC
    
      SDK 5.0.S.0
      Linux version 3.10.14 (xxxxxxxxxx@build02-sw2-dc6) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #3 SMP Mon Oct 10 14:58:22 CST 2022
    
       The CPU feqenuce set to 880 MHz
      GCMP present
      CPU0 revision is: 0001992f (MIPS 1004Kc)
      Software DMA cache coherency
      Determined physical RAM map:
       memory: 08000000 @ 00000000 (usable)
      Zone ranges:
        DMA      [mem 0x00000000-0x00ffffff]
        Normal   [mem 0x01000000-0x07ffffff]
      Movable zone start for each node
      Early memory node ranges
        node   0: [mem 0x00000000-0x07ffffff]
      Detected 3 available secondary CPU(s)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      PERCPU: Embedded 7 pages/cpu @818f8000 s6784 r8192 d13696 u32768
      Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
      Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 init=/sbin/preinit rootfstype=squashfs,jffs2
      PID hash table entries: 512 (order: -1, 2048 bytes)
      Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
      Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
      Writing ErrCtl register=00004580
      Readback ErrCtl register=00004580
      Memory: 121664k/131072k available (5446k kernel code, 9408k reserved, 2232k data, 252k init, 0k highmem)
      Hierarchical RCU implementation.
      NR_IRQS:128
      Console: colour dummy device 80x25
      console [ttyS1] enabled
      Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
      pid_max: default: 32768 minimum: 301
      Mount-cache hash table entries: 512
      launch: starting cpu1
      launch: cpu1 gone!
      CPU1 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 1: done.
      launch: starting cpu2
      launch: cpu2 gone!
      CPU2 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 2: done.
      launch: starting cpu3
      launch: cpu3 gone!
      CPU3 revision is: 0001992f (MIPS 1004Kc)
      Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
      Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
      MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
      Synchronize counters for CPU 3: done.
      Brought up 4 CPUs
      devtmpfs: initialized
      NET: Registered protocol family 16
      release PCIe RST: RALINK_RSTCTRL = 7000000
      PCIE PHY initialize
      ***** Xtal 40MHz *****
      start MT7621 PCIe register access
      RALINK_RSTCTRL = 7000000
      RALINK_CLKCFG1 = 77ffeff8
    
      *************** MT7621 PCIe RC mode *************
      PCIE2 no card, disable it(RST&CLK)
      pcie_link status = 0x3
      RALINK_RSTCTRL= 3000000
      *** Configure Device number setting of Virtual PCI-PCI bridge ***
      RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
      PCIE0 enabled
      PCIE1 enabled
      interrupt enable status: 300000
      Port 1 N_FTS = 1b105000
      Port 0 N_FTS = 1b105000
      config reg done
      init_rt2880pci done
      bio: create slab <bio-0> at 0
      vgaarb: loaded
      SCSI subsystem initialized
      PCI host bridge to bus 0000:00
      pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
      pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
      pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
      pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
      pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
      pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
      pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
      pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
      pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
      pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
      pci 0000:00:00.0: PCI bridge to [bus 01]
      pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
      pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
      pci 0000:00:01.0: PCI bridge to [bus 02]
      pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
      BAR0 at slot 0 = 0
      bus=0x0, slot = 0x0
      res[0]->start = 0
      res[0]->end = 0
      res[1]->start = 60200000
      res[1]->end = 6020ffff
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      BAR0 at slot 1 = 0
      bus=0x0, slot = 0x1
      res[0]->start = 0
      res[0]->end = 0
      res[1]->start = 60210000
      res[1]->end = 6021ffff
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      bus=0x1, slot = 0x0, irq=0x4
      res[0]->start = 60000000
      res[0]->end = 600fffff
      res[1]->start = 0
      res[1]->end = 0
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      bus=0x2, slot = 0x1, irq=0x18
      res[0]->start = 60100000
      res[0]->end = 601fffff
      res[1]->start = 0
      res[1]->end = 0
      res[2]->start = 0
      res[2]->end = 0
      res[3]->start = 0
      res[3]->end = 0
      res[4]->start = 0
      res[4]->end = 0
      res[5]->start = 0
      res[5]->end = 0
      Switching to clocksource MIPS
      NET: Registered protocol family 2
      TCP established hash table entries: 1024 (order: 1, 8192 bytes)
      TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
      TCP: Hash tables configured (established 1024 bind 1024)
      TCP: reno registered
      UDP hash table entries: 256 (order: 1, 8192 bytes)
      UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
      NET: Registered protocol family 1
      4 CPUs re-calibrate udelay(lpj = 1167360)
      Load Kernel WDG Timer Module
      Load Ralink Timer0 Module
      Load Ralink Timer2 Module
      squashfs: version 4.0 (2009/01/31) Phillip Lougher
      fuse init (API version 7.22)
      msgmni has been set to 237
      io scheduler noop registered (default)
      reg_int_mask=0, INT_MASK= 0 
      HSDMA_init
    
       hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
    
       hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
      TX_CTX_IDX0 = 0
      TX_DTX_IDX0 = 0
      RX_CRX_IDX0 = 3ff
      RX_DRX_IDX0 = 0
      set_fe_HSDMA_glo_cfg
      HSDMA_GLO_CFG = 465
      Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
      serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
      serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
      Ralink gpio driver initialized
      LED gpio mode e05ac
      @@@@@@#### buffalo_led_init initialized. 
      brd: module loaded
      MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
      Allocate 16 byte aligned buffer: 817d1d50
      Enable NFI Clock
      # MTK NAND # : Use HW ECC
      NAND ID [EF F1 00 95 00, 00009500]
      Device found in MTK table, ID: eff1, EXT_ID: 9500
      Support this Device in MTK table! eff1 
      NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
      [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
      Scanning device for bad blocks
      Signature matched and data read!
      load_fact_bbt success 1023
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
      in find_rootfs_partitions  off=0x00140000 end=0x03e60000
      The trx header magic offset 0x002e0000
      * Found image1 partition off 0x00420000 size 0x03a40000
      in find_rootfs_partitions  off=0x03e60000 end=0x07b80000
      The trx header magic offset 0x002e0000
      Found image2 partition off 0x04140000 size 0x03a40000
      Creating 10 MTD partitions on "MT7621-NAND":
      0x000000000000-0x000007f80000 : "ALL"
      0x000000000000-0x000000080000 : "Bootloader"
      0x000000080000-0x000000100000 : "Config"
      0x000000100000-0x000000140000 : "Factory"
      0x000000140000-0x000003e60000 : "Kernel"
      0x000000420000-0x000003e60000 : "RootFS"
      0x000003e60000-0x000007b80000 : "Kernel2"
      0x000004140000-0x000007b80000 : "RootFS2"
      0x000007b80000-0x000007d80000 : "glbcfg"
      0x000007d80000-0x000007f80000 : "board_data"
      [mtk_nand] probe successfully!
      IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
              Hooking IMQ after NAT on PREROUTING.
              Hooking IMQ before NAT on POSTROUTING.
      PPP generic driver version 2.4.2
      PPP BSD Compression module registered
      PPP MPPE Compression module registered
      NET: Registered protocol family 24
      register mt_drv
    
      == pAd = c0181000, size = 6777344, Status=0 ==
      pAd->PciHif.CSRBaseAddress =0xc0080000, csr_addr=0xc0080000!
      RTMPInitPCIeDevice():device_id=0x7615
      mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      AP Driver version-5.0.4.0
      RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      mt7615_init()-->
      Use 1st iPAiLNA default bin.
      Use 0st /etc_ro/wlan/MT7615E_EEPROM1.bin default bin.
      <--mt7615_init()
      <-- RTMPAllocTxRxRingMemory, Status=0
    
      == pAd = c0901000, size = 6777344, Status=0 ==
      pAd->PciHif.CSRBaseAddress =0xc0800000, csr_addr=0xc0800000!
      RTMPInitPCIeDevice():device_id=0x7615
      mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
      mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
      AP Driver version-5.0.4.0
      RtmpChipOpsHook(223): Not support for HIF_MT yet! MACVersion=0x0
      mt7615_init()-->
      Use 2nd iPAiLNA default bin.
      Use 1st /etc_ro/wlan/MT7615E_EEPROM2.bin default bin.
      <--mt7615_init()
      <-- RTMPAllocTxRxRingMemory, Status=0
      rdm_major = 253
      GMAC1_MAC_ADRH -- : 0x00000000
      GMAC1_MAC_ADRL -- : 0x1f000000
      Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
      GMAC1_MAC_ADRH -- : 0x00000000
      GMAC1_MAC_ADRL -- : 0x1f000000
      PROC INIT OK!
      mousedev: PS/2 mouse device common for all mice
      Netfilter messages via NETLINK v0.30.
      nf_conntrack version 0.5.0 (1901 buckets, 7604 max)
      Bytecounter: allocated 64 tables
      ctnetlink v0.93: registering with nfnetlink.
      IPVS: Registered protocols ()
      IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
      IPVS: Creating netns size=776 id=0
      IPVS: ipvs loaded.
      ip_tables: (C) 2000-2006 Netfilter Core Team
      Type=Linux
      TCP: cubic registered
      NET: Registered protocol family 10
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ip6_tables: (C) 2000-2006 Netfilter Core Team
      sit: IPv6 over IPv4 tunneling driver
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      ipv6_dev_mc_inc:896->current[swapper/0]
      NET: Registered protocol family 17
      8021q: 802.1Q VLAN Support v1.8
      Boot from /dev/mtdblock5
      VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
      devtmpfs: mounted
      Freeing unused kernel memory: 252K (81781000 - 817c0000)
      arca.dbus.mng: is ready
      agent_handler(244):arca.dbus.misc: is ready
    
      Please press Enter to activate this console. nf_conntrack_rtsp v0.7 loading
      init:569->port #0: 554
      init:569->port #1: 10556
      init:569->port #2: 10557
      init:569->port #3: 10558
      init:569->port #4: 10559
      init:569->port #5: 10560
      init:569->port #6: 10561
      init:569->port #7: 10562
      init:569->port #8: 10563
      init:569->port #9: 10564
      init:569->port #10: 10565
      init:569->port #11: 10566
      init:569->port #12: 10567
      init:569->port #13: 10568
      init:569->port #14: 10569
      init:569->port #15: 10570
      init:569->port #16: 10571
      init:569->port #17: 10572
      init:569->port #18: 10573
      init:569->port #19: 10574
      init:569->port #20: 10575
      init:569->port #21: 10576
      init:569->port #22: 10577
      init:569->port #23: 10578
      init:569->port #24: 10579
      init:569->port #25: 10580
      init:569->port #26: 10581
      init:569->port #27: 10582
      init:569->port #28: 10583
      init:569->port #29: 10584
      init:569->port #30: 10585
      init:569->port #31: 10586
      init:569->port #32: 10587
      init:569->port #33: 10588
      init:569->port #34: 10589
      init:569->port #35: 10590
      init:569->port #36: 10591
      init:569->port #37: 10592
      nf_nat_rtsp v0.7 loading
       0: 0:1F: 0: 0: 0
      Raeth v3.1 (Tasklet)
      set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1
      phy_free_head is 0xc28000!!!
      phy_free_tail_phy is 0xc29ff0!!!
      txd_pool=a0c30000 phy_txd_pool=00C30000
      ei_local->skb_free start address is 0x86af26cc.
      free_txd: 00c30010, ei_local->cpu_ptr: 00C30000
       POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
      ----------------+---------+--------
           0xa0c30000 0x00C30000 0x00C30000
    
      phy_qrx_ring = 0x00c2a000, qrx_ring = 0xa0c2a000
    
      phy_rx_ring0 = 0x00c2c000, rx_ring[0] = 0xa0c2c000
      MT7530 Reset Completed!!
      change HW-TRAP to 0x117c8f
      set LAN/WAN WLLLL
      GMAC1_MAC_ADRH -- : 0x000018ec
      GMAC1_MAC_ADRL -- : 0xe7xxxxe0
      GDMA2_MAC_ADRH -- : 0x00000000
      GDMA2_MAC_ADRL -- : 0x00001f00
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      eth3: ===> VirtualIF_open
      MT7621 GE2 link rate to 1G
      CDMA_CSG_CFG = 81000000
      GDMA1_FWD_CFG = 20710000
      GDMA2_FWD_CFG = 20710000
      ipv6_dev_mc_inc:896->current[ifconfig]
      Disable flow control
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      debug : Enter [BRCTL_ADD_IF] 
      add_if 00000000 ***************************
      device eth2 entered promiscuous mode
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      ipv6_dev_mc_inc:896->current[brctl]
      br0: port 1(eth2) entered forwarding state
      br0: port 1(eth2) entered forwarding state
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      GDMA2_MAC_ADRH -- : 0x000018ec
      GDMA2_MAC_ADRL -- : 0xe7xxxxe0
      eth3: ===> VirtualIF_open
      ipv6_dev_mc_inc:896->current[ifconfig]
      ra0: ===> main_virtual_if_open
      RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      load l1profile succeed!
      driver_own()::Try to Clear FW Own...
      driver_own()::Success to clear FW Own
      MacAddress1 = 00:00:00:00:00:00
      MacAddress2 = 00:00:00:00:00:00
      MacAddress3 = 00:00:00:00:00:00
      MacAddress4 = 00:00:00:00:00:00
      E2pAccessMode=2
      SSID[0]=Buffalo-G-4AE0, EdcaIdx=0
      SSID[1]=Buffalo-G-4AE0_2, EdcaIdx=0
      SSID[2]=Guest-4AE0, EdcaIdx=0
      SSID[3]=MT7621_AP_4, EdcaIdx=0
      SSID[4]=MT7621_AP_5, EdcaIdx=0
      DBDC Mode=0, eDBDC_mode = 0
      BSS0 PhyMode=14
      wmode_band_equal(): Band Equal!
      auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
      [TxPower] BAND0: 100 
      [PERCENTAGEenable] BAND0: 1 
      [BFBACKOFFenable] BAND0: 0 
      CalCacheApply = 0 
      FragThreshold[0]=2346
      DfsZeroWait Support=0/0
      DfsZeroWaitCacTime=0/0
      read_etxbf: ETxBfEnCond = 1
      read_etxbf: BSSID[0]
      read_etxbf: MBSS[0] ETxBfEnCond = 1
      read_etxbf: More BSSID[1]
      read_etxbf: More MBSS[1] ETxBfEnCond = 1
      read_etxbf: More BSSID[2]
      read_etxbf: More MBSS[2] ETxBfEnCond = 1
      read_etxbf: More BSSID[3]
      read_etxbf: More MBSS[3] ETxBfEnCond = 1
      read_etxbf: More BSSID[4]
      read_etxbf: More MBSS[4] ETxBfEnCond = 1
      [RTMPSetProfileParameters]Disable DFS/Zero wait=0/0
      AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      AndesSendCmdMsg: Command type = ed, Extension command type = 48
      HT: WDEV[0] Ext Channel = ABOVE
      HT: greenap_cap = 0
      ICapMode = 0
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      Top Init Done!
      Use alloc_skb
      RX[0] DESC a0c14000 size = 16384
      RX[1] DESC a0c12000 size = 8192
      cut_through_init(): ct sw token number = 4095
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 859add88,859add88
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 859add98,859add98
      Hif Init Done!
      ctl->txq = c07ce1f0
      ctl->rxq = c07ce1fc
      ctl->ackq = c07ce208
      ctl->kickq = c07ce214
      ctl->tx_doneq = c07ce220
      ctl->rx_doneq = c07ce22c
      Parsing patch header
              Built date: 20180518100604a
    
              Platform: ALPS
              HW/SW version: 0x8a108a10
              Patch version: 0x00000010
              Target address: 0x80000, length: 11072
      patch is not ready && get semaphore success
      EventGenericEventHandler: CMD Success
      MtCmdPatchFinishReq
      EventGenericEventHandler: CMD Success
      release patch semaphore
      WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      Parsing CPU 0 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20191218015348
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x84000, Download size: 409600
      Parsing tailer region 1
              Feature set: 0x01
              Target address: 0x209c400, Download size: 48160
      EventGenericEventHandler: CMD Success
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x1, address = 0x84000
      EventGenericEventHandler: CMD Success
      Parsing CPU 1 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20190415154149
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x90000000, Download size: 122608
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x4, address = 0x0
      EventGenericEventHandler: CMD Success
      MCU Init Done!
      efuse_probe: efuse = 10000212
      RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      RtmpEepromGetDefault::e2p_dafault=1
      RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      NVM is FLASH mode. dev_idx [0] FLASH OFFSET [0x0]
      NICReadEEPROMParameters: EEPROM 0x52 b317
      MtCmdSetTxLpfCal:(ret = 0)
      MtCmdSetTxIqCal:(ret = 0)
      MtCmdSetTxDcCal:(ret = 0)
      MtCmdSetRxFiCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      NICReadEEPROMParameters: EEPROM 0x52 b317
      Country Region from e2p = 101
      mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
      mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
      RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      RcRadioInit(): pRadioCtrl=870f2efc,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      MtCmdSetDbdcCtrl:(ret = 0)
      MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      EEPROM Init Done!
      mt_mac_init()-->
      mt7615_init_mac_cr()-->
      mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
      <--mt_mac_init()
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      MAC Init Done!
      MT7615BBPInit():BBP Initialization.....
              Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
              Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      MT7615BBPInit() todo
      PHY Init Done!
      MtCmdSetMacTxRx:(ret = 0)
      WifiFwdSet::disabled=0
      Main bssid = 00:00:00:00:00:00
      MtCmdSetMacTxRx:(ret = 0)
      MtCmdSetMacTxRx:(ret = 0)
      <==== mt_wifi_init, Status=0
      TxBfModuleEnCtrl:It's not DBDC mode
      MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      RedInit: set CR4/N9 RED Enable to 1.
      RedInit: RED Initiailize Done.
      cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      wifi_sys_open(), wdev idx = 0
      wdev_attr_update(): wdevId0 = 18:ec:e7:xx:xx:e1
      [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      MtCmdSetDbdcCtrl:(ret = 0)
       [RadarStateCheck] RD_NORMAL_MODE  
      phy_freq_adjust : no prim_ch value for adjust!
      Caller: wlan_operate_init+0x100/0x114
      phy_mode=14, ch=0, wdev_type=1
      ht_cap->HtCapInfo: ldpc=1,ch_width=0,gf=0,sgi20=1,sgi40=0,tx_stbc=1,rx_stbc=1,amsdu_size=1
      ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      AP inf up for ra_0(func_idx) OmacIdx=0
      AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      ApAutoChannelAtBootUp----------------->
      ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      MtCmdSetMacTxRx:(ret = 0)
      mt7615_apply_dcoc() : reload Central CH [1] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [1] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 1,control_ch2=0, central_chl = 1 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [2] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [2] BW [0] from cetral freq [2422] i[44] offset [4b20]
      ESW: Link Status Changed - Port3 Link UP
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 2,control_ch2=0, central_chl = 2 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [3] BW [0] from cetral freq [2417]  offset [2200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [3] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 3,control_ch2=0, central_chl = 3 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      mt7615_apply_dcoc() : reload Central CH [5] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [5] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 5,control_ch2=0, central_chl = 5 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [6] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [6] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 6,control_ch2=0, central_chl = 6 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [7] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [7] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 7,control_ch2=0, central_chl = 7 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [8] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [8] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 8,control_ch2=0, central_chl = 8 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [9] BW [0] from cetral freq [2447]  offset [2400]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [9] BW [0] from cetral freq [2442] i[45] offset [4bf8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 9,control_ch2=0, central_chl = 9 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [10] BW [0] from cetral freq [2467]  offset [2500]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [10] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 10,control_ch2=0, central_chl = 10 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [11] BW [0] from cetral freq [2467]  offset [2500]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [11] BW [0] from cetral freq [2462] i[46] offset [4cd0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 11,control_ch2=0, central_chl = 11 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      ====================================================================
      Channel   1 : Busy Time =   4761, Skip Channel = FALSE, BwCap = TRUE
      Channel   2 : Busy Time =   9084, Skip Channel = FALSE, BwCap = TRUE
      Channel   3 : Busy Time =   7743, Skip Channel = FALSE, BwCap = TRUE
      Channel   4 : Busy Time =   2409, Skip Channel = FALSE, BwCap = TRUE
      Channel   5 : Busy Time =   6171, Skip Channel = FALSE, BwCap = TRUE
      Channel   6 : Busy Time =   9942, Skip Channel = FALSE, BwCap = TRUE
      Channel   7 : Busy Time =   3949, Skip Channel = FALSE, BwCap = TRUE
      Channel   8 : Busy Time =   2712, Skip Channel = FALSE, BwCap = TRUE
      Channel   9 : Busy Time =   5283, Skip Channel = FALSE, BwCap = TRUE
      Channel  10 : Busy Time =   6285, Skip Channel = FALSE, BwCap = TRUE
      Channel  11 : Busy Time =  27462, Skip Channel = FALSE, BwCap = TRUE
      ====================================================================
      Rule 3 Channel Busy time value : Select Primary Channel 4
      Rule 3 Channel Busy time value : Min Channel Busy = 2409
      Rule 3 Channel Busy time value : BW = 20
      [SelectClearChannelBusyTime] - band0 END
      ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 4, IsAband = 0
       AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 14, Channel = 4 
       [RadarStateCheck] RD_NORMAL_MODE  
      mt7615_apply_dcoc() : reload Central CH [4] BW [0] from cetral freq [2432]  offset [2300]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [4] BW [0] from cetral freq [2422] i[44] offset [4b20]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 4,control_ch2=0, central_chl = 4 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(0)
      [DfsCacNormalStart] Normal start. Enable MAC TX
      ApAutoChannelAtBootUp<-----------------
      [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      wifi_sys_linkup(), wdev idx = 0
      wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
       LinkToOmacIdx = 0, LinkToWdevType = 1
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      APStartUpForMbss: BssIndex = 0 channel = 4
      MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      apidx 0 for WscUUIDInit
      Generate UUID for apidx(0)
      ipv6_dev_mc_inc:896->current[ifconfig]
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000100 ***************************
      device ra0 entered promiscuous mode
      br0: port 2(ra0) entered forwarding state
      br0: port 2(ra0) entered forwarding state
      rai0: ===> main_virtual_if_open
      RtmpOSFileOpen(): Error 2 opening /etc/wireless/l1profile.dat
      load l1profile succeed!
      driver_own()::Try to Clear FW Own...
      driver_own()::Success to clear FW Own
      MacAddress1 = 00:00:00:00:00:00
      MacAddress2 = 00:00:00:00:00:00
      MacAddress3 = 00:00:00:00:00:00
      MacAddress4 = 00:00:00:00:00:00
      E2pAccessMode=2
      SSID[0]=Buffalo-A-4AE0, EdcaIdx=0
      SSID[1]=Buffalo-A-4AE0_2, EdcaIdx=0
      SSID[2]=Guest-4AE0, EdcaIdx=0
      SSID[3]=RTDEV_AP4, EdcaIdx=0
      SSID[4]=RTDEV_AP5, EdcaIdx=0
      DBDC Mode=0, eDBDC_mode = 0
      BSS0 PhyMode=49
      wmode_band_equal(): Band Equal!
      auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 3
      auto_ch_select_set_cfg(): BandIdx1, AutoChannelAtBootup=0, AutoChannelAlg = 0
      [TxPower] BAND0: 100 
      [PERCENTAGEenable] BAND0: 1 
      [BFBACKOFFenable] BAND0: 0 
      CalCacheApply = 0 
      FragThreshold[0]=2346
      DfsZeroWait Support=0/0
      DfsZeroWaitCacTime=0/0
      read_etxbf: ETxBfEnCond = 1
      read_etxbf: BSSID[0]
      read_etxbf: MBSS[0] ETxBfEnCond = 1
      read_etxbf: More BSSID[1]
      read_etxbf: More MBSS[1] ETxBfEnCond = 1
      read_etxbf: More BSSID[2]
      read_etxbf: More MBSS[2] ETxBfEnCond = 1
      read_etxbf: More BSSID[3]
      read_etxbf: More MBSS[3] ETxBfEnCond = 1
      read_etxbf: More BSSID[4]
      read_etxbf: More MBSS[4] ETxBfEnCond = 1
      AndesSendCmdMsg: Could not send in band command due to diablefRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
      AndesSendCmdMsg: Command type = ed, Extension command type = 48
      HT: WDEV[0] Ext Channel = BELOW
      HT: greenap_cap = 0
      ICapMode = 0
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      Top Init Done!
      Use alloc_skb
      RX[0] DESC a0c24000 size = 16384
      RX[1] DESC a0c22000 size = 8192
      cut_through_init(): ct sw token number = 4095
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 8561c608,8561c608
      cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
      cut_through_token_list_init(): 8561c618,8561c618
      Hif Init Done!
      ctl->txq = c0f4e1f0
      ctl->rxq = c0f4e1fc
      ctl->ackq = c0f4e208
      ctl->kickq = c0f4e214
      ctl->tx_doneq = c0f4e220
      ctl->rx_doneq = c0f4e22c
      Parsing patch header
              Built date: 20180518100604a
    
              Platform: ALPS
              HW/SW version: 0x8a108a10
              Patch version: 0x00000010
              Target address: 0x80000, length: 11072
      patch is not ready && get semaphore success
      EventGenericEventHandler: CMD Success
      MtCmdPatchFinishReq
      EventGenericEventHandler: CMD Success
      release patch semaphore
      WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
      Parsing CPU 0 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20191218015348
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x84000, Download size: 409600
      Parsing tailer region 1
              Feature set: 0x01
              Target address: 0x209c400, Download size: 48160
      EventGenericEventHandler: CMD Success
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x1, address = 0x84000
      EventGenericEventHandler: CMD Success
      Parsing CPU 1 fw tailer
              Chip ID: 0x04
              Eco version: 0x00
              Region number: 0x00
              Format version: 0x00
              Ram version: _reserved_
              Built date: 20190415154149
              Common crc: 0x0
      Parsing tailer region 0
              Feature set: 0x01
              Target address: 0x90000000, Download size: 122608
      EventGenericEventHandler: CMD Success
      MtCmdFwStartReq: override = 0x4, address = 0x0
      EventGenericEventHandler: CMD Success
      MCU Init Done!
      efuse_probe: efuse = 10000212
      RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
      RtmpEepromGetDefault::e2p_dafault=1
      RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
      NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
      NICReadEEPROMParameters: EEPROM 0x52 b317
      MtCmdSetTxLpfCal:(ret = 0)
      MtCmdSetTxIqCal:(ret = 0)
      MtCmdSetTxDcCal:(ret = 0)
      MtCmdSetRxFiCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      MtCmdSetRxFdCal:(ret = 0)
      NICReadEEPROMParameters: EEPROM 0x52 b317
      Country Region from e2p = 101
      mt7615_antenna_default_reset(): TxPath = 4, RxPath = 4
      mt7615_antenna_default_reset(): DBDC BAND0 TxPath = 2, RxPath = 2
      mt7615_antenna_default_reset(): DBDC BAND1 TxPath = 2, RxPath = 2
      RcRadioInit(): DbdcMode=0, ConcurrentBand=1
      RcRadioInit(): pRadioCtrl=8694cefc,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
      MtCmdSetDbdcCtrl:(ret = 0)
      MtSingleSkuLoadParam: RF_LOCKDOWN Feature OFF !!!
      MtBfBackOffLoadParam: RF_LOCKDOWN Feature OFF !!!
      EEPROM Init Done!
      mt_mac_init()-->
      mt7615_init_mac_cr()-->
      mt7615_init_mac_cr(): TMAC_TRCR0=0x82783c8c
      mt7615_init_mac_cr(): TMAC_TRCR1=0x82783c8c
      <--mt_mac_init()
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
      MAC Init Done!
      MT7615BBPInit():BBP Initialization.....
              Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
              Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
      MT7615BBPInit() todo
      PHY Init Done!
      MtCmdSetMacTxRx:(ret = 0)
      WifiFwdSet::disabled=0
      Main bssid = 00:00:00:00:00:00
      MtCmdSetMacTxRx:(ret = 0)
      MtCmdSetMacTxRx:(ret = 0)
      <==== mt_wifi_init, Status=0
      TxBfModuleEnCtrl:It's not DBDC mode
      MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
      MtCmdEDCCACtrl: BandIdx: 1, EDCCACtrl: 1
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      ipv6_dev_mc_inc:896->current[ifconfig]
      WtcSetMaxStaNum: BssidNum:5, MaxStaNum:120 (WdsNum:0, ApcliNum:2, MaxNumChipRept:32), MinMcastWcid:121
      RedInit: set CR4/N9 RED Enable to 1.
      RedInit: RED Initiailize Done.
      cp_support_is_enabled: set CR4 CP_SUPPORT to Mode 2.
      RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
      wifi_sys_open(), wdev idx = 0
      wdev_attr_update(): wdevId0 = 18:ec:e7:xx:xx:e4
      [RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
      MtCmdSetDbdcCtrl:(ret = 0)
       [RadarStateCheck] RD_NORMAL_MODE  
      phy_freq_adjust : no prim_ch value for adjust!
      Caller: wlan_operate_init+0x100/0x114
      phy_mode=49, ch=0, wdev_type=1
      ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
      ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
      AP inf up for ra_0(func_idx) OmacIdx=0
      AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
      ApAutoChannelAtBootUp----------------->
      ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
      MtCmdSetMacTxRx:(ret = 0)
      [AutoChSelBuildChannelListFor5G] ChListNum5G = 19
      mt7615_apply_dcoc() : reload Central CH [36] BW [0] from cetral freq [5190]  offset [700]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [36] BW [0] from cetral freq [5180] i[7] offset [2be8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 36,control_ch2=0, central_chl = 36 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [40] BW [0] from cetral freq [5190]  offset [700]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [40] BW [0] from cetral freq [5200] i[8] offset [2cc0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 40,control_ch2=0, central_chl = 40 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [44] BW [0] from cetral freq [5230]  offset [800]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [44] BW [0] from cetral freq [5220] i[9] offset [2d98]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 44,control_ch2=0, central_chl = 44 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
      mt7615_apply_dcoc() : reload Central CH [48] BW [0] from cetral freq [5230]  offset [800]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [48] BW [0] from cetral freq [5240] i[10] offset [2e70]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 48,control_ch2=0, central_chl = 48 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [52] BW [0] from cetral freq [5270]  offset [900]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [52] BW [0] from cetral freq [5260] i[11] offset [2f48]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 52,control_ch2=0, central_chl = 52 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [56] BW [0] from cetral freq [5270]  offset [900]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [56] BW [0] from cetral freq [5280] i[12] offset [3020]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 56,control_ch2=0, central_chl = 56 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [60] BW [0] from cetral freq [5310]  offset [a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [60] BW [0] from cetral freq [5300] i[13] offset [30f8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 60,control_ch2=0, central_chl = 60 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [64] BW [0] from cetral freq [5310]  offset [a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [64] BW [0] from cetral freq [5320] i[14] offset [31d0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 64 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [100] BW [0] from cetral freq [5510]  offset [f00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [100] BW [0] from cetral freq [5500] i[23] offset [3968]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 100,control_ch2=0, central_chl = 100 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [104] BW [0] from cetral freq [5510]  offset [f00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [104] BW [0] from cetral freq [5520] i[24] offset [3a40]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 104,control_ch2=0, central_chl = 104 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [108] BW [0] from cetral freq [5550]  offset [1000]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [108] BW [0] from cetral freq [5540] i[25] offset [3b18]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 108,control_ch2=0, central_chl = 108 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [112] BW [0] from cetral freq [5550]  offset [1000]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [112] BW [0] from cetral freq [5560] i[26] offset [3bf0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 112,control_ch2=0, central_chl = 112 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [116] BW [0] from cetral freq [5590]  offset [1100]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [116] BW [0] from cetral freq [5580] i[27] offset [3cc8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 116,control_ch2=0, central_chl = 116 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [120] BW [0] from cetral freq [5590]  offset [1100]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [120] BW [0] from cetral freq [5600] i[28] offset [3da0]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 120,control_ch2=0, central_chl = 120 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [124] BW [0] from cetral freq [5630]  offset [1200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [124] BW [0] from cetral freq [5620] i[29] offset [3e78]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 124,control_ch2=0, central_chl = 124 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      mt7615_apply_dcoc() : reload Central CH [128] BW [0] from cetral freq [5630]  offset [1200]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [128] BW [0] from cetral freq [5640] i[30] offset [3f50]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 128,control_ch2=0, central_chl = 128 DBDCIdx= 0, Band= 0
      BW = 0,TXStream = 4, RXStream = 4, scan(1)
      ====================================================================
      Channel  36 : Busy Time =   2114, Skip Channel = FALSE, BwCap = TRUE
      Channel  40 : Busy Time =   1862, Skip Channel = FALSE, BwCap = TRUE
      Channel  44 : Busy Time =   1535, Skip Channel = FALSE, BwCap = TRUE
      Channel  48 : Busy Time =   1328, Skip Channel = FALSE, BwCap = TRUE
      Channel  52 : Busy Time =    564, Skip Channel = FALSE, BwCap = TRUE
      Channel  56 : Busy Time =     66, Skip Channel = FALSE, BwCap = TRUE
      Channel  60 : Busy Time =     56, Skip Channel = FALSE, BwCap = TRUE
      Channel  64 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 100 : Busy Time =   1456, Skip Channel = FALSE, BwCap = TRUE
      Channel 104 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 108 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 112 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 116 : Busy Time =    368, Skip Channel = FALSE, BwCap = TRUE
      Channel 120 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      Channel 124 : Busy Time =   1957, Skip Channel = FALSE, BwCap = TRUE
      Channel 128 : Busy Time =      0, Skip Channel = FALSE, BwCap = TRUE
      ====================================================================
      Rule 3 Channel Busy time value : Select Primary Channel 64
      Rule 3 Channel Busy time value : Min Channel Busy = 564
      Rule 3 Channel Busy time value : BW = 80
      [SelectClearChannelBusyTime] - band0 END
      ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 64, IsAband = 1
       AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 64 
       [RadarStateCheck] RD_SILENCE_MODE  
      [DfsCacNormalStart] CAC 65 seconds start . Disable MAC TX
      [DfsSwitchCheck]: DFS ByPass TX calibration.
      mt7615_apply_dcoc() : reload Central CH [58] BW [2] from cetral freq [5290]  offset [1a00]
      MtCmdGetRXDCOCCalResult:(ret = 0)
      mt7615_apply_dpd() : reload Central CH [58] BW [2] from cetral freq [5300] i[13] offset [30f8]
      MtCmdGetTXDPDCalResult:(ret = 0)
      MtCmdChannelSwitch: control_chl = 64,control_ch2=0, central_chl = 58 DBDCIdx= 0, Band= 0
      BW = 2,TXStream = 4, RXStream = 4, scan(0)
      [WrapDfsRadarDetectStart]: DfsChBand[0]: 1, DfsChBand[1]: 0
      ApAutoChannelAtBootUp<-----------------
      [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
      wifi_sys_linkup(), wdev idx = 0
      wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
       LinkToOmacIdx = 0, LinkToWdevType = 1
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 128
      UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
      APStartUpForMbss: BssIndex = 0 channel = 64
      MtCmdTxPowerDropCtrl: ucPowerDrop: 100, BandIdx: 0
      apidx 0 for WscUUIDInit
      Generate UUID for apidx(0)
      ipv6_dev_mc_inc:896->current[ifconfig]
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000100 ***************************
      device rai0 entered promiscuous mode
      br0: port 3(rai0) entered forwarding state
      br0: port 3(rai0) entered forwarding state
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:18:ec:e7:xx:xx:e1, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:18:ec:e7:xx:xx:e1, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
      set BSSID:00:00:00:00:00:00, Band=2.4G
      Set_TxPower_Proc: BandIdx = 0
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:18:ec:e7:xx:xx:e4, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:18:ec:e7:xx:xx:e4, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8192
      set BSSID:00:00:00:00:00:00, Band=5G
      Set_TxPower_Proc: BandIdx = 0
      WscActionMode is 0
      WscActionMode is 0
      Jan  1 09:00:22 miniupnpd[559]: WPS listening on port 59728
      mcsnoop: module license 'BUFFALO Inc. PROPRIETARY' taints kernel.
      Disabling lock debugging due to kernel taint
      mcsnoop: flush all snoop entry
      mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912
      mcsnoop_br_ioctl_device:275: mcast_maxage 75000 / 250
      device eth2 left promiscuous mode
      br0: port 1(eth2) entered disabled state
      debug : Enter [BRCTL_ADD_RULE_IF] 
      add_if 00000600 ***************************
      device eth2 entered promiscuous mode
      br0: port 1(eth2) entered forwarding state
      br0: port 1(eth2) entered forwarding state
      netwatchd uses obsolete (PF_INET,SOCK_PACKET)
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      ipv6_dev_mc_inc:896->current[arc_if6]
      WscActionMode is 0
      WscActionMode is 0
      Jan  1 00:00:00 crond[664]: crond: crond (busybox 1.18.5) started, log level 8
      start miniupnpd
      Jan  1 00:00:01 miniupnpd[694]: HTTP listening on port 37705
      Jan  1 00:00:01 miniupnpd[694]: Listening for NAT-PMP/PCP traffic on port 5351
      Jan  1 00:00:01 miniupnpd[694]: chain upnp_nat not found
      ipv6_dev_mc_inc:896->current[swapper/0]
      WscActionMode is 0
      WscActionMode is 0
      ntp.jst.mfeed.ad.jp: Unknown host
      Link Status Changed - WAN Port Link Down
      Time out! You may increase DEFAULT_TIMEOUT_COUNT[10]!