タグ: WG800HP

WG800HP

NEC機に、OpenWrtでサポート済みのSoCを搭載し、尚且つLinuxを搭載している機種が、サポート済みのWG2600HP以外にも無いかなぁと探していた際に見つけたもの。
いくつかの点からOpenWrtベースであることが予想されたので、やってみようと確保した。

Switch

stock firmware / OpenWrt

zone WAN LAN
port
(WG800HP)
WAN LAN1 LAN2 LAN3
port
(QCA8337)
port1 port2 port3 port4

MAC

  • LAN: C0:25:A2:xx:xx:B0 (board_data, 0x280 (text))
  • WAN: C0:25:A2:xx:xx:B1 (board_data, 0x480 (text))
  • 2.4G: C0:25:A2:xx:xx:B2 (board_data, 0x680 (text))
  • 5G: C0:25:A2:xx:xx:B3 (board_data, 0x880 (text))

U-Boot

Kernel入ってからu-bootのmtdを云々。

  • help
    ath> help
    ?       - alias for 'help'
    autoscr - run script from memory
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BootP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    crc32   - checksum calculation
    dhcp    - invoke DHCP client to obtain IP/boot params
    echo    - echo args to console
    erase   - erase FLASH memory
    ethreg  - Switch/PHY Reg rd/wr  utility
    exit    - exit script
    flinfo  - print FLASH memory information
    go      - start application at address 'addr'
    help    - print online help
    iminfo  - print header information for application image
    itest   - return true/false on integer compare
    loop    - infinite loop on address range
    mct   - simple RAM test
    md      - memory display
    mii     - MII utility commands
    mm      - memory modify (auto-incrementing)
    mtest   - simple RAM test
    mw      - memory write (fill)
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    ping    - send ICMP ECHO_REQUEST to network host
    pll cpu-pll dither ddr-pll dither - Set to change CPU & DDR speed
    pll erase
    pll get
    printenv- print environment variables
    progmac - Set ethernet MAC addresses
    progmac2 - Set ethernet MAC addresses
    protect - enable or disable FLASH write protection
    rarpboot- boot image via network using RARP/TFTP protocol
    reset   - Perform RESET of the CPU
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    sleep   - delay execution for some time
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    ath> version
    
    Laser v1.0 (Nov  4 2015 - 10:48:50)
    

  • printenv
    ath> printenv
    bootdelay=2
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap152${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    bc=_vlan_11ac_offload_s17
    bootargs=console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
    ethact=eth0
    filesize=540004
    fileaddr=80060000
    ipaddr=192.168.1.2
    serverip=192.168.1.44
    bootcmd=bootm 0x9f050000
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 743/65532 bytes
    

  • mii device
    ath> mii device
    MII devices: 'eth0' 
    Current device: 'eth0'
    

  • md.l 0x18050048 1
    ath> 
    ath> md.l 0x18050048
    18050048: 03000101    ....
    

  • ethreg 0x*
    ath> ethreg 0x4
    Read Reg: 0x00000004 = 0x00000080
    ath> ethreg 0x50
    Read Reg: 0x00000050 = 0xcc35cc35
    ath> ethreg 0x54
    Read Reg: 0x00000054 = 0xca35ca35
    ath> ethreg 0x58
    Read Reg: 0x00000058 = 0xc935c935
    ath> ethreg 0x5c
    Read Reg: 0x0000005c = 0x03ffff00
    ath> ethreg 0x7c
    Read Reg: 0x0000007c = 0x0000007e
    

Kernel

パスワードが掛けられているため、failsafe と console_password, pw.sh 辺りを色々ひっくり返す。

  • uname -a
    root@ATERM-****B1:/# uname -a
    Linux ATERM-****B1 3.3.8 #1 Tue Aug 30 09:32:58 CST 2016 mips GNU/Linux
    
  • cat /proc/version
    </span>
    root@ATERM-****B1:/# cat /proc/version
    Linux version 3.3.8 (*******@*********.******) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Aug 30 09:32:58 CST 2016
    

  • cat /proc/cpuinfo
    root@ATERM-****B1:/# cat /proc/cpuinfo
    system type             : Qualcomm Atheros QCA956X rev 0
    machine                 : Qualcomm Atheros AP152 reference board
    processor               : 0
    cpu model               : MIPS 74Kc V5.0
    BogoMIPS                : 385.84
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0d58, 0x0668, 0x0080]
    ASEs implemented        : mips16 dsp
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    root@ATERM-67D2B1:/# cat /proc/meminfo
    MemTotal:          61308 kB
    MemFree:           14556 kB
    Buffers:            2872 kB
    Cached:             8128 kB
    SwapCached:            0 kB
    Active:             7728 kB
    Inactive:           5900 kB
    Active(anon):       3132 kB
    Inactive(anon):      164 kB
    Active(file):       4596 kB
    Inactive(file):     5736 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          2644 kB
    Mapped:             2968 kB
    Shmem:               668 kB
    Slab:              22396 kB
    SReclaimable:       1476 kB
    SUnreclaim:        20920 kB
    KernelStack:         480 kB
    PageTables:          384 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       30652 kB
    Committed_AS:      13760 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:        1296 kB
    VmallocChunk:    1034428 kB
    

  • cat /proc/mtd
    root@ATERM-67D2B1:/# cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00040000 00010000 "u-boot"
    mtd1: 00010000 00010000 "u-boot-env"
    mtd2: 00160000 00010000 "kernel"
    mtd3: 00590000 00010000 "rootfs"
    mtd4: 000a0000 00010000 "rootfs_data"
    mtd5: 00010000 00010000 "board_data"
    mtd6: 00010000 00010000 "art"
    mtd7: 006f0000 00010000 "firmware"
    

  • fw_printenv
    root@ATERM-**B1:/# fw_printenv
    bootdelay=2
    baudrate=115200
    ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
    dir=
    lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
    lf=tftp 0x80060000 ${dir}ap152${bc}-jffs2&&erase 0x9f050000 +0x630000&&cp.b $fileaddr 0x9f050000 $filesize
    lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize&&cp.b $fileaddr 0x9f680000 $filesize
    bc=_vlan_11ac_offload_s17
    bootargs=console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART)
    stdin=serial
    stdout=serial
    stderr=serial
    ethact=eth0
    filesize=540004
    fileaddr=80060000
    ipaddr=192.168.1.2
    serverip=192.168.1.44
    bootcmd=bootm 0x9f050000
    

  • bootlog
    Laser v1.0 (Nov  4 2015 - 10:48:50)
    
    ap152 - Dragonfly 1.0DRAM:  
    sri
    ath_ddr_initial_config(278): (ddr2 init)
    ath_sys_frequency: cpu 775 ddr 650 ahb 258
    Tap values = (0xd, 0xd, 0xd, 0xd)
    64 MB
    Top of RAM usable for U-Boot at: 84000000
    Reserving 199k for U-Boot at: 83fcc000
    Reserving 192k for malloc() at: 83f9c000
    Reserving 44 Bytes for Board Info at: 83f9bfd4
    Reserving 36 Bytes for Global Data at: 83f9bfb0
    Reserving 128k for boot params() at: 83f7bfb0
    Stack Pointer at: 83f7bf98
    Now running in RAM - U-Boot at: 83fcc000
    Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x17
    flash size 8MB, sector count = 128
    Flash:  8 MB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   ath_gmac_enet_initialize...
    No valid address in Flash. Using fixed address
    ath_gmac_enet_initialize: reset mask:c02200 
    athr_mgmt_init ::done
    Dragonfly  ----> S17 PHY *
    athrs17_reg_init: set S17_P1LOOKUP_CTRL_REG.
    athrs17_reg_init: complete
    SGMII in forced mode
    athr_gmac_sgmii_setup SGMII done
    : cfg1 0x80000000 cfg2 0x7114
    eth0: 00:03:7f:09:0b:ad
    eth0 up
    eth0
    Setting 0x181162c0 to 0x43862100
    Hit any key to stop autoboot:  0 
    ## Booting image at 9f050000 ...
       Image Name:   MIPS OpenWrt Linux-3.3.8
       Created:      2016-08-30   9:44:42 UTC
       Image Type:   MIPS Linux Multi-File Image (lzma compressed)
       Data Size:    1122886 Bytes =  1.1 MB
       Load Address: 80060000
       Entry Point:  80060000
       Contents:
       Image 0:  1122878 Bytes =  1.1 MB
       Verifying Checksum at 0x9f050040 ...OK
       Uncompressing Multi-File Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80060000) ...
    ## Giving linux memsize in bytes, 67108864
    
    Starting kernel ...
    
    [    0.000000] Linux version 3.3.8 (*******@*********.******) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Aug 30 09:32:58 CST 2016
    [    0.000000] bootconsole [early0] enabled
    [    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
    [    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
    [    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
    [    0.000000] Determined physical RAM map:
    [    0.000000]  memory: 04000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone PFN ranges:
    [    0.000000]   Normal   0x00000000 -> 0x00004000
    [    0.000000] Movable zone start PFN for each node
    [    0.000000] Early memory PFN ranges
    [    0.000000]     0: 0x00000000 -> 0x00004000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
    [    0.000000] Kernel command line:  board=AP152 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),5696k(rootfs),640k(rootfs_data),64k(board_data),64k(art),7104k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
    [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [    0.000000] Writing ErrCtl register=00000000
    [    0.000000] Readback ErrCtl register=00000000
    [    0.000000] Memory: 61088k/65536k available (2365k kernel code, 4448k reserved, 651k data, 220k init, 0k highmem)
    [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:83
    [    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.060000] pid_max: default: 32768 minimum: 301
    [    0.060000] Mount-cache hash table entries: 512
    [    0.070000] Initialized recycle list for cpu 0.
    [    0.070000] NET: Registered protocol family 16
    [    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
    [    0.080000] MIPS: machine is Qualcomm Atheros AP152 reference board
    [    0.090000] mach-ap152: Disabling JTAG for AP152 board
    [    0.090000] registering PCI controller with io_map_base unset
    [    0.300000] bio: create slab  at 0
    [    0.310000] PCI host bridge to bus 0000:00
    [    0.310000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
    [    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
    [    0.320000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
    [    0.330000] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
    [    0.330000] pci 0000:00:00.0: using irq 40 for pin 1
    [    0.340000] Switching to clocksource MIPS
    [    0.340000] NET: Registered protocol family 2
    [    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.350000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.360000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.360000] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.370000] TCP reno registered
    [    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.380000] NET: Registered protocol family 1
    [    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.400000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.410000] msgmni has been set to 119
    [    0.420000] io scheduler noop registered
    [    0.420000] io scheduler deadline registered (default)
    [    0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    [    0.450000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
    [    0.460000] console [ttyS0] enabled, bootconsole disabled
    [    0.460000] console [ttyS0] enabled, bootconsole disabled
    [    0.470000] m25p80 spi0.0: found mx25l6405d, expected m25p80
    [    0.480000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
    [    0.480000] 8 cmdlinepart partitions found on MTD device spi0.0
    [    0.490000] Creating 8 MTD partitions on "spi0.0":
    [    0.500000] 0x000000000000-0x000000040000 : "u-boot"
    [    0.500000] 0x000000040000-0x000000050000 : "u-boot-env"
    [    0.510000] 0x000000050000-0x0000001b0000 : "kernel"
    [    0.510000] 0x0000001b0000-0x000000740000 : "rootfs"
    [    0.520000] mtd: partition "rootfs" set to be root filesystem
    [    0.530000] 0x000000740000-0x0000007e0000 : "rootfs_data"
    [    0.530000] 0x0000007e0000-0x0000007f0000 : "board_data"
    [    0.540000] 0x0000007f0000-0x000000800000 : "art"
    [    0.550000] 0x000000050000-0x000000740000 : "firmware"
    [    0.690000] ag71xx_mdio: probed
    [    0.700000] eth0: Atheros AG71xx at 0xb9000000, irq 4
    [    1.270000] eth0: Atheros AR8327 switch driver attached.
    [    2.500000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
    [    2.510000] libera: File: drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c, Func: ag71xx_jate_proc_init, Line: 1454
    [    2.520000] TCP cubic registered
    [    2.520000] NET: Registered protocol family 17
    [    2.530000] Bridge firewalling registered
    [    2.530000] 8021q: 802.1Q VLAN Support v1.8
    [    2.540000] AP152 selftest start
    [    2.540000] ### of_selftest(): No testcase data in device tree; not running tests
    [    2.550000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
    [    2.560000] Freeing unused kernel memory: 220k freed
    [    3.890000] gpio-keys-polled: init gpio-keys-polled
    - preinit -
    Press the [f] key and hit [enter] to enter failsafe mode
    [    5.510000] eth0: link up (1000Mbps/Full duplex)
    [    6.520000] eth0: link up (1000Mbps/Full duplex)
    - regular preinit -
    Reset to factory default
    - firstboot -
    [    8.560000] AP152 selftest stop
    [   11.390000] JFFS2 notice: (492) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    switching to jffs2
    - init -
    [   23.280000] eth0: link down
    System Restored to Defaults
    [   28.660000] ssdk_plat_init start
    [   28.660000] Register QCA PHY driver
    [   28.980000] qca-ssdk module init succeeded!
    [   29.210000] Button Hotplug driver version 0.4.1
    [   29.240000] PPP generic driver version 2.4.2
    [   29.260000] btnctrl_proc: init btnctrl_proc
    [   29.320000] asf: module license 'Proprietary' taints kernel.
    [   29.330000] Disabling lock debugging due to kernel taint
    [   29.340000] ****Address of trace_timer :8319a590 
    [   29.650000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, WRITE_EEPROM, TX_DATA_SWAP, RX_DATA_SWAP, 11D)
    [   29.740000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
    [   29.760000] ath_dfs: Version 2.0.0
    [   29.760000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
    [   29.780000] ath_spectral: Version 2.0.0
    [   29.780000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
    [   29.790000] SPECTRAL module built on Aug 30 2016 09:14:08
    [   29.860000] ath_tx99: Version 2.0
    [   29.860000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved
    [   30.030000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
    [   31.590000] __ath_attach: Set global_scn[0]
    [   31.600000] *** All the minfree values should be  0002)
    [   31.820000] ath_pci 0000:00:00.0: ath DEBUG: sc=0x83ada600
    [   31.820000] 
    [   31.820000]  ol_ath_pci_configure : num_desired MSI set to 0
    [   31.830000] 
    [   31.830000]  Using PCI Legacy Interrupt
    [   32.840000] CE_per_engine_handler_adjust, base=83ada600 offset=57400 
    [   32.840000] CE_per_engine_handler_adjust, base=83ada600 offset=57800 
    [   32.860000] __ol_ath_attach: ath_attach TODO
    [   32.860000] __ol_ath_attach: dev name wifi1
    [   32.870000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko)
    [   32.880000]  OL_ACBKMinfree : 0
    [   32.880000]  OL_ACBEMinfree : 0
    [   32.890000]  OL_ACVIMinfree : 0
    [   32.890000]  OL_ACVOMinfree : 0
    [   32.890000] ol_ath_attach() BMI inited.
    [   32.900000] ol_ath_attach() BMI Get Target Info.
    [   32.900000] ol_ath_attach() TARGET TYPE: 7 Vers 0x4100016d
    [   32.910000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    [   32.910000] ol_ath_attach() configure Target .
    [   32.930000] qc98xx_verify_checksum: flash checksum passed: 0xa8ad
    [   32.930000] ol_transfer_bin_file 2136: Download Flash data len 2116
    [   32.940000] Swift firmware download
    [   32.950000] ol_transfer_bin_file 2066: Download Firmware data len 223832
    [   33.900000] ol_ath_attach() Download FW. 
    [   33.900000] ol_ath_attach() HT Create .
    [   33.910000] ol_ath_attach() HIF Claim.
    [   33.910000] ol_ath_attach() BMI Done. 
    [   33.920000] ol_ath_attach() WMI attached. wmi_handle 823f0000 
    [   33.920000] +HWT
    [   33.920000] SOC_RESET_CONTROL_ADDRESS : 800
    [   33.930000] CPU_INTR_ADDRESS = [2000000]
    [   33.930000] SOC_GLOBAL_RESET_ADDRESS = [0]
    [   33.940000] Rx_Filter : [0]
    [   33.940000] CE_per_engine_handler_adjust, base=83ada600 offset=57400 
    [   33.950000] CE_per_engine_handler_adjust, base=83ada600 offset=57800 
    [   33.950000] CE_per_engine_handler_adjust, base=83ada600 offset=57c00 
    [   33.960000] CE_per_engine_handler_adjust, base=83ada600 offset=58000 
    [   33.970000] CE_per_engine_handler_adjust, base=83ada600 offset=58400 
    [   33.970000] CE_per_engine_handler_adjust, base=83ada600 offset=58800 
    [   33.980000] CE_recv_buf_enqueue 653 Populate last entry 512 for CE 5
    [   33.990000] CE_recv_buf_enqueue 662 CE 5 wi 511 dest_ptr 0x1def020 nbytes 0 recv_ctxt 0x81d74a80
    [   34.000000] -HWT
    [   34.000000] HTC Service:0x0300 ep:1 TX flow control disabled
    [   34.010000] CE_pkt_dl_len_set CE 4 Pkt download length 64
    [   34.020000] ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 81a30000
    [   34.020000] HTC Service:0x0100 ep:2 TX flow control disabled
    [   34.030000] wmi_service_ready_event_rx:  WMI UNIFIED SERVICE READY event 
    [   34.040000] num_rf_chain : 00000001
    [   34.040000] ht_cap_info: : 0000085b
    [   34.050000] vht_cap_info : 338001b2
    [   34.050000] vht_supp_mcs : 0000fffe
    [   34.050000] LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    [   34.060000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 408 actual units 145 
    [   34.070000] chunk 0 len 59160 requested ,ptr  0x1a40000 
    [   34.080000] FIRMWARE:P 145 V 16 T 443
    [   34.080000]  
    [   34.090000] wmi_ready_event_rx:  WMI UNIFIED READY event 
    [   34.090000] ol_ath_connect_htc() WMI is ready
    [   34.100000] ol_ath_set_host_app_area TODO
    [   34.100000] target uses HTT version 2.1; host uses 2.1
    [   34.110000] ol_ath_attach() connect HTC. 
    [   34.120000] bypasswmi : 0
    [   34.120000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
    [   34.130000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    [   34.140000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    [   34.140000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    [   34.150000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    [   34.160000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    [   34.170000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    [   34.170000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    [   34.180000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    [   34.190000] Add VHT80 channel: 5210
    [   34.190000] Add VHT80 channel: 5290
    [   34.200000] Add VHT80 channel: 5530
    [   34.200000] Add VHT80 channel: 5610
    [   34.200000] Skipping VHT80 channel 5660
    [   34.210000] Skipping VHT80 channel 5680
    [   34.210000] Skipping VHT80 channel 5700
    [   34.220000] ol_ath_phyerr_attach: called
    [   34.220000] ieee80211_dfs_attach: reset cac_dfs_curch
    [   34.230000] OL Resmgr Init-ed
    [   34.230000] ol_if_spectral_setup
    [   34.230000] SPECTRAL : get_capability not registered
    [   34.240000] HAL_CAP_PHYDIAG : Capable
    [   34.240000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 231)
    [   34.250000] SPECTRAL : get_capability not registered
    [   34.260000] HAL_CAP_RADAR   : Capable
    [   34.260000] SPECTRAL : Need to fix the capablity check for SPECTRAL
    [   34.260000]  (spectral_attach : 236)
    [   34.270000] SPECTRAL : get_capability not registered
    [   34.270000] HAL_CAP_SPECTRAL_SCAN : Capable
    [   34.280000] SPECTRAL : get_tsf64 not registered
    [   34.280000] spectral_init_netlink 52 NULL SKB
    [   34.290000] Green-AP : Green-AP : Attached
    [   34.290000] 
    [   34.290000] Green-AP : Attached
    [   34.300000] ol_if_dfs_setup: called 
    [   34.300000] ol_if_dfs_attach: called; ptr=81a59974, radar_info=831bfb78
    [   34.310000] ol_ath_rtt_meas_report_attach: called
    [   34.310000] ol_ath_attach() UMAC attach . 
    [   34.320000] ol_if_dfs_configure: called
    [   34.320000] ol_if_dfs_configure: MKK4 domain
    [   34.330000] ol_if_dfs_disable: called
    [   34.330000] ol_ath_attach: Calling ol_if_dfs_configure
    [   34.340000] osif_wrap_attach:280 osif wrap attached
    [   34.340000] osif_wrap_devt_init:900 osif wrap dev table init done
    [   34.350000] __ol_ath_attach: init tx/rx TODO
    [   34.350000] __ol_ath_attach: hard_header_len reservation 58
    [   34.370000] Initializing Pktlogs for 11ac
    [   34.390000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    [   34.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   34.670000] NET: Registered protocol family 24
    [   34.680000] nf_conntrack version 0.5.0 (957 buckets, 3828 max)
    [   34.880000] xt_time: kernel timezone is -0000
    [   34.920000] [wifi1] FWLOG: [41041] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0x0 )
    [   34.930000] [wifi1] FWLOG: [41041] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0x0 )
    [   34.940000] [wifi1] FWLOG: [41041] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0x0 )
    [   34.950000] [wifi1] FWLOG: [41041] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0x0 )
    [   34.960000] [wifi1] FWLOG: [41046] WHAL_ERROR_RECV_STOPPCU ( 0x102980, 0x3 )
    [   34.960000] [wifi1] FWLOG: [41046] WHAL_ERROR_RESET_PM (  )
    [   34.970000] [wifi1] FWLOG: [41305] ANI Enable:  1
    [   35.130000] nf_conntrack_rtsp v0.6.21 loading
    [   35.150000] nf_nat_rtsp v0.6.21 loading
    
    Please press Enter to activate this console. [   41.090000] device eth0 entered promiscuous mode
    [   41.110000] device eth0.1 entered promiscuous mode
    [   42.760000] eth0: link up (1000Mbps/Full duplex)
    [   42.760000] br-lan: port 1(eth0.1) entered forwarding state
    [   42.770000] br-lan: port 1(eth0.1) entered forwarding state
    [   43.760000] eth0: link up (1000Mbps/Full duplex)
    [   44.770000] br-lan: port 1(eth0.1) entered forwarding state
    [   47.640000] ath_attach_dfs[12667] dfsdomain 3
    [   47.670000] wlan_vap_create : enter. devhandle=0x832d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
    [   47.680000] **ieee80211_vap_setup: reset last time and last up time**
    [   47.690000] wlan_vap_create : exit. devhandle=0x832d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
    [   47.700000] VAP device ath0 created osifp: (81512380) os_if: (831d8000)
    [   47.780000] Set freq vap stop send + 831d8000
    [   47.780000] Set freq vap stop send -831d8000
    [   47.920000] Set wait done --831d8000
    [   47.970000]  
    [   47.970000]  DES SSID SET= 
    [   47.980000]  
    [   47.980000]  DES SSID SET=aterm-7e04ea-g 
    [   48.020000] wlan_vap_create : enter. devhandle=0x832d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1
    [   48.030000] **ieee80211_vap_setup: reset last time and last up time**
    [   48.040000] wlan_vap_create : exit. devhandle=0x832d0380, opmode=IEEE80211_M_HOSTAP, flags=0x1.
    [   48.050000] VAP device ath01 created osifp: (8146c380) os_if: (815b8000)
    [   48.080000] Set freq vap stop send + 831d8000
    [   48.090000] Set freq vap stop send -831d8000
    [   48.220000] Set wait done --831d8000
    [   48.220000] Set freq vap stop send + 815b8000
    [   48.220000] Set freq vap stop send -815b8000
    [   48.360000] Set wait done --815b8000
    [   48.450000]  
    [   48.450000]  DES SSID SET= 
    [   48.470000]  
    [   48.470000]  DES SSID SET=aterm-7e04ea-gw 
    [   48.630000] --osif_vap_init: cac_dfs_curch=0 desired channel=-1--
    [   48.760000] 8021q: adding VLAN 0 to HW filter on device ath0
    [   49.910000] device ath0 entered promiscuous mode
    [   49.920000] br-lan: port 2(ath0) entered forwarding state
    [   49.920000] br-lan: port 2(ath0) entered forwarding state
    [   50.110000] device ath01 entered promiscuous mode
    [   50.310000] isCountryCodeValid: EEPROM regdomain 0x88
    [   50.310000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150
    [   50.320000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0
    [   50.330000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0
    [   50.330000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0
    [   50.340000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150
    [   50.350000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080
    [   50.350000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080
    [   50.360000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080
    [   50.370000] Add VHT80 channel: 5210
    [   50.370000] Add VHT80 channel: 5290
    [   50.380000] Add VHT80 channel: 5530
    [   50.380000] Add VHT80 channel: 5610
    [   50.380000] Skipping VHT80 channel 5660
    [   50.390000] Skipping VHT80 channel 5680
    [   50.390000] Skipping VHT80 channel 5700
    [   50.410000] ath_ioctl: SIOC80211IFCREATE CALLED
    [   50.420000] wmi_unified_vdev_create_send: ID = 0 VAP Addr = c0:25:a2:**:**:b3:
    [   50.420000] **ieee80211_vap_setup: reset last time and last up time**
    [   50.430000] Setting dscp for vap id: 0
    [   50.430000] VAP device ath1 created osifp: (8153b380) os_if: (815d4000)
    [   50.460000] Set freq vap stop send + 815d4000
    [   50.460000] OL vap_stop +
    [   50.470000] ol_ath_vap_stopping=0 0
    [   50.470000] wmi_unified_vdev_stop_send for vap 0 (823f0000)
    [   50.480000] OL vap_stop -
    [   50.480000] STOPPED EVENT for vap 0 (823f0000)
    [   50.480000] Set freq vap stop send -815d4000
    [   50.620000] Set wait done --815d4000
    [   50.620000] DCS: ol_ath_disable_dcsim dcs state 0 
    [   50.630000] De-authenticating all the nodes before channel change 
    [   50.680000]  
    [   50.680000]  DES SSID SET= 
    [   50.690000]  
    [   50.690000]  DES SSID SET=aterm-7e04ea-a 
    [   50.730000] ath_ioctl: SIOC80211IFCREATE CALLED
    [   50.740000] wmi_unified_vdev_create_send: ID = 1 VAP Addr = c2:25:a2:**:**:b3:
    [   50.750000] **ieee80211_vap_setup: reset last time and last up time**
    [   50.750000] Setting dscp for vap id: 1
    [   50.760000] VAP device ath11 created osifp: (815f1380) os_if: (815f4000)
    [   50.790000] Set freq vap stop send + 815d4000
    [   50.790000] OL vap_stop +
    [   50.800000] ol_ath_vap_stopping=0 0
    [   50.800000] wmi_unified_vdev_stop_send for vap 0 (823f0000)
    [   50.810000] OL vap_stop -
    [   50.810000] STOPPED EVENT for vap 0 (823f0000)
    [   50.810000] Set freq vap stop send -815d4000
    [   50.950000] Set wait done --815d4000
    [   50.950000] Set freq vap stop send + 815f4000
    [   50.950000] OL vap_stop +
    [   50.960000] ol_ath_vap_stopping=0 0
    [   50.960000] wmi_unified_vdev_stop_send for vap 1 (823f0000)
    [   50.970000] OL vap_stop -
    [   50.970000] STOPPED EVENT for vap 1 (823f0000)
    [   50.970000] Set freq vap stop send -815f4000
    [   51.110000] Set wait done --815f4000
    [   51.110000] DCS: ol_ath_disable_dcsim dcs state 0 
    [   51.120000] De-authenticating all the nodes before channel change 
    [   51.130000] De-authenticating all the nodes before channel change 
    [   51.180000]  
    [   51.180000]  DES SSID SET= 
    [   51.190000]  
    [   51.190000]  DES SSID SET=aterm-7e04ea-ax 
    [   51.230000] --osif_vap_init: cac_dfs_curch=0 desired channel=-1--
    [   51.240000] OL vap_stop +
    [   51.240000] ol_ath_vap_stopping=0 0
    [   51.240000] wmi_unified_vdev_stop_send for vap 0 (823f0000)
    [   51.250000] OL vap_stop -
    [   51.250000] STOPPED EVENT for vap 0 (823f0000)
    [   51.390000] ic channel number: 109
    [   51.390000] ieee80211_acs_get_cusmode_channels: cus mode: 0x0  phy mode:0x13
    [   51.400000] channels for acs select: mode:0x0 will add 1 channels
    [   51.400000] channel: 36 
    [   51.410000] wmi_unified_scan_start_send for vap 0 (823f0000)
    [   51.410000] 8021q: adding VLAN 0 to HW filter on device ath1
    [   51.550000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   51.920000] br-lan: port 2(ath0) entered forwarding state
    [   52.120000] device ath1 entered promiscuous mode
    [   52.120000] br-lan: port 4(ath1) entered forwarding state
    [   52.130000] br-lan: port 4(ath1) entered forwarding state
    [   52.240000] device ath11 entered promiscuous mode
    [   52.770000]  ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 
    [   52.780000] --osif_vap_init: cac_dfs_curch=0 desired channel=6--
    [   52.780000] ath_vap_stopping=1
    [   52.930000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   53.260000] --osif_vap_init: cac_dfs_curch=0 desired channel=6--
    [   53.260000] ath_vap_stopping=1
    [   53.400000] mlme_create_infra_bss : Overriding HT40 channel with HT20 channel
    [   53.450000]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 
    [   53.470000] --osif_vap_init: cac_dfs_curch=0 desired channel=-1--
    [   54.130000] br-lan: port 4(ath1) entered forwarding state
    [   57.110000] OL vap_start +
    [   57.120000] wmi_unified_vdev_start_send for vap 0 (823f0000)
    [   57.120000] OL vap_start -
    [   57.130000] ol_vdev_start_resp_ev for vap 0 (823f0000)
    [   57.130000] ol_ath_vap_join: join operation is only for STA/IBSS mode
    [   57.140000] ol_ath_wmm_update:
    [   57.140000] ### ol_get_rate_code use mix rate!!  
    wmi_unified_vdev_up_send for vap 0 (823f0000)
    [   57.150000] Notification to UMAC VAP layer
    [   57.160000] OL vap_start +
    [   57.160000] wmi_unified_vdev_start_send for vap 0 (823f0000)
    [   57.170000] OL vap_start -
    [   57.170000] ol_vdev_start_resp_ev for vap 0 (823f0000)
    [   57.180000] ol_ath_vap_join: join operation is only for STA/IBSS mode
    [   57.180000] ### ol_get_rate_code use mix rate!!  
    wmi_unified_vdev_up_send for vap 0 (823f0000)
    [   57.190000] Notification to UMAC VAP layer
    [   57.490000] --osif_vap_init: cac_dfs_curch=0 desired channel=36--
    [   57.500000] ol_ath_vap_stopping=1 0
    [   57.500000] wmi_unified_vdev_stop_send for vap 0 (823f0000)
    [   57.510000] STOPPED EVENT for vap 0 (823f0000)
    [   57.650000] OL vap_start +
    [   57.650000] wmi_unified_vdev_start_send for vap 0 (823f0000)
    [   57.650000] OL vap_start -
    [   57.660000] ol_vdev_start_resp_ev for vap 0 (823f0000)
    [   57.660000] ol_ath_vap_join: join operation is only for STA/IBSS mode
    [   57.670000] ### ol_get_rate_code use mix rate!!  
    wmi_unified_vdev_up_send for vap 0 (823f0000)
    [   57.680000] Notification to UMAC VAP layer
    [   57.920000] [wifi1] FWLOG: [65230] WAL_DBGID_SECURITY_ENCR_EN (  )
    [   57.930000] [wifi1] FWLOG: [65230] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
    Loading WLAN Partition
    GPIO Status Activated
    

広告