Skip to content

Add support for TP-LINK WA901ND-V4 - #7

Closed
Hostle wants to merge 12 commits into
openwrt:masterfrom
Hostle:master
Closed

Hostle wants to merge 12 commits into
openwrt:masterfrom
Hostle:master

Conversation

@Hostle

@Hostle Hostle commented Mar 25, 2016

Copy link
Copy Markdown

I have added support for the wa901nd-v4 and tested and confirmed it applies and loads onto the devices safely. Everything works and the device runs stable.

Regards

Hostle

@ghost

ghost commented Mar 29, 2016

Copy link
Copy Markdown

Hello,

this is a read-only mirror of the main repository - pull requests are ignored.

Please submit the patch at https://dev.openwrt.org/ - the usual steps involve subscribing to the mailing list, generating a .diff file and sending that to patchwork.

You can find all the documentation here: https://dev.openwrt.org/wiki/SubmittingPatches

Thanks for your contribution!

@ghost ghost mentioned this pull request Mar 29, 2016
@hauke

hauke commented Apr 7, 2016

Copy link
Copy Markdown
Member

This is a read only mirror, please follow this documentation on how to submit patches to OpenWrt:
https://dev.openwrt.org/wiki/SubmittingPatches

@hauke hauke closed this Apr 7, 2016
13hakta added a commit to 13hakta/openwrt that referenced this pull request Jun 25, 2018
Driver supports 2 chip versions: RTL8367RB, RTL8367R-VB. Each of them has 2 external ports.
RTL8367RB has ports indexed as openwrt#1,openwrt#2 (PHY openwrt#6, openwrt#7).
RTL8367R-VB has ports indexed as #0,openwrt#1 (PHY openwrt#5,openwrt#6).
Map ports so that extif0 complies to external port 0 or 1 depending on chip ID.

Signed-off-by: Vitaly Chekryzhev <[email protected]>
13hakta added a commit to 13hakta/openwrt that referenced this pull request Jun 25, 2018
Ports are handled sequentially and indexed from 0 to 7.
But boards has different numeration and port functionality
so absent port must be avoided.

On RTL8367R-VB/RB chips present 2 external ports of maximum 3.
RTL8367RB has ports numbered 0-4,6,7. Must skip openwrt#5.
RTL8367R-VB has ports numbered 0-6. Must skip openwrt#7.

Signed-off-by: Vitaly Chekryzhev <[email protected]>
friendlyarm referenced this pull request in friendlyarm/friendlywrt Apr 25, 2019
sdelafond referenced this pull request in untangle/openwrt Oct 15, 2020
wan-manager: Update rule table in policy chains
dengxinfa referenced this pull request in gl-inet/openwrt Mar 25, 2021
1,update eth_ko, wifi_ko, wifi firmware 2,update ac28/evb config
jow- pushed a commit that referenced this pull request May 12, 2021
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device #7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
jow- pushed a commit that referenced this pull request May 12, 2021
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device #7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
(cherry picked from commit 4e385a2)
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request May 13, 2021
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device openwrt#7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
wwortel pushed a commit to wwortel/openwrt that referenced this pull request Jun 8, 2021
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device openwrt#7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
htfcuddles pushed a commit to htfcuddles/openwrt that referenced this pull request Aug 26, 2021
@cdrag45 cdrag45 mentioned this pull request Feb 18, 2022
ArtelMike pushed a commit to ArtelMike/openwrt-1 that referenced this pull request Jan 31, 2023
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device openwrt#7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
(cherry picked from commit e85a176)
github-actions Bot pushed a commit to kltk/openwrt that referenced this pull request Apr 4, 2023
Noltari referenced this pull request in rikka0w0/openwrt Jun 19, 2023
EmreYavuzalp referenced this pull request in EmreYavuzalp/openwrt Nov 7, 2025
* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* odhcp6c: update to Git HEAD (2025-11-04)

b3e1db42b4db odhcp6c: fix safe interval processing to follow RFC 4862
63461f64d4c1 dhcpv6: always include IA_NA and IA_PD in Request message if requested
1051cabb4da3 dhcpv6: fix incorrect IA type being printed in syslog
c5237eabeb5c odhcp6c: prevent RELEASE at shutdown when -k is set
a01b1ff1e50f odhcp6c: fix client exiting if Renew and Rebind fails
4839bf6d0feb odhcp6c: implement RKAP: Reconfiguration Key Authentication Protocol
52a9a847def4 dhcpv6: fix solicit loop when server has no address available
7b1f67c23de6 ubus: implement ubus methods to force a Renew and Release
2b0e8f2d8541 ubus: implement retransmission configuration via ubus
8d89d373f360 odhcp6c: add failure when -E option is used without ubus support enabled
58f3c9eb1163 odhcp6c: add new argument option to disable script call
1048fc4fb622 reconfigure: move all configuration functions to a new file
93f056d3a1f2 reconfigure: implement DHCP reconfiguration
af669fb23cd3 dhcpv6: implement statistics for DHCPv6
3a1a599fecb7 ubus: implement UBus method to get state data immediately
44c50214997d ubus: emit UBus event on DHCP state changes
33b972bc526a ubus: connect to UBus backend
2f609f248faf odhcp6c: implement asynchronous handling for DHCPv6 State
6466314e7f62 odhcp6c: enable Non-Blocking DHCPv6 Socket
1df65f0caf46 dhcpv6: refactor dhcp_request Function
047c63a8156b dhcpv6: add t1 and t2 transmission
1b5f0c402bbf dscp: add option to set dscp value
96017df54d8f dhcpv6: fix wrong retransmission of DHCPv6 Solicit
b929fc8a1cfd odhcp6c: add a simple build script
adc651ffed55 cmake: make libubox mandatory
5182e2b696ef cmake: drop EXT_PREFIX_CLASS
8d052c52e18d cmake: disable pedantic
f2521b296b21 github: fix CI apt dependencies

openwrt/odhcp6c@77e1ae2...b3e1db4

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* odhcpd: update to Git HEAD (2025-11-04)

d44af6dd8f4e dhcpv6: create struct dhcpv6_lease
4df45c8c3722 dhcpv4: create struct dhcpv4_lease
a6dccae41b60 odhcpd: struct lease -> struct lease_cfg
fc0abb66f122 dhcpv4: use leasetime from a->lease
74eeff193848 router: always use link-local src address for RAs
b9a071b8341f router: Rewrite the ingress MTU to one configured for the interface
1ef9e0e610d5 router: utilize interface ra_mtu for RA
1480c09ee0aa config: clamp ra_mtu to interface MTU, and default ra_mtu to interface MTU
ee4f0df6bd68 netlink: Store interface MTU at link change
d174e25e85a1 github: fix CI apt dependencies
8f393d55a76e odhcpd: more fixes for IID calculations

openwrt/odhcpd@fc27940...d44af6d

Signed-off-by: Álvaro Fernández Rojas <[email protected]>

* I don't have a device, but I can help a little.
Remember: Do full backups!!

Signed-off-by: Sergey Shlukov <[email protected]>

* tools/liblzo: add cmake 4.x compatibility

Patch CMakeLists.txt to fulfill cmake 4.0 requirements
of cmake_minimum_required being at least 3.5 and in future 3.10.

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* treewide: edit local CMakeLists.txt to be compatible with cmake 4.x

Edit CMakeLists.txt to fulfill cmake 4.0 requirement that
cmake_minimum_required is now at least 3.5 and in future 3.10.

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* libjson-c: patch for cmake 4.x compatibility

Patch CMakeLists.txt in selected apps for cmake 4.x compatibility.
New cmake versions require at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt. In future 3.10 will be required.

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* jansson: adjust for cmake 4.x compatibility

Patch CMakeLists.txt in selected apps for cmake 4.x compatibility.
New cmake versions require at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt. In future 3.10 will be required.

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* libevent2: adjust for cmake 4.x compatibility

Patch CMakeLists.txt for cmake 4.x compatibility.
New cmake versions require at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt. In future 3.10 will be required.

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* tools/cmake: update to 4.1.2

Update cmake to 4.1.2.
Note that cmake 4.x requires at least 3.5 as 'cmake_minimum_required'
in CMakeLists.txt of each app to be compiled.

Future cmake versions will increase that requirement to 3.10
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#20265
Signed-off-by: Christian Marangi <[email protected]>

* ipq806x: 6.12: backport patch to handle CPUFreq with no SMEM

The Google OnHub doesn't init the SMEM in SBL causing the CPUFreq driver
to fail probe. This is caused by the fact that new CPUFreq driver makes
use of SMEM to identify the SoC variant and on Google OnHub this is not
available.

Backport patch to detect this state and fallback to compatible
matching fixing the CPUFreq driver.

Link: openwrt#20587
Signed-off-by: Christian Marangi <[email protected]>

* ipq806x: switch to kernel 6.12

Move the ipq806x target to kernel 6.12 by default as every kernel bump
problem has been handled.

Link: openwrt#20644
Signed-off-by: Christian Marangi <[email protected]>

* ipq806x: drop support for kernel 6.6

Drop support for kernel 6.6 as now kernel 6.12 is set as default kernel
version.

Link: openwrt#20644
Signed-off-by: Christian Marangi <[email protected]>

* ath11k: fix transmit queue flushing through flush_sta implementation

warning print "ath11k c000000.wifi: failed to flush transmit queue 0"
is observed during busy times.

The mac80211 fallback implementation of `flush_sta` does not handle the per STA queues well.
This is fixed by providing a ath11k specific implementation of flush_sta telling the firmware to flush a given station.
The draining of the transmit queues should therefore stop correctly, even if new packets arrive in the mean time.

An upstream ath11k RFC is available at:
https://patchwork.kernel.org/project/linux-wireless/patch/GV1P250MB14333A5BF24623C4753A10E1E8E0A@GV1P250MB1433.EURP250.PROD.OUTLOOK.COM/

The patch was tested on a Xiaomi AX3600.

Signed-off-by: Florian Maurer <[email protected]>
Tested-by: Florian Maurer  <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Tested-by: Flole <[email protected]>
Link: openwrt#20293
Signed-off-by: Christian Marangi <[email protected]>

* airoha: replace PWM patch with upstream version

Replace Airoha AN7581 PWM patch with upstream version and add kernel
version tag.

Signed-off-by: Christian Marangi <[email protected]>

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* fix

Signed-off-by: Sergey Shlukov <[email protected]>

* fix led's (#7)

* fix led's

* Delete router

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Sergey Shlukov <[email protected]>
Signed-off-by: Hannu Nyman <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
Signed-off-by: Florian Maurer <[email protected]>
Signed-off-by: EmreYavuzalp <[email protected]>
Signed-off-by: Manti <[email protected]>
Co-authored-by: Emre Yavuzalp <[email protected]>
Co-authored-by: Álvaro Fernández Rojas <[email protected]>
Co-authored-by: Hannu Nyman <[email protected]>
Co-authored-by: Christian Marangi <[email protected]>
Co-authored-by: Florian Maurer <[email protected]>
Co-authored-by: Benjamin Berg <[email protected]>
Co-authored-by: EmreYavuzalp <[email protected]>
Co-authored-by: Manti <[email protected]>
EmreYavuzalp referenced this pull request in EmreYavuzalp/openwrt Nov 7, 2025
* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* I don't have a device, but I can help a little.
Remember: Do full backups!!

Signed-off-by: Sergey Shlukov <[email protected]>

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* fix

Signed-off-by: Sergey Shlukov <[email protected]>

* fix led's (#7)

* fix led's

* Delete router

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Sergey Shlukov <[email protected]>
Signed-off-by: EmreYavuzalp <[email protected]>
Signed-off-by: Manti <[email protected]>
Co-authored-by: Sergey Shlukov <[email protected]>
Co-authored-by: Manti <[email protected]>
EmreYavuzalp referenced this pull request in EmreYavuzalp/openwrt Nov 7, 2025
* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* I don't have a device, but I can help a little.
Remember: Do full backups!!

Signed-off-by: Sergey Shlukov <[email protected]>

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* fix

Signed-off-by: Sergey Shlukov <[email protected]>

* fix led's (#7)

* fix led's

* Delete router

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Sergey Shlukov <[email protected]>
Signed-off-by: EmreYavuzalp <[email protected]>
Signed-off-by: Manti <[email protected]>
Co-authored-by: Sergey Shlukov <[email protected]>
Co-authored-by: Manti <[email protected]>
EmreYavuzalp referenced this pull request in EmreYavuzalp/openwrt Nov 7, 2025
* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* I don't have a device, but I can help a little.
Remember: Do full backups!!

Signed-off-by: Sergey Shlukov <[email protected]>

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* mediatek: filogic: TP-Link Archer AX80 v1 (EU) support

* fix

Signed-off-by: Sergey Shlukov <[email protected]>

* fix led's (#7)

* fix led's

* Delete router

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Manti <[email protected]>

---------

Signed-off-by: Sergey Shlukov <[email protected]>
Signed-off-by: EmreYavuzalp <[email protected]>
Signed-off-by: Manti <[email protected]>
Co-authored-by: Sergey Shlukov <[email protected]>
Co-authored-by: Manti <[email protected]>
FrankZRS pushed a commit to Cascoda/OpenWrt that referenced this pull request Dec 16, 2025
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
The code uses get_mtd_device_nm() which must be followed by a call to
put_mtd_device() once the handle is no longer used.

This fixes spurious shutdown console messages such as:
[ 2256.334562] Removing MTD device openwrt#7 (soft_config) with use count 1

Reported-by: Koen Vandeputte <[email protected]>
Tested-by: Koen Vandeputte <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
MayorBug pushed a commit to MayorBug/openwrt that referenced this pull request Oct 4, 2026
Brings the branch from main of 2026-09-11 (e59c787) to 2026-09-18:
kernel 6.18.44 -> 6.18.52, the netfilter flow-offload fixes, comgt/ncm
fixes, netifd and procd updates, linux-firmware 20260910.

Conflicts and how they were resolved:
- package/kernel/mac80211: kept our tree unchanged. This branch pins the
  6.18.26 backports package from the qosmio NSS tree (the ath11k NSS
  patches need it), so main's rt2x00 patch refresh for backports 7.2 does
  not apply here. Moving to 7.2 is a separate step.
- target/linux/qualcommax/patches-6.18/0904 (ipq6018 clock parenting
  workaround): accepted main's removal, made obsolete there by passing the
  UNIPHY clocks directly to GCC.

The ipq50xx USB3 series (0140-0159) is identical on both sides since openwrt#7.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 6, 2026
…der; one core declaration for both shells

The X400AXF's stock declares 30 T-CONTs and schedulers, ONU2-G 248/30/248, no
circuit pack at all, and downstream queue blocks 0x0104..0x0101 then the VEIP;
the core had 12 T-CONTs and queues numbered from the circuit packs. After this
change the lab OLT's view of the X400AXF on our image differs from stock in
one field only (the PLOAM password, an identity matter) and the datapath group
passes on it (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN); the
X111W still MATCHES on all 47 fields.

Core:
- struct omci_capacity (survives reinit): tcont_n (ME 262 rows, ANI-G openwrt#2),
  sched_n (ME 278 rows, ONU2-G openwrt#7), ONU2-G openwrt#6 and openwrt#9, the downstream queue
  ports in block order, and 8 upstream queues per T-CONT once declared.
  Defaults are the old constants (12/12/96/64, one block on 0x0101, no US).
- tcont_alloc holds up to 32 T-CONTs; tcont_alloc_written is a u32.
- Circuit packs are ME 5/6 data only, no longer the source of the queues; an
  empty list declares a board with none.
- omci_onu_declare_queues_be (onu-capacity, downstream-queue-ports) and
  omci_onu_declare_equipment(), which reads every equipment property through
  a shell-supplied property callback: luna_gpon.c and cortina-gpon.c each pass
  a 4-line of_get_property wrapper instead of parsing them twice.
- OMCI_MIB_ROWS_MAX is 512 on every family (X400AXF ~380 rows).

DTS: the X111W declares its capacity and queue order explicitly (same MIB as
before); the X400AXF declares its whole panel as omci_panel.py derives it from
its stock census.

Host proof: omci_slot_test 33/0 (X400AXF census shape arm; five guards
mutation-proven), omci_me_table 15/15, omci_admin_state 129/0, omci_accepted
198/0, cg_omci_pipeline 226/0, luna_omci_pipeline 12578/0, omci_wire_offsets
159/159, luna_omci_abi 9/0. All four boards build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 31, 2026
…der; one core declaration for both shells

The X400AXF's stock declares 30 T-CONTs and schedulers, ONU2-G 248/30/248, no
circuit pack at all, and downstream queue blocks 0x0104..0x0101 then the VEIP;
the core had 12 T-CONTs and queues numbered from the circuit packs. After this
change the lab OLT's view of the X400AXF on our image differs from stock in
one field only (the PLOAM password, an identity matter) and the datapath group
passes on it (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN); the
X111W still MATCHES on all 47 fields.

Core:
- struct omci_capacity (survives reinit): tcont_n (ME 262 rows, ANI-G openwrt#2),
  sched_n (ME 278 rows, ONU2-G openwrt#7), ONU2-G openwrt#6 and openwrt#9, the downstream queue
  ports in block order, and 8 upstream queues per T-CONT once declared.
  Defaults are the old constants (12/12/96/64, one block on 0x0101, no US).
- tcont_alloc holds up to 32 T-CONTs; tcont_alloc_written is a u32.
- Circuit packs are ME 5/6 data only, no longer the source of the queues; an
  empty list declares a board with none.
- omci_onu_declare_queues_be (onu-capacity, downstream-queue-ports) and
  omci_onu_declare_equipment(), which reads every equipment property through
  a shell-supplied property callback: luna_gpon.c and cortina-gpon.c each pass
  a 4-line of_get_property wrapper instead of parsing them twice.
- OMCI_MIB_ROWS_MAX is 512 on every family (X400AXF ~380 rows).

DTS: the X111W declares its capacity and queue order explicitly (same MIB as
before); the X400AXF declares its whole panel as omci_panel.py derives it from
its stock census.

Host proof: omci_slot_test 33/0 (X400AXF census shape arm; five guards
mutation-proven), omci_me_table 15/15, omci_admin_state 129/0, omci_accepted
198/0, cg_omci_pipeline 226/0, luna_omci_pipeline 12578/0, omci_wire_offsets
159/159, luna_omci_abi 9/0. All four boards build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants