Wifi 15373 emplus wap588m target aligned to upstream mediatek kernel#1039
Open
cpchangemplu wants to merge 48 commits intomainfrom
Open
Wifi 15373 emplus wap588m target aligned to upstream mediatek kernel#1039cpchangemplu wants to merge 48 commits intomainfrom
cpchangemplu wants to merge 48 commits intomainfrom
Conversation
Add the full patch series for OpenWrt 25.12 (0001-0093) covering base-files, hostapd, netifd, kernel, and target customisations. Update config.yml accordingly. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
OpenWrt 25.12 uses apk which rejects the git-prefixed version format. Align with upstream luci.mk version format. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
CMake has removed compatibility with versions below 3.5. Signed-off-by: John Crispin <john@phrozen.org>
apk requires proper version strings. Move git hashes and long version identifiers to PKG_SOURCE_VERSION/PKG_SOURCE_DATE and set PKG_VERSION to a conformant version number. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Drop the host_dependencies clang/llvm build logic from qosify and remove the hostapd include from yuncore_ax820. Signed-off-by: John Crispin <john@phrozen.org>
Replace deprecated AUTORELEASE with static release number in batman-adv and hostapd Makefiles. Add missing kernel config option. Signed-off-by: John Crispin <john@phrozen.org>
Netifd in 25.12 delegates wireless management to ucode. The network.wireless ubus object is now published by wireless.uc, loaded by netifd's main.uc at startup. Without it, all wifi ubus calls fail with "Not found". Install wireless.uc, wireless-device.uc and wifi/utils.uc from the upstream wifi-scripts package rather than keeping duplicates. Signed-off-by: John Crispin <john@phrozen.org>
Backport three upstream fixes for the shell-based mac80211.sh: - Capabilities grep (adf958c919): grep 'Capabilities:' also matches HE/EHT capability lines, causing arithmetic overflow and wrong HT caps. Fix by anchoring the match with grep -E '^\s*Capabilities:'. - he_spr_psr_enabled (b74318481b): mac80211_add_he_capabilities writes he_spr_psr_enabled=1 directly into hostapd.conf, but hostapd does not recognise it as a config directive and fails to start. Remove it from the capabilities call and check the HW PHY capability register directly instead. - iw_htmode (86eb1c0b5a): VHT160 incorrectly falls into the HT40 case, HE160 has no mapping at all, and 80MHz has wrong casing (80MHZ). Add proper VHT160/HE160 case and fix casing. For qca-wifi-7, also add the missing EHT20/EHT40/EHT80/EHT160 mappings. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Add patch and build profile for the Edgecore EAP115/EAP115a access points. MT7987A-based with MT7992 WiFi (PCIe), RTL8211FS 1G Ethernet (SGMII, LAN) and internal 2.5G PHY (WAN). SPI-NAND flash with dual rootfs A/B partition scheme. Signed-off-by: John Crispin <john@phrozen.org>
Add patch and build profile for the EMPLUS WAP588M access point. MT7981B-based with MT7915E WiFi, RTL8211FS 1G Ethernet (SGMII, LAN) and internal GbE PHY (GMII, WAN). SPI-NAND flash with dual rootfs A/B partition scheme using active_fw u-boot environment variable. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
d322773 package: replace system() with fork/execvp to prevent shell injection d47d3fd package: migrate from opkg/ipk to apk for OpenWrt 25.12 Signed-off-by: John Crispin <john@phrozen.org>
Add PKG_CONFIG_DEPENDS for QCA WiFi target configs to ensure the ucode package gets rebuilt when switching between targets. Signed-off-by: John Crispin <john@phrozen.org>
OpenWrt 25.12 uses apk which has stricter version validation than opkg. Replace raw git commit hashes used as PKG_VERSION with proper numeric versions in qca-ssdk-qca, qca-ssdk-shell, qca-nss-dp-qca, qca-nss-ppe, qca-nss-ppe-ds, qca-nss-ppe-vp and wlan-telemetry. The git hashes are moved to PKG_SOURCE_VERSION where they belong. Fix mac80211 version from 6.5-rc3 (invalid due to the -rc suffix) to 6.5.0.3 using PKG_SOURCE_DATE to preserve the source tarball naming. Uncomment PKG_RELEASE in hostapd and remove EXTRA_DEPENDS with opkg version pinning syntax that apk rejects. Signed-off-by: John Crispin <john@phrozen.org>
Fix incompatible pointer type in wispr patch: pass sta->bandwidth (array decays to u32 *) instead of &sta->bandwidth (u32 (*)[2]) to radius_msg_get_wispr(). Remove stray debug syslog() call in ubus.c. Signed-off-by: John Crispin <john@phrozen.org>
Remove #ifdef IW_FULL guards from ntype_11u() and print_osen_ie() definitions added by 501-compilation-fix.patch. Their callers print_interworking() and print_wifi_osen() are not guarded, causing implicit function declaration errors in the tiny (non-IW_FULL) build. Signed-off-by: John Crispin <john@phrozen.org>
…cripts Drop the QCA wifi-6 wifi-scripts override so the standard OpenWrt wifi-scripts package takes over, providing common.uc, wdev.uc, hostapd.sh, netifd-wireless.sh, sbin/wifi, and mac80211.sh. The QCA-specific psk2-radius and osen encryption features are ported to the standard netifd-wireless.sh separately. Signed-off-by: John Crispin <john@phrozen.org>
Replace the QCA-specific hostapd.uc and wpa_supplicant.uc with copies of the standard OpenWrt versions, adding try/catch guards around udebug_set() calls that the older 2021 QCA hostapd binary does not expose. Remove common.uc, wdev.uc, hostapd.sh, and wps hotplug installs from hostapd-common since these are now provided by the standard wifi-scripts package. Add ucode-mod-rtnl and libudebug to CORE_DEPENDS as required by the standard ucode scripts. Signed-off-by: John Crispin <john@phrozen.org>
Remove mac80211.sh and 10-wifi-detect installs from kmod-cfg80211 since these files are now provided by the standard wifi-scripts package. Add #mlo pseudo-device early returns to drv_mac80211_setup() and drv_mac80211_teardown() to prevent errors on MLO pseudo-devices. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
When processing huge console log and dmesg files printing lines hanged execution blocking ucentral-state startup process. It seems stdout is mainly for debug purposes and lines are printed after we store file, so it is safe to disable print as file is already processed and can be examined. Fixes: WIFI-15356 Signed-off-by: Mateusz Bajorski <mbajorski@shasta.cloud> Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
…llow-self-signed is unset Fixes WIFI-15375 Signed-off-by: Arif Alam <arif.alam@netexperience.com>
3cebaf7 schema: remove default accounting interim interval 593003b renderer: honour roaming set to false Fixes: WIFI-15359 Fixes: WIFI-15362 Signed-off-by: John Crispin <john@phrozen.org>
apk rejects version strings containing alphabetic suffixes. Drop the csu1 qualifier from PKG_VERSION as it is not needed for the local source build. Signed-off-by: John Crispin <john@phrozen.org>
The checksum code mixes host and network byte order inconsistently, producing corrupt UDP checksums. Switch to consistently working in host byte order using ntohs() on each word before summing, and htons() on the final result. Signed-off-by: John Crispin <john@phrozen.org>
When strict forwarding is enabled, DHCP packets fail to forward because the bridge lacks static FDB entries for client MACs in the correct VLAN. Add per-station static FDB entries tagged with the bridge PVID on sta-authorized and remove them on disconnect. Signed-off-by: John Crispin <john@phrozen.org>
ntohs() on a right-shifted __be32 produces garbage because the shift operates on the network-order representation. Use ntohl() first to convert to host order, then extract the 16-bit halves. Signed-off-by: John Crispin <john@phrozen.org>
Remove logger calls that were left in from development. The FDB entries are observable via 'bridge fdb show' and do not need runtime logging in production. Signed-off-by: John Crispin <john@phrozen.org>
Vendor hostapd builds such as qca-wifi-6 do not support the rsn_override_key_mgmt, rsn_override_pairwise and rsn_override_mfp configuration items. When rsn_override defaults to 1, these items are emitted for wpa3 and wpa3-mixed encryption types causing hostapd to reject the entire configuration. Change the default to 0 making RSN Override opt-in, and gate the emission of rsn_override_* lines on rsn_override being enabled. Signed-off-by: John Crispin <john@phrozen.org>
On some devices mem.buffered is 0 which evaluates as falsy, causing the status page to render a "?" instead of a progress bar. Skip the row entirely when buffered is 0 or absent. Fixes: WIFI-15328 Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: John Crispin <john@phrozen.org>
The QCA wifi-7 nl80211.h is missing NL80211_ATTR_MLO_TTLM_DLINK and NL80211_ATTR_MLO_TTLM_ULINK. Add stub defines mapping them to NL80211_ATTR_NOT_IMPLEMENTED to fix the build. Signed-off-by: John Crispin <john@phrozen.org>
The standard iwinfo added he_chan_info, eht_chan_info and eht_chan_width which rpcd uses unconditionally. The qca-wifi-7 iwinfo lacks these, breaking the rpcd build. Add IWINFO_HAS_EHT_CHAN_INFO to the standard iwinfo header and guard the HE/EHT scan result blocks in rpcd behind it. Signed-off-by: John Crispin <john@phrozen.org>
Move edgecore,eap111 to the correct switch group in 02_network and adjust the WAP588M patch context to match. Signed-off-by: John Crispin <john@phrozen.org>
- Wire hostname validation enable / disable to hostname_validate flag in gateway.json - Fix hostname validation check when server cert Subject CN has other attributes like Organization in case of Insta server certs: subject=CN=*.example.com, O=ExampleInc. Fix backported to libwebsockets from: warmcat/libwebsockets@5124ffe Fixes WIFI-15384 Signed-off-by: Arif Alam <arif.alam@netexperience.com>
When radius_request_cui=1 is configured, the EAP path includes a Chargeable-User-Identity attribute (RFC 4372) but the ACL path used by psk2-radius / mpsk-radius does not. Add a nul CUI to hostapd_radius_acl_query() so the RADIUS server is solicited for CUI in Access-Accept, matching the EAP initial-request behaviour. Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: 800246@emplustech.com <cp.chang@emplustech.com>
Contributor
|
is it a good idea to have private keys in the repo ? |
blogic
reviewed
Apr 6, 2026
| + -v $(LINUX_VERSION) \ | ||
| + $(if $(FIT_KEY_NAME),-S $(FIT_KEY_NAME)) \ | ||
| + $(if $(FW_AR_VER),-r $(FW_AR_VER)) \ | ||
| + $(if $(CONFIG_TARGET_ROOTFS_SQUASHFS),-R $(ROOTFS/squashfs/$(DEVICE_NAME))) |
Contributor
There was a problem hiding this comment.
is there a missing \ at the end of this line ?
blogic
reviewed
Apr 6, 2026
| - tree | ||
| include: | ||
| - ucentral-ap | ||
| - hostapd |
blogic
reviewed
Apr 6, 2026
| description: Build image for the EMPLUS WAP588M | ||
| image: bin/targets/mediatek/filogic/openwrt-mediatek-filogic-emplus_wap588m-squashfs-sysupgrade.bin | ||
| packages: | ||
| - mediatek |
Signed-off-by: 800246@emplustech.com <cp.chang@emplustech.com>
Signed-off-by: 800246@emplustech.com <cp.chang@emplustech.com>
Contributor
Author
Removed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.