TP-Link EAP620 HD v2

thanks for this @robimarko i had had .bin. fixed and complied correctly.

And also AP is showing wifi driver loaded! thank you :). Also huge thanks to @mrnuke for the contstant help with my first device towards openwrt!

Now i have no idea whats next?

Installation to flash ?

yes i have done this now. I do think we are missing something still for 5G to work?

[   11.159051] ath11k c000000.wifi: ipq6018 hw1.0
[   11.159087] ath11k c000000.wifi: FW memory mode: 0
[   12.396373] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[   12.399577] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   12.407161] ath11k c000000.wifi: fw_version 0x25008f8e fw_build_timestamp 2024-03-01 03:54 fw_build_id WLAN.HK.2.5.0.1-03982-QCAHKSWPL_SILICONZ-3
[   12.638911] ath11k c000000.wifi: No regulatory rules available in the event info
[   12.638974] ath11k c000000.wifi: failed to extract regulatory info
[   12.647120] ath11k c000000.wifi: No regulatory rules available in the event info
[   12.651408] ath11k c000000.wifi: failed to extract regulatory info
[   12.721657] ath11k c000000.wifi: failed to receive default regd during init
[   12.722560] ath11k c000000.wifi: failed to receive deault regd during init

That sounds like the same issue I had on EAP610-outdoor. Might need to modify the BDF to add a new regdb. See https://github.com/openwrt/openwrt/pull/14922#issuecomment-2050606914

maybe some one can assist here:

the board was extracted with ath11k-bdencoder, to provide "bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=TP-Link-EAP620HD-v2.bin"

i had gotten the regdb.bin from ea610-outdoor and put it in with ath11k_bdf_tool.py

now the question i have is how to create a new board-2.bin based off of this updated "bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=TP-Link-EAP620HD-v2.bin"

@mrnuke did you have eth0 show up for the eap610-outdoor or just this?

root@OpenWrt:~# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr 34:60:F9:E5:DA:D2  
          inet addr:192.168.107.71  Bcast:192.168.107.255  Mask:255.255.255.0
          inet6 addr: fe80::3660:f9ff:fee5:dad2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:500573 errors:0 dropped:45859 overruns:0 frame:0
          TX packets:2427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:365078682 (348.1 MiB)  TX bytes:614725 (600.3 KiB)

lan       Link encap:Ethernet  HWaddr 34:60:F9:E5:DA:D2  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:507198 errors:0 dropped:1513 overruns:0 frame:0
          TX packets:2425 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:375903846 (358.4 MiB)  TX bytes:629599 (614.8 KiB)
          Base address:0x1800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:383 errors:0 dropped:0 overruns:0 frame:0
          TX packets:383 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:56351 (55.0 KiB)  TX bytes:56351 (55.0 KiB)

The way I understand the regdb change is that one works on the raw BDF (board.bin), then repackages it with ath11k-bdencoder. lan instead of eth0 is normal.

I think i manged to package it and test with the regdb of eap610-outdoor but seems like the regulatory rules are blocking it from working now?

root@OpenWrt:~# dmesg | grep wifi
[   11.046986] ath11k c000000.wifi: ipq6018 hw1.0
[   11.047021] ath11k c000000.wifi: FW memory mode: 0
[   12.283882] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[   12.289483] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   12.297060] ath11k c000000.wifi: fw_version 0x25008f8e fw_build_timestamp 2024-03-01 03:54 fw_build_id WLAN.HK.2.5.0.1-03982-QCAHKSWPL_SILICONZ-3
[   12.527679] ath11k c000000.wifi: No regulatory rules available in the event info
[   12.527729] ath11k c000000.wifi: failed to extract regulatory info
[   12.535867] ath11k c000000.wifi: No regulatory rules available in the event info
[   12.540161] ath11k c000000.wifi: failed to extract regulatory info
[   12.607792] ath11k c000000.wifi: failed to receive default regd during init
[   12.608615] ath11k c000000.wifi: failed to receive default regd during init

i am now able to see both radios with "iw phy"

to add context, I think the included regdb of the extrated eap620hd-v2 bin also doesnt match to have channels allowed. Using that configuration gives the following:

Tue Feb 25 18:28:18 2025 daemon.notice netifd: Wireless device 'radio0' is now up
Tue Feb 25 18:28:23 2025 daemon.notice hostapd: Frequency 5180 (primary) not allowed for AP mode, flags: 0x873 NO-IR
Tue Feb 25 18:28:23 2025 daemon.err hostapd: Primary frequency not allowed
Tue Feb 25 18:28:23 2025 daemon.warn hostapd: phy0-ap0: IEEE 802.11 Configured channel (36) or frequency (5180) (secondary_channel=1) not found from the channel list of the current mode (2) IEEE 802.11a
Tue Feb 25 18:28:23 2025 daemon.warn hostapd: phy0-ap0: IEEE 802.11 Hardware does not support configured channel
Tue Feb 25 18:28:23 2025 daemon.err hostapd: Could not select hw_mode and channel. (-3)
Tue Feb 25 18:28:23 2025 daemon.notice hostapd: phy0-ap0: interface state COUNTRY_UPDATE->DISABLED
Tue Feb 25 18:28:23 2025 daemon.notice hostapd: phy0-ap0: AP-DISABLED
root@OpenWrt:~# 

so im just not sure what regdb to use or where to go to next