TP-Link Deco S4

TP-Link Deco S4 V2 AC1200 Whole Home Mesh Wi-Fi Router

DecoS4

The device has a failsafe http server provided by the bootloader, but the firmware images that it accepts are required to be signed by TP-Link. An exploit to bypass this restriction is available here: https://github.com/naf419/tplink_deco_exploits/releases/download/v2/deco_all_webfailsafe_faux_fw_tftp_v2.bin

To install using the exploit:

  1. run tftp server on pc with static ip 192.168.0.2
  2. place openwrt “initramfs-kernel.bin” image in tftp root dir
  3. connect pc to router ethernet port1
  4. while holding in reset button on bottom of router, power on router
  5. from pc access router webgui at http://192.168.0.1
  6. upload deco_all_webfailsafe_faux_fw_tftp_v2.bin
  7. router will load and execture in-memory openwrt (browser will timeout. this is ok)
  8. switch pc back to dhcp or static 192.168.1.x
  9. flash openwrt sysupgrade image via luci/ssh at 192.168.1.1

TP-Link Deco S4 Flash Layout
Layer0 raw SPI NOR flash memory chip 16384 KiB
Layer1 mtd0 u-boot 512 KiB mtd1 product_info 24 KiB mtd2 config 1452 KiB mtd3 art 64 KiB mtd4 firmware 14336 KiB
Layer2 mtd5 kernel 2276 KiB mtd6 rootfs 12059 KiB
mountpoint /
filesystem OverlayFS
Layer3 mtd7 rootfs_data 7872 KiB
Size in KiB 512 KiB 24 KiB 1452 KiB 64 KiB 2276 KiB 12059 KiB 7872 KiB
Name u-boot product_info config art kernel rootfs_data
mountpoint none none none none none /rom /overlay
filesystem none none none none none SquashFS JFFS2

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The default network configuration is:

Interface Name Description Default configuration
br-lan EXAMPLE LAN & WiFi EXAMPLE 192.168.1.1/24
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP
wl0 EXAMPLE WiFi EXAMPLE Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The TP-Link Deco S4 has the following buttons:

BUTTON Event
Reset reset

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

see M4R instructions here: https://imgur.com/a/gK1CHMb

port.serial general information about the serial port, serial port cable, etc.

see M4R instructions here: https://imgur.com/a/gK1CHMb

Serial connection parameters
for TP-Link Deco S4
115200, 8N1, 3.3V

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

None so far.

[ 0.000000] Linux version 3.3.8 (tplink@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #14 Thu Jan 13 11:39:32 CST 2022 [ 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: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00008000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00008000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: board=AP152 console=ttyS0,115200 mtdparts=spi0.0:512k(u-boot),1472k(config),64k(art),2048k(kernel),12288k(rootfs) rootfstype=squashfs crashkernel=10M@20M oops=panic [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 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: 126304k/131072k available (2222k kernel code, 4768k reserved, 598k data, 188k 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] NET: Registered protocol family 16 [ 0.070000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79 [ 0.080000] MIPS: machine is Qualcomm Atheros AP152 reference board [ 0.080000] [ 0.080000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x87a00000- SUCCESS !!! [ 0.090000] registering PCI controller with io_map_base unset [ 0.300000] bio: create slab <bio-0> at 0 [ 0.300000] PCI host bridge to bus 0000:00 [ 0.310000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff] [ 0.310000] pci_bus 0000:00: root bus resource [io 0x0001] [ 0.320000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] [ 0.320000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.330000] Switching to clocksource MIPS [ 0.330000] NET: Registered protocol family 2 [ 0.340000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.340000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.350000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.350000] TCP: Hash tables configured (established 4096 bind 4096) [ 0.360000] TCP reno registered [ 0.360000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.370000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.370000] NET: Registered protocol family 1 [ 0.390000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.390000] msgmni has been set to 246 [ 0.400000] io scheduler noop registered [ 0.400000] io scheduler deadline registered (default) [ 0.410000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.430000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.440000] console [ttyS0] enabled, bootconsole disabled [ 0.440000] console [ttyS0] enabled, bootconsole disabled [ 0.450000] m25p80 spi0.0: found xmc25q128, expected m25p80 [ 0.460000] m25p80 spi0.0: xmc25q128 (16384 Kbytes) [ 0.460000] 5 cmdlinepart partitions found on MTD device spi0.0 [ 0.470000] Creating 5 MTD partitions on "spi0.0": [ 0.470000] 0x000000000000-0x000000080000 : "u-boot" [ 0.480000] 0x000000080000-0x0000001f0000 : "config" [ 0.490000] 0x0000001f0000-0x000000200000 : "art" [ 0.490000] 0x000000200000-0x000000400000 : "kernel" [ 0.500000] 0x000000400000-0x000001000000 : "rootfs" [ 0.510000] mtd: partition "rootfs" set to be root filesystem [ 0.510000] flash_chrdev : flash_chrdev_init [ 0.520000] flash_chrdev : flash_chrdev_init [ 0.660000] ag71xx_mdio: probed [ 0.660000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.240000] eth0: Atheros AR8327 switch driver attached. [ 4.170000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] [ 4.190000] TCP cubic registered [ 4.190000] NET: Registered protocol family 17 [ 4.190000] Bridge firewalling registered [ 4.200000] 8021q: 802.1Q VLAN Support v1.8 [ 4.200000] ### of_selftest(): No testcase data in device tree; not running tests [ 4.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 4.220000] Freeing unused kernel memory: 188k freed [ 5.260000] init: Console is alive [ 8.260000] init: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 10.190000] phy_detect_sk has no listeners [ 10.190000] ar8216_read_status:dev[switch0] oldstatus[0] status[32] [ 10.210000] eth0: link up (1000Mbps/Full duplex) Before mount_root mounting /dev/root cp: can't stat '/tmp/log_export_tmp/*': No such file or directory After mount_root 377+0 records in 377+0 records out 377+0 records in 377+0 records out [ 13.750000] procd: - early - [ 14.390000] procd: - ubus - [ 15.410000] procd: - init - Please press Enter to activate this console. [ 15.790000] NET: Registered protocol family 10 [ 15.810000] Button Hotplug driver version 0.4.1 [ 15.810000] PPP generic driver version 2.4.2 [ 15.820000] NET: Registered protocol family 24 [ 15.830000] L2TP core driver, V2.0 [ 15.840000] L2TP netlink interface [ 15.860000] IPv6 over IPv4 tunneling driver [ 15.860000] GRE over IPv4 demultiplexor driver [ 15.880000] GRE over IPv4 tunneling driver [ 15.900000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 15.930000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.970000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max) [ 15.990000] PPPoL2TP kernel driver, V2.0 [ 16.030000] PPTP driver version 0.8.5 [ 16.070000] xt_time: kernel timezone is -0000 [ 16.140000] Netfilter messages via NETLINK v0.30. [ 16.160000] Ebtables v2.0 registered [ 16.210000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 16.260000] ctnetlink v0.93: registering with nfnetlink. [ 16.310000] ssdk_plat_init start [ 16.310000] Register QCA PHY driver [ 16.360000] isisc_ip_reset-1997 isisc_mac_snap[0]. [ 16.430000] qca-ssdk module init succeeded! [ 16.450000] AR71XX_RESET_REG_WDOG_CTRL: 0x0 [ 16.450000] QCA Hy-Fi multicast installation successfully [ 16.490000] u32 classifier [ 16.500000] Performance counters on [ 16.500000] input device check on [ 16.500000] Actions configured [ 16.520000] Mirror/redirect action on reloadprofile() begin reloadprofile() end ==reloadConfig()== begin ==loadDefaultConfig()== begin ==loadConfigToFiles(): default-config to /tmp/defaultconfig== begin ==loadConfigToFiles()== end ==set_usrconfig_info()== start ==set_usrconfig_info()== end ==loadDefaultConfig()== end ==loadConfigToFiles(): user-config to /tmp/userconfig== begin ==loadConfigToFiles()== end ==reloadConfig()===== no need to load emmc-config ==loadConfigToFiles(): device-config to /tmp/userconfig== begin ==loadConfigToFiles()== end ** user-config loaded ** ==reloadConfig()== end merge_extra_config() begin ==loadConfigToFiles(): default-config to /tmp/merge== begin ==loadConfigToFiles()== end mergeconfigbycountry() begin mergeconfigbycountry() country US mergeconfigbycountry() end merge_extra_config() end phylink down boot 1 [ 22.240000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 23.700000] phy_detect_sk has no listeners [ 23.700000] ar8216_read_status:dev[switch0] oldstatus[32] status[0] [ 23.720000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 23.730000] eth0: link up (1000Mbps/Full duplex) [ 25.790000] Load statistics in Router Mode [ 25.800000] module inited [ 27.780000] ADDRCONF(NETDEV_UP): br-wan: link is not ready ␛[1m[ vlan_set_device_state ] 069: --------------->Create VID='1' ␛[0m ␛[1m[ vlan_set_device_state ] 069: --------------->Create VID='2' ␛[0m [ 27.880000] device eth0.1 entered promiscuous mode [ 27.890000] device eth0 entered promiscuous mode [ 27.910000] br-lan: port 1(eth0.1) entered forwarding state [ 27.910000] br-lan: port 1(eth0.1) entered forwarding state [ 27.940000] device eth0.2 entered promiscuous mode [ 27.940000] br-lan: port 2(eth0.2) entered forwarding state [ 27.950000] br-lan: port 2(eth0.2) entered forwarding state [ 28.240000] br-lan: port 2(eth0.2) entered disabled state [ 28.250000] br-lan: port 1(eth0.1) entered disabled state [ 28.290000] br-lan: port 2(eth0.2) entered forwarding state [ 28.300000] br-lan: port 2(eth0.2) entered forwarding state [ 28.310000] br-lan: port 1(eth0.1) entered forwarding state [ 28.310000] br-lan: port 1(eth0.1) entered forwarding state [ 28.360000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 28.400000] ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready hyd_restart OK [ 30.300000] br-lan: port 2(eth0.2) entered forwarding state [ 30.310000] br-lan: port 1(eth0.1) entered forwarding state [awnd_update_wifi_tpie:895]: config_generic failed awnd_update_tpie(): ath02[-1] [awnd_update_wifi_tpie:895]: config_generic failed awnd_update_tpie(): ath12[-1] apsd: start apsd whc (repacd): stop repacd-run.sh =========Fix default enable ========= =========FAP has been binded ========= whc (repacd): Start: whc (repacd): GatewayConnectedMode(gwcon_mode): CAP whc (repacd): TrafficSeparationEnabled(traffic_separation_enabled): 1 whc (repacd): stop /etc/init.d/wsplcd whc (repacd): get whc_wifi_config_lock whc (repacd): starting WHC auto-configuration whc (repacd): Managed network: lan whc (repacd): Device type: AP whc (repacd): Start: whc (repacd): GatewayConnectedMode(gwcon_mode): CAP whc (repacd): TrafficSeparationEnabled(traffic_separation_enabled): 1 whc (repacd): Sysmode: Router whc (repacd): the guest network version of the device is latest, we do nothing(uci_revert_state wifi guest enable) [ 36.300000] mode:0 whc (repacd): wifi config change(is different from /var/state/wifi). wifi_cmd:reload wifi0,wifi1 whc (repacd): Using SON mode for GW Connected AP whc (repacd): __repacd_restart_dependencies: Restarting network stack... wifi reload dhcp6s is not running, delete pid_file: rm /var/run/dhcp6s.pid hyd_restart OK qcawifi disable radio wifi0 qcawifi disable radio wifi1 qcawifi: enable radio wifi0 __runqueue_task_timeout-175:boot /etc/rc.d/S45firewall timeout at 0x779cdf44 [ 41.890000] mem_manager: module license 'unspecified' taints kernel. [ 41.890000] Disabling lock debugging due to kernel taint [ 42.080000] ath_dfs: Version 2.0.0 [ 42.080000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved [ 42.230000] ath_spectral: Version 2.0.0 [ 42.230000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved [ 43.550000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D) [ 43.600000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved [ 43.680000] ath_tx99: Version 2.0 [ 43.680000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved [ 43.760000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved [ 43.830000] qca_da init [ 43.830000] __ath_attach: Set global_scn[0] [ 43.830000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead *** [ 43.840000] ACBKMinfree = 48 [ 43.850000] ACBEMinfree = 32 [ 43.850000] ACVIMinfree = 16 [ 43.850000] ACVOMinfree = 0 [ 43.850000] CABMinfree = 48 [ 43.860000] UAPSDMinfree = 0 [ 43.860000] ATH_TXBUF=2700 [ 43.870000] Enterprise mode: 0x03bda000 [ 43.880000] Restoring Cal data from FS [ 43.880000] qdf_fs_read[59], Open File /tmp/wifi0.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 988file size:12064qdf_fs_read[79]: caldata data size mismatch, fsize=12064, cal_size=1088 [ 43.900000] ART Version : -48.0.0 [ 43.900000] SW Image Version : -48.0.0.0.0 [ 43.910000] Board Revision : [ 43.910000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125 [ 43.920000] SPECTRAL : get_capability not registered [ 43.920000] HAL_CAP_PHYDIAG : Capable [ 43.930000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) [ 43.940000] SPECTRAL : get_capability not registered [ 43.940000] HAL_CAP_RADAR : Capable [ 43.950000] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 43.950000] (spectral_attach : 242) [ 43.960000] SPECTRAL : get_capability not registered [ 43.960000] HAL_CAP_SPECTRAL_SCAN : Capable [ 43.960000] SPECTRAL : get_tsf64 not registered [ 43.970000] spectral_init_netlink 78 NULL SKB [ 43.970000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT [ 43.980000] SPECTRAL :----- module attached [ 43.980000] Green-AP : Green-AP : Attached [ 43.980000] [ 43.990000] Starting random number generator thread [ 44.020000] ath_get_caps[6188] rx chainmask mismatch actual 3 sc_chainmak 0 [ 44.020000] ath_get_caps[6163] tx chainmask mismatch actual 3 sc_chainmak 0 [ 44.030000] band steering initialized for direct attach hardware [ 44.040000] ieee80211_bsteering_attach: Band steering initialized [ 44.050000] ath_attach_dfs[12586] dfsdomain 1 [ 44.060000] dfs_attach: event log enabled by default [ 44.070000] SPECTRAL : module already attached [ 44.070000] ath_attach: Set global_ic[1]..gloabl_ic ptr:8493f740 [ 44.080000] osif_wrap_attach:448 osif wrap attached [ 44.080000] osif_wrap_devt_init:409 osif wrap dev table init done [ 44.090000] Wrap Attached: Wrap_com =861a4c00 ic->ic_wrap_com=861a4c00 &wrap_com->wc_devt=861a4c00 [ 44.110000] ath_tx_paprd_init sc 86218000 PAPRD disabled in HAL [ 44.120000] wifi0: Atheros 956X: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47 [ 44.120000] ath_da_pci: (Atheros/multi-bss) [ 44.680000] qca_ol init [ 44.680000] ath_ol_pci: (Atheros/multi-bss) [ 44.680000] hif_pci_enable_bus: con_mode = 0x0, device_id = 0x56 [ 44.690000] ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] [ 44.700000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 44.700000] hif_pci_enable_bus: hif_enable_pci done *********** QCA9888 *************hif_pci_enable_bus: hif_type = 0xe, target_type = 0xchif_pci_enable_bus: hif_pci_probe_tgt_wakeup donehif_target_sync: Loop checking FW signalhif_target_sync: Got FW signal, retries = 0hif_config_ce: ce_init donehif_config_ce: X, ret = 0hif_set_hia: Ehif_set_hia_extnd: E [ 44.750000] chip_id 0xc chip_revision 0x0 [ 44.750000] [ 44.750000] CLOCK PLL skipped [ 44.760000] hif_set_hia_extnd: setting the target pll frac ffffffff intval ffffffff [ 44.760000] hif_set_hia_extnd: no frac provided, skipping pre-configuring PLL [ 44.770000] hif_pci_bus_configure: hif_set_hia donehif_configure_irq: Ehif_pci_configure_legacy_irq: Ehif_pci_configure_legacy_irq: X, ret = 0hif_enable: X OKhif_napi_create: NAPI structures initializedhif_napi_create: NAPI id 6 created for pipe 5qca_napi_create: napi instance 32 created on pipe 4 [ 44.800000] hif_napi_event: received evnt: CONF cmd; v = 1 (state=0x1)hif_napi_event: setting configuration to ON [ 44.810000] __ol_ath_attach() Allocated scn 84600380 [ 44.820000] __ol_ath_attach: dev name wifi1 [ 44.820000] ol_ath_attach interface_id 1 [ 44.830000] ol_target_init() BMI inited. [ 44.860000] ol_target_init() BMI Get Target Info. [ 44.860000] Chip id: 0xc, chip version: 0x1000000 [ 44.860000] [ 44.860000] CE WAR Disabled [ 44.900000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 [ 44.900000] ol_target_init() configure Target . [ 44.950000] [ 44.950000] Target Version is 1000000 [ 44.950000] [ 44.950000] Flash Download Address c0000 [ 44.960000] ol_transfer_bin_file: flash data file defined [ 44.960000] ol_transfer_bin_file[3784] Get Caldata for wifi1. [ 44.970000] qdf_fs_read[59], Open File /tmp/wifi1.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 989file size:12064qc98xx_verify_checksum: flash checksum passed: 0xe03f [ 45.010000] ol_transfer_bin_file 3845: Download Flash data len 12064 [ 45.040000] Board extended Data download address: 0x0 [ 45.080000] [ 45.080000] Board data initialized [ 45.120000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000 [ 45.120000] [ 45.120000] Selecting OTP binary for CHIP Version 0 [ 45.220000] ol_transfer_bin_file 3665: downloading file 0, Download data len 9116 [ 45.270000] [ 45.270000] First OTP send param 8000 [ 45.520000] ol_ath_download_firmware :First OTP download and Execute is good address:0x6000 return param 4660 [ 45.530000] ol_ath_download_firmware:##Board Id 24 , CHIP Id 0 [ 45.540000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 [ 45.550000] qdf_fs_read[59], Open File /tmp/country SUCCESS!!file system magic:16914836super blocksize:4096inode 1701file size:3qdf_fs_read[79]: caldata data size mismatch, fsize=3, cal_size=2!!!!!!!!!!!!!country code is US!!!!!!!!!!!!!!! [ 45.570000] qdf_fs_read[59], Open File /tmp/hardversion SUCCESS!!file system magic:16914836super blocksize:4096inode 1702file size:4qdf_fs_read[79]: caldata data size mismatch, fsize=4, cal_size=3update hw_ver from 2 to 2!!! [ 45.590000] [ 45.590000] wifi1: Selecting board data file name boardData_3_0_QCA9888_5G_YA105.bin [ 45.600000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boardData_3_0_QCA9888_5G_YA105.bin [ 45.650000] ol_transfer_bin_file 3665: downloading file 3, Download data len 12064 [ 45.660000] Board extended Data download address: 0x0 [ 45.700000] ol_ath_download_firmware: Using 0x1234 for the remainder of init [ 45.710000] [ 45.710000] Selecting OTP binary for CHIP Version 0 [ 45.750000] ol_transfer_bin_file 3665: downloading file 0, Download data len 9116 [ 45.800000] [ 45.800000] [Flash] : Ignore Module param [ 45.800000] [ 45.800000] Second otp download Param 10000 [ 46.060000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0 [ 46.070000] [ 46.070000] Mission mode: Firmware CHIP Version 0 [ 46.410000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144 [ 46.450000] ol_swap_wlan_memory_expansion: length:261771 size_left:261791 dma_size_left:262144 fw_temp:c1f08004 fw_entry_size:261795 [ 46.460000] ol_swap_wlan_memory_expansion: dma_virt_addr :a4580000 fw_temp: c1f08008 length: 261771 [ 46.470000] Swap: bytes_left to copy: fw:16; dma_page:373 [ 46.480000] ol_swap_wlan_memory_expansion: length:0 size_left:12 dma_size_left:373 fw_temp:c1f47e97 fw_entry_size:261795 [ 46.490000] Swap: wrong length read:0 [ 46.490000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 261771 Target address 41b0c8 [ 46.510000] scn=84600380 target_write_addr=41b0c8 seg_info=86739310 [ 46.510000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2 [ 46.520000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin [ 46.530000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin [ 47.160000] ol_transfer_bin_file 3665: downloading file 1, Download data len 388240 [ 48.900000] ol_target_init() Download FW done. [ 48.910000] ol_ath_attach() WMI attached. wmi_handle 860b4000 [ 48.910000] wmi_unified_register_event_handler: Event id 62 is unavailable [ 48.920000] +htc_create .. HIF :84650000-htc_create: (0x8678a800) [ 48.930000] htc_wmi_init() HT Create . 8678a800 [ 48.940000] htc_wmi_init 7813 host_enable 0 nss_nwifi_offload 0 [ 48.950000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) [ 48.960000] OL_ACBKMinfree : 0 [ 48.960000] OL_ACBEMinfree : 0 [ 48.960000] OL_ACVIMinfree : 0 [ 48.970000] OL_ACVOMinfree : 0 [ 48.970000] hif_enable_fastpath, Enabling fastpath mode [ 48.970000] +HWT [ 48.980000] hif_completion_thread_startup: pipe_num:0 pipe_info:0x846530c4hif_completion_thread_startup: pipe_num:3 pipe_info:0x84653184hif_completion_thread_startup: pipe_num:4 pipe_info:0x846531c4 [ 49.000000] -HWT [ 49.000000] Startup Mode-0 set [ 49.000000] [ 49.000000] <=== cfg max peer id 544 ====> [ 49.010000] htt_peer_map_timer_init Enter pdev 83cb0000 hrtimer 83cb4960 [ 49.020000] [ 49.020000] htt_alloc_peer_map_mem : Alloc Success : host q vaddr 84664000 paddr 4664000 [ 49.030000] [ 49.030000] htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts [ 49.040000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 83920000 [ 49.060000] Firmware_Build_Number:38 [ 49.070000] FW wireless modes: 0x1f9001 [ 49.070000] num_rf_chain:0x00000002 ht_cap_info:0x0000085b vht_cap_info:0x339979b2 vht_supp_mcs:0x0000fffa [ 49.080000] wmi_service_coex_gpio 0, wmi_service_4_wire_coex_support 0, coex_version 0 [ 49.090000] [ 49.090000] Sending Ext resource cfg: HOST PLATFORM as 1 [ 49.090000] fw_feature_bitmap as 50 to TGT [ 49.100000] ol_ath_service_ready_event: tt_support: 1 [ 49.100000] ol_ath_service_ready_event: periodic_chan_stats: 1 [ 49.110000] ol_ath_service_ready_event: sw_cal_support_check_flag: 1 [ 49.120000] Peer Caching Enabled ; num_peers = 146, num_active_peers = 52 num_tids = 104, num_vdevs = 17 [ 49.130000] EXT NSS Supported [ 49.130000] idx 1 req 2 num_units 1 num_unit_info 12 unit size 256 actual units 53 [ 49.140000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256, [ 49.150000] idx 2 req 3 num_units 1 num_unit_info 12 unit size 1024 actual units 53 [ 49.150000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024, [ 49.160000] idx 3 req 4 num_units 1 num_unit_info 12 unit size 4096 actual units 53 [ 49.170000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096, [ 49.180000] idx 0 req 1 num_units 0 num_unit_info 2 unit size 896 actual units 147 [ 49.190000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 147 unit_len 896, [ 49.200000] idx 4 req 5 num_units 0 num_unit_info 2 unit size 2068 actual units 147 [ 49.200000] ol_ath_alloc_host_mem_chunk req_id 5 idx 4 num_units 147 unit_len 2068, [ 49.210000] Support not added yet for Service 91 [ 49.220000] Support not added yet for Service 92 [ 49.220000] No EXT_MSG send INIT now [ 49.230000] chunk 0 len 13568 requested , ptr 0x3984000 [ 49.230000] chunk 1 len 54272 requested , ptr 0x3990000 [ 49.240000] chunk 2 len 217088 requested , ptr 0x39c0000 [ 49.240000] chunk 3 len 131712 requested , ptr 0x3a00000 [ 49.250000] chunk 4 len 303996 requested , ptr 0x3a80000 [ 49.250000] chunk 5 len 0 requested , ptr 0xffffffff [ 49.260000] ol_ath_service_ready_event[4317] WAPI MBSSID 2 [ 49.270000] smart_log_init: Smart logging Enabled buf=839a0000 (size=65536) [ 49.300000] Version = 16777216 3 status = 0 [ 49.310000] ol_ath_connect_htc() WMI is ready [ 49.310000] htt_h2t_frag_desc_bank_cfg_msg - HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG sent to FW for radio ID = 1 [ 49.320000] target uses HTT version 2.2; host uses 2.2 [ 49.330000] ol_ath_attach() connect HTC. [ 49.340000] bypasswmi : 0 [ 49.340000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. [ 49.350000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 [ 49.360000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 [ 49.370000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 [ 49.370000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 [ 49.380000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 [ 49.390000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 [ 49.400000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 [ 49.400000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 [ 49.410000] Add VHT80 channel: 5210 [ 49.410000] Add VHT80 channel: 5290 [ 49.420000] Add VHT80 channel: 5530 [ 49.420000] Add VHT80 channel: 5610 [ 49.430000] Add VHT80 channel: 5690 [ 49.430000] Add VHT80 channel: 5775 [ 49.430000] Skipping VHT80 channel 5825 [ 49.440000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x200000) flags 0x4000100 [ 49.440000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x400000) flags 0x8000100 [ 49.450000] freq=58 [ 49.460000] freq=106 [ 49.460000] freq=122 [ 49.460000] freq=138 [ 49.460000] OL Resmgr Init-ed [ 49.470000] ieee80211_bsteering_attach: Band steering initialized [ 49.470000] SPECTRAL : get_capability not registered [ 49.480000] HAL_CAP_PHYDIAG : Capable [ 49.480000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) [ 49.490000] SPECTRAL : get_capability not registered [ 49.500000] HAL_CAP_RADAR : Capable [ 49.500000] SPECTRAL : Need to fix the capablity check for SPECTRAL [ 49.500000] (spectral_attach : 242) [ 49.510000] SPECTRAL : get_capability not registered [ 49.510000] HAL_CAP_SPECTRAL_SCAN : Capable [ 49.520000] SPECTRAL : get_tsf64 not registered [ 49.520000] spectral_init_netlink 78 NULL SKB [ 49.530000] Green-AP : Green-AP : Attached [ 49.530000] [ 49.530000] Green-AP : Attached [ 49.540000] rate power table override is only supported for AR98XX [ 49.540000] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna. [ 49.550000] ol_if_dfs_attach: called; ptr=8398997c, radar_info=86107b38 [ 49.560000] dfs_attach: event log enabled by default [ 49.560000] >>>> CB Set (null) [ 49.570000] ol_ath_attach() UMAC attach . [ 49.570000] [ 49.570000] BURSTING enabled by default [ 49.580000] ol_ath_attach: Set global_ic[2] ..ptr:8493f740 [ 49.580000] ath_lowi_if_netlink_init LOWI Netlink successfully created [ 49.590000] osif_wrap_attach:448 osif wrap attached [ 49.600000] osif_wrap_devt_init:409 osif wrap dev table init done [ 49.600000] Wrap Attached: Wrap_com =86737e00 ic->ic_wrap_com=86737e00 &wrap_com->wc_devt=86737e00 [ 49.610000] __ol_ath_attach: needed_headroom reservation 60 [ 49.630000] ol_ath_thermal_mitigation_attach: -- [ 49.640000] ol_ath_pci_probe num_radios=0, wifi_radios[0].sc = 84600380 wifi_radio_type = 2 [ 49.650000] ath_sysfs_diag_init: diag_fsattr [ 49.660000] pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16 [ 49.670000] +hif_update_pipe_callback pipeid 8 [ 49.680000] -hif_update_pipe_callback [ 49.760000] __sa_init_module [ 49.940000] [wifi1] FWLOG: [55720] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 ) [ 49.950000] [wifi1] FWLOG: [55720] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 ) [ 49.960000] [wifi1] FWLOG: [55720] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 ) [ 49.970000] [wifi1] FWLOG: [55720] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 ) [ 49.980000] [wifi1] FWLOG: [55720] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 ) [ 49.990000] [wifi1] FWLOG: [55876] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0xa10, 0x160, 0x10, 0x0 ) [ 50.000000] [wifi1] FWLOG: [55876] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0x10, 0x0, 0x10, 0x12 ) [ 50.070000] ath_net80211_dfs_clist_update: called, cmd=1, nollist= (null), nentries=0 [ 50.080000] ath_attach_dfs[12586] dfsdomain 1 [ 50.090000] dfs_attach: event log enabled by default [ 50.160000] ath_net80211_dfs_clist_update: called, cmd=1, nollist= (null), nentries=0 [ 50.170000] ath_attach_dfs[12586] dfsdomain 1 [ 50.180000] dfs_attach: event log enabled by default [ 50.220000] DCS for CW interference mitigation: 0 [ 50.220000] DCS for WLAN interference mitigation: 0 [ 50.480000] Disconnect_timeout value entered:10 [ 50.500000] reconfiguration_timeout value entered:60 [ 51.010000] wlan_vap_create : enter. devhandle=0x86270380, opmode=IEEE80211_M_HOSTAP, flags=0x1 [ 51.020000] ieee80211_mbo_vattach:MBO Initialized [ 51.020000] ieee80211_oce_vattach: OCE Initialized [ 51.030000] wlan_vap_create : exit. devhandle=0x86270380, vap=0x86238000, opmode=IEEE80211_M_HOSTAP, flags=0x1. [ 51.040000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 51.050000] VAP device ath0 created osifp: (86741380) os_if: (86238000) [ 51.070000] siwfreq [ 51.070000] Set freq vap 0 stop send + 86238000 [ 51.080000] Set freq vap 0 stop send -86238000 [ 51.110000] Set wait done --86238000 [ 51.200000] Setting Max Stations:64 [ 51.230000] [DEBUG] vap-0(ath0):set SIOC80211NWID, 7 characters [ 51.240000] [ 51.240000] DES SSID SET=URL IRL [ 51.640000] ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1 [ 51.650000] DEVICE IS DOWN ifname=ath0 [ 51.650000] DEVICE IS DOWN ifname=ath0 [ 51.780000] Warning: node not in table 0x83b6f000 [ 51.960000] ar8216_read_status-3278: start netif_carrier_off for dev[eth0.1] vid[1] i[1] vlan_table[15] [ 51.970000] ar8216_read_status-3278: start netif_carrier_off for dev[eth0.2] vid[2] i[2] vlan_table[49] [ 51.980000] br-lan: port 1(eth0.1) entered disabled state [ 52.010000] br-lan: port 2(eth0.2) entered disabled state [ 52.130000] device ath0 entered promiscuous mode [ 52.130000] br-lan: port 3(ath0) entered forwarding state [ 52.140000] br-lan: port 3(ath0) entered forwarding state [ 52.180000] Not supported in this vap [ 52.190000] wlan_vap_create : enter. devhandle=0x86270380, opmode=IEEE80211_M_HOSTAP, flags=0x1 [ 52.200000] ieee80211_mbo_vattach:MBO Initialized [ 52.210000] ieee80211_oce_vattach: OCE Initialized [ 52.210000] wlan_vap_create : exit. devhandle=0x86270380, vap=0x83bd0000, opmode=IEEE80211_M_HOSTAP, flags=0x1. [ 52.220000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 52.230000] VAP device ath02 created osifp: (83bb1b80) os_if: (83bd0000) [ 52.300000] Switching to Tx Mode-0 [ 52.310000] Setting Max Stations:64 [ 52.340000] [DEBUG] vap-1(ath02):set SIOC80211NWID, 16 characters [ 52.350000] [ 52.350000] DES SSID SET=zEQQGAEPiKmD5tba [ 52.710000] ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 [ 52.720000] DEVICE IS DOWN ifname=ath02 [ 52.720000] DEVICE IS DOWN ifname=ath02 [ 52.850000] Warning: node not in table 0x83bca000 [ 52.930000] Not supported in this vap qcawifi: enable radio wifi1 [ 53.080000] [ol_ath_iw_setcountry][1817] *p=55, *(p+1)=53 [ 53.090000] isCountryCodeValid: EEPROM regdomain 0x0 [ 53.100000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 [ 53.100000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 [ 53.110000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 [ 53.120000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 [ 53.120000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 [ 53.130000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 [ 53.140000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 [ 53.150000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 [ 53.150000] Add VHT80 channel: 5210 [ 53.160000] Add VHT80 channel: 5290 [ 53.160000] Add VHT80 channel: 5530 [ 53.170000] Add VHT80 channel: 5610 [ 53.170000] Add VHT80 channel: 5690 [ 53.170000] Add VHT80 channel: 5775 [ 53.180000] Skipping VHT80 channel 5825 [ 53.180000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x200000) flags 0x4000100 [ 53.190000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x400000) flags 0x8000100 [ 53.200000] isCountryCodeValid: EEPROM regdomain 0x0 [ 53.210000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2) flags 0x2150 [ 53.220000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4) flags 0xa0 [ 53.220000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x8) flags 0xc0 [ 53.230000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x20) flags 0xd0 [ 53.240000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x40) flags 0x150 [ 53.240000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x800) flags 0x10080 [ 53.250000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x2000) flags 0x20080 [ 53.260000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x4000) flags 0x40080 [ 53.270000] Add VHT80 channel: 5210 [ 53.270000] Add VHT80 channel: 5290 [ 53.270000] Add VHT80 channel: 5530 [ 53.280000] Add VHT80 channel: 5610 [ 53.280000] Add VHT80 channel: 5690 [ 53.290000] Add VHT80 channel: 5775 [ 53.290000] Skipping VHT80 channel 5825 [ 53.290000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x200000) flags 0x4000100 [ 53.300000] ol_regdmn_init_channels: !avail mode 0x1f9001 (0x400000) flags 0x8000100 [ 53.370000] set TXBF_SND_PERIOD: value 100 wmi_status 0 [ 53.400000] Disconnect_timeout value entered:10 [ 53.410000] reconfiguration_timeout value entered:60 [ 53.770000] wlan_vap_create : enter. devhandle=0x84600380, opmode=IEEE80211_M_HOSTAP, flags=0x1 [ 53.780000] send_vdev_create_cmd_non_tlv: ID = 0 Type = 1, Subtype = 0 VAP Addr = 28:ee:52:4d:cf:2b: [ 53.790000] ieee80211_mbo_vattach:MBO Initialized [ 53.790000] ieee80211_oce_vattach: OCE Initialized [ 53.800000] wlan_vap_create : exit. devhandle=0x84600380, vap=0x83420000, opmode=IEEE80211_M_HOSTAP, flags=0x1. [ 53.810000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 53.810000] Enabling TX checksum bit for the vap ath1 features 4000 [ 53.820000] Enabling SG bit for the vap ath1 features 4000 [ 53.830000] Enabling SG bit for the vap ath1 features 4000 [ 53.830000] Enabling TSO bit for the vap ath1 features 4000 [ 53.840000] Enabling LRO bit for the vap ath1 features 4000 [ 53.850000] VAP device ath1 created osifp: (83bd8380) os_if: (83420000) [ 53.860000] siwfreq [ 53.870000] Set freq vap 0 stop send + 83420000 [ 53.870000] Set freq vap 0 stop send -83420000 [ 53.910000] Set wait done --83420000 [ 53.940000] [wifi1] FWLOG: [59709] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0xa10, 0x160, 0x10, 0x0 ) [ 53.950000] [wifi1] FWLOG: [59709] WAL_DBGID_PDEV_INFO_PRINT ( 0x3a, 0x10, 0x0, 0x10, 0x12 ) [ 53.960000] [wifi1] FWLOG: [59826] WAL_DBGID_PDEV_INFO_PRINT ( 0x16, 0xa10, 0x810, 0x10, 0x0 ) [ 53.970000] [wifi1] FWLOG: [59826] WAL_DBGID_PDEV_INFO_PRINT ( 0x16, 0x10, 0x0, 0x10, 0x12 ) [ 53.980000] [wifi1] FWLOG: [59861] WAL_DBGID_DEV_RESET ( 0xc01d, 0x483 ) [ 54.060000] Setting Max Stations:64 [ 54.090000] [DEBUG] vap-0(ath1):set SIOC80211NWID, 7 characters [ 54.100000] [ 54.100000] DES SSID SET=URL IRL [ 54.160000] [acs] chan: 2 beacon RSSI 89 Noise FLoor -109 [ 54.160000] [acs] chan: 3 beacon RSSI 63 Noise FLoor -109 [ 54.170000] [acs] chan: 4 beacon RSSI 33 Noise FLoor -109 [ 54.170000] [acs] chan: 5 beacon RSSI 53 Noise FLoor -109 [ 54.180000] [acs] chan: 6 beacon RSSI 85 Noise FLoor -109 [ 54.190000] [acs] chan: 7 beacon RSSI 43 Noise FLoor -109 [ 54.190000] [acs] chan: 5 beacon RSSI 53 Noise FLoor -109 [ 54.200000] [acs] chan: 6 beacon RSSI 85 Noise FLoor -109 [ 54.200000] [acs] chan: 7 beacon RSSI 43 Noise FLoor -109 [ 54.210000] [acs] chan: 8 beacon RSSI 26 Noise FLoor -109 [ 54.210000] [acs] chan: 9 beacon RSSI 98 Noise FLoor -109 [ 54.220000] [acs] chan: 10 beacon RSSI 148 Noise FLoor -110 [ 54.230000] [acs] Best Channel Selected 8 rssi 26 nf -109 [ 54.290000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 54.300000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 54.310000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 54.330000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 54.340000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 54.350000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 54.730000] ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 [ 54.730000] DEVICE IS DOWN ifname=ath1 [ 54.740000] DEVICE IS DOWN ifname=ath1 [ 54.890000] Sending SCAN START cmd [ 54.940000] [wifi1] FWLOG: [60554] WAL_DBGID_PDEV_INFO_PRINT ( 0xae, 0x0 ) [ 54.950000] [wifi1] FWLOG: [60554] WAL_DBGID_PDEV_INFO_PRINT ( 0xae, 0x0 ) [ 54.960000] [wifi1] FWLOG: [61417] WAL_DBGID_SECURITY_ENCR_EN ( ) [ 54.960000] [wifi1] FWLOG: [61417] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) [ 54.970000] [wifi1] FWLOG: [61450] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 55.180000] device ath1 entered promiscuous mode [ 55.180000] br-lan: port 4(ath1) entered forwarding state [ 55.190000] br-lan: port 4(ath1) entered forwarding state [ 55.230000] wlan_vap_create : enter. devhandle=0x84600380, opmode=IEEE80211_M_HOSTAP, flags=0x1 [ 55.240000] send_vdev_create_cmd_non_tlv: ID = 1 Type = 1, Subtype = 0 VAP Addr = 2e:ee:52:4d:cf:2b: [ 55.250000] ieee80211_mbo_vattach:MBO Initialized [ 55.260000] ieee80211_oce_vattach: OCE Initialized [ 55.260000] wlan_vap_create : exit. devhandle=0x84600380, vap=0x83480000, opmode=IEEE80211_M_HOSTAP, flags=0x1. [ 55.270000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 55.280000] Enabling TX checksum bit for the vap ath12 features 4000 [ 55.290000] Enabling SG bit for the vap ath12 features 4000 [ 55.290000] Enabling SG bit for the vap ath12 features 4000 [ 55.300000] Enabling TSO bit for the vap ath12 features 4000 [ 55.310000] Enabling LRO bit for the vap ath12 features 4000 [ 55.310000] VAP device ath12 created osifp: (83bda380) os_if: (83480000) [ 55.400000] Setting Max Stations:64 [ 55.430000] [DEBUG] vap-1(ath12):set SIOC80211NWID, 16 characters [ 55.430000] [ 55.430000] DES SSID SET=zEQQGAEPiKmD5tba [ 55.800000] ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 [ 55.810000] DEVICE IS DOWN ifname=ath12 [ 55.820000] DEVICE IS DOWN ifname=ath12 [ 55.940000] osif_vap_init: Scan in progress.. Cancelling it. vap: 0x83480000 [ 55.950000] [wifi1] FWLOG: [61758] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 55.960000] [wifi1] FWLOG: [61937] WAL_DBGID_PDEV_INFO_PRINT ( 0xae, 0x0 ) [ 55.970000] [wifi1] FWLOG: [61937] WAL_DBGID_PDEV_INFO_PRINT ( 0xae, 0x0 ) [ 55.970000] [wifi1] FWLOG: [62073] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 55.980000] [wifi1] FWLOG: [62387] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 55.990000] [wifi1] FWLOG: [62521] WAL_DBGID_SECURITY_ENCR_EN ( ) [ 56.000000] [wifi1] FWLOG: [62521] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) whc (repacd): do __repacd_add_vlan_interfaces network:lan vlan id:1 backhual_iface:wifi whc (repacd): 2g interfaces:ath02, 5g interfaces:ath12 whc (repacd): plc interfaces: interface5g:ath12 whc (repacd): ath12.1 does not exist, add it. [ 56.790000] device ath12.1 entered promiscuous mode [ 56.810000] device ath12 entered promiscuous mode [ 56.820000] br-lan: port 5(ath12.1) entered forwarding state [ 56.830000] br-lan: port 5(ath12.1) entered forwarding state interface2g:ath02 whc (repacd): ath02.1 does not exist, add it. [ 56.940000] [wifi1] FWLOG: [62701] WAL channel change freq=5745, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 56.950000] [wifi1] FWLOG: [63015] WAL channel change freq=5765, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 56.960000] [wifi1] FWLOG: [63330] WAL channel change freq=5785, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 56.970000] [wifi1] FWLOG: [63464] WHAL_ERROR_RESET_OFFSETCAL ( ) [ 56.980000] [wifi1] FWLOG: [63474] WAL_DBGID_BB_WDOG_TRIGGERED ( 0xf7f2, 0x4000419, 0x0, 0x2 ) [ 56.990000] [wifi1] FWLOG: [63474] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x8000, 0x0 ) [ 56.990000] [wifi1] FWLOG: [63474] WAL_DBGID_RdOrCrOtCtAgSrHgRdsSsAbFoFbFp ( 0x81848080, 0x80848080, 0x80808080, 0x8080 ) [ 57.050000] device ath02.1 entered promiscuous mode [ 57.070000] device ath02 entered promiscuous mode [ 57.080000] br-lan: port 6(ath02.1) entered forwarding state [ 57.080000] br-lan: port 6(ath02.1) entered forwarding state whc (repacd): do __repacd_add_vlan_interfaces network:lan vlan id:2 backhual_iface:wifi whc (repacd): 2g interfaces:ath02, 5g interfaces:ath12 whc (repacd): plc interfaces: interface5g:ath12 whc (repacd): ath12.2 does not exist, add it. [ 57.390000] device ath12.2 entered promiscuous mode [ 57.410000] br-lan: port 7(ath12.2) entered forwarding state [ 57.420000] br-lan: port 7(ath12.2) entered forwarding state ␛[1m[ vlan_set_device_state ] 069: --------------->Create VID='2' ␛[0m interface2g:ath02 whc (repacd): ath02.2 does not exist, add it. [ 57.600000] device ath02.2 entered promiscuous mode [ 57.620000] br-lan: port 8(ath02.2) entered forwarding state [ 57.630000] br-lan: port 8(ath02.2) entered forwarding state [ 57.650000] send_vdev_down_cmd_non_tlv for vap 0 [ 57.660000] ACS failed to derive the channel. So,selecting channel with least BSS [ 57.660000] random channel is 40 [ 57.670000] ******** ACS report ******** [ 57.670000] Channel | BSS | minrssi | maxrssi | NF | Ch load | spect load | sec_chan [ 57.680000] --------------------------------------------------------------------- [ 57.690000] 5180( 36) 4 6 43 -102 1 0 0 [ 57.700000] 5200( 40) 0 0 0 -102 1 0 1 [ 57.700000] 5220( 44) 0 0 0 -102 0 0 1 [ 57.710000] 5240( 48) 0 0 0 -103 0 0 1 [ 57.720000] 5745(149) 6 13 14 -103 4 0 1 [ 57.730000] 5765(153) 0 0 0 -103 1 0 1 [ 57.740000] 5785(157) 5 10 11 -104 23 0 1 [ 57.750000] 5805(161) 0 0 0 -103 1 0 1 [ 57.750000] 5825(165) 0 0 0 -104 0 0 0 [ 57.760000] OL vap_start + [ 57.770000] VDEV START [ 57.770000] OL vap_start - [ 57.770000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 [ 57.780000] OL vap_start + [ 57.780000] VDEV START [ 57.780000] OL vap_start - [ 57.790000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 [ 57.800000] ADDRCONF(NETDEV_CHANGE): ath12.2: link becomes ready ␛[1m[ vlan_set_device_state ] 069: --------------->Create VID='2' ␛[0m [ 57.980000] ol_vdev_start_resp_ev for vap 0 (860b4000) [ 57.980000] send_wmm_update_cmd_non_tlv: [ 57.990000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 57.990000] send_vdev_up_cmd_non_tlv for vap 0 [ 58.000000] Beacon mode set to staggered. Cannot enable FD [ 58.000000] __ieee80211_smart_ant_init: Smart Antenna is not supported [ 58.010000] ol_vdev_start_resp_ev for vap 1 (860b4000) [ 58.020000] send_wmm_update_cmd_non_tlv: [ 58.020000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 [ 58.030000] send_vdev_up_cmd_non_tlv for vap 1 [ 58.030000] Beacon mode set to staggered. Cannot enable FD [ 58.040000] [wifi1] FWLOG: [63644] WAL channel change freq=5805, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 58.050000] [wifi1] FWLOG: [63958] WAL channel change freq=5825, mode=0 flags=0 rx_ok=1 tx_ok=1 [ 58.060000] [wifi1] FWLOG: [64276] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) [ 58.060000] [wifi1] FWLOG: [64276] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) [ 58.070000] [wifi1] FWLOG: [64390] vap-0 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 ) [ 58.080000] [wifi1] FWLOG: [64391] WAL channel change freq=5200, mode=10 flags=0 rx_ok=1 tx_ok=1 whc (repacd): do __repacd_del_vlan_interfaces network:lan vlan id:1 backhual_iface:plc whc (repacd): 2g interfaces:, 5g interfaces: whc (repacd): plc interfaces: whc (repacd): do __repacd_del_vlan_interfaces network:lan vlan id:2 backhual_iface:plc whc (repacd): 2g interfaces:, 5g interfaces: whc (repacd): plc interfaces: whc (repacd): set wifi done flag whc (repacd): unlock whc_wifi_config_lock whc (repacd): get whc_wifi_config_lock whc (repacd): clear wifi_set_done flag whc (repacd): starting WHC auto-configuration whc (repacd): Managed network: lan === ip addr del 192.168.68.1 dev br-lan start whc (repacd): Device type: AP [ 58.980000] [wifi1] FWLOG: [64603] VDEV_MGR_VDEV_START_RESP ( 0x0 ) [ 58.980000] [wifi1] FWLOG: [64604] vap-1 VDEV_MGR_VDEV_START ( 0x1450, 0x2, 0x0, 0x0 ) [ 58.990000] [wifi1] FWLOG: [64626] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0x84d000 ) [ 59.000000] [wifi1] FWLOG: [64626] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 ) [ 59.010000] [wifi1] FWLOG: [64626] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) [ 59.010000] [wifi1] FWLOG: [64626] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1450, 0x0, 0x0 ) [ 59.020000] [wifi1] FWLOG: [64626] VDEV_MGR_VDEV_START_RESP ( 0x0 ) [ 59.030000] [wifi1] FWLOG: [64660] VDEV_MGR_HP_START_TIME ( 0x0, 0x1450, 0x866000 ) [ 59.040000] [wifi1] FWLOG: [64660] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 ) [ 59.040000] [wifi1] FWLOG: [64660] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) [ 59.050000] [wifi1] FWLOG: [64660] VDEV_MGR_AP_TBTT_CONFIG ( 0x1, 0x1450, 0x0, 0x0 ) whc (repacd): Sysmode: Router whc (repacd): the guest network version of the device is latest, we do nothing(uci_revert_state wifi guest enable) ␛[1m[ handle_vlan_if ] 238: socket ioctl handle vlan if error 19. ␛[0m === ip addr del 192.168.68.1 dev br-lan end ␛[1m[ del_guest_eth ] 904: del_guest_eth-904:del guest eth eth0.591 ␛[0m [awn_get_lan_ip:366]: ioctl error sys_mode:Router iptv_enable:0 [ 60.650000] device eth0.1 left promiscuous mode [ 60.660000] br-lan: port 1(eth0.1) entered disabled state [ 60.680000] device eth0.1 entered promiscuous mode [ 60.800000] device eth0.2 left promiscuous mode [ 60.810000] br-lan: port 2(eth0.2) entered disabled state [ 60.860000] device eth0.2 entered promiscuous mode [ 4063(lan)] [smartip_get_cfg 166] key:gw value:192.168.68.1 [ 4063(lan)] [smartip_get_cfg 166] key:lanip value:192.168.68.1 [ 4063(lan)] [smartip_get_cfg 166] key:lantype value:1 [ 4063(lan)] [smartip_get_cfg 166] key:mask value:255.255.255.0 [ 61.380000] work mode change to :AP [ 61.380000] [ 61.460000] get dev num:2 [ 61.460000] statistics: SET_STA_DEVICE dev_name=eth0.1 [ 61.470000] statistics: SET_STA_DEVICE dev_name=eth0.2 [ 61.470000] backhaul sta dev num:2 whc (repacd): Using SON mode for GW Connected AP [ 4063(lan)] [smartip_init_dhcp_hook_socket 2287] create dhcp hook success [ 62.020000] eth0.1:eth0.2:ath0:ath1:ath2:ath05:ath15:ath25:ath03.1:ath13.1:ath23.1:ath02.1:ath12.1:ath22.1:ath04.1:ath14.1 leds: INFO: Event: power.on [ 4063(lan)] [smartip_start_drop_dhcp_pkg 2173] start select dhcp package! [ 4063(lan)] [smartip_check_status_Router_mode 1712] new dnsServer is 0xc0a84401 0x0 [ 4063(lan)] [smartip_notify_lan_update 1293] Notify the lan ip changed. mac:28-EE-52-4D-CF-28 1 conn-indicator: INFO: -- running -- conn-indicator: NOTE: BINDING state: -1 -> 3 conn-indicator: INFO: <30000307> Invoke led: conn[2] leds: INFO: Event: conn.ap-lost leds: INFO: Event: init.done conn-indicator: NOTE: Mode changed: Unknown -> Router [ 4063(lan)] [smartip_update_lanip 591] config IP: ifconfig br-lan 192.168.68.1 netmask 255.255.255.0 cap_mac: 1 conn-indicator: NOTE: Role changed: Unknown -> FAP conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST conn-indicator: NOTE: Network type: Unknown -> FAP conn-indicator: INFO: <31330307> Invoke led: conn[1] leds: INFO: Event: conn.offline conn-indicator: NOTE: Connectivity changed: FAP.LOST(0x7) -> OFFLINE(0x1) whc (repacd): __repacd_restart_dependencies: No changes; not res[ 63.120000] ivalue value:tarting network stack... whc (repacd): do __repacd_add_vlan_interfaces network:lan vlan id:1 backhual_iface:wifi ME Pool succesfully initialized vaddr - 835e0000 paddr - 0 [ 63.450000] num_elems = 1424 buf_size - 64 pool_size = 102528 [ 63.460000] Enable MCAST_TO_UCAST [ 4063(lan)] [smartip_update_lanip 602] route del default dev br-lan ␛[1m[ wan_detect_handle_timeout ] 130: we are changing role now, reload network config boot[0]. ␛[0m [ 4063(lan)] [smartip_update_lanip 620] restart miniupnpd [ 4283(lan)] [smartip_call_hotplug_ip 1990] Send Message -- TYPE:lan, EVENT:UPDATE conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST ␛[1m[ handle_vlan_if ] 238: socket ioctl handle vlan if error 19. ␛[0m ␛[1m[ del_guest_eth ] 904: del_guest_eth-904:del guest eth eth0.591 ␛[0m whc (repacd): 2g interfaces:ath02, 5g interfaces:ath12 conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST whc (repacd): plc interfaces: interface5g:ath12 whc (repacd): ath12.1 already existed, do nothing. interface2g:ath02 sys_mode:Router iptv_enable:0 conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST [ 4476(lan)] [smartip_call_hotplug_ip 1990] Send Message -- TYPE:lan, EVENT:FAPIPUPDATE whc (repacd): ath02.1 already existed, do nothing. whc (repacd): do __repacd_add_vlan_interfaces network:lan vlan id:2 backhual_iface:wifi conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST [ 67.060000] ar8216_read_status:dev[switch0] oldstatus[0] status[32] [ 67.070000] ar8216_read_status-3245: start netif_carrier_on for dev[eth0.2] vid[2] i[1] vlan_table[33] [ 67.080000] br-wan: port 2(eth0.2) entered forwarding state [ 67.090000] br-wan: port 2(eth0.2) entered forwarding state [ 67.260000] ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready [ 67.490000] [ath0] Band steering events being sent to PID:4553 [ 67.640000] [ath1] Band steering events being sent to PID:4553 [ 67.640000] [ath0] Band steering events being sent to PID:4553 [ 67.830000] [ath1] Band steering events being sent to PID:4553 conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST [ 68.110000] mode:0 [ 68.370000] [ath0] Band steering events being sent to PID:4553 [ 68.510000] [ath1] Band steering events being sent to PID:4553 whc (repacd): 2g interfaces:ath02, 5g interfaces:ath12 whc (repacd): plc interfaces: Ipv6 Firewall config trigger stop! interface5g:ath12 conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST conn-indicator: INFO: <31330301> link event: br-wan.up [ 69.450000] br-wan: port 2(eth0.2) entered disabled state [ 69.450000] br-wan: port 2(eth0.2) entered forwarding state [ 69.460000] br-wan: port 2(eth0.2) entered forwarding state whc (repacd): ath12.2 already existed, do nothing. interface2g:ath02 conn-indicator: ERR: [validate_dir] stat(/tmp/sync-server): No such file or directory conn-indicator: ERR: Invalid directory: /tmp/sync-server conn-indicator: ERR: Failed to watch /tmp/sync-server/mesh_dev_list conn-indicator: ERR: Failed to allocate DEV_LIST whc (repacd): ath02.2 already existed, do nothing. conn-indicator: ERR: [file_md5sum] fopen(/tmp/sync-server/mesh_dev_list): No such file or directory json_object_from_file: error reading file /tmp/sync-server/mesh_dev_list: No such file or directory conn-indicator: ERR: [update_devlist] Failed to parse /tmp/sync-server/mesh_dev_list: No such file or directory IPConflict2 mask:24 lan_addr:192.168.68.1 mask_str:255.255.255.0 IPConflict2 mask:24 IPConflict2 old_mask:255.255.255.0 old_ip:192.168.68.1 qos_v2 stop /lib/sync-server/scripts/detect-re:34: error open file failed:/var/run/record_devid /lib/sync-server/scripts/detect-re:34: error open file failed:/tmp/sync-server/mesh_dev_list /lib/sync-server/scripts/detect-re:56: error: record_devid or mesh_dev_list is nil, do nothing [ 4063(lan)] [smartip_update_lanip 632] restart domain_login *****/tmp/ipv6_firewall/op_rule_id file not found, create it.***** ========= MODE: cloud_awn_update begin ========== mode: AP whc (repacd): do __repacd_del_vlan_interfaces network:lan vlan id:1 backhual_iface:plc --------->exiting qos [ 4063(lan)] [smartip_start_process 364] start udhcpd ========= MODE: update awn feature info to cloud ========== whc (repacd): 2g interfaces:, 5g interfaces: whc (repacd): plc interfaces: whc (repacd): do __repacd_del_vlan_interfaces network:lan vlan id:2 backhual_iface:plc whc (repacd): 2g interfaces:, 5g interfaces: whc (repacd): plc interfaces: whc (repacd): set wifi done flag whc (repacd): unlock whc_wifi_config_lock manager permission has been set, no need to set again qos_v2 start timestamp 1647158400 M3.2.0/02:00 timestamp 1667721600 M11.1.0/02:00 GMT+06:00TMG,M3.2.0/02:00,M11.1.0/02:00 /lib/sync-server/scripts/probe:228: error open file failed:/var/run/record_devid /lib/sync-server/scripts/probe:729: to_get_info 80190A3005E668E68ECC07DEE54D33E91E0B80D7 first, clean old record data /lib/sync-server/scripts/probe:733: to_get_info 80190A3005E668E68ECC07DEE54D33E91E0B80D7 /lib/sync-server/scripts/probe:842: to_get_info: ["192.168.68.1","1"] /lib/sync-server/scripts/get-info:84: Total 1 devices need to get info sync_get_info begin() sync_get_compatible_info sync_get_info end() [ 91.920000] Ebtables v2.0 unregistered error open file failed:/var/run/record_devid error open file failed:/var/run/record_op error open file failed:/var/run/record_cfg error open file failed:/var/run/record_component_router_owner error open file failed:/var/run/record_component_router_user error open file failed:/var/run/record_component_ap_owner error open file failed:/var/run/record_component_ap_user error open file failed:/var/run/record_opcode_cfg error open file failed:/var/run/record_devid error open file failed:/tmp/check_dev error open file failed:/var/run/record_component_whole update_compitable_list can't support IOT /lib/sync-server/scripts/get-info:92: Total 1 devices were got info successfully error open file failed:/var/run/lookup_cfg there is no iot fap [ 6318] [init 340] init nds:0x0 [ 6318] [dns_proxy_execFormatCmd 88] cmd: nat del dns error open file failed:/var/run/lookup_op leds: INFO: Switch.on [ 6318] [dns_proxy_execFormatCmd 88] cmd: nat add dns { 192.168.68.1 0.0.0.0 } check_opcode_iot fap has no iot [ 6318] [dns_proxy_execFormatCmd 88] cmd: nat add dns { 0.0.0.0 0.0.0.0 } /lib/sync-server/scripts/get-info:104: Total 1 devices need to get cfg [ 6318] [main 481] init done, now do uloop_run leds: WARN: System time has not been synchronized yet req: {"method":"getDeviceUserInfo","params":{"deviceId":"80190A3005E668E68ECC07DEE54D33E91E0B80D7"}} smart_home_schedule reload_service maclist_smart_home: #### no schedule client found in blacklist config #### Call smart_home_schedule and add it to crontabs start crond... re: -3002 get_deviceUserInfo: request error ======= ERROR: get cloudUserName from cloud failed ====== update_schedule_runtime_file get maclist:[] create "/var/run/schedule_client" append maclist:[] read old_maclist:null old_maclist is nil, just write req: {"method":"getDeviceUserInfo","params":{"deviceId":"80190A3005E668E68ECC07DEE54D33E91E0B80D7"}} guest-eth: guest-eth start vlan_enable:1, vlan_id:591 [ 108.250000] ar8216_read_status:dev[switch0] oldstatus[0] status[32] re: -3002 get_deviceUserInfo: request error ======= ERROR: get cloudUserName from cloud failed ====== mac:28-EE-52-4D-CF-28 role:AP update fap: 28:EE:52:4D:CF:28 req: {"method":"getDeviceUserInfo","params":{"deviceId":"80190A3005E668E68ECC07DEE54D33E91E0B80D7"}} DEBUG:[main:216]: Create child process ok, record the pid in file. qos_v2 start sync_get_cfg begin() sync_get_cfg end() error open file failed:/tmp/merge_cfgs /lib/sync-server/scripts/get-info:106: Total 1 devices were got cfg successfully /lib/sync-server/scripts/get-info:121: merge_cfgs is nil , don't update user_config. Total 1 devices need to update dev list re: -3002 get_deviceUserInfo: request error ======= ERROR: get cloudUserName from cloud failed ====== Total 1 devices were update dev list successfully notify_check_client: current time is 1600435970 client triggers is opened. req: {"method":"getDeviceUserInfo","params":{"deviceId":"80190A3005E668E68ECC07DEE54D33E91E0B80D7"}} re: -3002 get_deviceUserInfo: request error ======= ERROR: get cloudUserName from cloud failed ======


U-Boot 1.1.4 (Sep 18 2020 - 21:22:11) ap152 - Dragonfly 1.0DRAM: sri ath_ddr_initial_config(278): (ddr2 init) ath_sys_frequency: cpu 775 ddr 650 ahb 258 Tap values = (0xf, 0xf, 0xf, 0xf) 128 MB Top of RAM usable for U-Boot at: 88000000 Reserving 492k for U-Boot at: 87f84000 Reserving 192k for malloc() at: 87f54000 Reserving 44 Bytes for Board Info at: 87f53fd4 Reserving 36 Bytes for Global Data at: 87f53fb0 Reserving 128k for boot params() at: 87f33fb0 Stack Pointer at: 87f33f98 Now running in RAM - U-Boot at: 87f84000 Flash Manuf Id 0x1c, DeviceId0 0x70, DeviceId1 0x18 flash size 16MB, sector count = 256 Flash: 16 MB *** Warning - bad CRC, using default environment Power up PLL with outdiv = 0 then switch to 3 In: serial Out: serial Err: serial Reading Partition Table from NVRAM ... OK Parsing Partition Table ... OK [NM_Error](nm_api_checkDefaultMac) 00483: mac[6C-5A-B0-XX-XX-XX] factory boot check kernel ok. Autobooting in 1 seconds Net: No valid address in Flash. Using fixed address athr_mgmt_init ::done Dragonfly ----> S17 PHY * athrs17_reg_init: complete SGMII in forced mode athr_gmac_sgmii_setup SGMII done : cfg1 0x80000000 cfg2 0x7114 eth0: 00:03:7f:XX:XX:XX eth0 up eth0 Setting 0x181162c0 to 0x4b962100 ath> setenv serverip 192.168.0.2 ath> setenv ipaddr 192.168.0.1 ath> tftpboot 0x82000000 initramfs-kernel.bin Trying eth0 Using eth0 device TFTP from server 192.168.0.2; our IP address is 192.168.0.1 Filename 'initramfs-kernel.bin'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################################### done Bytes transferred = 5624360 (55d228 hex) ath> bootm 0x82000000 ## Booting image at 82000000 ... Image Name: MIPS OpenWrt Linux-5.15.150 Created: 2024-03-22 22:09:42 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 5624296 Bytes = 5.4 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x82000040 ...OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80060000) ... ## Giving linux memsize in bytes, 134217728 Starting kernel ... [ 0.000000] Linux version 5.15.150 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Fri Mar 22 22:09:42 2024 [ 0.000000] printk: bootconsole [early0] enabledtr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unche [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)d. [ 0.000000] MIPS: machine is TP-Link Deco S4 v2not been fully initialized yet [ 0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0 [ 0.000000] Initrd not found or empty - disabling initrd. [ 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] Zone ranges:ly - [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120824K/131072K available (6082K kernel code, 597K rwdata, 780K rodata, 1236K init, 216K bss, 10248K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] CPU clock: 775.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns [ 0.000001] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns [ 0.008289] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.074815] pid_max: default: 32768 minimum: 301 [ 0.080508] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.088242] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.102089] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.112502] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.119855] pinctrl core: initialized pinctrl subsystem [ 0.127077] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.133870] thermal_sys: Registered thermal governor 'step_wise' [ 0.144744] clocksource: Switched to clocksource MIPS [ 0.157747] NET: Registered PF_INET protocol family [ 0.163122] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.171647] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.180632] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.188819] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.196915] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.204351] TCP: Hash tables configured (established 1024 bind 1024) [ 0.211208] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.218166] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.225927] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.231937] PCI: CLS 0 bytes, default 32 [ 0.239287] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.250731] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.256950] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.268549] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.279919] pinctrl-single 1804002c.pinmux: 544 pins, size 68 [ 0.287167] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.296311] printk: console [ttyS0] disabled [ 0.300880] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A [ 0.310028] printk: console [ttyS0] enabled [ 0.319089] printk: bootconsole [early0] disabled [ 0.346503] spi-nor spi0.0: XM25QH128A (16384 Kbytes) [ 0.351819] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.358482] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions [ 0.365369] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions [ 0.372449] Creating 5 MTD partitions on "spi0.0": [ 0.377456] 0x000000000000-0x000000080000 : "u-boot" [ 0.386768] 0x000000080000-0x000000085000 : "product-info" [ 0.393376] 0x000000085000-0x0000001f0000 : "config" [ 0.401133] 0x0000001f0000-0x000000200000 : "art" [ 0.407021] 0x000000200000-0x000001000000 : "firmware" [ 0.414983] 2 uimage-fw partitions found on MTD device firmware [ 0.421118] Creating 2 MTD partitions on "firmware": [ 0.426276] 0x000000000000-0x0000002390c1 : "kernel" [ 0.431401] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only [ 0.440924] 0x0000002390c1-0x000000e00000 : "rootfs" [ 0.446116] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only [ 0.457962] mtd: setting mtd6 (rootfs) as root device [ 0.463286] 1 squashfs-split partitions found on MTD device rootfs [ 0.469751] 0x000000650000-0x000000e00000 : "rootfs_data" [ 0.486071] ag71xx 19000000.eth: invalid MAC address, using random address [ 1.168843] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0 [ 1.826352] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] [ 1.837671] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii [ 1.844459] i2c_dev: i2c /dev entries driver [ 1.851145] NET: Registered PF_INET6 protocol family [ 1.865843] Segment Routing with IPv6 [ 1.869707] In-situ OAM (IOAM) with IPv6 [ 1.873882] NET: Registered PF_PACKET protocol family [ 1.879264] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.892946] 8021q: 802.1Q VLAN Support v1.8 [ 1.898574] PCI host bridge to bus 0000:00 [ 1.902826] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff] [ 1.909980] pci_bus 0000:00: root bus resource [io 0x0000] [ 1.915754] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.923978] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000 [ 1.930231] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit] [ 1.937377] pci 0000:00:00.0: PME# supported from D0 D3hot [ 1.943892] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 1.950790] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] [ 1.969238] VFS: Mounted root (squashfs filesystem) readonly on device 31:6. [ 1.983215] Freeing unused kernel image (initmem) memory: 1236K [ 1.989374] This architecture does not have kernel memory protection. [ 1.996041] Run /sbin/init as init process [ 2.000268] with arguments: [ 2.000272] /sbin/init [ 2.000277] with environment: [ 2.000281] HOME=/ [ 2.000285] TERM=linux [ 2.627553] init: Console is alive [ 2.631569] init: - watchdog - [ 3.983287] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.057898] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.075894] init: - preinit - [ 5.641921] random: jshn: uninitialized urandom read (4 bytes read) [ 5.818643] random: jshn: uninitialized urandom read (4 bytes read) [ 5.997793] random: jshn: uninitialized urandom read (4 bytes read) [ 7.237797] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 3 is up [ 7.245852] eth0: link up (1000Mbps/Full duplex) [ 7.262771] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.279045] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 7.292123] random: procd: uninitialized urandom read (4 bytes read) [ 9.539844] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000 [ 9.552369] jffs2_build_filesystem(): unlocking the mtd device... [ 9.552385] done. [ 9.560770] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 34.855851] done. [ 34.865609] jffs2: notice: (420) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 34.883096] mount_root: overlay filesystem has not been fully initialized yet [ 34.898744] mount_root: switching to jffs2 overlay [ 34.906372] overlayfs: upper fs does not support tmpfile. [ 35.415242] urandom-seed: Seed file not found (/etc/urandom.seed) [ 35.486584] eth0: link down [ 35.509401] procd: - early - [ 35.512699] procd: - watchdog - [ 36.261652] procd: - watchdog - [ 36.265327] procd: - ubus - [ 36.365521] random: ubusd: uninitialized urandom read (4 bytes read) [ 36.374836] random: ubusd: uninitialized urandom read (4 bytes read) [ 36.381882] random: ubusd: uninitialized urandom read (4 bytes read) [ 36.392071] procd: - init - [ 37.397879] kmodloader: loading kernel modules from /etc/modules.d/* [ 37.947884] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b [ 37.955691] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36 [ 38.451855] PPP generic driver version 2.4.2 [ 38.459788] NET: Registered PF_PPPOX protocol family [ 38.527686] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x56. [ 38.546018] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002) [ 38.552782] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 [ 39.425146] urngd: v1.0.2 started. [ 41.184902] random: crng init done [ 41.188433] random: 27 urandom warning(s) missed due to ratelimiting [ 43.032284] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000 [ 43.041863] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0 [ 43.061107] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 59e741e7 [ 43.393662] ath10k_pci 0000:00:00.0: Loading BDF type 0 [ 43.407269] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:24 crc32 ae4cbea5 [ 45.182342] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96 [ 45.190143] ath10k_pci 0000:00:00.0: msdu-desc: 2500 skid: 32 [ 45.240180] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 45.251504] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508' [ 45.487425] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1 [ 45.598340] ath: EEPROM regdomain: 0x0 [ 45.598360] ath: EEPROM indicates default country code should be used [ 45.598365] ath: doing EEPROM country->regdmn map search [ 45.598378] ath: country maps to regdmn code: 0x3a [ 45.598385] ath: Country alpha2 being used: US [ 45.598391] ath: Regpair used: 0x3a [ 45.675480] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2 [ 45.686158] ath9k 18100000.wmac: Falling back to sysfs fallback for: ath9k-eeprom-ahb-18100000.wmac.bin [ 46.965310] ath: EEPROM regdomain: 0x0 [ 46.965333] ath: EEPROM indicates default country code should be used [ 46.965339] ath: doing EEPROM country->regdmn map search [ 46.965352] ath: country maps to regdmn code: 0x3a [ 46.965359] ath: Country alpha2 being used: US [ 46.965365] ath: Regpair used: 0x3a [ 46.976474] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 46.978391] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2 [ 47.017786] kmodloader: done loading kernel modules from /etc/modules.d/* [ 66.539552] eth0: link up (1000Mbps/Full duplex) [ 66.544367] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 66.571438] br-lan: port 1(eth0.1) entered blocking state [ 66.577095] br-lan: port 1(eth0.1) entered disabled state [ 66.582950] device eth0.1 entered promiscuous mode [ 66.587950] device eth0 entered promiscuous mode [ 66.612995] br-lan: port 1(eth0.1) entered blocking state [ 66.618645] br-lan: port 1(eth0.1) entered forwarding state [ 67.573777] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 72.871726] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96 [ 72.879527] ath10k_pci 0000:00:00.0: msdu-desc: 2500 skid: 32 [ 72.929561] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0' [ 72.940888] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508' [ 73.254876] ath10k_pci 0000:00:00.0: rts threshold -1 [ 73.260997] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4 [ 73.869922] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000 [ 76.916706] phy0-sta0: authenticate with fa:5e:42:be:b4:2b [ 77.138125] phy0-sta0: send auth to fa:5e:42:be:b4:2b (try 1/3) [ 77.145317] phy0-sta0: authenticated [ 77.184813] phy0-sta0: associate with fa:5e:42:be:b4:2b (try 1/3) [ 77.205748] phy0-sta0: RX AssocResp from fa:5e:42:be:b4:2b (capab=0x1011 status=0 aid=16) [ 77.229847] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware [ 77.237131] ath10k_pci 0000:00:00.0: failed to enable peer stats info: -122 [ 77.251486] phy0-sta0: associated [ 77.277630] ath10k_pci 0000:00:00.0: Invalid peer id 0 or peer stats buffer, peer: 00000000 sta: 00000000 [ 77.288540] phy0-sta0: Limiting TX power to 30 (30 - 0) dBm as advertised by fa:5e:42:be:b4:2b [ 77.648658] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-sta0: link becomes ready


FIXME Add tags below, then remove this fixme.

How to add tags

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/04/06 16:36
  • by naf