Adding OpenWrt support for Linksys MX5300

Hi, ist everything working now with the mx5300? Is anyone speaking German? :grimacing:

I've just checked and you are right. For some reason regdb defaults to US and that's not changed.

US country is set after loading ath10k driver:

[   14.757951] ath: EEPROM regdomain: 0x0
[   14.757972] ath: EEPROM indicates default country code should be used
[   14.757976] ath: doing EEPROM country->regdmn map search
[   14.757981] ath: country maps to regdmn code: 0x3a
[   14.757986] ath: Country alpha2 being used: US
[   14.757990] ath: Regpair used: 0x3a

It's possible that this is a ath10k driver error.

But after bring the interface up/down and reloading driver I have correct info:

root@OpenWrt:~# iw reg get
global
country PA: DFS-FCC
	(2400 - 2483 @ 40), (N/A, 36), (N/A)
	(5150 - 5250 @ 80), (N/A, 36), (N/A), AUTO-BW
	(5250 - 5350 @ 80), (N/A, 30), (N/A), AUTO-BW
	(5470 - 5725 @ 160), (N/A, 30), (N/A)
	(5725 - 5850 @ 80), (N/A, 36), (N/A)
	(57000 - 64000 @ 2160), (N/A, 43), (N/A)

phy#5
country PA: DFS-FCC
	(2400 - 2483 @ 40), (N/A, 36), (N/A)
	(5150 - 5250 @ 80), (N/A, 36), (N/A), AUTO-BW
	(5250 - 5350 @ 80), (N/A, 30), (N/A), AUTO-BW
	(5470 - 5725 @ 160), (N/A, 30), (N/A)
	(5725 - 5850 @ 80), (N/A, 36), (N/A)
	(57000 - 64000 @ 2160), (N/A, 43), (N/A)

There is however some bug in the ath10k driver. After restarting with the configured country we still have a wrong regdomain. Only after rmmod/insmod ath10k_pci driver do we have the regdomain set correctly.

question for the experts here: i succumbed to the woot deal on a pair of these routers and at this point i've got everything set up and things are almost working.

i'm running: LuCI Master (24.212.79282~65b8002) / OpenWrt SNAPSHOT (r27061-ee8c05f9b6), which is from august 3rd 2024 or so.

i've found that on radio1(which is the ax radio) when running in ax mode, wireless clients are isolated from each other despite isolation not being turned on. i can ping from the wired side of the network to all wireless clients, but not between wireless clients. i thought at first this might be related to 802.11w, so i downgraded the security to WPA2 and turned off 802.11w, but the problem persists.

on radio2 running in N mode, there's no problem - i can ping other wireless devices on the same SSID.

is this a known problem, or is it a consequence of running a snapshot build (meaning, it's likely to be buggy?)

lmk if anyone wants to see any config files.

thanks, joe

well - this does seem like some kind of a bug - i replicated my MX5300 setup on a beryl AX and clients are not isolated.

@qosmio Have you had a chance to look at this problem with ath10k driver?

Trying to have setup sqm, im getting this error, can somebody do me a favor and point me in the right direction? i can't find these packages for a manual install

opkg install luci-app-sqm

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-sched-cake
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-ifb
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-ipt-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1) for kmod-ipt-ipopt
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-sqm:
 * 	kernel (= 6.6.59~a59ba0c2e57510a4215b673a9b7cba9f-r1)
 * opkg_install_cmd: Cannot install package luci-app-sqm.

That is not going to work, you will have to rebuild from source, with everything (at least all required kernel modules) included in your build.

opkg update is 404ing on these URLs
does anyone knows why?

 opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/kmods/6.6.59-1-a59ba0c2e57510a4215b673a9b7cba9f/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/kmods/6.6.59-1-a59ba0c2e57510a4215b673a9b7cba9f/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz```

Read from the first post.

awesome, thanks!