Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:d-link:covr-p2500_a1 [2023/05/24 19:36] – [Photos] jokujossaiinbox:toh:d-link:covr-p2500_a1 [2023/11/23 17:12] – [D-Link COVR-P2500 A1] jokujossai
Line 1: Line 1:
 ====== D-Link COVR-P2500 A1====== ====== D-Link COVR-P2500 A1======
 ~~NOTOC~~ ~~NOTOC~~
- 
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */ 
- 
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} 
  
 The D-Link COVR-P2500 A1 is a AC1200 dual band wireless access point with wired Ethernet, Wi-Fi and PowerLine interfaces. It is basically a standard router with a Homeplug AV2 Powerline Communication (PLC) interface connected internally to one of the Ethernet switch ports.  The D-Link COVR-P2500 A1 is a AC1200 dual band wireless access point with wired Ethernet, Wi-Fi and PowerLine interfaces. It is basically a standard router with a Homeplug AV2 Powerline Communication (PLC) interface connected internally to one of the Ethernet switch ports. 
Line 49: Line 45:
 ===== Hardware highlights ===== ===== Hardware highlights =====
 ---- datatable ---- ---- datatable ----
-cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet 1Gbit ports_, Modem, USB ports_ 
-header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB+header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,1Gbit ports,Modem,USB
 align   : c,c,c,c,c,c,c,c,c,c,c,c,c align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 filter  : Brand=D-Link filter  : Brand=D-Link
Line 68: Line 64:
 filter  : Version=A1 filter  : Version=A1
 ---- ----
 +
 +==== OEM easy installation ====
 +
 +  - Obtain *squashfs-factory.bin [[https://github.com/jokujossai/openwrt_covr_p2500/releases|openwrt_covr_p2500 releases]]
 +  - Flash with OEM firware upgrade
 +  - After installation finished reset factory defaults by holding reset button until red led blinks (~10 seconds)
  
  
Line 75: Line 77:
   - Flash with [[docs:guide-user:installation:installation_methods:d-link_recovery_gui|D-Link Recovery GUI]].   - Flash with [[docs:guide-user:installation:installation_methods:d-link_recovery_gui|D-Link Recovery GUI]].
     - The IP address of the Recovery UI is 192.168.0.50.     - The IP address of the Recovery UI is 192.168.0.50.
-    - Uploading does not work with modern operating systems, use dlink_recovery_upload.py script (Linux and Windows 10 version 1703 or newer)+    - Uploading does not work with modern operating systems, use [[#dlink_recovery_uploadpy|dlink_recovery_upload.py]] script (supported on Linux, MacOS and Windows 10 version 1703 or newer)
  
-==== Failsafe mode insallation ====+=== dlink_recovery_upload.py === 
 +<WRAP bootlog> 
 +<nowiki>#!/usr/bin/env python3 
 +# SPDX-License-Identifier: MIT 
 +
 +#   D-Link COVR-P2500 flash utility 
 +
 +#   Upload firmware to the device with waiting for ACK after each TCP packet. 
 +
 +#   Copyright (C) 2023 Daniel Linjama <daniel@dev.linjama.com> 
 +
 +#   Permission is hereby granted, free of charge, to any person obtaining a copy of 
 +#   this software and associated documentation files (the “Software”), to deal in the 
 +#   Software without restriction, including without limitation the rights to use, copy, 
 +#   modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, 
 +#   and to permit persons to whom the Software is furnished to do so, subject to the 
 +#   following conditions: 
 +
 +#   The above copyright notice and this permission notice shall be included in all 
 +#   copies or substantial portions of the Software. 
 +
 +#   THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
 +#   INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
 +#   PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
 +#   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 
 +#   OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
 +#   SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
 + 
 + 
 +import argparse 
 +import ctypes 
 +import ctypes.wintypes 
 +import os 
 +import random 
 +import socket 
 +import sys 
 +import time 
 + 
 +BUFFER_SIZE = 512 
 +ACK_TIMEOUT = 10 
 + 
 + 
 +if sys.platform in ("linux", "linux2"): 
 +    class TCP_INFO(ctypes.Structure): 
 +        """ 
 +        tcp_info structure (https://sourceware.org/git?p=glibc.git;a=blob_plain;f=sysdeps/gnu/netinet/tcp.h;hb=HEAD) 
 + 
 +        struct tcp_info 
 +        { 
 +            uint8_t     tcpi_state; 
 +            uint8_t     tcpi_ca_state; 
 +            uint8_t     tcpi_retransmits; 
 +            uint8_t     tcpi_probes; 
 +            uint8_t     tcpi_backoff; 
 +            uint8_t     tcpi_options; 
 +            uint8_t     tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; 
 + 
 +            uint32_t    tcpi_rto; 
 +            uint32_t    tcpi_ato; 
 +            uint32_t    tcpi_snd_mss; 
 +            uint32_t    tcpi_rcv_mss; 
 + 
 +            uint32_t    tcpi_unacked; 
 +            uint32_t    tcpi_sacked; 
 +            uint32_t    tcpi_lost; 
 +            uint32_t    tcpi_retrans; 
 +            uint32_t    tcpi_fackets; 
 + 
 +            /* Times. */ 
 +            uint32_t    tcpi_last_data_sent; 
 +            uint32_t    tcpi_last_ack_sent; /* Not remembered, sorry.  */ 
 +            uint32_t    tcpi_last_data_recv; 
 +            uint32_t    tcpi_last_ack_recv; 
 + 
 +            /* Metrics. */ 
 +            uint32_t    tcpi_pmtu; 
 +            uint32_t    tcpi_rcv_ssthresh; 
 +            uint32_t    tcpi_rtt; 
 +            uint32_t    tcpi_rttvar; 
 +            uint32_t    tcpi_snd_ssthresh; 
 +            uint32_t    tcpi_snd_cwnd; 
 +            uint32_t    tcpi_advmss; 
 +            uint32_t    tcpi_reordering; 
 + 
 +            uint32_t    tcpi_rcv_rtt; 
 +            uint32_t    tcpi_rcv_space; 
 + 
 +            uint32_t    tcpi_total_retrans; 
 +        }; 
 +        """ 
 +        _fields_ = [ 
 +            ("tcpi_state", ctypes.c_uint8), 
 +            ("tcpi_ca_state", ctypes.c_uint8), 
 +            ("tcpi_retransmits", ctypes.c_uint8), 
 +            ("tcpi_probes", ctypes.c_uint8), 
 +            ("tcpi_backoff", ctypes.c_uint8), 
 +            ("tcpi_options", ctypes.c_uint8), 
 +            ("tcpi_snd_wscale", ctypes.c_uint8, 4), 
 +            ("tcpi_rcv_wscale", ctypes.c_uint8, 4), 
 + 
 +            ("tcpi_rto", ctypes.c_uint32), 
 +            ("tcpi_ato", ctypes.c_uint32), 
 +            ("tcpi_snd_mss", ctypes.c_uint32), 
 +            ("tcpi_rcv_mss", ctypes.c_uint32), 
 + 
 +            ("tcpi_unacked", ctypes.c_uint32), 
 +            ("tcpi_sacked", ctypes.c_uint32), 
 +            ("tcpi_lost", ctypes.c_uint32), 
 +            ("tcpi_retrans", ctypes.c_uint32), 
 +            ("tcpi_fackets", ctypes.c_uint32), 
 + 
 +            ("tcpi_last_data_sent", ctypes.c_uint32), 
 +            ("tcpi_last_ack_sent", ctypes.c_uint32), 
 +            ("tcpi_last_data_recv", ctypes.c_uint32), 
 +            ("tcpi_last_ack_recv", ctypes.c_uint32), 
 + 
 +            ("tcpi_pmtu", ctypes.c_uint32), 
 +            ("tcpi_rcv_ssthresh", ctypes.c_uint32), 
 +            ("tcpi_rtt", ctypes.c_uint32), 
 +            ("tcpi_rttvar", ctypes.c_uint32), 
 +            ("tcpi_snd_ssthresh", ctypes.c_uint32), 
 +            ("tcpi_snd_cwnd", ctypes.c_uint32), 
 +            ("tcpi_advmss", ctypes.c_uint32), 
 +            ("tcpi_reordering", ctypes.c_uint32), 
 + 
 +            ("tcpi_rcv_rtt", ctypes.c_uint32), 
 +            ("tcpi_rcv_space", ctypes.c_uint32), 
 + 
 +            ("tcpi_total_retrans", ctypes.c_uint32), 
 +        ] 
 + 
 +    def wait_ack(s: socket.socket): 
 +        """ 
 +        Linux compatible wait_ack implementation. 
 + 
 +        Waits until tcp_info.tcpi_unacked is zero. 
 + 
 +        :param socket.socket s: The socket to check for unacked TCP packets 
 +        :raises RuntimeError: if ACK_TIMEOUT exceeded 
 +        """ 
 +        timeout = time.time() + ACK_TIMEOUT 
 +        unacked = 1 
 +        while unacked > 0: 
 +            # Check timeout 
 +            if time.time() > timeout: 
 +                raise RuntimeError("ACK timeout"
 + 
 +            # Fetch tcp_info 
 +            tcp_info = TCP_INFO.from_buffer_copy( 
 +                s.getsockopt( 
 +                    socket.IPPROTO_TCP, 
 +                    socket.TCP_INFO, 
 +                    ctypes.sizeof(TCP_INFO) 
 +                ) 
 +            ) 
 + 
 +            unacked = tcp_info.tcpi_unacked 
 +elif sys.platform == "win32": 
 +    class TCP_INFO_v0(ctypes.Structure): 
 +        """ 
 +        TCP_INFO_v0 structure (https://learn.microsoft.com/en-us/windows/desktop/api/mstcpip/ns-mstcpip-tcp_info_v0) 
 + 
 +        Minimum supported client Windows 10, version 1703 [desktop apps only] 
 +        Minimum supported server Windows Server 2016 [desktop apps only] 
 + 
 +        typedef struct _TCP_INFO_v0 { 
 +            TCPSTATE State; 
 +            ULONG    Mss; 
 +            ULONG64  ConnectionTimeMs; 
 +            BOOLEAN  TimestampsEnabled; 
 +            ULONG    RttUs; 
 +            ULONG    MinRttUs; 
 +            ULONG    BytesInFlight; 
 +            ULONG    Cwnd; 
 +            ULONG    SndWnd; 
 +            ULONG    RcvWnd; 
 +            ULONG    RcvBuf; 
 +            ULONG64  BytesOut; 
 +            ULONG64  BytesIn; 
 +            ULONG    BytesReordered; 
 +            ULONG    BytesRetrans; 
 +            ULONG    FastRetrans; 
 +            ULONG    DupAcksIn; 
 +            ULONG    TimeoutEpisodes; 
 +            UCHAR    SynRetrans; 
 +        } TCP_INFO_v0, *PTCP_INFO_v0; 
 +        """ 
 +        _fields_ = [ 
 +            ("State", ctypes.c_int), 
 +            ("Mss", ctypes.wintypes.ULONG), 
 +            ("ConnectionTimeMs", ctypes.c_uint64), 
 +            ("TimestampsEnabled", ctypes.wintypes.BOOLEAN), 
 +            ("RttUs", ctypes.wintypes.ULONG), 
 +            ("MinRttUs", ctypes.wintypes.ULONG), 
 +            ("BytesInFlight", ctypes.wintypes.ULONG), 
 +            ("Cwnd", ctypes.wintypes.ULONG), 
 +            ("SndWnd", ctypes.wintypes.ULONG), 
 +            ("RcvWnd", ctypes.wintypes.ULONG), 
 +            ("RcvBuf", ctypes.wintypes.ULONG), 
 +            ("BytesOut", ctypes.c_uint64), 
 +            ("BytesIn", ctypes.c_uint64), 
 +            ("BytesReordered", ctypes.wintypes.ULONG), 
 +            ("BytesRetrans", ctypes.wintypes.ULONG), 
 +            ("FastRetrans", ctypes.wintypes.ULONG), 
 +            ("DupAcksIn", ctypes.wintypes.ULONG), 
 +            ("TimeoutEpisodes", ctypes.wintypes.ULONG), 
 +            ("SynRetrans", ctypes.c_uint8), 
 +        ] 
 + 
 +    # WSAIoctl function (https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsaioctl) 
 +    WSAIoctl_Fn = ctypes.windll.ws2_32.WSAIoctl 
 +    WSAIoctl_Fn.argtypes = [ 
 +        ctypes.c_void_p,                            # [in]  SOCKET 
 +        ctypes.wintypes.DWORD,                      # [in]  DWORD   dwIoControlCode 
 +        ctypes.c_void_p,                            # [in]  LPVOID  lpvInBuffer 
 +        ctypes.wintypes.DWORD,                      # [in]  DWORD   cbInBuffer 
 +        ctypes.c_void_p,                            # [out] LPVOID  lpvOutBuffer 
 +        ctypes.wintypes.DWORD,                      # [in]  DWORD   cbOutBuffer 
 +        ctypes.POINTER(ctypes.wintypes.DWORD),      # [out] LPWORD  lpcbBytesReturned 
 +        ctypes.c_void_p,                            # [in]  LPWSAOVERLAPPED lpOverlapped 
 +        ctypes.c_void_p,                            # [in]  LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine 
 +    ] 
 +    WSAIoctl_Fn.restype = ctypes.c_int              # int 
 + 
 +    def wait_ack(s: socket.socket): 
 +        """ 
 +        Windows compatible wait_ack implementation. 
 + 
 +        Waits until TCP_INFO_v0.BytesInFlight is zero. 
 +        Raises RuntimeError if ACK_TIMEOUT exceeded 
 +        """ 
 +        timeout = time.time() + ACK_TIMEOUT 
 + 
 +        sockfd = ctypes.c_void_p(s.fileno()) 
 +        # SIO_TCP_INFO 
 +        dwIoControlCode = ctypes.wintypes.DWORD( 
 +            1 << 31 # IOC_IN 
 +            | 
 +            1 << 30 # IOC_OUT 
 +            | 
 +            3 << 27 # IOC_VENDOR? 
 +            | 
 +            39 
 +        ) 
 +        infoVersion = ctypes.wintypes.DWORD(0) 
 +        tcpinfo = TCP_INFO_v0() 
 +        bytesReturned = ctypes.wintypes.DWORD(0) 
 + 
 +        unacked = 1 
 +        while unacked > 0: 
 +            # Check timeout 
 +            if time.time() > timeout: 
 +                raise RuntimeError("ACK timeout"
 + 
 +            # Fetch TCP_INFO_v0 
 +            res = WSAIoctl_Fn( 
 +                sockfd, 
 +                dwIoControlCode, 
 +                ctypes.pointer(infoVersion), 
 +                ctypes.wintypes.DWORD(ctypes.sizeof(infoVersion)), 
 +                ctypes.pointer(tcpinfo), 
 +                ctypes.wintypes.DWORD(ctypes.sizeof(tcpinfo)), 
 +                ctypes.pointer(bytesReturned), 
 +                None, 
 +                None 
 +            ) 
 +            assert res == 0 
 + 
 +            unacked = tcpinfo.BytesInFlight 
 +elif sys.platform == "darwin": 
 +    """ 
 +    SO_NWRITE returns the amount of data in the output buffer not yet sent by the protocol. 
 + 
 +    /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/sys/socket.h 
 +    #define SO_NWRITE       0x1024          /* APPLE: Get number of bytes currently in send socket buffer */ 
 +    """ 
 +    SO_NWRITE = 0x1024 
 + 
 +    def wait_ack(s: socket.socket): 
 +        """ 
 +        MacOS compatible wait_ack implementation. 
 + 
 +        Waits until SO_NWRITE is zero 
 + 
 +        :param socket.socket s: The socket to check for unacked TCP packets 
 +        :raises RuntimeError: if ACK_TIMEOUT exceeded 
 +        """ 
 +        timeout = time.time() + ACK_TIMEOUT 
 +        unacked = 1 
 +        while unacked > 0: 
 +            # Check timeout 
 +            if time.time() > timeout: 
 +                raise RuntimeError("ACK timeout"
 + 
 +            # Fecth SO_NWRITE 
 +            unacked = s.getsockopt( 
 +                socket.SOL_SOCKET, 
 +                SO_NWRITE 
 +            ) 
 +else: 
 +    raise RuntimeError("Unsupported sys.platform"
 + 
 + 
 +def upload(firmware, host="192.168.0.50", port=80, path="/upgrade.cgi"): 
 +    """ 
 +    Upload firmware to router 
 + 
 +    :param str firmware: Firmware file path 
 +    """ 
 + 
 +    assert os.path.isfile(firmware), f"File not found: firmware" 
 +    # File size for Content-Length calculation 
 +    fsize = os.stat(firmware).st_size 
 + 
 +    # Connect to router with TCP_NODELAY 
 +    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 
 +    s.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) 
 +    s.connect((host, port)) 
 + 
 +    print(f"Connection established to {host}:{port}"
 + 
 +    # Values for headers 
 +    boundary = "---------------------------"+random.randbytes(6).hex()[:-1] 
 +    content_disposition = 'Content-Disposition: form-data; name="firmware"; filename="firmware.bin"' 
 +    content_type = 'Content-Type: application/octet-stream' 
 +    newline = "\r\n" 
 + 
 +    # Calculate HTTP Content-Length 
 +    content_length = ( 
 +        2+len(boundary)+len(newline) 
 +        +len(content_disposition)+len(newline) 
 +        +len(content_type)+len(newline) 
 +        +len(newline) 
 +        +fsize+len(newline) 
 +        +2+len(boundary)+2+len(newline) 
 +    ) 
 + 
 +    # Send HTTP headers 
 +    buffer = """POST {} HTTP/1.1 
 +Host: {} 
 +Content-Length: {} 
 +Content-Type: multipart/form-data; boundary={} 
 +Connection: Keep-Alive 
 + 
 +""".format(path, host, content_length, boundary).replace("\n", "\r\n").encode() 
 +    s.send(buffer) 
 +    wait_ack(s) 
 + 
 +    # Send multipart encapsulation boundary and headers 
 +    buffer = """--{} 
 +{} 
 +{} 
 + 
 +""".format(boundary, content_disposition, content_type).replace("\n", "\r\n").encode() 
 +    s.send(buffer) 
 +    wait_ack(s) 
 + 
 +    # Send firmware 
 +    print("If the upload gets stuck, turn off the device and try again"
 +    sent_bytes = 0 
 +    with open(firmware, "rb") as fh: 
 +        while True: 
 +            buffer = fh.read(BUFFER_SIZE) 
 +            if buffer == b"": 
 +                break 
 +            s.send(buffer) 
 +            wait_ack(s) 
 +            sent_bytes += len(buffer) 
 +            print("Uploading {}/{}".format(sent_bytes, fsize), end="\r"
 +            #sys.exit(1) 
 + 
 +    # Send ending boundary 
 +    buffer = """ 
 +--{}-- 
 +""".format(boundary).replace("\n", "\r\n").encode() 
 +    s.send(buffer) 
 +    wait_ack(s) 
 + 
 +    print() 
 +    print("Firmware uploaded successfully"
 + 
 +    # Print response 
 +    response = s.recv(4096).decode() 
 +    print(response) 
 +    # Check response contains "Upgrade successfully!" 
 +    assert "Upgrade successfully!" in response 
 + 
 +    # Wait some time before closing socket 
 +    time.sleep(1) 
 +    s.close() 
 + 
 +    # COVR-P2500 firmwares logic 
 +    # Increase percentage value every 2200ms and after 100% show ready message 
 +    percent = 1 
 +    while percent <= 100: 
 +        print(f"Device is upgrading the firmware... {percent}%", end='\r'
 +        percent += 1 
 +        time.sleep(2.2) 
 +    print("Upgrade should now be successfully finished."
 + 
 + 
 +if __name__ == "__main__": 
 +    parser = argparse.ArgumentParser( 
 +        description="D-Link COVR-P2500 flash utility", 
 +        epilog="(C) 2023 Daniel Linjama" 
 +    ) 
 +    parser.add_argument("firmware", type=str, help="Firmware file to upload"
 +    parser.add_argument("--host", type=str, default="192.168.0.50", help="Router IP address (default: 192.168.0.50)"
 +    parser.add_argument("--port", type=int, default=80, help="Router HTTP port (default: 80)"
 +    parser.add_argument("--path", type=str, default="/upgrade.cgi", help="HTTP path for firmware upgrade (default: /upgrade.cgi)"
 + 
 +    args = parser.parse_args() 
 + 
 +    upload(args.firmware, args.host, args.port, args.path) 
 +</nowiki> 
 +</WRAP>\\ 
 + 
 +==== Reverting to stock ==== 
 + 
 +  - Obtain unencrypted version of original firmware or decrypt with [[https://github.com/0xricksanchez/dlink-decrypt|dlink-decrypt]] 
 +  - Flash with [[docs:guide-user:installation:installation_methods:d-link_recovery_gui|D-Link Recovery GUI]]. 
 +    - The IP address of the Recovery UI is 192.168.0.50. 
 +    - Uploading does not work with modern operating systems, use [[#dlink_recovery_uploadpy|dlink_recovery_upload.py]] script (supported on Linux, MacOS and Windows 10 version 1703 or newer) 
 +==== Failsafe mode installation ====
  
-**NOTE! Only for stock firmware. OpenWRT has different flash layout**+**NOTE! Only use this method with stock firmware. OpenWRT has different flash layout**
  
   - Obtain *squashfs-recovery.bin [[https://github.com/jokujossai/openwrt_covr_p2500/releases|openwrt_covr_p2500 releases]]   - Obtain *squashfs-recovery.bin [[https://github.com/jokujossai/openwrt_covr_p2500/releases|openwrt_covr_p2500 releases]]
Line 98: Line 523:
 [[docs:guide-user:troubleshooting:failsafe_and_factory_reset]] [[docs:guide-user:troubleshooting:failsafe_and_factory_reset]]
  
-WIP+=== With OpenWRT firmware === 
 +  - Power on the device 
 +  - Wait until the power led color turns green 
 +  - Press the WPS button every 1 second until the power led starts blinking red  
 +  - Access device with "telnet 192.168.1.1"
  
 === With stock firmware === === With stock firmware ===
Line 147: Line 576:
 ***/ ***/
  
 +
 +===== Specific Configuration =====
 +
 +==== Network interfaces ====
 +The default network configuration is:
 +^ Interface Name   ^ Description                                ^ Default configuration    ^
 +| br-lan           | LAN & WiFi                                 | 192.168.1.1/24           |
 +| vlan1 (eth0.1)   | LAN Ports (1,2)                            | None                     |
 +| vlan2 (eth0.2)   | WAN Port (3)                               | DHCP                     |
 +| vlan3 (eth0.3    | PLC Port (4)                               | None                     |
 +| wlan0            | WiFi 5 GHz                                 | Disabled                 |
 +| wlan1            | WiFi 2.4 GHz                               | Disabled                 |
 +
 +==== Switch Ports (for VLANs) ====
 +
 +^ Port              ^ Switch port ^
 +| CPU               | 0           |
 +| LAN 1             | 1           |
 +| LAN 2             | 2           |
 +| WAN               | 3           |
 +| PLC               | 4           |
 +
 +==== Powerline configuration ====
 +
 +Powerline interface needs ''plchost'' daemon to work. PLC packages are installed by default but ''plchost'' requires also ''.nvm'' and ''.pib'' files to work. These files can be extracted from [[http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;|original decrypted firmware]] and [[#etcinitdplc|/etc/init.d/plc]] service handles running ''plchost'' automatically.
 +
 +''plchost'' does not work if PLC device is added to ''br-lan'' bridge before connection is established. ''plc'' service bypasses this limitation by waiting PLC connection to be established before adding ''eth0.3'' to ''br-lan''.
 +
 +=== Powerline Quick Setup ===
 +
 +1. Add file [[#etcinitdplc|/etc/init.d/plc]] to device and make executable ''chmod +x /etc/init.d/plc''
 +
 +2. Make plc configuration kept on sysupgrade by creating file ''/lib/upgrade/keep.d/plc'' with following contents
 +
 +  /etc/plc
 +  /etc/init.d/plc
 +  /lib/upgrade/keep.d/plc
 +
 +3. Install ''unsquashfs'' tool for extracting files from original firmware ''opkg install squashfs-tools-unsquashfs''
 +
 +4. Install open-plc packages ''opkg install open-plc-utils open-plc-utils-hpavkey open-plc-utils-modpib open-plc-utils-plchost open-plc-utils-plctool''
 +
 +5. (Optional) Download ''QCA75XX-2.10.0.0032_modules_5-6_stripped.nvm'' (https://community.tp-link.com/us/home/forum/topic/204234) to /etc/plc directory
 +
 +6. Run setup tool ''/etc/init.d/plc setup''
 +
 +<hidden Setup example>
 +<code>
 +root@covrp2500_1:/# /etc/init.d/plc setup
 +Download original firmware and extract files from /lib/plc to /etc/plc [y|n] y
 +Downloading 'http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;'
 +Connecting to 60.248.210.49:80
 +Writing to 'COVRP2500A1_FW101b08_decrypted.bin'
 +COVRP2500A1_FW101b08 15460k --:--:-- ETA
 +Download completed (15990457 bytes)
 +Parallel unsquashfs: Using 1 processor
 +4 inodes (6 blocks) to write
 +
 +[===================================================================|] 6/6 100%
 +
 +created 4 files
 +created 3 directories
 +created 0 symlinks
 +created 0 devices
 +created 0 fifos
 +created 0 sockets
 +1) /etc/plc/COVRP2500AVA1_PIB100EU_WM.pib
 +2) /etc/plc/COVRP2500AVA1_PIB100NA_WM.pib
 +3) /etc/plc/COVRP2500AVA1_PIB100SG_WM.pib
 +Select PibPath [1-3]: 1
 +1) /etc/plc/MAC-7500-v2.2.2-03-X-CS.nvm
 +2) /etc/plc/QCA7500-2.10.0032_modules_5-6_stripped.nvm
 +Select NvmPath [1-2]: 2
 +NetworkPasswd (leave empty to use default plc_networkpwd): SomePassword
 +Enable plc [0-1]: 1
 +Automatically add to br-lan bridge [0-1]: 1
 +root@covrp2500_1:/# /etc/init.d/plc start
 +root@covrp2500_1:/# brctl show br-lan
 +bridge name     bridge id               STP enabled     interfaces
 +br-lan          7fff.xxxxxxxxxxxx       no              eth0.3
 +                                                        eth0.1
 +root@covrp2500_1:/# plctool -i br-lan -m
 +br-lan 00:B0:52:00:00:01 Fetch Network Information
 +br-lan XX:XX:XX:XX:XX:XX Found 1 Network(s)
 +
 +source address = XX:XX:XX:XX:XX:XX
 +
 + network->NID = XX:XX:XX:XX:XX:XX:XX
 + network->SNID = 14
 + network->TEI = 1
 + network->ROLE = 0x00 (STA)
 + network->CCO_DA = XX:XX:XX:XX:XX:XX
 + network->CCO_TEI = 3
 + network->STATIONS = 1
 +
 + station->MAC = XX:XX:XX:XX:XX:XX
 + station->TEI = 3
 + station->BDA = 28:3B:82:2A:AB:7A
 + station->AvgPHYDR_TX = 154 mbps Alternate
 + station->AvgPHYDR_RX = 233 mbps Alternate
 +
 +
 +</code>
 +</hidden>
 +
 +6. Start plc service with ''/etc/init.d/plc start''
 +
 +=== /etc/init.d/plc ===
 +<hidden /etc/init.d/plc>
 +<code - /etc/init.d/plc>
 +#!/bin/sh /etc/rc.common
 +
 +USE_PROCD=1
 +
 +START=60
 +STOP=80
 +
 +EXTRA_COMMANDS="setup"
 +EXTRA_HELP=" setup PLC configuration setup helper"
 +
 +mtd_get_key() {
 + local mtdname="$1"
 + local key="$2"
 + local part
 + local value_dirty
 +
 + part=$(find_mtd_part "$mtdname")
 + if [ -z "$part" ]; then
 + echo "mtd_get_key: partition $mtdname not found!" >&2
 + return
 + fi
 +
 + value_dirty=$(strings "$part" | sed -n 's/^'"$key"'=//p')
 +
 + echo "$value_dirty"
 +}
 +
 +board=$(board_name)
 +
 +start_service() {
 + if [ ! -f /etc/config/plc ] || [ "$(uci show plc 2>/dev/null)" = "" ]; then
 + touch /etc/config/plc
 + uci set plc.config=config
 + uci commit plc
 + fi
 +
 + local NvmPath
 + local PibPath
 + local Mac
 + local device
 + local NmkSelected
 + local NetworkPasswd
 + local Nmk
 + local Dek
 + local Dak
 + local AdapterName
 + local Enabled
 + local Network
 + local pibpath_tmp
 +
 + config_load plc
 + config_get NvmPath config NvmPath
 + config_get PibPath config PibPath
 + config_get Mac config Mac
 + config_get NmkSelected config NmkSelected
 + config_get NetworkPasswd config NetworkPasswd
 + config_get Nmk config Nmk
 + config_get Dek config Dek
 + config_get Dak config Dak
 + config_get AdapterName config AdapterName
 + config_get Enabled config Enabled
 + config_get Network config Network
 + config_load network
 + config_get device plc device
 +
 + if [ -z "$NvmPath" ]; then
 + echo "plc.config.NvmPath not defined" >&2
 + exit 1
 + fi
 + if [ ! -f "$NvmPath" ]; then
 + echo "plc.config.NvmPath does not exist" >&2
 + exit 1
 + fi
 +
 + if [ -z "$PibPath" ]; then
 + echo "plc.config.PibPath not defined" >&2
 + exit 1
 + fi
 + if [ ! -f "$PibPath" ]; then
 + echo "plc.config.PibPath file does not exist" >&2
 + exit 1
 + fi
 + if [ -z "$Mac" ]; then
 + Mac="$(mtd_get_mac_ascii art protest_plc_mac)"
 + fi
 + if [ -z "$device" ]; then
 + echo "network.plc.device not defined" >&2
 + exit 1
 + fi
 +
 + # Create modded pib
 + pibpath_tmp="${PibPath}.tmp"
 + rm -f "$pibpath_tmp"
 + cp "$PibPath" "$pibpath_tmp"
 +
 + # Patch MAC into pib
 + if [ ! -z "$Mac" ]; then
 + modpib -M "$Mac" "$pibpath_tmp"
 + fi
 +
 + # Patch NMK
 + if [ 'true' != "$NmkSelected" ]; then
 + if [ -z "$NetworkPwd" ]; then
 + NetworkPwd="$(nmk_get_key art plc_networkpwd)"
 + fi
 + Nmk="$(hpavkey -M "$NetworkPwd")"
 + fi
 + if [ ! -z "$Nmk" ]; then
 + modpib -N "$Nmk" "$pibpath_tmp"
 + fi
 +
 + # Patch DAK
 + if [ -z "$Dek" ]; then
 + if [ -z "$Dak" ]; then
 + Dek="$(mtd_get_key art plc_dek)"
 +
 + if [ ! -z "$Dek" ]; then
 + Dak="$(hpavkey -D "$Dek")"
 + fi
 + fi
 + else
 + Dak="$(hpavkey -D "$Dek")"
 + fi
 + if [ ! -z "$Dak" ]; then
 + modpib -D "$Dak" "$pibpath_tmp"
 + fi
 +
 + # Patch USR
 + if [ -z "$AdapterName" ]; then
 + AdapterName="$(uci get system.@system[0].hostname)"
 + fi
 + modpib -U "$AdapterName" -S "D-Link COVR-P2500" -T "$NetworkPwd" "$pibpath_tmp"
 +
 + if [ -z "$Enabled" ]; then
 + echo "plc.config.Enabled not defined" >&2
 + exit 1
 + fi
 + if [ "$Enabled" -ne 1 ]; then
 + echo "plc.config.Enabled is not 1" >&2
 + exit 1
 + fi
 +
 + cd /tmp
 +
 + for i in $(seq 1 30); do
 + if [ -d /sys/class/net/$device ]; then
 + break
 + fi
 + sleep 1s
 + done
 +
 + procd_open_instance
 + if [ -z "$Network" ]; then
 + procd_set_param command /usr/bin/plchost -i "$device" -N "$NvmPath" -P "$pibpath_tmp"
 + else
 + [ ! -e /dev/fd ] && ln -s /proc/self/fd /dev/fd
 + procd_set_param command sh -c '/usr/bin/plchost -i '"$device"' -N '"$NvmPath"' -P '"$pibpath_tmp"' 2> >(\
 + while read line; do \
 + echo "$line" >&2; \
 + if [ $(expr match "$line" ".*'$device'.*is running.*") -gt 0 ]; then \
 + echo "Adding '$device' to br-'$Network'"; \
 + brctl addif "br-'$Network'" "'$device'"; \
 + fi; \
 + done)'
 + fi
 + procd_set_param file /etc/config/plc
 + procd_set_param stdout 1
 + procd_set_param stderr 1
 + procd_set_param netdev "$device"
 + procd_close_instance
 +}
 +
 +service_triggers() {
 + procd_add_reload_trigger "plc" "network"
 +}
 +
 +reload_service() {
 + stop
 + start
 +}
 +
 +stop_service() {
 + local device
 + local Network
 +
 + config_load plc
 + config_get Network config Network
 + config_load network
 + config_get device plc device
 +
 + if [ ! -z "$Network" ]; then
 + brctl delif "br-$Network" "$device"
 + fi
 +}
 +
 +service_stopped() {
 + local PibPath
 + local Mac
 + local device
 +
 + config_load plc
 + config_get PibPath config PibPath
 + config_get Mac config Mac
 + config_load network
 + config_get device plc device
 +
 + if [ ! -z "$PibPath" ] && [ -f "${PibPath}.tmp" ]; then
 + rm "${PibPath}.tmp"
 + fi
 +
 + if [ -z "$Mac" ]; then
 + Mac="$(mtd_get_mac_ascii art protest_plc_mac)"
 + fi
 +
 + plctool -i "$device" -R "$Mac"
 +}
 +
 +setup() {
 + if [ ! -f /etc/config/plc ] || [ "$(uci show plc 2>/dev/null)" = "" ]; then
 + touch /etc/config/plc
 + uci set plc.config=config
 + uci commit plc
 + fi
 +
 + echo -n "Download original firmware and extract files from /lib/plc to /etc/plc [y|n] "
 + read i
 + if [ "$i" = "y" ] || [ "$i" = "Y" ]; then
 + if [ -z "$(which unsquashfs)" ]; then
 + echo "unsquashfs missing. Install squashfs-tools-unsquashfs package" >&2
 + exit 1
 + fi
 +
 + cd /tmp
 + FW="COVRP2500A1_FW101b08_decrypted.bin"
 + rm -f "$FW"
 + wget -O "$FW" "http://pmdap.dlink.com.tw/PMD/GetAgileFile?itemNumber=FIR1800225&fileName=COVRP2500A1_FW101b08_decrypted.bin&fileSize=1.5990457E7;1.5992229E7;65141.0;"
 + if [ ! -f "$FW" ]; then
 + echo "Download failed. Check network" >&2
 + exit 1
 + fi
 + unsquashfs -lls "$FW" /lib/plc | grep -q '\.pib$'
 + if [ $? -ne 0 ]; then
 + echo "$FW does not contain any /lib/plc/*.pib files" >&2
 + exit 1
 + fi
 +
 + unsquashfs "$FW" /lib/plc
 + mkdir -p /etc/plc/
 + cp squashfs-root/lib/plc/* /etc/plc/
 + rm -rf squashfs-root
 + rm "$FW"
 + fi
 +
 + options=$(echo /etc/plc/*.pib)
 + if [ "$options" = "/etc/plc/*.pib" ]; then
 + echo "No files matching /etc/plc/*.pib" >&2
 + exit 1
 + fi
 + count=$(echo $options | wc -w)
 + i=""
 + while [ -z "$i" ] || [ $i -lt 1 ] || [ $i -gt $count ]; do
 + i=1
 + for f in $options; do
 + echo "${i}) $f"
 + i=$((i+1))
 + done
 + echo -n "Select PibPath [1-${count}]: "
 + read i
 + done
 + pibpath=$(echo $options | awk '{print$'$i'}')
 + uci set plc.config.PibPath=$pibpath
 +
 + options=$(echo /etc/plc/*.nvm)
 + if [ "$options" = "/etc/plc/*.nvm" ]; then
 + echo "No files matching /etc/plc/*.nvm" >&2
 + exit 1
 + fi
 + count=$(echo $options | wc -w)
 + if [ $count -gt 1 ]; then
 + i=""
 + while [ -z "$i" ] || [ $i -lt 1 ] || [ $i -gt $count ]; do
 + i=1
 + for f in $options; do
 + echo "${i}) $f"
 + i=$((i+1))
 + done
 + echo -n "Select NvmPath [1-${count}]: "
 + read i
 + done
 + nvmpath=$(echo $options | awk '{print$'$i'}')
 + else
 + nvmpath=$options
 + fi
 + uci set plc.config.NvmPath=$nvmpath
 +
 + echo -n "NetworkPasswd (leave empty to use default plc_networkpwd): "
 + read networkpwd
 + if [ -z "$networkpwd" ]; then
 + networkpwd="$(mtd_get_key art plc_networkpwd)"
 + fi
 + uci set plc.config.NetworkPasswd="$networkpwd"
 + uci set plc.config.Nmk="$(hpavkey -M "$networkpwd")"
 + uci set plc.config.NmkSelected='true'
 +
 + uci set plc.config.Mac="$(mtd_get_key art protest_plc_mac)"
 +
 + dek="$(mtd_get_key art plc_dek)"
 + uci set plc.config.Dek="$dek"
 + uci set plc.config.Dak="$(hpavkey -D "$dek")"
 +
 + uci set plc.config.AdapterName="$(uci get system.@system[0].hostname)"
 +
 + echo -n "Enable plc [0-1]: "
 + read i
 + if [ ! -z "$i" ] && [ $i -eq 1 ]; then
 + uci set plc.config.Enabled=1
 + enable
 + else
 + uci set plc.config.Enabled=0
 + disable
 + fi
 +
 + echo -n "Automatically add to br-lan bridge [0-1]: "
 + read i
 + if [ ! -z "$i" ] && [ $i -eq 1 ]; then
 + uci set plc.config.Network="lan"
 + else
 + uci set plc.config.Network=""
 + fi
 +
 + # Commit changes
 + if [ ! -z "$(uci changes plc)" ]; then
 + uci commit plc
 + fi
 +}
 +</code>
 +</hidden>
  
 ===== Hardware ===== ===== Hardware =====
Line 197: Line 1073:
 -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
  
-How to connect to the Serial Port of this specific device:\\ +<WRAP center round warning> 
-**Insert photo of PCB with markings for serial port** +**DO NOT plug the device into the mains with the case removed.** To run the unit while connected to the serial console, carefully seperate the Router board from the PLC/Power Supply board and feed 3.3V into the P3V3 pin.
- +
-<WRAP BOX> +
-FIXME //Replace EXAMPLE by real values.//+
 </WRAP> </WRAP>
  
-^ Serial connection parameters\\ for D-Link COVR-P2500 A1 | EXAMPLE 115200, 8N1, 3.3V |+Use 3.3V USB-TTL dongle. Serial port pins are marked on the PCB with labels P3V3, GND, U-TX and U-RX. 
 + 
 +^ Serial connection parameters\\ for D-Link COVR-P2500 A1 | 115200, 8N1, 3.3V |
  
 ==== JTAG ==== ==== JTAG ====
Line 215: Line 1090:
 ==== OEM bootlog ==== ==== OEM bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki>+<nowiki>[    0.460000] console [ttyS0] enabled, bootconsole disabled 
 +[    0.460000] console [ttyS0] enabled, bootconsole disabled 
 +[    0.470000] m25p80 spi0.0: found mx25l12805d, expected m25p80 
 +[    0.480000] m25p80 spi0.0: mx25l12805d (16384 Kbytes) 
 +[    0.480000] 6 cmdlinepart partitions found on MTD device spi0.0 
 +[    0.490000] Creating 6 MTD partitions on "spi0.0": 
 +[    0.500000] 0x000000000000-0x000000040000 : "u-boot" 
 +[    0.500000] 0x000000040000-0x000000050000 : "u-boot-env" 
 +[    0.510000] 0x000000050000-0x000000e80000 : "rootfs" 
 +[    0.510000] mtd: partition "rootfs" set to be root filesystem 
 +[    0.520000] mtd: partition "rootfs_data" created automatically, ofs=DA0000, len=E0000  
 +[    0.530000] 0x000000da0000-0x000000e80000 : "rootfs_data" 
 +[    0.540000] 0x000000e80000-0x000000ff0000 : "kernel" 
 +[    0.540000] 0x000000ff0000-0x000001000000 : "art" 
 +[    0.550000] 0x000000050000-0x000000ff0000 : "firmware" 
 +[    0.690000] ag71xx_mdio: probed 
 +[    0.700000] eth0: Atheros AG71xx at 0xb9000000, irq 4 
 +[    1.280000] eth0: Atheros AR8327 switch driver attached. 
 +[    4.210000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] 
 +[    4.220000] TCP cubic registered 
 +[    4.220000] NET: Registered protocol family 17 
 +[    4.230000] Bridge firewalling registered 
 +[    4.230000] 8021q: 802.1Q VLAN Support v1.8 
 +[    4.240000] ### of_selftest(): No testcase data in device tree; not running tests 
 +[    4.250000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. 
 +[    4.260000] Freeing unused kernel memory: 224k freed 
 +- preinit - 
 +Press the [f] key and hit [enter] to enter failsafe mode 
 +[    7.250000] --lhq-- switch reset 
 +[    7.250000] eth0: link up (1000Mbps/Full duplex) 
 +[    8.280000] --lhq-- switch reset 
 +[    8.290000] eth0: link up (1000Mbps/Full duplex) 
 +- regular preinit - 
 +[    9.300000] JFFS2 notice: (472) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 14 of xref (0 dead, 0 orphan) found. 
 +switching to jffs2 
 +- init - 
 + 
 +Please press Enter to activate this console. -------------- link resolve.conf to resolv.conf.auto ------------ 
 +[   19.530000] ssdk_plat_init start 
 +[   19.540000] Register QCA PHY driver 
 +[   19.540000] PHY ID is 0x4dd036 
 +[   19.640000] qca probe f1 phy driver succeeded! 
 +[   19.650000] qca-ssdk module init succeeded! 
 +[   19.810000] NET: Registered protocol family 10 
 +[   20.190000] SCSI subsystem initialized 
 +[   20.320000] usbcore: registered new interface driver usbfs 
 +[   20.330000] usbcore: registered new interface driver hub 
 +[   20.340000] usbcore: registered new device driver usb 
 +[   20.430000] Button Hotplug driver version 0.4.1 
 +[   20.750000] NTFS driver 2.1.30 [Flags: R/O MODULE]. 
 +[   20.940000] PPP generic driver version 2.4.2 
 +[   20.990000] NET: Registered protocol family 24 
 +[   21.010000] IPv6 over IPv4 tunneling driver 
 +[   21.090000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) 
 +[   21.310000] ip_tables: (C) 2000-2006 Netfilter Core Team 
 +[   21.540000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
 +[   21.540000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller 
 +[   21.550000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1 
 +[   21.590000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000 
 +[   21.610000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00 
 +[   21.610000] hub 1-0:1.0: USB hub found 
 +[   21.620000] hub 1-0:1.0: 1 port detected 
 +[   21.620000] ehci-platform ehci-platform.1: Generic Platform EHCI Controller 
 +[   21.630000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2 
 +[   21.670000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000 
 +[   21.690000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00 
 +[   21.690000] hub 2-0:1.0: USB hub found 
 +[   21.700000] hub 2-0:1.0: 1 port detected 
 +[   21.770000] nf_conntrack version 0.5.0 (1973 buckets, 7892 max) 
 +[   22.330000] nf_conntrack_rtsp v0.6.21 loading 
 +[   22.350000] nf_nat_rtsp v0.6.21 loading 
 +[   22.430000] AR71XX_RESET_REG_WDOG_CTRL: 0x0 
 +[   22.430000]  QCA Hy-Fi multicast installation successfully 
 +[   22.570000] Initializing USB Mass Storage driver... 
 +[   22.570000] usbcore: registered new interface driver usb-storage 
 +[   22.580000] USB Mass Storage support registered. 
 +[   22.600000] fuse init (API version 7.18) 
 +[   26.950000] mem_manager: module license 'unspecified' taints kernel. 
 +[   26.950000] Disabling lock debugging due to kernel taint 
 +[   27.190000] ath_dfs: Version 2.0.0 
 +[   27.190000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved 
 +[   27.220000] ath_spectral: Version 2.0.0 
 +[   27.220000] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved 
 +[   28.390000] ath_hal: 0.9.17.1 (AR5416, AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D) 
 +[   28.410000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved 
 +[   28.490000] ath_tx99: Version 2.0 
 +[   28.490000] Copyright (c) 2010 Atheros Communications, Inc, All Rights Reserved 
 +[   28.690000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved 
 +[   28.820000] __ath_attach: Set global_scn[0] 
 +[   28.820000] *** All the minfree values should be <= ATH_TXBUF-32, otherwise default value will be used instead *** 
 +[   28.840000] ACBKMinfree = 48 
 +[   28.840000] ACBEMinfree = 32 
 +[   28.840000] ACVIMinfree = 16 
 +[   28.840000] ACVOMinfree = 0 
 +[   28.850000] CABMinfree = 48 
 +[   28.850000] UAPSDMinfree = 0 
 +[   28.850000] ATH_TXBUF=2700 
 +[   28.860000] Enterprise mode: 0x03bda000 
 +[   28.870000] Restoring Cal data from FS 
 +[   28.870000] qdf_fs_read[59], Open File /tmp/wifi0.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 185file size:12064qdf_fs_read[79]: caldata data size mismatch, fsize=12064, cal_size=1088 
 +[   28.890000] ART Version : -48.0.0 
 +[   28.890000] SW Image Version : -48.0.0.0.0 
 +[   28.900000] Board Revision :   
 +[   28.900000] ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125  
 +[   28.910000] SPECTRAL : get_capability not registered 
 +[   28.920000] HAL_CAP_PHYDIAG : Capable 
 +[   28.920000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) 
 +[   28.930000] SPECTRAL : get_capability not registered 
 +[   28.930000] HAL_CAP_RADAR   : Capable 
 +[   28.940000] SPECTRAL : Need to fix the capablity check for SPECTRAL 
 +[   28.940000]  (spectral_attach : 242) 
 +[   28.950000] SPECTRAL : get_capability not registered 
 +[   28.950000] HAL_CAP_SPECTRAL_SCAN : Capable 
 +[   28.960000] SPECTRAL : get_tsf64 not registered 
 +[   28.960000] spectral_init_netlink 78 NULL SKB 
 +[   28.970000] SPECTRAL : No ADVANCED SPECTRAL SUPPORT 
 +[   28.970000] SPECTRAL :----- module attached 
 +[   28.980000] Green-AP : Green-AP : Attached 
 +[   28.980000]  
 +[   28.990000] ath_get_caps[6165] rx chainmask mismatch actual 3 sc_chainmak 0 
 +[   28.990000] ath_get_caps[6140] tx chainmask mismatch actual 3 sc_chainmak 0 
 +[   29.010000] band steering initialized for direct attach hardware  
 +[   29.010000] ieee80211_bsteering_attach: Band steering initialized 
 +[   29.020000] acfg_attach: 2961: Netlink socket created:86359a00 
 +[   29.030000] ath_attach_dfs[12590] dfsdomain 1 
 +[   29.040000] dfs_attach: event log enabled by default 
 +[   29.050000] SPECTRAL : module already attached 
 +[   29.050000] ath_attach: Set global_ic[1]..gloabl_ic ptr:863428d0 
 +[   29.060000] osif_wrap_attach:443 osif wrap attached 
 +[   29.060000] osif_wrap_devt_init:404 osif wrap dev table init done 
 +[   29.070000]  Wrap Attached: Wrap_com =86359400 ic->ic_wrap_com=86359400 &wrap_com->wc_devt=86359400  
 +[   29.080000] ath_tx_paprd_init sc 860f0000 PAPRD Enabled 
 +[   29.090000] wifi0: Atheros 956X: mem_start: =0xb8100000, mem_end: =0xb8120000, irq=47 
 +[   29.100000] ath_da_pci:  (Atheros/multi-bss) 
 +[   29.610000] ath_ol_pci:  (Atheros/multi-bss) 
 +[   29.620000] hif_pci_enable_bus: con_mode = 0x0, device_id = 0x56 
 +[   29.620000] ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] 
 +[   29.630000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) 
 +[   29.640000] 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:
 +[   29.680000] chip_id 0xc chip_revision 0x0 
 +[   29.680000]  
 +[   29.680000]  CLOCK PLL skipped 
 +[   29.690000] hif_set_hia_extnd: setting the target pll frac ffffffff intval ffffffff 
 +[   29.700000] hif_set_hia_extnd: no frac provided, skipping pre-configuring PLL 
 +[   29.710000] 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 
 +[   29.730000] hif_napi_event: received evnt: CONF cmd; v = 1 (state=0x1)hif_napi_event: setting configuration to ON 
 +[   29.740000] __ol_ath_attach() Allocated scn 85f00380 
 +[   29.750000] __ol_ath_attach: dev name wifi1 
 +[   29.750000] ol_ath_attach interface_id 1 
 +[   29.760000] ol_target_init() BMI inited. 
 +[   29.760000] ol_target_init() BMI Get Target Info. 
 +[   29.770000] Chip id: 0xc, chip version: 0x1000000 
 +[   29.770000]  
 +[   29.770000]  CE WAR Disabled 
 +[   29.780000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 
 +[   29.780000] ol_target_init() configure Target . 
 +[   29.790000]  
 +[   29.790000]  Target Version is 1000000 
 +[   29.800000]  
 +[   29.800000]  Flash Download Address  c0000  
 +[   29.800000] ol_transfer_bin_file: flash data file defined 
 +[   29.810000] ol_transfer_bin_file[3756] Get Caldata for wifi1. 
 +[   29.810000] qdf_fs_read[59], Open File /tmp/wifi1.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 186file size:12064qc98xx_verify_checksum: flash checksum passed: 0xf57f 
 +[   29.830000] ol_transfer_bin_file 3817: Download Flash data len 12064 
 +[   29.840000] Board extended Data download address: 0x0 
 +[   29.870000]  
 +[   29.870000]  Board data initialized 
 +[   29.870000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000 
 +[   29.880000]  
 +[   29.880000]  Selecting  OTP binary for CHIP Version 0 
 +[   29.960000] ol_transfer_bin_file 3637: downloading file 0, Download data len 9080 
 +[   30.000000]  
 +[   30.000000]  First OTP send param 8000 
 +[   30.250000] ol_ath_download_firmware :First OTP download and Execute is good address:0x4800 return param 4660 
 +[   30.260000] ol_ath_download_firmware:##Board Id 18 , CHIP Id 0 
 +[   30.270000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 
 +[   30.270000]  
 +[   30.270000]  wifi1: Selecting board data file name boardData_2_0_QCA9888_5G_Y9582.bin 
 +[   30.280000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boardData_2_0_QCA9888_5G_Y9582.bin 
 +[   30.310000] ol_transfer_bin_file 3637: downloading file 3, Download data len 12064 
 +[   30.310000] Board extended Data download address: 0x0 
 +[   30.340000] ol_ath_download_firmware: Using 0x1234 for the remainder of init 
 +[   30.350000]  
 +[   30.350000]  Selecting  OTP binary for CHIP Version 0 
 +[   30.370000] ol_transfer_bin_file 3637: downloading file 0, Download data len 9080 
 +[   30.410000]  
 +[   30.410000]  [Flash] : Ignore Module param 
 +[   30.420000]  
 +[   30.420000]  Second otp download Param 10000  
 +[   30.670000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0  
 +[   30.680000]  
 +[   30.680000]  Mission mode: Firmware CHIP Version 0 
 +[   30.850000] ol_swap_seg_alloc: Successfully allocated memory for SWAP size=262144  
 +[   30.870000] ol_swap_wlan_memory_expansion: length:239071 size_left:239091 dma_size_left:262144 fw_temp:c0b83004 fw_entry_size:239095 
 +[   30.890000] ol_swap_wlan_memory_expansion: dma_virt_addr :a5ec0000 fw_temp: c0b83008 length: 239071 
 +[   30.900000] Swap: bytes_left to copy: fw:16; dma_page:23073 
 +[   30.900000] ol_swap_wlan_memory_expansion: length:0 size_left:12 dma_size_left:23073 fw_temp:c0bbd5eb fw_entry_size:239095 
 +[   30.920000] Swap: wrong length read:0 
 +[   30.920000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 239071 Target address 41a928  
 +[   30.930000] scn=85f00380  target_write_addr=41a928 seg_info=85f93710  
 +[   30.940000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2  
 +[   30.950000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin  
 +[   30.960000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin 
 +[   31.350000] ol_transfer_bin_file 3637: downloading file 1, Download data len 377964 
 +[   32.810000] ol_target_init() Download FW done.  
 +[   32.810000] ol_ath_attach() WMI attached. wmi_handle 86b1a000  
 +[   32.820000] wmi_unified_register_event_handler: Event id 62 is unavailable 
 +[   32.830000] +htc_create ..  HIF :85f70000-htc_create: (0x86802000) 
 +[   32.830000] htc_wmi_init() HT Create . 86802000 
 +[   32.840000] htc_wmi_init 7516 host_enable 0 nss_nwifi_offload 0 
 +[   32.840000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) 
 +[   32.850000]  OL_ACBKMinfree : 0 
 +[   32.860000]  OL_ACBEMinfree : 0 
 +[   32.860000]  OL_ACVIMinfree : 0 
 +[   32.860000]  OL_ACVOMinfree : 0 
 +[   32.870000] hif_enable_fastpath, Enabling fastpath mode 
 +[   32.870000] +HWT 
 +[   32.870000] hif_completion_thread_startup: pipe_num:0 pipe_info:0x85f7305chif_completion_thread_startup: pipe_num:3 pipe_info:0x85f7311chif_completion_thread_startup: pipe_num:4 pipe_info:0x85f7315c 
 +[   32.900000] -HWT 
 +[   32.900000] Startup Mode-0 set 
 +[   32.900000]  
 +[   32.900000] <=== cfg max peer id 1056 ====> 
 +[   32.910000] htt_peer_map_timer_init Enter pdev 85128000 hrtimer 8512c960 
 +[   32.920000]  
 +[   32.920000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 85f4c000 paddr 5f4c000 
 +[   32.930000]  
 +[   32.930000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts 
 +[   32.940000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 84dc0000 
 +[   32.950000] Firmware_Build_Number:10  
 +[   32.960000] FW wireless modes: 0x7f9001 
 +[   32.960000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979fa  vht_supp_mcs:0x0000fffa 
 +[   32.970000] wmi_service_coex_gpio 0, wmi_service_4_wire_coex_support 0, coex_version 0 
 +[   32.980000]  
 +[   32.980000] Sending Ext resource cfg: HOST PLATFORM as 1 
 +[   32.980000] fw_feature_bitmap as 50 to TGT 
 +[   32.990000] ol_ath_service_ready_event: tt_support: 1 
 +[   33.000000] ol_ath_service_ready_event: periodic_chan_stats:
 +[   33.000000] ol_ath_service_ready_event: sw_cal_support_check_flag:
 +[   33.010000] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17 
 +[   33.020000] Airtime Fairness: num_peers=530 num_active_peer=52 
 +[   33.020000] EXT NSS Supported 
 +[   33.030000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53  
 +[   33.040000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256, 
 +[   33.040000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53  
 +[   33.050000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024, 
 +[   33.060000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53  
 +[   33.070000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096, 
 +[   33.080000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 896 actual units 531  
 +[   33.090000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 531 unit_len 896, 
 +[   33.090000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 1940 actual units 531  
 +[   33.110000] ol_ath_alloc_host_mem_chunk req_id 5 idx 4 num_units 531 unit_len 1940, 
 +[   33.120000] Support not added yet for Service 91 
 +[   33.120000] Support not added yet for Service 92 
 +[   33.130000] No EXT_MSG send INIT now 
 +[   33.130000] chunk 0 len 13568 requested , ptr  0x4db0000 
 +[   33.130000] chunk 1 len 54272 requested , ptr  0x4e20000 
 +[   33.140000] chunk 2 len 217088 requested , ptr  0x4e40000 
 +[   33.150000] chunk 3 len 475776 requested , ptr  0x4e80000 
 +[   33.150000] chunk 4 len 1030140 requested , ptr  0x4f00000 
 +[   33.160000] ol_ath_service_ready_event[4206] WAPI MBSSID 2  
 +[   33.160000] smart_log_init: Smart logging Enabled buf=84e30000 (size=65536) 
 +[   33.180000] Version = 16777216 3  status = 0 
 +[   33.190000] ol_ath_connect_htc() WMI is ready 
 +[   33.190000] htt_h2t_frag_desc_bank_cfg_msg - HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG sent to FW for radio ID = 1 
 +[   33.200000] target uses HTT version 2.2; host uses 2.2 
 +[   33.210000] ol_ath_attach() connect HTC.  
 +[   33.220000] bypasswmi : 0 
 +[   33.220000] ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0. 
 +[   33.230000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150 
 +[   33.240000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0 
 +[   33.250000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0 
 +[   33.250000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0 
 +[   33.260000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150 
 +[   33.270000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080 
 +[   33.270000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080 
 +[   33.280000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080 
 +[   33.290000] Add VHT80 channel: 5210 
 +[   33.290000] Add VHT80 channel: 5290 
 +[   33.300000] Add VHT80 channel: 5530 
 +[   33.300000] Add VHT80 channel: 5610 
 +[   33.300000] Add VHT80 channel: 5690 
 +[   33.310000] Add VHT80 channel: 5775 
 +[   33.310000] Skipping VHT80 channel 5825 
 +[   33.320000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   33.330000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   33.330000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   33.340000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   33.350000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   33.360000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   33.370000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   33.380000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   33.390000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   33.400000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   33.410000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   33.420000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   33.430000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   33.430000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   33.440000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   33.450000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   33.460000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5210 in case of VHT80+80 
 +[   33.470000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5290 in case of VHT80+80 
 +[   33.480000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5530 in case of VHT80+80 
 +[   33.490000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5210 in case of VHT80+80 
 +[   33.500000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5290 in case of VHT80+80 
 +[   33.510000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5690, cfreq2:5530 in case of VHT80+80 
 +[   33.520000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5210 in case of VHT80+80 
 +[   33.530000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5290 in case of VHT80+80 
 +[   33.530000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5530 in case of VHT80+80 
 +[   33.540000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5610 in case of VHT80+80 
 +[   33.550000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5690 in case of VHT80+80 
 +[   33.560000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5210 in case of VHT80+80 
 +[   33.570000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5290 in case of VHT80+80 
 +[   33.580000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5530 in case of VHT80+80 
 +[   33.590000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5610 in case of VHT80+80 
 +[   33.600000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5690 in case of VHT80+80 
 +[   33.610000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5210 in case of VHT80+80 
 +[   33.620000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5290 in case of VHT80+80 
 +[   33.620000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5530 in case of VHT80+80 
 +[   33.630000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5610 in case of VHT80+80 
 +[   33.640000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5690 in case of VHT80+80 
 +[   33.650000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5210 in case of VHT80+80 
 +[   33.660000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5290 in case of VHT80+80 
 +[   33.670000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5530 in case of VHT80+80 
 +[   33.680000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5610 in case of VHT80+80 
 +[   33.690000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5775, cfreq2:5690 in case of VHT80+80 
 +[   33.700000] freq=58  
 +[   33.700000] freq=106  
 +[   33.700000] freq=122  
 +[   33.710000] freq=138  
 +[   33.710000] OL Resmgr Init-ed 
 +[   33.710000] ieee80211_bsteering_attach: Band steering initialized 
 +[   33.720000] acfg_attach: using existing sock 86359a00 
 +[   33.720000] SPECTRAL : get_capability not registered 
 +[   33.730000] HAL_CAP_PHYDIAG : Capable 
 +[   33.730000] SPECTRAL : Need to fix the capablity check for RADAR (spectral_attach : 237) 
 +[   33.740000] SPECTRAL : get_capability not registered 
 +[   33.750000] HAL_CAP_RADAR   : Capable 
 +[   33.750000] SPECTRAL : Need to fix the capablity check for SPECTRAL 
 +[   33.750000]  (spectral_attach : 242) 
 +[   33.760000] SPECTRAL : get_capability not registered 
 +[   33.770000] HAL_CAP_SPECTRAL_SCAN : Capable 
 +[   33.770000] SPECTRAL : get_tsf64 not registered 
 +[   33.770000] spectral_init_netlink 78 NULL SKB 
 +[   33.780000] Green-AP : Green-AP : Attached 
 +[   33.780000]  
 +[   33.780000] Green-AP : Attached 
 +[   33.790000] rate power table override is only supported for AR98XX 
 +[   33.790000] ol_ath_smart_ant_attach: Hardware doest not support Smart Antenna. 
 +[   33.800000] ol_if_dfs_attach: called; ptr=8482197c, radar_info=863d5b40 
 +[   33.810000] dfs_attach: event log enabled by default 
 +[   33.820000] >>>> CB Set   (null) 
 +[   33.820000] ol_ath_attach() UMAC attach .  
 +[   33.820000]  
 +[   33.820000]  BURSTING enabled by default 
 +[   33.830000] ol_ath_attach: Set global_ic[2] ..ptr:863428d0 
 +[   33.840000] ath_lowi_if_netlink_init LOWI Netlink successfully created 
 +[   33.840000] osif_wrap_attach:443 osif wrap attached 
 +[   33.850000] osif_wrap_devt_init:404 osif wrap dev table init done 
 +[   33.850000]  Wrap Attached: Wrap_com =868d8c00 ic->ic_wrap_com=868d8c00 &wrap_com->wc_devt=868d8c00  
 +[   33.860000] __ol_ath_attach: needed_headroom reservation 60 
 +[   33.870000] ol_ath_thermal_mitigation_attach: -- 
 +[   33.870000] ol_ath_pci_probe num_radios=0, wifi_radios[0].sc = 85f00380 wifi_radio_type = 2 
 +[   33.880000] ath_sysfs_diag_init: diag_fsattr  
 +[   33.890000] [wifi1] FWLOG: [40122] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   33.900000] [wifi1] FWLOG: [40122] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   33.910000] [wifi1] FWLOG: [40122] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   33.920000] [wifi1] FWLOG: [40122] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   33.920000] [wifi1] FWLOG: [40122] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 ) 
 +[   33.930000] [wifi1] FWLOG: [40654] UNKNOWN 22:55 ( 0x3a, 0xa10, 0x160, 0x10, 0x0 ) 
 +[   33.940000] [wifi1] FWLOG: [40654] UNKNOWN 22:55 ( 0x3a, 0x10, 0x0, 0x10, 0x12 ) 
 +[   34.020000]  pktlog_init: Initializing Pktlog for AR900B, pktlog_hdr_size = 16 
 +[   34.030000] +hif_update_pipe_callback pipeid 8 
 +[   34.040000] -hif_update_pipe_callback 
 +[   34.080000] __sa_init_module  
 +[   36.180000] Switching to Tx Mode-1 Threshold 280 
 +[   37.330000] hyfi_netlink_receive:66:Device not found: br-lan 
 +qcawifi disable radio wifi0 
 +qcawifi disable radio wifi1 
 +[   39.650000] ADDRCONF(NETDEV_UP): eth0: link is not ready 
 +[   39.650000] device eth0 entered promiscuous mode 
 +[   39.670000] ADDRCONF(NETDEV_UP): br-lan: link is not ready 
 +[   41.100000] --lhq-- switch reset 
 +[   41.100000] eth0: link up (1000Mbps/Full duplex) 
 +[   41.100000] br-lan: port 1(eth0) entered forwarding state 
 +[   41.110000] br-lan: port 1(eth0) entered forwarding state 
 +[   41.120000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
 +[   41.130000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready 
 +[   42.100000] br-lan: port 1(eth0) entered disabled state 
 +[   42.140000] --lhq-- switch reset 
 +[   42.140000] eth0: link up (1000Mbps/Full duplex) 
 +[   42.160000] br-lan: port 1(eth0) entered forwarding state 
 +[   42.160000] br-lan: port 1(eth0) entered forwarding state 
 +[   44.160000] br-lan: port 1(eth0) entered forwarding state 
 +[   44.880000] hyfi_netlink_receive:108:hyfi: Not attached to bridge br-lan 
 +qcawifi disable radio wifi0 
 +qcawifi disable radio wifi1 
 +[   45.930000] hyfi_netlink_receive:108:hyfi: Not attached to bridge br-lan 
 +qcawifi disable radio wifi0 
 +qcawifi disable radio wifi1 
 +qcawifi: enable radio wifi0 
 +[   46.880000] ath_net80211_dfs_clist_update: called, cmd=1, nollist=  (null), nentries=0 
 +[   46.880000] ath_attach_dfs[12590] dfsdomain 1 
 +[   46.890000] dfs_attach: event log enabled by default 
 +[   46.940000] DCS for CW interference mitigation:   0 
 +[   46.940000] DCS for WLAN interference mitigation: 0 
 +[   47.070000]  Disconnect_timeout value entered:10  
 +[   47.090000]  reconfiguration_timeout value entered:60  
 +[   47.350000] wlan_vap_create : enter. devhandle=0x869b0380, opmode=IEEE80211_M_HOSTAP, flags=0x1 
 +[   47.360000] ieee80211_mbo_vattach:MBO Initialized  
 +[   47.360000] ieee80211_oce_vattach: OCE Initialized  
 +[   47.370000] wlan_vap_create : exit. devhandle=0x869b0380, vap=0x86368000, opmode=IEEE80211_M_HOSTAP, flags=0x1. 
 +[   47.380000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   47.390000] VAP device ath0 created osifp: (848c6b80) os_if: (86368000) 
 +[   47.460000] siwfreq 
 +[   47.460000] Set freq vap 0 stop send + 86368000 
 +[   47.460000] Set freq vap 0 stop send -86368000 
 +[   47.500000] Set wait done --86368000 
 +[   47.720000]   
 +[   47.720000]  DES SSID SET=  
 +[   47.760000] [DEBUG] vap-0(ath0):set SIOC80211NWID, 10 characters 
 +[   47.760000]   
 +[   47.760000]  DES SSID SET=dlink-XXXX  
 +[   48.350000]  ieee80211_ioctl_siwmode: imr.ifm_active=131712, new mode=3, valid=1  
 +[   48.360000]  DEVICE IS DOWN ifname=ath0 
 +[   48.360000]  DEVICE IS DOWN ifname=ath0 
 +[   48.490000] Warning: node not in table 0x860c4000 
 +[   48.560000] 8021q: adding VLAN 0 to HW filter on device ath0 
 +[   48.670000] device ath0 entered promiscuous mode 
 +[   48.670000] br-lan: port 2(ath0) entered forwarding state 
 +[   48.680000] br-lan: port 2(ath0) entered forwarding state 
 +qcawifi: enable radio wifi1 
 +[   48.790000] [ol_ath_iw_setcountry][1798] *p=47, *(p+1)=42 
 +[   48.790000] isCountryCodeValid: EEPROM regdomain 0x0 
 +[   48.800000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150 
 +[   48.810000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0 
 +[   48.810000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0 
 +[   48.820000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0 
 +[   48.830000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150 
 +[   48.840000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080 
 +[   48.840000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080 
 +[   48.850000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080 
 +[   48.860000] Add VHT80 channel: 5210 
 +[   48.860000] Add VHT80 channel: 5290 
 +[   48.870000] Add VHT80 channel: 5530 
 +[   48.870000] Add VHT80 channel: 5610 
 +[   48.870000] Skipping VHT80 channel 5660 
 +[   48.880000] Skipping VHT80 channel 5680 
 +[   48.880000] Skipping VHT80 channel 5700 
 +[   48.880000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   48.890000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   48.900000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   48.910000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   48.920000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   48.930000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   48.940000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   48.950000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   48.960000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   48.970000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   48.980000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   48.980000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   48.990000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   49.000000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   49.010000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   49.020000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   49.030000] freq=58  
 +[   49.040000] freq=106  
 +[   49.040000] freq=122  
 +[   49.080000] set TXBF_SND_PERIOD: value 100 wmi_status 0 
 +[   49.110000]  Disconnect_timeout value entered:10  
 +[   49.120000]  reconfiguration_timeout value entered:60  
 +[   49.270000] wlan_vap_create : enter. devhandle=0x85f00380, opmode=IEEE80211_M_HOSTAP, flags=0x1 
 +[   49.270000] send_vdev_create_cmd_non_tlv: ID = 0 Type = 1, Subtype = 0 VAP Addr = xx:xx:xx:xx:xx:xx: 
 +[   49.280000] ieee80211_mbo_vattach:MBO Initialized  
 +[   49.290000] ieee80211_oce_vattach: OCE Initialized  
 +[   49.290000] wlan_vap_create : exit. devhandle=0x85f00380, vap=0x860c8000, opmode=IEEE80211_M_HOSTAP, flags=0x1. 
 +[   49.300000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   49.310000] Enabling TX checksum bit for the vap ath1 features 4000  
 +[   49.320000] Enabling SG bit for the vap ath1 features 4000  
 +[   49.320000] Enabling SG bit for the vap ath1 features 4000  
 +[   49.330000] Enabling TSO bit for the vap ath1 features 4000  
 +[   49.340000] Enabling LRO bit for the vap ath1 features 4000  
 +[   49.350000] VAP device ath1 created osifp: (86379b80) os_if: (860c8000) 
 +[   49.530000] siwfreq 
 +[   49.530000] Set freq vap 0 stop send + 860c8000 
 +[   49.540000] Set freq vap 0 stop send -860c8000 
 +[   49.570000] Set wait done --860c8000 
 +[   49.700000]   
 +[   49.700000]  DES SSID SET=  
 +[   49.720000] [DEBUG] vap-0(ath1):set SIOC80211NWID, 10 characters 
 +[   49.730000]   
 +[   49.730000]  DES SSID SET=dlink-XXXX  
 +[   49.760000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   49.780000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   49.790000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   49.850000] [wifi1] FWLOG: [56354] UNKNOWN 22:55 ( 0x37, 0x199, 0x130, 0x30, 0x0 ) 
 +[   49.860000] [wifi1] FWLOG: [56354] UNKNOWN 22:55 ( 0x37, 0x30, 0x0, 0x30, 0x0 ) 
 +[   50.250000]  ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1  
 +[   50.260000]  DEVICE IS DOWN ifname=ath1 
 +[   50.270000]  DEVICE IS DOWN ifname=ath1 
 +[   50.420000] Sending SCAN START cmd 
 +[   50.420000] 8021q: adding VLAN 0 to HW filter on device ath1 
 +[   50.460000] device ath1 entered promiscuous mode 
 +[   50.470000] br-lan: port 3(ath1) entered forwarding state 
 +[   50.470000] br-lan: port 3(ath1) entered forwarding state 
 +[   50.680000] br-lan: port 2(ath0) entered forwarding state 
 +[   50.850000] [wifi1] FWLOG: [57744] WAL_DBGID_SECURITY_ENCR_EN (  ) 
 +[   50.860000] [wifi1] FWLOG: [57744] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) 
 +[   50.860000] [wifi1] FWLOG: [57776] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   50.870000] [wifi1] FWLOG: [58091] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   51.380000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +wsplcd: starting daemon 
 +[   51.850000] [wifi1] FWLOG: [58405] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   51.860000] [wifi1] FWLOG: [58720] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   51.870000] [wifi1] FWLOG: [59034] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   52.470000] br-lan: port 3(ath1) entered forwarding state 
 +[   52.850000] [wifi1] FWLOG: [59347] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   52.860000] [wifi1] FWLOG: [59662] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   52.870000] [wifi1] FWLOG: [59976] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   53.850000] [wifi1] FWLOG: [60289] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   53.860000] [wifi1] FWLOG: [60603] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   53.870000] [wifi1] FWLOG: [60918] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   53.880000] [wifi1] FWLOG: [61232] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   54.850000] [wifi1] FWLOG: [61546] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   54.860000] [wifi1] FWLOG: [61861] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   54.870000] [wifi1] FWLOG: [62174] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   55.560000] [UNSPECIFIED] ol_scan_unregister_event_handler: Failed to unregister evhandler=86283710 arg=84800000 
 +[   55.560000]  
 +[   55.570000] osif_vap_init: Scan in progress.. Cancelling it. vap: 0x860c8000  
 +[   55.580000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   55.610000] Sending SCAN START cmd 
 +[   55.850000] [wifi1] FWLOG: [62489] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   55.860000] [wifi1] FWLOG: [62803] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   55.870000] [wifi1] FWLOG: [63063] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   55.880000] [wifi1] FWLOG: [63063] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   55.880000] [wifi1] FWLOG: [63090] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   56.860000] [wifi1] FWLOG: [63405] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   56.870000] [wifi1] FWLOG: [63719] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   56.880000] [wifi1] FWLOG: [64034] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   56.880000] [wifi1] FWLOG: [64348] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   57.860000] [wifi1] FWLOG: [64661] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   57.870000] [wifi1] FWLOG: [64976] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   57.880000] [wifi1] FWLOG: [65290] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   58.860000] [wifi1] FWLOG: [65603] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   58.870000] [wifi1] FWLOG: [65917] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   58.880000] [wifi1] FWLOG: [66232] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   59.860000] [wifi1] FWLOG: [66546] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   59.870000] [wifi1] FWLOG: [66686] WHAL_ERROR_RESET_OFFSETCAL (  ) 
 +[   59.880000] [wifi1] FWLOG: [66696] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x10488, 0x4000e09, 0x0, 0x2 ) 
 +[   59.890000] [wifi1] FWLOG: [66696] WAL_DBGID_BB_WDOG_TRIGGERED ( 0x8000, 0x0 ) 
 +[   59.890000] [wifi1] FWLOG: [66861] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   59.900000] [wifi1] FWLOG: [67175] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   60.860000] [wifi1] FWLOG: [67488] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   60.870000] [wifi1] FWLOG: [67803] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   60.880000] [wifi1] FWLOG: [68117] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   60.890000] [wifi1] FWLOG: [68432] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   61.440000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   61.450000] ACS failed to derive the channel. So,selecting channel with least BSS  
 +[   61.450000] random channel is 44  
 +[   61.460000] ******** ACS report ********  
 +[   61.460000]  Channel | BSS  | minrssi | maxrssi | NF | Ch load | spect load | sec_chan  
 +[   61.470000] --------------------------------------------------------------------- 
 +[   61.480000]  5180( 36)    2       38        38   -111                          1    
 +[   61.490000]  5200( 40)    1        9           -111                          1    
 +[   61.490000]  5220( 44)    0        0           -111                          1    
 +[   61.500000]  5240( 48)    0        0           -110                          1    
 +[   61.510000]  5260( 52)    0        0           -111                          0    
 +[   61.520000]  5280( 56)    0        0           -110                          0    
 +[   61.530000]  5300( 60)    0        0           -109                          0    
 +[   61.540000]  5320( 64)    0        0           -108                          0    
 +[   61.540000]  5500(100)    0        0           -110                          0    
 +[   61.550000]  5520(104)    0        0           -110                          0    
 +[   61.560000]  5540(108)    0        0           -110                          0    
 +[   61.570000]  5560(112)    0        0           -108      27                    0    
 +[   61.580000]  5580(116)    0        0           -110                          0    
 +[   61.580000]  5600(120)    0        0           -110                          0    
 +[   61.590000]  5620(124)    0        0           -111                          0    
 +[   61.600000]  5640(128)    0        0           -111                          0    
 +[   61.610000]  5660(132)    0        0           -111                          0    
 +[   61.620000]  5680(136)    0        0           -111                          0    
 +[   61.630000]  5700(140)    0        0           -112                          0    
 +[   61.630000] OL vap_start + 
 +[   61.640000] VDEV START 
 +[   61.640000] OL vap_start - 
 +[   61.640000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 
 +[   61.840000] ol_vdev_start_resp_ev for vap 0 (86b1a000) 
 +[   61.850000] send_wmm_update_cmd_non_tlv: 
 +[   61.850000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   61.860000] send_vdev_up_cmd_non_tlv for vap 0 
 +[   61.870000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   61.870000] [wifi1] FWLOG: [68746] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   61.880000] [wifi1] FWLOG: [69064] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   61.890000] [wifi1] FWLOG: [69064] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   61.900000] [wifi1] FWLOG: [69263] vap-0 VDEV_MGR_VDEV_START ( 0x1464, 0x2, 0x0, 0x0 ) 
 +[   61.900000] [wifi1] FWLOG: [69263] WAL channel change freq=5220, mode=10 flags=0 rx_ok=1 tx_ok=1 
 +[   61.910000] [wifi1] FWLOG: [69472] UNKNOWN 14:20 ( 0x0 ) 
 +wsplcd: starting daemon 
 +[   62.860000] [wifi1] FWLOG: [69494] VDEV_MGR_HP_START_TIME ( 0x0, 0x1464, 0x1b71001 ) 
 +[   62.870000] [wifi1] FWLOG: [69494] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 ) 
 +[   62.870000] [wifi1] FWLOG: [69494] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   62.880000] [wifi1] FWLOG: [69494] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1464, 0x0, 0x0 ) 
 +[   63.230000] ME Pool succesfully initialized vaddr - 84b40000 paddr - 0 
 +[   63.230000] num_elems = 1424 buf_size - 64 pool_size = 102528 
 +[   63.240000] Enable MCAST_TO_UCAST 
 +hyd: starting daemon 
 +[   64.980000] [ath0] Band steering events being sent to PID:2578 
 +[   65.000000] [ath1] Band steering events being sent to PID:2578 
 +[   65.140000] sc nodebug 0  
 +[   65.390000] [ath0] Band steering events being sent to PID:2578 
 +[   65.410000] [ath1] Band steering events being sent to PID:2578 
 +plcmon.c:main:837:##In## main 
 + 
 +[   68.790000] fast-classifier: starting up 
 +[   68.800000] fast-classifier: registered 
 +[   70.740000] sc nodebug 1  
 +qcawifi disable radio wifi0 
 +[   72.560000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   72.590000] br-lan: port 2(ath0) entered disabled state 
 +[   72.630000] [UNSPECIFIED] _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=862c3138 arg=848c6b80 
 +[   72.630000]  
 +[   72.640000] [UNSPECIFIED] _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=862c3138 arg=848c6b80 
 +[   72.640000]  
 +[   72.660000] [UNSPECIFIED] _ieee80211_scan_unregister_event_handler: Failed to unregister evhandler=862c38ac arg=848c6b80 
 +[   72.660000]  
 +[   72.680000] ieee80211_mbo_vdetach: MBO terminated 
 +[   72.680000] ieee80211_oce_vdetach: OCE terminated 
 +[   72.740000] br-lan: port 2(ath0) entered disabled state 
 +qcawifi disable radio wifi1 
 +[   73.010000] STOPPED EVENT for vap 0 (86b1a000) 
 +[   73.010000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   73.050000] OL vap_start + 
 +[   73.050000] VDEV START 
 +[   73.050000] OL vap_start - 
 +[   73.050000] ol_vdev_start_resp_ev for vap 0 (86b1a000) 
 +[   73.060000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   73.070000] send_vdev_up_cmd_non_tlv for vap 0 
 +[   73.070000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   73.080000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 
 +[   73.090000] STOPPED EVENT for vap 0 (86b1a000) 
 +[   73.090000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   73.110000] br-lan: port 3(ath1) entered disabled state 
 +[   73.150000] [UNSPECIFIED] ol_scan_unregister_event_handler: Failed to unregister evhandler=862c3138 arg=86379b80 
 +[   73.150000]  
 +[   73.160000] [UNSPECIFIED] ol_scan_unregister_event_handler: Failed to unregister evhandler=862c3138 arg=86379b80 
 +[   73.160000]  
 +[   73.170000] [UNSPECIFIED] ol_scan_unregister_event_handler: Failed to unregister evhandler=862c38ac arg=86379b80 
 +[   73.170000]  
 +[   73.190000] send_vdev_delete_cmd_non_tlv for vap 0 
 +[   73.190000] ol_ath_vap_delete: wmi_unified_vdev_delete_send done ID = 0 vap (860c8000) VAP Addr = xx:xx:xx:xx:xx:xx: 
 +[   73.200000] ieee80211_mbo_vdetach: MBO terminated 
 +[   73.210000] ieee80211_oce_vdetach: OCE terminated 
 +[   73.210000] Suspending Target  scn=85f00380 
 +[   73.220000] waiting for target paused event from target  
 +[   73.220000] ol_ath_thermal_mitigation_detach: ++ 
 +[   73.230000] ol_ath_thermal_mitigation_detach: -- 
 +[   73.230000] ol_if_dfs_clist_update: called, cmd=1, nollist=  (null), nentries=0 
 +[   73.240000] ce_h2t_tx_ce_cleanup 1039 Fastpath mode ON, Cleaning up HTT Tx CEsmart_log_deinit: Smart logging Disabled 
 +[   73.250000] Disabling Mcastenhance. This may take some time... 
 +[   73.260000] hif_pci_device_reset: Reset Devicehif_pci_disable_bus: Xhif_disable: Xath_sysfs_diag_fini: diag_fsattr  
 +[   73.270000] channel is not 2.4G return faile 
 + 
 +[   73.300000] br-lan: port 3(ath1) entered disabled state 
 +qcawifi: enable radio wifi0 
 +[   73.640000] DCS for CW interference mitigation:   0 
 +[   73.640000] DCS for WLAN interference mitigation: 0 
 +[   73.760000]  Disconnect_timeout value entered:10  
 +[   73.770000]  reconfiguration_timeout value entered:60  
 +[   73.920000] wlan_vap_create : enter. devhandle=0x869b0380, opmode=IEEE80211_M_HOSTAP, flags=0x1 
 +[   73.930000] ieee80211_mbo_vattach:MBO Initialized  
 +[   73.940000] ieee80211_oce_vattach: OCE Initialized  
 +[   73.940000] wlan_vap_create : exit. devhandle=0x869b0380, vap=0x85f70000, opmode=IEEE80211_M_HOSTAP, flags=0x1. 
 +[   73.950000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   73.960000] VAP device ath0 created osifp: (84b05b80) os_if: (85f70000) 
 +[   74.000000] siwfreq 
 +[   74.000000] Set freq vap 0 stop send + 85f70000 
 +[   74.000000] Set freq vap 0 stop send -85f70000 
 +[   74.040000] Set wait done --85f70000 
 +[   74.210000]   
 +[   74.210000]  DES SSID SET=  
 +[   74.230000] [DEBUG] vap-0(ath0):set SIOC80211NWID, 10 characters 
 +[   74.230000]   
 +[   74.230000]  DES SSID SET=dlink-XXXX  
 +[   74.760000]  ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1  
 +[   74.770000]  DEVICE IS DOWN ifname=ath0 
 +[   74.770000]  DEVICE IS DOWN ifname=ath0 
 +[   74.900000] Warning: node not in table 0x85f4e000 
 +[   74.960000] 8021q: adding VLAN 0 to HW filter on device ath0 
 +[   75.010000] device ath0 entered promiscuous mode 
 +[   75.020000] br-lan: port 2(ath0) entered forwarding state 
 +[   75.030000] br-lan: port 2(ath0) entered forwarding state 
 +qcawifi: enable radio wifi1 
 +[   75.150000] [ol_ath_iw_setcountry][1798] *p=47, *(p+1)=42 
 +[   75.150000] hif_pci_enable_bus: con_mode = 0x0, device_id = 0x56 
 +[   75.160000] ath_ol_pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] 
 +[   75.170000] 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:
 +[   75.210000] chip_id 0xc chip_revision 0x0 
 +[   75.220000]  
 +[   75.220000]  CLOCK PLL skipped 
 +[   75.220000] hif_set_hia_extnd: setting the target pll frac ffffffff intval ffffffff 
 +[   75.230000] hif_set_hia_extnd: no frac provided, skipping pre-configuring PLL 
 +[   75.240000] 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 
 +[   75.270000] hif_napi_event: received evnt: CONF cmd; v = 1 (state=0x1)hif_napi_event: setting configuration to ON 
 +[   75.280000] ol_target_init() BMI inited. 
 +[   75.280000] ol_target_init() BMI Get Target Info. 
 +[   75.290000] Chip id: 0xc, chip version: 0x1000000 
 +[   75.290000]  
 +[   75.290000]  CE WAR Disabled 
 +[   75.300000] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0 
 +[   75.300000] ol_target_init() configure Target . 
 +[   75.310000]  
 +[   75.310000]  Target Version is 1000000 
 +[   75.310000]  
 +[   75.310000]  Flash Download Address  c0000  
 +[   75.320000] ol_transfer_bin_file: flash data file defined 
 +[   75.330000] ol_transfer_bin_file[3756] Get Caldata for wifi1. 
 +[   75.330000] qdf_fs_read[59], Open File /tmp/wifi1.caldata SUCCESS!!file system magic:16914836super blocksize:4096inode 186file size:12064qc98xx_verify_checksum: flash checksum passed: 0xf57f 
 +[   75.350000] ol_transfer_bin_file 3817: Download Flash data len 12064 
 +[   75.360000] Board extended Data download address: 0x0 
 +[   75.380000]  
 +[   75.380000]  Board data initialized 
 +[   75.390000] ol_ath_download_firmware: Download OTP, flash download ADDRESS 0xc0000 
 +[   75.400000]  
 +[   75.400000]  Selecting  OTP binary for CHIP Version 0 
 +[   75.420000] ol_transfer_bin_file 3637: downloading file 0, Download data len 9080 
 +[   75.460000]  
 +[   75.460000]  First OTP send param 8000 
 +[   75.710000] ol_ath_download_firmware :First OTP download and Execute is good address:0x4800 return param 4660 
 +[   75.720000] ol_ath_download_firmware:##Board Id 18 , CHIP Id 0 
 +[   75.720000] ol_ath_download_firmware: BOARDDATA DOWNLOAD TO address 0xc0000 
 +[   75.730000]  
 +[   75.730000]  wifi1: Selecting board data file name boardData_2_0_QCA9888_5G_Y9582.bin 
 +[   75.740000] ol_transfer_bin_file: Board Data File download to address=0xc0000 file name=QCA9888/hw.2/boardData_2_0_QCA9888_5G_Y9582.bin 
 +[   75.760000] ol_transfer_bin_file 3637: downloading file 3, Download data len 12064 
 +[   75.770000] Board extended Data download address: 0x0 
 +[   75.800000] ol_ath_download_firmware: Using 0x1234 for the remainder of init 
 +[   75.810000]  
 +[   75.810000]  Selecting  OTP binary for CHIP Version 0 
 +[   75.830000] ol_transfer_bin_file 3637: downloading file 0, Download data len 9080 
 +[   75.880000]  
 +[   75.880000]  [Flash] : Ignore Module param 
 +[   75.880000]  
 +[   75.880000]  Second otp download Param 10000  
 +[   76.140000] ol_ath_download_firmware : Second OTP download and Execute is good, param=0x0  
 +[   76.150000]  
 +[   76.150000]  Mission mode: Firmware CHIP Version 0 
 +[   76.170000] ol_swap_wlan_memory_expansion: length:239071 size_left:239091 dma_size_left:262144 fw_temp:c1033004 fw_entry_size:239095 
 +[   76.180000] ol_swap_wlan_memory_expansion: dma_virt_addr :a5ec0000 fw_temp: c1033008 length: 239071 
 +[   76.200000] Swap: bytes_left to copy: fw:16; dma_page:23073 
 +[   76.200000] ol_swap_wlan_memory_expansion: length:0 size_left:12 dma_size_left:23073 fw_temp:c106d5eb fw_entry_size:239095 
 +[   76.210000] Swap: wrong length read:0 
 +[   76.220000] ol_swap_wlan_memory_expansion: Swap total_bytes copied: 239071 Target address 41a928  
 +[   76.230000] scn=85f00380  target_write_addr=41a928 seg_info=85f93710  
 +[   76.230000] ol_transfer_swap_struct:Code swap structure successfully downloaded for bin type =2  
 +[   76.240000] bin_filename=QCA9888/hw.2/athwlan.bin swap_filename=/lib/firmware/QCA9888/hw.2/athwlan.codeswap.bin  
 +[   76.250000] ol_transfer_bin_file: Downloading firmware file: QCA9888/hw.2/athwlan.bin 
 +[   76.280000] ol_transfer_bin_file 3637: downloading file 1, Download data len 377964 
 +[   77.030000] br-lan: port 2(ath0) entered forwarding state 
 +[   77.760000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   77.810000] ol_target_init() Download FW done.  
 +[   77.810000] +htc_create ..  HIF :86974000-htc_create: (0x84b07800) 
 +[   77.820000] htc_wmi_init() HT Create . 84b07800 
 +[   77.820000] htc_wmi_init 7516 host_enable 0 nss_nwifi_offload 0 
 +[   77.830000] ol_ath_set_default_tgt_config : AC Minfree buffer allocation through module param (umac.ko) 
 +[   77.840000]  OL_ACBKMinfree : 0 
 +[   77.840000]  OL_ACBEMinfree : 0 
 +[   77.840000]  OL_ACVIMinfree : 0 
 +[   77.850000]  OL_ACVOMinfree : 0 
 +[   77.850000] hif_enable_fastpath, Enabling fastpath mode 
 +[   77.860000] +HWT 
 +[   77.860000] hif_completion_thread_startup: pipe_num:0 pipe_info:0x8697705chif_completion_thread_startup: pipe_num:3 pipe_info:0x8697711chif_completion_thread_startup: pipe_num:4 pipe_info:0x8697715c 
 +[   77.880000] -HWT 
 +[   77.880000] wmi_unified_register_event_handler : event handler already registered 0x8002 
 +[   77.890000] Startup Mode-0 set 
 +[   77.890000]  
 +[   77.890000] <=== cfg max peer id 1056 ====> 
 +[   77.900000] htt_peer_map_timer_init Enter pdev 84b58000 hrtimer 84b5c960 
 +[   77.910000]  
 +[   77.910000]  htt_alloc_peer_map_mem : Alloc Success : host q vaddr 848fe000 paddr 48fe000 
 +[   77.920000]  
 +[   77.920000]  htt_alloc_peer_map_mem : Flush Interval Configured to 256 pkts 
 +[   77.930000] ol_txrx_pdev_attach: 2500 tx desc's allocated ; range starts from 83140000 
 +[   77.940000] Firmware_Build_Number:10  
 +[   77.950000] FW wireless modes: 0x7f9001 
 +[   77.950000] num_rf_chain:0x00000002  ht_cap_info:0x0000085b  vht_cap_info:0x339979fa  vht_supp_mcs:0x0000fffa 
 +[   77.960000] wmi_service_coex_gpio 0, wmi_service_4_wire_coex_support 0, coex_version 0 
 +[   77.970000]  
 +[   77.970000] Sending Ext resource cfg: HOST PLATFORM as 1 
 +[   77.970000] fw_feature_bitmap as 50 to TGT 
 +[   77.980000] ol_ath_service_ready_event: tt_support: 1 
 +[   77.980000] ol_ath_service_ready_event: periodic_chan_stats:
 +[   77.990000] ol_ath_service_ready_event: sw_cal_support_check_flag:
 +[   78.000000] Peer Caching Enabled ; num_peers = 530, num_active_peers = 52 num_tids = 104, num_vdevs = 17 
 +[   78.010000] Airtime Fairness: num_peers=530 num_active_peer=52 
 +[   78.010000] EXT NSS Supported 
 +[   78.020000] idx 1 req 2  num_units 1 num_unit_info 12 unit size 256 actual units 53  
 +[   78.020000] ol_ath_alloc_host_mem_chunk req_id 2 idx 0 num_units 53 unit_len 256, 
 +[   78.030000] idx 2 req 3  num_units 1 num_unit_info 12 unit size 1024 actual units 53  
 +[   78.040000] ol_ath_alloc_host_mem_chunk req_id 3 idx 1 num_units 53 unit_len 1024, 
 +[   78.050000] idx 3 req 4  num_units 1 num_unit_info 12 unit size 4096 actual units 53  
 +[   78.060000] ol_ath_alloc_host_mem_chunk req_id 4 idx 2 num_units 53 unit_len 4096, 
 +[   78.060000] idx 0 req 1  num_units 0 num_unit_info 2 unit size 896 actual units 531  
 +[   78.070000] ol_ath_alloc_host_mem_chunk req_id 1 idx 3 num_units 531 unit_len 896, 
 +[   78.080000] idx 4 req 5  num_units 0 num_unit_info 2 unit size 1940 actual units 531  
 +[   78.090000] ol_ath_alloc_host_mem_chunk req_id 5 idx 4 num_units 531 unit_len 1940, 
 +[   78.100000] Support not added yet for Service 91 
 +[   78.100000] Support not added yet for Service 92 
 +[   78.100000] No EXT_MSG send INIT now 
 +[   78.110000] chunk 0 len 13568 requested , ptr  0x4db0000 
 +[   78.110000] chunk 1 len 54272 requested , ptr  0x4e20000 
 +[   78.120000] chunk 2 len 217088 requested , ptr  0x4e40000 
 +[   78.120000] chunk 3 len 475776 requested , ptr  0x4e80000 
 +[   78.130000] chunk 4 len 1030140 requested , ptr  0x4f00000 
 +[   78.140000] ol_ath_service_ready_event[4206] WAPI MBSSID 2  
 +[   78.140000] smart_log_init: Smart logging Enabled buf=831a0000 (size=65536) 
 +[   78.160000] Version = 16777216 3  status = 0 
 +[   78.170000] ol_ath_connect_htc() WMI is ready 
 +[   78.170000] htt_h2t_frag_desc_bank_cfg_msg - HTT_H2T_MSG_TYPE_FRAG_DESC_BANK_CFG sent to FW for radio ID = 1 
 +[   78.180000] target uses HTT version 2.2; host uses 2.2 
 +[   78.190000] wmi_unified_register_event_handler : event handler already registered 0x900b 
 +[   78.200000] >>>> CB Set   (null) 
 +[   78.200000] ol_ath_thermal_mitigation_attach: -- 
 +[   78.210000] ath_sysfs_diag_init: diag_fsattr  
 +[   78.210000] isCountryCodeValid: EEPROM regdomain 0x0 
 +[   78.220000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2) flags 0x2150 
 +[   78.230000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4) flags 0xa0 
 +[   78.230000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x8) flags 0xc0 
 +[   78.240000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x20) flags 0xd0 
 +[   78.250000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x40) flags 0x150 
 +[   78.250000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x800) flags 0x10080 
 +[   78.260000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x2000) flags 0x20080 
 +[   78.270000] ol_regdmn_init_channels: !avail mode 0x7f9001 (0x4000) flags 0x40080 
 +[   78.280000] Add VHT80 channel: 5210 
 +[   78.280000] Add VHT80 channel: 5290 
 +[   78.280000] Add VHT80 channel: 5530 
 +[   78.290000] Add VHT80 channel: 5610 
 +[   78.290000] Skipping VHT80 channel 5660 
 +[   78.300000] Skipping VHT80 channel 5680 
 +[   78.300000] Skipping VHT80 channel 5700 
 +[   78.300000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   78.310000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   78.320000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   78.330000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   78.340000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   78.350000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   78.360000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5210 in case of VHT80+80 
 +[   78.370000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5530, cfreq2:5290 in case of VHT80+80 
 +[   78.380000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   78.390000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   78.390000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   78.400000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   78.410000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   78.420000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   78.430000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5210 in case of VHT80+80 
 +[   78.440000] EMI WAR rejecting fc1 > fc2 Combination cfreq1:5610, cfreq2:5290 in case of VHT80+80 
 +[   78.450000] freq=58  
 +[   78.450000] freq=106  
 +[   78.460000] freq=122  
 +[   78.530000] set TXBF_SND_PERIOD: value 100 wmi_status 0 
 +[   78.560000]  Disconnect_timeout value entered:10  
 +[   78.580000]  reconfiguration_timeout value entered:60  
 +[   78.730000] wlan_vap_create : enter. devhandle=0x85f00380, opmode=IEEE80211_M_HOSTAP, flags=0x1 
 +[   78.740000] send_vdev_create_cmd_non_tlv: ID = 0 Type = 1, Subtype = 0 VAP Addr = xx:xx:xx:xx:xx:xx: 
 +[   78.750000] ieee80211_mbo_vattach:MBO Initialized  
 +[   78.750000] ieee80211_oce_vattach: OCE Initialized  
 +[   78.760000] wlan_vap_create : exit. devhandle=0x85f00380, vap=0x831b8000, opmode=IEEE80211_M_HOSTAP, flags=0x1. 
 +[   78.770000] __ieee80211_smart_ant_init: Smart Antenna is not supported  
 +[   78.770000] Enabling TX checksum bit for the vap ath1 features 4000  
 +[   78.780000] Enabling SG bit for the vap ath1 features 4000  
 +[   78.790000] Enabling SG bit for the vap ath1 features 4000  
 +[   78.790000] Enabling TSO bit for the vap ath1 features 4000  
 +[   78.800000] Enabling LRO bit for the vap ath1 features 4000  
 +[   78.830000] [wifi1] FWLOG: [5011] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   78.840000] [wifi1] FWLOG: [5011] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   78.850000] [wifi1] FWLOG: [5011] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   78.860000] [wifi1] FWLOG: [5011] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x94c, 0x94c, 0x0 ) 
 +[   78.870000] [wifi1] FWLOG: [5011] WAL_DBGID_TX_AC_BUFFER_SET ( 0x100, 0x11e1a300 ) 
 +[   78.870000] [wifi1] FWLOG: [5309] UNKNOWN 22:55 ( 0x37, 0x199, 0x130, 0x30, 0x0 ) 
 +[   78.880000] [wifi1] FWLOG: [5309] UNKNOWN 22:55 ( 0x37, 0x30, 0x0, 0x30, 0x0 ) 
 +[   78.900000] VAP device ath1 created osifp: (84b07380) os_if: (831b8000) 
 +[   78.960000] siwfreq 
 +[   78.960000] Set freq vap 0 stop send + 831b8000 
 +[   78.960000] Set freq vap 0 stop send -831b8000 
 +[   79.000000] Set wait done --831b8000 
 +[   79.180000]   
 +[   79.180000]  DES SSID SET=  
 +[   79.200000] [DEBUG] vap-0(ath1):set SIOC80211NWID, 10 characters 
 +[   79.210000]   
 +[   79.210000]  DES SSID SET=dlink-XXXX  
 +[   79.310000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   79.370000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +[   79.380000] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 0 sounding dim 1 
 +hyd: starting daemon 
 +[   80.380000]  ieee80211_ioctl_siwmode: imr.ifm_active=18875008, new mode=3, valid=1  
 +[   80.390000]  DEVICE IS DOWN ifname=ath1 
 +[   80.390000]  DEVICE IS DOWN ifname=ath1 
 +[   80.690000] Sending SCAN START cmd 
 +[   80.690000] 8021q: adding VLAN 0 to HW filter on device ath1 
 +[   80.800000] device ath1 entered promiscuous mode 
 +[   80.800000] br-lan: port 3(ath1) entered forwarding state 
 +[   80.810000] br-lan: port 3(ath1) entered forwarding state 
 +[   80.830000] [wifi1] FWLOG: [7575] WAL_DBGID_SECURITY_ENCR_EN (  ) 
 +[   80.840000] [wifi1] FWLOG: [7575] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 ) 
 +[   80.840000] [wifi1] FWLOG: [7604] WAL channel change freq=5180, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   81.160000] Switching to Tx Mode-1 Threshold 280 
 +[   81.830000] [wifi1] FWLOG: [7918] WAL channel change freq=5200, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   81.840000] [wifi1] FWLOG: [8233] WAL channel change freq=5220, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   81.850000] [wifi1] FWLOG: [8547] WAL channel change freq=5240, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   82.190000] [ath0] Band steering events being sent to PID:3664 
 +[   82.780000] [ath0] Band steering events being sent to PID:3664 
 +[   82.810000] br-lan: port 3(ath1) entered forwarding state 
 +[   82.810000] [ath1] Band steering events being sent to PID:3664 
 +[   82.840000] [wifi1] FWLOG: [8861] WAL channel change freq=5260, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   82.840000] [wifi1] FWLOG: [9175] WAL channel change freq=5280, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   82.850000] [wifi1] FWLOG: [9489] WAL channel change freq=5300, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   83.830000] [wifi1] FWLOG: [9804] WAL channel change freq=5320, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   83.840000] [wifi1] FWLOG: [10117] WAL channel change freq=5500, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   83.850000] [wifi1] FWLOG: [10431] WAL channel change freq=5520, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   83.860000] [wifi1] FWLOG: [10746] WAL channel change freq=5540, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +wsplcd: starting daemon 
 +[   84.830000] [wifi1] FWLOG: [11060] WAL channel change freq=5560, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   84.840000] [wifi1] FWLOG: [11374] WAL channel change freq=5580, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   84.850000] [wifi1] FWLOG: [11688] WAL channel change freq=5600, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   84.910000] ME Pool succesfully initialized vaddr - 831e0000 paddr - 0 
 +[   84.910000] num_elems = 1424 buf_size - 64 pool_size = 102528 
 +[   84.920000] Enable MCAST_TO_UCAST 
 +hyd: starting daemon 
 +[   85.830000] [wifi1] FWLOG: [12002] WAL channel change freq=5620, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   85.840000] [wifi1] FWLOG: [12316] WAL channel change freq=5640, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   85.850000] [wifi1] FWLOG: [12631] WAL channel change freq=5660, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   86.040000] [ath0] Band steering events being sent to PID:4007 
 +[   86.040000] [ath1] Band steering events being sent to PID:4007 
 +[   86.240000] [ath0] Band steering events being sent to PID:4007 
 +[   86.240000] [ath1] Band steering events being sent to PID:4007 
 +[   86.520000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   86.530000] OL vap_start + 
 +[   86.530000] VDEV START 
 +[   86.530000] OL vap_start - 
 +[   86.530000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 
 +[   86.730000] ol_vdev_start_resp_ev for vap 0 (86b1a000) 
 +[   86.740000] send_wmm_update_cmd_non_tlv: 
 +[   86.740000] ol_if_dfs_configure: ETSI domain 
 +[   86.830000] [wifi1] FWLOG: [12945] WAL channel change freq=5680, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   86.840000] [wifi1] FWLOG: [13259] WAL channel change freq=5700, mode=0 flags=0 rx_ok=1 tx_ok=1 
 +[   86.850000] [wifi1] FWLOG: [13577] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   86.860000] [wifi1] FWLOG: [13577] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   86.860000] [wifi1] FWLOG: [13583] vap-0 VDEV_MGR_VDEV_START ( 0x157c, 0x2, 0x0, 0x1 ) 
 +[   86.870000] [wifi1] FWLOG: [13583] WAL channel change freq=5500, mode=10 flags=0 rx_ok=1 tx_ok=1 
 +[   86.880000] [wifi1] FWLOG: [13792] UNKNOWN 14:20 ( 0x0 ) 
 +[   87.940000] STOPPED EVENT for vap 0 (86b1a000) 
 +[   87.950000] send_vdev_down_cmd_non_tlv for vap 0 
 +[   87.980000] OL vap_start + 
 +[   87.980000] VDEV START 
 +[   87.980000] OL vap_start - 
 +[   87.980000] ol_vdev_start_resp_ev for vap 0 (86b1a000) 
 +[   87.990000] ol_if_dfs_configure: ETSI domain 
 +[   87.990000] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3 
 +[   88.830000] [wifi1] FWLOG: [15040] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   88.840000] [wifi1] FWLOG: [15040] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 ) 
 +[   88.850000] [wifi1] FWLOG: [15068] vap-0 VDEV_MGR_VDEV_START ( 0x157c, 0x2, 0x0, 0x1 ) 
 +[   88.850000] [wifi1] FWLOG: [15068] UNKNOWN 14:20 ( 0x0 ) 
 +wsplcd: starting daemon 
 +[   89.320000] Otherband BSSID xx:xx:xx:xx:xx:xx 
 +[   89.360000] Otherband BSSID xx:xx:xx:xx:xx:xx</nowiki>
 </WRAP>\\ </WRAP>\\
  
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki>+<nowiki>[    0.303493] printk: console [ttyS0] enabled 
 +[    0.303493] printk: console [ttyS0] enabled 
 +[    0.312560] printk: bootconsole [early0] disabled 
 +[    0.312560] printk: bootconsole [early0] disabled 
 +[    0.334632] spi-nor spi0.0: mx25l12805d (16384 Kbytes) 
 +[    0.340062] 6 fixed-partitions partitions found on MTD device spi0.0 
 +[    0.346669] Creating 6 MTD partitions on "spi0.0": 
 +[    0.351620] 0x000000000000-0x000000040000 : "u-boot" 
 +[    0.360501] 0x000000040000-0x000000050000 : "u-boot-env" 
 +[    0.367057] 0x000000050000-0x000000e80000 : "fwconcat0" 
 +[    0.374962] 0x000000e80000-0x000000e90000 : "loader" 
 +[    0.381288] 0x000000e90000-0x000000ff0000 : "fwconcat1" 
 +[    0.389177] 0x000000ff0000-0x000001000000 : "art" 
 +[    0.395142] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions 
 +[    0.405099] Concatenating MTD devices: 
 +[    0.409045] (0): "fwconcat0" 
 +[    0.412020] (1): "fwconcat1" 
 +[    0.414993] into device "virtual_flash" 
 +[    0.419003] 1 fixed-partitions partitions found on MTD device virtual_flash 
 +[    0.426461] Creating 1 MTD partitions on "virtual_flash": 
 +[    0.432092] 0x000000000000-0x000000f90000 : "firmware" 
 +[    0.445748] 2 uimage-fw partitions found on MTD device firmware 
 +[    0.451887] Creating 2 MTD partitions on "firmware": 
 +[    0.457067] 0x000000000000-0x000000240000 : "kernel" 
 +[    0.463957] 0x000000240000-0x000000f90000 : "rootfs" 
 +[    0.470002] mtd: setting mtd8 (rootfs) as root device 
 +[    0.476204] 1 squashfs-split partitions found on MTD device rootfs 
 +[    0.482617] 0x0000006a0000-0x000000f90000 : "rootfs_data" 
 +[    1.219382] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0 
 +[    1.876904] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316] 
 +[    1.888202] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii 
 +[    1.894903] i2c_dev: i2c /dev entries driver 
 +[    1.901982] NET: Registered PF_INET6 protocol family 
 +[    1.917053] Segment Routing with IPv6 
 +[    1.920915] In-situ OAM (IOAM) with IPv6 
 +[    1.925073] NET: Registered PF_PACKET protocol family 
 +[    1.930482] 8021q: 802.1Q VLAN Support v1.8 
 +[    1.936161] PCI host bridge to bus 0000:00 
 +[    1.940415] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff] 
 +[    1.947570] pci_bus 0000:00: root bus resource [io  0x0000] 
 +[    1.953329] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] 
 +[    1.961563] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000 
 +[    1.967819] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit] 
 +[    1.974954] pci 0000:00:00.0: PME# supported from D0 D3hot 
 +[    1.981843] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 
 +[    1.988756] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit] 
 +[    2.006325] VFS: Mounted root (squashfs filesystem) readonly on device 31:8. 
 +[    2.020267] Freeing unused kernel image (initmem) memory: 1232K 
 +[    2.026419] This architecture does not have kernel memory protection. 
 +[    2.033075] Run /sbin/init as init process 
 +[    2.603084] init: Console is alive 
 +[    2.607162] init: - watchdog - 
 +[    3.919036] kmodloader: loading kernel modules from /etc/modules-boot.d/
 +[    4.001001] usbcore: registered new interface driver usbfs 
 +[    4.006839] usbcore: registered new interface driver hub 
 +[    4.012424] usbcore: registered new device driver usb 
 +[    4.025010] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
 +[    4.035217] fsl-ehci: Freescale EHCI Host controller driver 
 +[    4.043406] ehci-platform: EHCI generic platform driver 
 +[    4.051769] kmodloader: done loading kernel modules from /etc/modules-boot.d/
 +[    4.069842] init: - preinit - 
 +[    5.212136] random: jshn: uninitialized urandom read (4 bytes read) 
 +[    5.439182] random: jshn: uninitialized urandom read (4 bytes read) 
 +[    5.703576] random: jshn: uninitialized urandom read (4 bytes read) 
 +[    7.006302] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 3 is up 
 +[    7.012693] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 4 is up 
 +[    7.032909] eth0: link up (1000Mbps/Full duplex) 
 +[    7.047096] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
 +[    7.053976] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready 
 +[    7.065559] random: procd: uninitialized urandom read (4 bytes read) 
 +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 
 +[    9.337885] jffs2: notice: (415) jffs2_build_xattr_subsystem: complete building xattr subsystem, 23 of xdatum (0 unchecked, 14 orphan) and 27 of xref (2 dead, 14 orphan) found. 
 +[    9.355914] mount_root: switching to jffs2 overlay 
 +[    9.364614] overlayfs: upper fs does not support tmpfile. 
 +[    9.377347] urandom-seed: Seeding with /etc/urandom.seed 
 +[    9.458586] eth0: link down 
 +[    9.481184] procd: - early - 
 +[    9.484476] procd: - watchdog - 
 +[   10.211493] procd: - watchdog - 
 +[   10.215345] procd: - ubus - 
 +[   10.297431] random: ubusd: uninitialized urandom read (4 bytes read) 
 +[   10.306771] random: ubusd: uninitialized urandom read (4 bytes read) 
 +[   10.313849] random: ubusd: uninitialized urandom read (4 bytes read) 
 +[   10.327600] procd: - init - 
 +Please press Enter to activate this console. 
 +[   11.339617] kmodloader: loading kernel modules from /etc/modules.d/
 +[   11.899475] Loading modules backported from Linux version v6.5-0-g2dde18cd1d8f 
 +[   11.907007] Backport generated by backports.git v5.15.92-1-56-g5fb2ccb6b9e8 
 +[   12.377192] PPP generic driver version 2.4.2 
 +[   12.396387] NET: Registered PF_PPPOX protocol family 
 +[   12.458915] ath10k 6.4 driver, optimized for CT firmware, probing pci device: 0x56. 
 +[   12.486248] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002) 
 +[   12.493048] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0 
 +[   13.285655] urngd: v1.0.2 started. 
 +[   15.036257] random: crng init done 
 +[   15.039787] random: 27 urandom warning(s) missed due to ratelimiting 
 +[   17.248660] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000 
 +[   17.258248] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0 
 +[   17.277436] 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 
 +[   17.628785] ath10k_pci 0000:00:00.0: board_file api 2 bmi_id 0:18 crc32 ae4cbea5 
 +[   19.405350] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96 
 +[   19.413113] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32 
 +[   19.443483] 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' 
 +[   19.454869] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508' 
 +[   19.589353] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1 
 +[   19.889487] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2 
 +[   19.920937] kmodloader: done loading kernel modules from /etc/modules.d/
 +[   38.747378] eth0: link up (1000Mbps/Full duplex) 
 +[   38.752195] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready 
 +[   38.775967] br-lan: port 1(eth0.1) entered blocking state 
 +[   38.781564] br-lan: port 1(eth0.1) entered disabled state 
 +[   38.787465] device eth0.1 entered promiscuous mode 
 +[   38.792423] device eth0 entered promiscuous mode 
 +[   38.821547] br-lan: port 1(eth0.1) entered blocking state 
 +[   38.827187] br-lan: port 1(eth0.1) entered forwarding state 
 +[   39.807860] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready</nowiki>
 </WRAP>\\ </WRAP>\\
  
Line 227: Line 2179:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>EXAMPLETAG unsupported}}+{{tag>ath79 QCA9563 16Flash 128RAM 3Port GigabitEthernet 802.11ac 802.11abgn plc U-boot Serial wall_plug mains_powered unsupported}}
  • Last modified: 2024/08/29 18:27
  • by jokujossai