Support for EnGenius EWS377APv1

Hi, I'm looking at adding support for the EnGenius EWS377APv1. I've seen a few coming up under $100 USD on eBay recently.

The Netgear WAX218 seems to be a pretty similar device, even linking to the EWS377APv3 FCC registration in the OpenWrt Wiki.

Specs are the following:

    * CPU: IPQ8072
    * RAM: 512MB
    * Storage: Macronix MX30UF2G18AC-XQI 256MB
    * Ethernet: 2.5G RJ45 port (AQR112C) with PoE input
    * WLAN: 2.4GHz/5GHz with 8 antennas
    * LEDs:
            * Power (Amber)
            * LAN (Blue)
            * 2G WLAN (Blue)
            * 5G WLAN (Blue)
    * Button: 1x Factory reset
    * Power: 12V DC Jack

At a quick glance, it seems to differ from v3 by being based on the IPQ8072 (non-A) and using an Aquantia AQR112C PHY.

I can easily get a root shell through ssh running ssh user@ip -o KexAlgorithms=diffie-hellman-group14-sha1 -o HostKeyAlgorithms=ssh-rsa SHELL=/bin/sh /bin/sh -i

dmesg
[    8.352765] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    8.357475] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    8.364318] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    8.371181] ubi1: good PEBs: 64, bad PEBs: 0, corrupted PEBs: 0
[    8.377948] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    8.383849] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 447060612
[    8.391150] ubi1: available PEBs: 5, total reserved PEBs: 59, PEBs reserved for bad PEB handling: 40
[    8.400094] ubi1: background thread "ubi_bgt1d" started, PID 242
[    9.049917] phylink_module: module license 'Proprietary' taints kernel.
[    9.049943] Disabling lock debugging due to kernel taint
[    9.055504] init phylink module
[    9.061181] senlc initialized: senlc_init
[    9.073570] cfg80211: World regulatory domain updated:
[    9.073593] cfg80211:  DFS Master region: unset
[    9.077711] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.082203] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.091785] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.099581] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.108946] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.116935] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    9.126655] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.136117] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.144179] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.180025] ssdk_switch_device_num_init[998]:INFO:ess-switch dts node number: 1
[   10.183718] ssdk_dt_get_switch_node[836]:INFO:ess-switch DT exist!
[   10.190640] ssdk_dt_parse_access_mode[737]:INFO:switch_access_mode: local bus
[   10.196805] ssdk_dt_parse_access_mode[750]:INFO:switchreg_base_addr: 0x3a000000
[   10.203919] ssdk_dt_parse_access_mode[751]:INFO:switchreg_size: 0x1000000
[   10.211210] ssdk_dt_parse_mac_mode[242]:INFO:mac mode = 0xff
[   10.217636] ssdk_dt_parse_mac_mode[251]:INFO:mac mode1 = 0xf
[   10.223273] ssdk_dt_parse_mac_mode[260]:INFO:mac mode2 = 0xd
[   10.228925] ssdk_dt_parse_phy_info[569]:INFO:[PORT 5] port_mac_sel = QGMAC_PORT
[   10.234578] ssdk_dt_parse_uniphy[279]:INFO:ess-uniphy DT exist!
[   10.241922] ssdk_dt_parse_intf_mac[683]:INFO:dp1 MAC 88:dc:96:7e:95:30
[   10.247840] ssdk_plat_init start
[   10.325764] ssdk_ppe_clock_init[464]:INFO:ppe and uniphy clock init successfully!
[   10.328894] ssdk_probe[1878]:INFO:ess_rst doesn't exist!
[   10.336071] HPPE initializing...
[   10.337389] ssdk_phy_driver_init[301]:INFO:dev_id = 0, phy_adress = 0, phy_id = 0xffffffff phytype doesn't match
[   10.344774] ssdk_phy_driver_init[301]:INFO:dev_id = 0, phy_adress = 1, phy_id = 0xffffffff phytype doesn't match
[   10.354915] ssdk_phy_driver_init[301]:INFO:dev_id = 0, phy_adress = 2, phy_id = 0xffffffff phytype doesn't match
[   10.365065] ssdk_phy_driver_init[301]:INFO:dev_id = 0, phy_adress = 3, phy_id = 0xffffffff phytype doesn't match
[   10.375230] ssdk_phy_driver_init[301]:INFO:dev_id = 0, phy_adress = 24, phy_id = 0xffffffff phytype doesn't match
[   10.385399] aquantia_phy_api_ops_init[2193]:INFO:qca probe aquantia phy driver succeeded!
[   10.396134] aquantia_phy_hw_init:SENAO Fix 1G throughput issue
[   10.399770] aquantia_phy_hw_init:SENAO Fix 1G link fail
[   10.405711] regi_init[3395]:INFO:Initializing HPPE!!
[   10.624437] ssdk_ppe_reset_init[738]:INFO:ppe reset successfully!
[   10.630329] qca_hppe_tdm_hw_init[737]:INFO:tdm setup num=96
[   10.633759] qca_hppe_portctrl_hw_init[165]:INFO:Hawkeye PPE port initializing
[   13.324468] ssdk_switch_register[1617]:INFO:Chip version 0x1500
[   13.327450] qca_link_polling_select[1279]:INFO:link-polling-required node does not exist
[   13.333687] ssdk_switch_register[1642]:INFO:polling is selected
[   13.341412] regi_init[3399]:INFO:Initializing HPPE Done!!
[   13.346332] regi_init[3443]:INFO:qca-ssdk module init succeeded!
[   13.361114] tun: Universal TUN/TAP device driver, 1.6
[   13.361137] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   13.367338] EDMA ver 1 hw init
[   13.371426] EDMA HW Reset completed succesfully
[   13.374281] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[   13.378703] RxDesc:1 (15-15) RxFill:1 (7-7)
[   13.384328] libphy: PHY 90000.mdio:00 not found
[   13.388080] nss-dp: probe of 3a001000.dp1 failed with error -14
[   13.392600] GMAC2(9d964500) Invalid MAC@ - using 3a:79:34:ba:0f:bd
[   13.398501] libphy: PHY 90000.mdio:01 not found
[   13.404730] nss-dp: probe of 3a001200.dp2 failed with error -14
[   13.409169] GMAC3(9d964500) Invalid MAC@ - using e6:32:15:48:34:76
[   13.415080] libphy: PHY 90000.mdio:02 not found
[   13.421302] nss-dp: probe of 3a001400.dp3 failed with error -14
[   13.425819] GMAC4(9d964500) Invalid MAC@ - using 0e:54:04:81:ae:9b
[   13.431650] libphy: PHY 90000.mdio:03 not found
[   13.437889] nss-dp: probe of 3a001600.dp4 failed with error -14
[   13.442329] GMAC5(9d964500) Invalid MAC@ - using b6:22:da:6d:eb:47
[   13.448238] libphy: PHY 90000.mdio:18 not found
[   13.454467] nss-dp: probe of 3a001800.dp5 failed with error -14
[   13.458909] GMAC6(9d964500) Invalid MAC@ - using aa:9e:94:a6:41:07
[   13.465481] **********************************************************
[   13.471048] * NSS Data Plane driver
[   13.477599] **********************************************************
[   13.529950] qca-nss 39000000.nss: Direct firmware load for qca-nss0.bin failed with error -2
[   13.529981] qca-nss 39000000.nss: Falling back to user helper
[   13.612242] nss_driver - fw of size 664152  bytes copied to load addr: 40000000, nss_id : 0
[   13.613549] Supported Frequencies - 
[   13.619408] 748.8 MHz 1.4976 GHz 
[   13.625374] 1.6896 GHz <1>[   13.626414] 
[   13.628832] 7f490d80: meminfo init succeed
[   13.644594] qca-nss 39400000.nss: Direct firmware load for qca-nss1.bin failed with error -2
[   13.644624] qca-nss 39400000.nss: Falling back to user helper
[   13.659975] node size 2 # items 4
[   13.659996] memory: 40000000 536870912 (avl 455450624) items 4 active_cores 2
[   13.662267] 7f490d80: nss core 0 booted successfully
[   13.700880] nss_driver - fw of size 261052  bytes copied to load addr: 40800000, nss_id : 1
[   13.701520] Supported Frequencies - 
[   13.708040] 748.8 MHz 1.4976 GHz 
[   13.714008] 1.6896 GHz <1>[   13.715053] 
[   13.717461] 7f495040: meminfo init succeed
[   13.720532] sit: IPv6 over IPv4 tunneling driver
[   13.722250] node size 2 # items 4
[   13.722254] memory: 40000000 536870912 (avl 455794688) items 4 active_cores 2
[   13.722264] 7f495040: nss core 1 booted successfully
[   13.739945] nat46: module (version 8ff2ae59ec9840a7b8b45f976c51cae80abe0226) loaded.
[   13.744952] ip6_gre: GRE over IPv6 tunneling driver
[   13.755794] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   13.758215] QCA multicast snooping installed successfully
[   13.763392] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.777711] batman_adv: B.A.T.M.A.N. advanced 2019.3 (compatibility version 15) loaded
[   13.780421] nf_conntrack version 0.5.0 (6666 buckets, 26664 max)
[   13.790879] nss_lag_init[354]:LAG Manager Installed
[   13.791903] <NSS-CRYPTO>:module loaded Build_ID - 01/22/21, 14:36:55 SoC=ipq807x
[   13.801758] cannot find nss-macsec0 node
[   13.803010] nss-macsec1 DT exist!
[   13.807062] cannot find nss-macsec2 node
[   13.810036] nss_macsec init success
[   13.819951] diag: IPC Logging disabled
[   13.841265] u32 classifier
[   13.841284]     input device check on
[   13.842857]     Actions configured
[   13.847471] Mirror/redirect action on
[   13.858722] fuse init (API version 7.23)
[   13.860533] pktgen: Packet Generator for packet performance testing. Version: 2.75
[   13.864901] arp_tables: (C) 2002 David S. Miller
[   13.873114] Ebtables v2.0 registered
[   13.874771] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.067509] Netfilter messages via NETLINK v0.30.
[   14.071898] xt_coova: ready
[   14.077165] xt_time: kernel timezone is -0000
[   14.081538] ctnetlink v0.93: registering with nfnetlink.
[   15.545772] Not a bridge device, or device not found: br-lan
[   15.696942] Not a bridge device, or device not found: br-lan
[   24.020364] __mm_init_module 
[   24.031207] qdf_dbg_mask value is invalid
[   24.031227] Using the default module debug levels instead
[   24.034187] qdf_print_ctrl_register: Allocated print control object 0
[   25.973345] wlan: [1230:E:CONFIG] cfg_uint_item_handler: 171: gScanProbeRepeatTime=50 - Out of range [0, 30]; Using 50
[   25.973402] init_ath_dev_in_umac SENAO moved init_ath_dev to umac, Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
[   25.982998] 
[   25.982998]  MINIDUMP VA .bss start=7fb82ac0 module=umac
[   26.327152] 
[   26.327152]  MINIDUMP VA .bss start=7fd347c0 module=qca_ol=======ol_if_register_wifi3_0==========
[   26.413105] wlan: [1252:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:1 with soc_ops:7f3956e0
[   26.415766] remoteproc remoteproc1: powering up q6v5-m3
[   26.438488] remoteproc remoteproc1: Booting fw image IPQ8074/m3_fw.mdt, size 284
[   26.438517] Sanity check passed for M3 image
[   26.472114] remoteproc remoteproc1: remote processor q6v5-m3 is now up
[   26.472175] wlan: [1252:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 2
[   26.477645] <SSR>: glink SUBSYS_BEFOER_POWERUP reinit done
[   26.484761] remoteproc remoteproc0: powering up q6v5-wcss
[   26.490387] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   26.495938] Sanity check passed for the image
[   27.270363] glink_core_link_up glink is up
[   27.270516] glink_xprt_open_event
[   27.270711] Subsystem error monitoring/handling services are up
[   27.270728] remoteproc remoteproc0: remote processor q6v5-wcss is now up
[   27.270779] wlan: [1252:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 3
[   27.289435] IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
[   27.395499] cnss: QMI WLFW service connected, state: 0x1
[   27.395864] diag: In diag_send_feature_mask_update, control channel is not open, p: 2, 7f63c844
[   27.396902] cnss: device_id : 0xffff mem mode : [1]
[   27.397538] cnss: No board_id entry in device tree
[   27.402821] cnss: BDF location : 0x4b0c0000
[   27.402824] cnss: BDF IPQ8074/bdwlan.bin size 131072
[   27.403157] cnss: BDF download response , result: 0, err: 0x0
[   27.403411] cnss: per device BDF location : 0x4b0e0000
[   27.403517] cnss: CALDATA IPQ8074/caldata.bin size 131072 offset 0x20000
[   27.405606] cnss: BDF download response , result: 0, err: 0x0
[   27.471735] wlan: [1252:I:ANY] pld_ahb_wlan_enable: 681: cnss_mode: Cold boot calibration
[   27.540685] Coldboot calibration wait started
[   27.840781] Coldboot calibration wait ended
[   27.841421] wlan: [1252:I:ANY] ol_ath_do_cold_boot_calibration: 467: Coldboot calib successful: radio_id 0x65535
[   27.844268] wlan: [1252:I:ANY] init_ath_pci_3_0: 151: 6ath_ol_pci_wifi3.0:  (Atheros/multi-bss)
[   27.854207] 
[   27.854207]  MINIDUMP VA .bss start=7f395980 module=wifi_3_0
[   27.866627] wlan: [1263:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 0
[   27.894071] remoteproc remoteproc0: stopped remote processor q6v5-wcss
[   27.894118] wlan: [1263:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 1
[   27.899822] glink_core_link_down glink is down
[   27.906747] <SSR>: glink SUBSYS_AFTER_SHUTDOWN cleanup done
[   27.911212] remoteproc remoteproc1: stopped remote processor q6v5-m3
[   27.916719] cnss: QMI WLFW service disconnected, state: 0x7
[   27.924459] glink_xprt_close_event
[   28.333053] 
[   28.333053]  MINIDUMP VA .bss start=7fd2f7c0 module=qca_ol
[   28.391153] =======ol_if_register_wifi3_0==========
[   28.391184] wlan: [1271:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:1 with soc_ops:7fdd16e0
[   28.395051] remoteproc remoteproc1: powering up q6v5-m3
[   28.406548] remoteproc remoteproc1: Booting fw image IPQ8074/m3_fw.mdt, size 284
[   28.411407] Sanity check passed for M3 image
[   28.419556] remoteproc remoteproc1: remote processor q6v5-m3 is now up
[   28.423343] wlan: [1271:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 2
[   28.429738] <SSR>: glink SUBSYS_BEFOER_POWERUP reinit done
[   28.436846] remoteproc remoteproc0: powering up q6v5-wcss
[   28.442453] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[   28.448038] Sanity check passed for the image
[   28.788129] glink_core_link_up glink is up
[   28.788271] glink_xprt_open_event
[   28.788366] IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
[   28.794548] Subsystem error monitoring/handling services are up
[   28.800958] remoteproc remoteproc0: remote processor q6v5-wcss is now up
[   28.801927] cnss: QMI WLFW service connected, state: 0x1
[   28.802107] cnss: device_id : 0xffff mem mode : [1]
[   28.802764] cnss: No board_id entry in device tree
[   28.802995] cnss: BDF location : 0x4b0c0000
[   28.802997] cnss: BDF IPQ8074/bdwlan.bin size 131072
[   28.803208] cnss: BDF download response , result: 0, err: 0x0
[   28.803378] cnss: per device BDF location : 0x4b0e0000
[   28.803439] cnss: CALDATA IPQ8074/caldata.bin size 131072 offset 0x20000
[   28.805715] cnss: BDF download response , result: 0, err: 0x0
[   28.855146] wlan: [1271:I:ANY] ol_ath_ahb_ssr: 183: ol_ath_ahb_ssr: SSR event 3
[   28.860952] wlan: [1271:I:ANY] pld_ahb_wlan_enable: 685: cnss_mode: Mission mode 
[   28.874529] wlan: [1271:I:ANY] qca_napi_create: 355: qca_napi_create: napi instance 0 created on pipe 4
[   28.875651] wlan: [1271:I:ANY] __ol_ath_attach: 3104: Allocated soc 99e00500
[   28.884751] btcoex_support 0 wlan_prio_gpio 0
[   28.892081] wlan: [1271:E:CONFIG] cfg_uint_item_handler: 171: dp_int_timer_threshold_tx=1000 - Out of range [8, 100]; Using 1000
[   28.896396] wlan: [1271:I:ANY] osif_nss_wifi_soc_setup: 198: nss register id -1 nss config 0 Target Type 14 
[   28.907907] wlan: [1271:I:ANY] __ol_ath_attach: 3318: dev name soc0
[   28.917817] wlan: [1271:I:ANY] ol_ath_soc_attach: 6575: WMI attached. wmi_handle 9a3de200 
[   28.923731] wlan: [1271:I:ANY] htc_wmi_init: 5944: htc_wmi_init() HT Create . 99e9d000
[   28.932018] wlan: [1271:I:ANY] htc_wmi_init: 5951: htc_wmi_init() Skipping BMI Done. 
[   28.939912] wlan: [1271:I:ANY] htc_wmi_init: 6008: [htc_wmi_init:6008] host_enable 0 nss_nwifi_offload 0
[   28.951384] wlan: [1271:I:ANY] ol_target_init_complete: 6124: CDP soc attach success
[   28.957397] wlan: [1271:I:ANY] ol_target_init_complete: 6131: Soc attach success NSS config 0 
[   28.965129] wlan: [1271:I:ANY] htc_set_async_ep: 428: htc_set_async_ep: htc_handle 99e9d000, ep 2, value 1
[   28.973541] wlan: [1271:I:ANY] htc_set_async_ep: 428: htc_set_async_ep: htc_handle 99e9d000, ep 3, value 1
[   28.983176]  Target failed service 0x106 connect request (status:1)
[   28.992771] wlan: [1271:E:WMI] Failed to connect to WMI CONTROL service status:27
[   28.992771] 
[   28.999583] wlan: [1257:I:TIF] init_deinit_populate_hw_mode_capability: 338: Preferred mode is not set, use mode id 1
[   28.999583] 
[   29.007978] wlan: [1257:I:TIF] HE_CAP Info = 1a00010d
[   29.020040] wlan: [1257:I:TIF] Num HW modes = 2
[   29.025145] wlan: [1257:I:TIF] Num PHY = 2
[   29.029483] wlan: [1257:I:TIF] Preferred HW Mode = 1 Num Radios = 2
[   29.033655] wlan: [1257:I:TIF] init_deinit_add_11ax_modes: 1403: Adding 11ax regulatory modes,
[   29.039825] wlan: [1257:I:TIF] init_deinit_add_11ax_modes: 1406:  phy_id = 0 wireless modes = f97f9001
[   29.048506] wlan: [1257:I:TIF] init_deinit_add_11ax_modes: 1403: Adding 11ax regulatory modes,
[   29.057793] wlan: [1257:I:TIF] init_deinit_add_11ax_modes: 1406:  phy_id = 1 wireless modes = 680680c
[   29.066612] wlan: [1257:I:dfs] WLAN_DEBUG_DFS_ALWAYS : wlan_dfs_pdev_obj_create_notification: 390: dfs_offload 1
[   29.075681] wlan: [1257:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_agile_soc_obj_init: 1038: dfs->dfs_psoc_idx: 0 
[   29.085927] wlan: [1257:I:dfs] WLAN_DEBUG_DFS_ALWAYS : dfs_agile_soc_obj_init: 1044: dfs_soc_obj->num_dfs_privs: 1 
[   29.095554] wlan: [1257:I:dfs] WLAN_DEBUG_DFS_ALWAYS : wlan_dfs_pdev_obj_create_notification: 362: Do not allocate DFS object for 2G, pdev_id = 1
[   29.144279] wlan: [1257:I:TIF] init_deinit_update_pdev_tgt_info: 1064: CDP PDEV ATTACH success
[   29.163614] wlan: [1257:I:TIF] init_deinit_update_pdev_tgt_info: 1064: CDP PDEV ATTACH success
[   29.264021] wlan: [1257:I:ANY] copy_fw_abi_version_tlv: 6258: copy_fw_abi_version_tlv: INIT_CMD version: 1, 0, 0x5f414351, 0x4c4d, 0x0, 0x0
[   29.419803] wlan: [1257:E:TIF] init_deinit_ready_event_handler: 415: Host Requested 1058 peers. FW Supports 288 peers
[   29.419835] wlan: [1257:I:ANY] dp_peer_map_attach_wifi3: 9755: dp_peer_map_attach_wifi3 max_peers 341, max_ast_index: 1040
[   29.419835] 
[   29.429439] wlan: [1257:I:ANY] ready_extract_init_status_tlv: 8002: ready_extract_init_status_tlv:0
[   29.441728] wlan: [1271:I:ANY] ol_ath_connect_htc: 1222: WMI is ready
[   29.450850] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 37 is unavailable
[   29.457350] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 141 is unavailable
[   29.465846] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 137 is unavailable
[   29.474356] wlan: [1271:I:ANY] ol_ath_soc_attach: 6649: connect HTC
[   29.482941] wlan: [1271:I:ANY] ol_ath_soc_attach: 6650: bypasswmi : 0
[   29.489108] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 38 is unavailable
[   29.495706] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 138 is unavailable
[   29.504209] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 139 is unavailable
[   29.512724] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 55 is unavailable
[   29.521315] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 49 is unavailable
[   29.529912] wlan: [1271:E:WMI] wmi_unified_register_event_handler: Event id 25 is unavailable
[   29.538414] wlan: [1271:I:ANY] ol_ath_soc_attach: 6719: ol_ath_soc_attach() UMAC attach . 
[   29.546938] wlan: [1271:I:ANY] ath_lowi_if_netlink_init: 177: ath_lowi_if_netlink_init LOWI Netlink successfully created
[   29.555125] wlan: [1271:I:ANY] __ol_ath_attach: 3432: ======pdev_netdev->name=wifi%d======
[   29.555125] 
[   29.566109] wlan: [1271:I:ANY] __ol_ath_attach: 3435: =======set wifi%d as wifi1=======
[   29.566109] 
[   29.575571] wlan: [1271:I:ANY] __ol_ath_attach: 3443: ========after changed, pdev_netdev->name=wifi1=======
[   29.575571] 
[   29.585297] wlan: [1271:I:ANY] __ol_ath_attach: 3446: pdev_netdev name wifi1
[   29.596484] wlan: [1271:I:ANY] __ol_ath_attach: 3489: Skip txrx_pdev_attach_target
[   29.603513] wlan: [1271:I:ANY] __ol_ath_attach: 3513: BURSTING enabled by default
[   29.610941] wlan: [1271:I:ANY] ol_ath_pdev_attach: 7130: interface_id 1
[   29.618454] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6873:  phy id = 0 Modes supported
[   29.624875] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6880:  11b = 0 11g = 0 11a = 1 11n = 1 11ac = 1 11ax = 1
[   29.633208] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6888:  Reg cap - phy_id = 0 supp_bnd = 2, modes = f97f9001, lo_2g = 0, hi_2g = 0 lo_g5 = 4910, hi_5g = 6100
[   29.643462] wlan: [1271:I:ANY] ol_ath_update_wireless_modes: 1321: wireless_modes = f97f9001 before update
[   29.657779] wlan: [1271:I:ANY] ol_ath_update_wireless_modes: 1336: Wireless_modes = f97f9001 after update
[   29.667498] wlan: [1271:I:ANY] ol_ath_update_ext_caps: 1844: 11ax 5G supported case
[   29.677161] wlan: [1271:I:ANY] ol_regdmn_start: 446: ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   29.684643] 
[   29.684643] [5G] countryID=840, ic_disable_band=15,[1,1,1,1]
[   29.703942] wlan: [1271:I:ANY] ol_resmgr_create: 223: OL Resmgr Init-ed
[   29.707224] ieee80211_cbs_init CBS Inited
[   29.716717] wlan: [1271:I:ANY] acfg_attach: 3455: acfg_attach: 3455: Netlink socket created:98f1d800
[   29.717583] wlan: [1271:I:ANY] ol_if_eeprom_attach: 1459: rate power table override is only supported for AR98XX
[   29.726962] wlan: [1271:I:ANY] ol_ath_stats_attach: 2100: periodic_chan_stats: 1
[   29.737645] wlan: [1271:I:ANY] wlan_scan_update_channel_list: 1094: num_chan: 21
[   29.744508] wlan: [0:I:ANY] ol_ath_pdev_attach: 7482: Set global_ic[1], ptr:7fb8ab58
[   29.751866] wlan: [0:I:ANY] dp_lag_soc_enable: 88: pdev(92bfe044) Enabling DBDC Repeater 1 
[   29.759607] wlan: [0:I:ANY] dp_lag_pdev_set_primary_radio: 44: pdev(92bfe044) is_primary 1 
[   29.767670] wlan: [1271:I:ANY] ol_ath_pdev_attach: 7599: Pdev = 0 Number of peers = 144
[   29.776651] wlan: [1271:E:CFR] tgt_cfr_init_pdev: 107: Error occurred with exit code 11
[   29.776651] 
[   29.783985] wlan: [1271:E:CFR] wlan_cfr_pdev_open: 105: tgt_cfr_init_pdev failed with 11
[   29.783985] 
[   29.793730] wlan: [1271:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 595: ( 1) chan  36 blocked from cfg
[   29.803175] wlan: [1271:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 595: ( 2) chan 132 blocked from cfg
[   29.812727] wlan: [1271:I:ANY] osif_wrap_attach: 239: osif wrap attached
[   29.812727] 
[   29.822181] wlan: [1271:I:ANY] osif_wrap_devt_init: 201: osif wrap dev table init done
[   29.822181] 
[   29.830258] wlan: [1271:I:ANY] osif_wrap_attach: 247:  Wrap Attached: Wrap_com =8e502200 ic->ic_wrap_com=8e502200 &wrap_com->wc_devt=8e502200 
[   29.830258] 
[   29.839484] wlan: [1271:I:ANY] __ol_ath_attach: 3697: needed_headroom reservation 60
[   29.853729] wlan: [1271:I:ANY] wlan_cfg80211_init: 9339: Number of 5G channels: 21 
[   29.861877] wlan: [1271:I:ANY] ieee80211_cfg80211_radio_attach: 9433: ic: 0x97ae0500, wdev: 0x97aefca8, wiphy: 0x98f1dd60, netdev: 0x97ae0000 
[   29.869565] wlan: [1271:I:ANY] __ol_ath_attach: 3432: ======pdev_netdev->name=wifi%d======
[   29.869565] 
[   29.881959] wlan: [1271:I:ANY] __ol_ath_attach: 3439: ======set wifi%d as wifi0======
[   29.881959] 
[   29.891558] wlan: [1271:I:ANY] __ol_ath_attach: 3443: ========after changed, pdev_netdev->name=wifi0=======
[   29.891558] 
[   29.900924] wlan: [1271:I:ANY] __ol_ath_attach: 3446: pdev_netdev name wifi0
[   29.912287] wlan: [1271:I:ANY] __ol_ath_attach: 3489: Skip txrx_pdev_attach_target
[   29.919316] wlan: [1271:I:ANY] __ol_ath_attach: 3513: BURSTING enabled by default
[   29.926759] wlan: [1271:I:ANY] ol_ath_pdev_attach: 7130: interface_id 0
[   29.934248] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6873:  phy id = 1 Modes supported
[   29.940676] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6880:  11b = 1 11g = 1 11a = 0 11n = 1 11ac = 1 11ax = 1
[   29.949012] wlan: [1271:I:ANY] ol_ath_pdev_regdmn_init: 6888:  Reg cap - phy_id = 1 supp_bnd = 1, modes = 680680c, lo_2g = 2312, hi_2g = 2732 lo_g5 = 0, hi_5g = 0
[   29.959290] wlan: [1271:I:ANY] ol_ath_update_wireless_modes: 1321: wireless_modes = 680680c before update
[   29.973576] wlan: [1271:I:ANY] ol_ath_update_wireless_modes: 1336: Wireless_modes = 680680c after update
[   29.983210] wlan: [1271:I:ANY] ol_ath_update_ext_caps: 1852: 11ax 2G supported case
[   29.992794] wlan: [1271:I:ANY] ol_regdmn_start: 446: ol_regdmn_start: reg-domain param: regdmn=0, countryName=, wModeSelect=FFFFFFFF, netBand=FFFFFFFF, extendedChanMode=0.
[   30.000191] 
[   30.000191] [2.4G] countryID=840, ic_disable_band=15,[1,1,1,1]
[   30.015656] wlan: [1271:I:ANY] ol_resmgr_create: 223: OL Resmgr Init-ed
[   30.022754] ieee80211_cbs_init CBS Inited
[   30.032415] wlan: [1271:I:ANY] acfg_attach: 3430: Offload using existing sock 98f1d800
[   30.033294] wlan: [1271:I:ANY] ol_if_eeprom_attach: 1459: rate power table override is only supported for AR98XX
[   30.041285] wlan: [1271:I:ANY] ol_ath_stats_attach: 2100: periodic_chan_stats: 1
[   30.051762] wlan: [1271:I:ANY] wlan_scan_update_channel_list: 1094: num_chan: 11
[   30.059009] wlan: [0:I:ANY] ol_ath_pdev_attach: 7482: Set global_ic[2], ptr:7fb8ab58
[   30.066366] wlan: [0:I:ANY] dp_lag_soc_enable: 88: pdev(92bfe4c4) Enabling DBDC Repeater 1 
[   30.074090] wlan: [0:I:ANY] dp_lag_pdev_set_primary_radio: 44: pdev(92bfe4c4) is_primary 0 
[   30.082168] wlan: [1271:I:ANY] ol_ath_pdev_attach: 7599: Pdev = 1 Number of peers = 144
[   30.091146] wlan: [1271:E:CFR] tgt_cfr_init_pdev: 107: Error occurred with exit code 11
[   30.091146] 
[   30.098488] wlan: [1271:E:CFR] wlan_cfr_pdev_open: 105: tgt_cfr_init_pdev failed with 11
[   30.098488] 
[   30.108225] wlan: [1271:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 595: ( 1) chan  36 blocked from cfg
[   30.117671] wlan: [1271:I:ANY] ol_ath_pri20_cfg_blockchanlist_parse: 595: ( 2) chan 132 blocked from cfg
[   30.127223] wlan: [1271:I:ANY] osif_wrap_attach: 239: osif wrap attached
[   30.127223] 
[   30.136681] wlan: [1271:I:ANY] osif_wrap_devt_init: 201: osif wrap dev table init done
[   30.136681] 
[   30.144756] wlan: [1271:I:ANY] osif_wrap_attach: 247:  Wrap Attached: Wrap_com =8e503800 ic->ic_wrap_com=8e503800 &wrap_com->wc_devt=8e503800 
[   30.144756] 
[   30.153976] wlan: [1271:I:ANY] __ol_ath_attach: 3697: needed_headroom reservation 60
[   30.168207] wlan: [1271:I:ANY] wlan_cfg80211_init: 9327: Number of 2G channels: 11 
[   30.176335] wlan: [1271:I:ANY] ieee80211_cfg80211_radio_attach: 9433: ic: 0x97b20500, wdev: 0x97b2fca8, wiphy: 0x98f1f160, netdev: 0x97b20000 
[   30.184326] wlan: [1271:I:ANY] wlan_pdev_operation: 741: num_radios=1, wifi_radios[0].sc = 97ae0500_radio_type = 2
[   30.196465] wlan: [1271:I:ANY] wlan_pdev_operation: 741: num_radios=2, wifi_radios[1].sc = 97b20500_radio_type = 2
[   30.206814] wlan: [1271:I:ANY] init_ath_pci_3_0: 151: 6ath_ol_pci_wifi3.0:  (Atheros/multi-bss)
[   30.217152] 
[   30.217152]  MINIDUMP VA .bss start=7fdd1980 module=wifi_3_0
[   30.291780] wlan: [1308:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:0 with soc_ops:7f38fae0
[   30.291825] wlan: [1308:I:ANY] osif_nss_register_module: 90: NSS wifi ops registered for target_type:0 with soc_ops:7f38fae0
[   30.302622] wlan: [1308:I:ANY] init_ath_pci_2_0: 143: 6ath_ol_pci_2_0:  (Atheros/multi-bss)
... limited by thread size

I dumped all /dev/mtd* and found about 30 dtb files, but I'm not sure how to make use of them. I couldn't convert them to dts using dtc either.

I didn't attempt connecting to UART for now.


References
FCC report

If correct, that would imply game over right there. ath11k only supports the second (trailing 'A') SOC revision.

1 Like

The SoC really just mentions IPQ8072 and an STH forum post seems to confirm v1 and v2 use the non-A model. Good to know they should be avoided.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.