Commit graph

20881 commits

Author SHA1 Message Date
Sophronia Koilpillai
b65f7464f0 mac80211: (APP-5559, PR #492) Patch mac80211 to increase the assoc timeout
Approved-by: Milad Mohtashamirad
Approved-by: Andrew Dodd
Approved-by: Lyall Beveridge
2025-10-05 19:29:21 +11:00
James Haggerty
1b05fb1f82 mt76x8: (APP-5292, PR #484) remove ekh03v3
Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:37:43 +10:00
Prabha Murugesan
f3e5f041d4 Revert "Revert "boards: (APP-4363, PR #473) Align ekh19 board name""
This reverts commit f3116c0ab1d57bc5db8bc86e0480411c8785f108.
2025-10-05 00:37:43 +10:00
Prabha Murugesan
4281b5b685 Revert "boards: (APP-4363, PR #473) Align ekh19 board name"
This reverts commit 12e658dd98ea606d2dd202f2262f2181e8f65ab6.
2025-10-05 00:37:43 +10:00
Prabha Murugesan
9007831e71 boards: (APP-4363, PR #473) Align ekh19 board name
Approved-by: Sophronia Koilpillai
Approved-by: James Haggerty
2025-10-05 00:37:43 +10:00
Prabha Murugesan
96d11204ec boards : (APP-3176, PR #464) Morse specific opkg feeds repo defaults
Approved-by: Sophronia Koilpillai
Approved-by: James Haggerty
2025-10-05 00:37:43 +10:00
James Haggerty
3c9cc94b7c netifd: (APP-4879, PR #460) reset bridge primary if non-AP wifi added and no primary
This handles the situation where there are no ethernet ports on the bridge
and we want our wifi STA interface to have the MAC address of the bridge
so we can link assoclists with IPs.


Approved-by: Andrew Dodd
Approved-by: Evan Benn
2025-10-05 00:37:43 +10:00
James Haggerty
87f1b21002 uhttpd: (APP-1523, PR #458) increase default script_timeout
The cgi-upload script (part of cgi-io) doesn't send any responses
while the upload is happening, only when it's finished.
Ideally this should be re-architected to stream 'something', but
for now, the simple option is just to bump the timeout here.

At 1Mbps, this means we should just be able to upload a 30MiB firmware
image within the timeout.


Approved-by: Sophronia Koilpillai
Approved-by: Prabha Murugesan
2025-10-05 00:37:43 +10:00
James Haggerty
caf34a17df iwinfo: (APP-4786, APP-4846, PR #457) update for morse countrylist change
iwinfo will now ask the driver (i.e. BCF/OTP) for the countrylist,
and use the 1.16 morse driver channel list.

Approved-by: Sophronia Koilpillai
Approved-by: Andrew Dodd
2025-10-05 00:37:43 +10:00
James Haggerty
025c4378fa netifd: (APP-4879, PR #455) avoid MAC randomisation on wifi only bridge
Approved-by: Sophronia Koilpillai
Approved-by: Andrew Dodd
2025-10-05 00:37:43 +10:00
James Haggerty
15e0c164d2 *: (APP-4462, PR #423) rename artini to halowlink1
Previously, this was done in the frontend display only (e.g. model name).
We should have just properly done the change originally.


Approved-by: Prabha Murugesan
Approved-by: Lyall Beveridge
2025-10-05 00:37:43 +10:00
Evan Benn
0e8f61a51a APP-4789 PR #450: iwinfo: Update hash for lua segfault fix
Approved-by: James Haggerty
Approved-by: Prabha Murugesan
2025-10-05 00:37:43 +10:00
James Haggerty
86f449f356 iwinfo: (APP-4617, PR #446) update to include multi-bss support
Approved-by: Sophronia Koilpillai
Approved-by: Prabha Murugesan
2025-10-05 00:37:43 +10:00
James Haggerty
473ee8c763 kernel: (APP-4688, PR #433) minor tweaks after bluetooth config change
Without this change, the bcm bluetooth module wasn't built on non-bcm
boards but it was still included in the package so building
the ipk would fail. This change makes the bcm module be built
like the other modules.

I think the question re RAVE_SP is also related to the bluetooth
change, but I've seen it pop up way too many times to fix it again
in a specific config file (and putting a not set in is a safe operation).


Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
2025-10-05 00:20:46 +10:00
James Haggerty
bd602f1925 iwinfo: (PR #428) fix package hash
Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:20:46 +10:00
James Haggerty
6c9397198f *: (APP-4220, PR #422) centralise morse specific button/led handling
- add the ability to override the reset button handling
- add a package which handles the 'improved' reset button handling
- make the ekh-mt76x8 targets have a reset button
- allow diag_override.sh to use existing code in diag.sh


Approved-by: Sophronia Koilpillai
Approved-by: Milad Mohtashamirad
2025-10-05 00:20:46 +10:00
Sophronia Koilpillai
b4d8e049c3 mac80211: (APP-4450, PR #424) Fix the QOS header appropriately during Mesh forwarding
Approved-by: James Haggerty
Approved-by: Andrew Dodd
2025-10-05 00:20:46 +10:00
Evan Benn
f6af55f72e APP-2787 PR #421: Increase ubus message size for iwinfo assoclist
When 2000 stations are connected the iwinfo assoclist command returns
a large amount of data. Use the head for the buffer in the rpcd iwinfo plugin,
the buffer is increased in a separate iwinfo patch.

Also increase the ubus max message size. 2000 stations sends a ~1.7MB
json message. This patch does not work for 8000 stations, which will
likely require a more well thought out fix.

Approved-by: James Haggerty
Approved-by: Lyall Beveridge
2025-10-05 00:20:46 +10:00
Prabha Murugesan
b5b329e9eb rpcd, iwinfo : (APP-4385, PR #417) Sanitise Signal(rssi) in scan report receivef from iwinfo
Approved-by: Sophronia Koilpillai
Approved-by: James Haggerty
Approved-by: Evan Benn
2025-10-05 00:19:33 +10:00
James Haggerty
97ec2af51e umdns/procd: (APP-4174, PR #408) make umdns call set config on respawn
Previously, if umdns crashed/terminated for some reason, when it respawned
it would not have any config (and listen on any interfaces).

This has been fixed in upstream by adding a new callback to
procd (service_running), so we pull in these patches.

cf

9a79cdc7ee


Approved-by: Andrew Dodd
Approved-by: Lyall Beveridge
2025-10-05 00:15:22 +10:00
James Haggerty
bdfe342c34 umdns: (APP-4174, PR #403) reinitialise interface on reconfigure
Without this, changing the ip addresses (and possible other
properties?) on an interface would lead to that interface
no longer being responsive.

Raised with upstream:
https://github.com/openwrt/mdnsd/pull/21


Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:15:22 +10:00
James Haggerty
15ade1f671 umdns: (APP-4174, PR #407) clear cache on interface removal
This is taken from upstream, but is more significant than you might think.
This is because if you don't clear the cache it still has references
to the freed ifaces, so it ends up crashing at some point in the future.

What's worse, when it crashes, even though umdns has respawn
it doesn't do set_config again. This means that any umdns crash
means it never recovers unless it's reconfigured, since set_config
is necessary to make it start listening.


Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:15:22 +10:00
James Haggerty
c01fae6196 umdns: (APP-4174, PR #402) make cache update more aggressive
This is taken from the main repo, and improves our cache reliability.

Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:15:22 +10:00
James Haggerty
69c95544fa umdns: (APP-4174, #401) announce all services at once
Took this patch from the main branch. It makes umdns
a bit less chatty, which is useful given that we can
lose multicast packets (particularly in mesh/powersave).


Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-10-05 00:15:22 +10:00
Lyall Beveridge
0cfe9ecd60 umdns: (APP-4011, PR #400) change config trigger action from reload to restart
Initially, the `reload_service` function in the UMDNS init script was renamed to allow PROCD to automatically handle reloads and trigger management. This should have been the preferred approach, as PROCD can dynamically manage triggers and decide when a full restart of the UMDNS service is necessary.

However, in practice, this did not work as expected. Despite `ubus call service list '{"name":"umdns", "verbose":true}'` showing the triggers being correctly added, they were not applied. Only the initially registered triggers responded to interface events, while newly added interfaces (e.g., ahwlan being added to the UMDNS UCI after the wizard) did not cause UMDNS to reload when they became active.

To ensure predictable behaviour, the UMDNS UCI triggers now explicitly restart the service which will ensure that `start_service` adds triggers properly so that they can detect interface events on new networks (i.e. ahwlan).


Approved-by: Sophronia Koilpillai
Approved-by: James Haggerty
2025-10-05 00:15:22 +10:00
Sophronia Koilpillai
d7a812821e mac80211: (APP-3871. PR #392) Add a debugfs entry to enable aggregation for VO TID
Approved-by: James Haggerty
Approved-by: Lyall Beveridge
2025-10-05 00:14:05 +10:00
Prabha Murugesan
03f3ea8aed Revert "mac80211: (APP-3871, PR #390) Add a debugfs entry to enable aggregation for VO TID"
This reverts commit 6bd422d1633e3ad5eb5c9c5a3dd93b4d19084f4b.


Approved-by: Evan Benn
Approved-by: James Haggerty
Approved-by: Lyall Beveridge
2025-10-05 00:13:59 +10:00
Sophronia Koilpillai
eba5e92df3 mac80211: (APP-3871, PR #390) Add a debugfs entry to enable aggregation for VO TID
Approved-by: Milad Mohtashamirad
Approved-by: James Haggerty
2025-10-05 00:13:50 +10:00
James Haggerty
d08d2c393f iwinfo: (APP-4168, APP-4169, PR #389) include latest s1g related iwinfo fixes
- list EU as a country
- filter out unmapped channels

Approved-by: Sophronia Koilpillai
Approved-by: Andrew Dodd
2025-10-05 00:13:26 +10:00
Milad Mohtashamirad
1c66751e21 mt76: (APP-4135) Add patch to add reading TX power adjustment for MT7603e from a file. (pull request #384)
Approved-by: James Haggerty
Approved-by: Evan Benn
2025-06-23 02:39:17 +10:00
James Haggerty
2cf0c3a390 iwinfo: (APP-4105, PR #369) use iwinfo with 1.15 channel mappings
Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
2025-06-23 02:37:01 +10:00
Sophronia Koilpillai
ddeda5b5f3 mac80211: (APP-4120, PR #370) Include MLME beacon wait patch from SW release 1.15.0
Approved-by: Lachlan Hodges
Approved-by: James Haggerty
Approved-by: Evan Benn
2025-06-23 02:37:01 +10:00
Sophronia Koilpillai
e3452d1e9b mac80211: (APP-4117. PR #368) Modify the Halow mesh optimization patch for Kernel version 6.1.110
Approved-by: James Haggerty
Approved-by: Pradeep Reddy
Approved-by: Evan Benn
2025-06-23 02:37:01 +10:00
Sophronia Koilpillai
086bc0d34f mac80211: (APP-4110, PR #367) Update mac80211 patches to align with SW 1.15.99 release
Approved-by: James Haggerty
Approved-by: Lyall Beveridge
2025-06-23 02:37:01 +10:00
James Haggerty
19ff98649e iwinfo: (APP-4112, PR #366) point iwinfo directly at our repo to avoid forcing
Rather than use morse_setup.sh to force iwinfo from morse_feed, we instead change the normal Makefile.

This has the disadvantage that we're modifying 'real' OpenWrt, and making our custom package less visible, but has two advantages:
- users can use the standard OpenWrt commands to interact with our repo (without relying on morse_setup.sh to make things work)
- if upstream changes iwinfo, we'll conflict (i.e. it will be a prompt to update it)

Approved-by: Sophronia Koilpillai
Approved-by: Milad Mohtashamirad
Approved-by: Lyall Beveridge
2025-06-23 02:36:58 +10:00
Lyall Beveridge
f2fead8985 uhttpd: (APP-4045, PR #361) allow configurable uhttpd umdns advertisement TXT records
Approved-by: Evan Benn
Approved-by: James Haggerty
2025-06-23 02:35:02 +10:00
Sophronia Koilpillai
b993fa4dbc boards: (APP-4071, PR #362): Add Linksys mvebu build target
Approved-by: Milad Mohtashamirad
Approved-by: James Haggerty
Approved-by: Lyall Beveridge
2025-06-23 02:35:02 +10:00
James Haggerty
1df9142b37 mt76: (APP-1704, APP-3841, PR #346) set insertion order for mt76 wifi module
The reason for this change is to ensure the wifi module is inserted before morse.
This reintroduces a change which we 'lost' in the rebase as theoretically
not necessary, but found it introduced a regression.

Putting the module this early in the load ensures that phy0 is reliably allocated
to the mt76 module; we were finding that it was variable due to mt7603/morse being next to each other alphabetically, which meant that the LED (set to phy0-ap0)
would sometimes not come up.

Ideally, we would have either a generic way of determining module order for
a particular board, OR make the LED code smarter such that you could
specify a device path or similar instead of an ifname, but both of these
are large changes that do not belong in a point release.


Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
2025-03-06 12:26:29 +11:00
Sophronia Koilpillai
96b0d3dc4c mt76: (APP-3825, PR #343) Fix WMM AC parameter config on mt7603
Approved-by: Milad Mohtashamirad
Approved-by: Lyall Beveridge
2025-03-06 12:26:09 +11:00
James Haggerty
b1a3749af6 mt76: (APP-3833, PR #342) fix dynamic smps on mt7603
Dynamic SMPS wasn't working on initial association. See:

https://github.com/openwrt/mt76/issues/937


Approved-by: Sophronia Koilpillai
Approved-by: Milad Mohtashamirad
Approved-by: Lyall Beveridge
2025-03-06 12:26:09 +11:00
James Haggerty
1f24256f7b umdns: (APP-3717, PR #339) umdns crash bug and aggressive refresh
These patches are in master, but won't come in until OpenWrt 24.


Approved-by: Sophronia Koilpillai
Approved-by: Lyall Beveridge
2025-03-04 00:28:31 +11:00
Evan Benn
a5c046e4f9 boards: (APP-3759 PR #334) Replace all EKH04 with EKH04v6
Approved-by: Sophronia Koilpillai
Approved-by: James Haggerty
2025-03-04 00:28:10 +11:00
Kshitij Jain
850102aa07 matter (SW-12275, #298): Add Matter support to openwrt build
SW-12275 add support for releasing matter with openwrt

* Update bluetooth make components (other.mk) with correct config option

* Add matter defconfig for all ekh boards

Approved-by: Cedric Van den Bergh
Approved-by: James Haggerty
Approved-by: Julia Page
2025-03-04 00:27:37 +11:00
Morse Micro
bee3811722 uboot-envtools: add Morse Micro HaLowLink1 ubootenv definitions
For persistent storage of device configuration variables across device resets,
use ubootenv for a system partition.
2025-03-04 00:25:03 +11:00
Morse Micro
3c81468648 uboot-mediatek: add Morse Micro HaLowLink1
The HaLowLink1 is based on the MT7621 and offers 3 ethernet ports,
802.11b/g/n, and HaLow Wi-Fi (802.11ah).
2025-03-04 00:25:03 +11:00
Arien Judge
9317f6bb6a rpcd: (APP-1116) add rpcd patch to push s1g channel info through ubus
libiwinfo changes to support s1g need to be propagated through rpcd
so applications sharing information over ubus can receive the right
values.

Approved-by: James Haggerty
2024-11-26 10:03:34 +11:00
Morse Micro
1344ee95cf uboot-envtools: add Morse Micro ubootenv definitions
For evaluation kits using uboot, add uci config for uboot envtools.
This may be used by the persistent configuration utilities.
2024-11-26 10:03:34 +11:00
James Haggerty
37ae840a16 base-files: (APP-2846, PR #226) Replace openwrt banner with Morse one
Previously, this was done in the theme. With the new Argon theme,
we didn't have this, and it was ugly to either copy the banner
over the top (since base-files 'owns' the banner) or mutate
the existing banner.

Doing it this way means:
- we see this banner regardless of the installed theme
- we include the version info
- there's no confusing banner over-writing/mutating

But has the disadvantage that we carry an extra commit
that we'll never upstream.

e.g.

-----------------------------------------------------
 OpenWrt 23.05.2, Morse-2.6-dev
-----------------------------------------------------


Approved-by: Arien Judge
Approved-by: Milad Mohtashamirad
2024-11-26 10:03:34 +11:00
James Haggerty
87cffdbb58 base-files: (APP-2986, PR #240) add LED state overrides
Modifies the OpenWrt device tree LED handler to allow
a third-party package to install custom LED handling.

Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
2024-11-26 10:03:34 +11:00
James Haggerty
5855f097f2 package: netifd: (APP-3507, PR #307) aggressively renew DHCP leases on bridge
This causes DHCP renewals when you disconnect/reconnect cables or
re-establish wifi connections on a bridge.

https://github.com/openwrt/netifd/pull/35

I think we want this, but it's a bit of a scary change that I
might be missing some implications for, so I'd like to get it
in now to give us some time to experience it.

Approved-by: Sophronia Koilpillai
Approved-by: Evan Benn
2024-11-26 10:03:34 +11:00