mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	Compare commits
	
		
			14 Commits
		
	
	
		
			v2.5.0-rc2
			...
			v2.5.0-rc4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 4b07afe59f | ||
|   | 5d53d138b0 | ||
|   | e40631b8cd | ||
|   | 22135129bd | ||
|   | de4b3c4edc | ||
|   | e3b1fe36e5 | ||
|   | 5af7e1e7d8 | ||
|   | 057ebb8660 | ||
|   | 17fe72c6e9 | ||
|   | 834ff2fe4f | ||
|   | ce3849e131 | ||
|   | 66640cdd1a | ||
|   | 300924a4be | ||
|   | 8fb088bcc8 | 
							
								
								
									
										2
									
								
								.github/workflows/build-dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,7 +11,7 @@ jobs: | |||||||
|     strategy: |     strategy: | ||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         target: ['actiontec_web7200', 'cig_wf188n', 'cig_wf194c', 'cig_wf194c4', 'cig_wf160d', 'cig_wf808', 'cybertan_eww622-a1', 'edgecore_eap101', 'edgecore_eap102', 'edgecore_eap104', 'edgecore_ecs4100-12ph', 'edgecore_ecw5211', 'edgecore_ecw5410', 'edgecore_oap100', 'edgecore_ssw2ac2600', 'edgecore_spw2ac1200', 'edgecore_spw2ac1200-lan-poe', 'hfcl_ion4', 'hfcl_ion4xe', 'hfcl_ion4xi', 'indio_um-305ac', 'linksys_ea6350-v4', 'linksys_e8450-ubi', 'linksys_ea8300', 'tp-link_ec420-g1', 'tplink_ex227', 'tplink_ex228', 'tplink_ex447', 'wallys_dr40x9', 'wallys_dr6018', 'wallys_dr6018_v4' ] |         target: ['actiontec_web7200', 'cig_wf188n', 'cig_wf194c', 'cig_wf194c4', 'cig_wf196', 'cig_wf160d', 'cig_wf808', 'cybertan_eww622-a1', 'edgecore_eap101', 'edgecore_eap102', 'edgecore_eap104', 'edgecore_ecs4100-12ph', 'edgecore_ecw5211', 'edgecore_ecw5410', 'edgecore_oap100', 'edgecore_ssw2ac2600', 'edgecore_spw2ac1200', 'edgecore_spw2ac1200-lan-poe', 'hfcl_ion4', 'hfcl_ion4xe', 'hfcl_ion4xi', 'indio_um-305ac', 'linksys_ea6350-v4', 'linksys_e8450-ubi', 'linksys_ea8300', 'tp-link_ec420-g1', 'tplink_ex227', 'tplink_ex228', 'tplink_ex447', 'wallys_dr40x9', 'wallys_dr6018', 'wallys_dr6018_v4' ] | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@v2 |     - uses: actions/checkout@v2 | ||||||
|   | |||||||
| @@ -1,67 +0,0 @@ | |||||||
| #!/bin/sh |  | ||||||
| [ "$ACTION" = add ] || exit |  | ||||||
|  |  | ||||||
| NPROCS="$(grep -c "^processor.*:" /proc/cpuinfo)" |  | ||||||
| [ "$NPROCS" -gt 1 ] || exit |  | ||||||
|  |  | ||||||
| PROC_MASK="$(( (1 << $NPROCS) - 1 ))" |  | ||||||
|  |  | ||||||
| find_irq_cpu() { |  | ||||||
| 	local dev="$1" |  | ||||||
| 	local match="$(grep -m 1 "$dev\$" /proc/interrupts)" |  | ||||||
| 	local cpu=0 |  | ||||||
|  |  | ||||||
| 	[ -n "$match" ] && { |  | ||||||
| 		set -- $match |  | ||||||
| 		shift |  | ||||||
| 		for cur in `seq 1 $NPROCS`; do |  | ||||||
| 			[ "$1" -gt 0 ] && { |  | ||||||
| 				cpu=$(($cur - 1)) |  | ||||||
| 				break |  | ||||||
| 			} |  | ||||||
| 			shift |  | ||||||
| 		done |  | ||||||
| 	} |  | ||||||
|  |  | ||||||
| 	echo "$cpu" |  | ||||||
| } |  | ||||||
|  |  | ||||||
| set_hex_val() { |  | ||||||
| 	local file="$1" |  | ||||||
| 	local val="$2" |  | ||||||
| 	val="$(printf %x "$val")" |  | ||||||
| 	[ -n "$DEBUG" ] && echo "$file = $val" |  | ||||||
| 	echo "$val" > "$file" |  | ||||||
| } |  | ||||||
|  |  | ||||||
| default_ps="$(uci get "network.@globals[0].default_ps")" |  | ||||||
| [ -n "$default_ps" -a "$default_ps" != 1 ] && exit 0 |  | ||||||
|  |  | ||||||
| exec 512>/var/lock/smp_tune.lock |  | ||||||
| flock 512 || exit 1 |  | ||||||
|  |  | ||||||
| for dev in /sys/class/net/*; do |  | ||||||
| 	[ -d "$dev" ] || continue |  | ||||||
|  |  | ||||||
| 	# ignore virtual interfaces |  | ||||||
| 	[ -n "$(ls "${dev}/" | grep '^lower_')" ] && continue |  | ||||||
| 	[ -d "${dev}/device" ] || continue |  | ||||||
|  |  | ||||||
| 	device="$(readlink "${dev}/device")" |  | ||||||
| 	device="$(basename "$device")" |  | ||||||
| 	irq_cpu="$(find_irq_cpu "$device")" |  | ||||||
| 	irq_cpu_mask="$((1 << $irq_cpu))" |  | ||||||
|  |  | ||||||
| 	for q in ${dev}/queues/rx-*; do |  | ||||||
| 		set_hex_val "$q/rps_cpus" "$(($PROC_MASK & ~$irq_cpu_mask))" |  | ||||||
| 	done |  | ||||||
|  |  | ||||||
| 	ntxq="$(ls -d ${dev}/queues/tx-* | wc -l)" |  | ||||||
|  |  | ||||||
| 	idx=$(($irq_cpu + 1)) |  | ||||||
| 	for q in ${dev}/queues/tx-*; do |  | ||||||
| 		set_hex_val "$q/xps_cpus" "$((1 << $idx))" |  | ||||||
| 		let "idx = idx + 1" |  | ||||||
| 		[ "$idx" -ge "$NPROCS" ] && idx=0 |  | ||||||
| 	done |  | ||||||
| done |  | ||||||
| @@ -1,58 +0,0 @@ | |||||||
| #!/bin/sh /etc/rc.common |  | ||||||
|  |  | ||||||
| START=80 |  | ||||||
|  |  | ||||||
| set_affinity() { |  | ||||||
| 	local affinity=$1 |  | ||||||
| 	local name=$2 |  | ||||||
| 	local irq=`grep -E -m1 $name /proc/interrupts | cut -d ':' -f 1 | tail -n1 | tr -d ' '` |  | ||||||
|         [ -n "$irq" ] && { |  | ||||||
| 		logger ath11k setting affinity for $name/$irq to $affinity |  | ||||||
| 		echo $affinity > /proc/irq/$irq/smp_affinity |  | ||||||
| 	} |  | ||||||
| } |  | ||||||
|  |  | ||||||
| boot() { |  | ||||||
| 	. /lib/functions/system.sh |  | ||||||
|  |  | ||||||
| 	board=$(board_name) |  | ||||||
| 	case $board in |  | ||||||
| 	cig,wf196) |  | ||||||
| 		set_affinity 1 reo2host-destination-ring2 |  | ||||||
| 		set_affinity 2 reo2host-destination-ring1 |  | ||||||
| 		;; |  | ||||||
| 	*) |  | ||||||
| 		set_affinity 2 reo2host-destination-ring2 |  | ||||||
| 		set_affinity 1 reo2host-destination-ring1 |  | ||||||
| 		;; |  | ||||||
| 	esac |  | ||||||
|  |  | ||||||
| 	case $board in |  | ||||||
| 	maple) |  | ||||||
| 		;; |  | ||||||
| 	*) |  | ||||||
| 		set_affinity 8 reo2host-destination-ring4 |  | ||||||
| 		set_affinity 4 reo2host-destination-ring3 |  | ||||||
| 	 |  | ||||||
| 		set_affinity 8 wbm2host-tx-completions-ring3 |  | ||||||
| 		set_affinity 4 wbm2host-tx-completions-ring2 |  | ||||||
| 		set_affinity 2 wbm2host-tx-completions-ring1 |  | ||||||
|  |  | ||||||
| 		set_affinity 8 ppdu-end-interrupts-mac1 |  | ||||||
| 		set_affinity 8 rxdma2host-monitor-status-ring-mac1 |  | ||||||
| 		set_affinity 8 rxdma2host-monitor-destination-mac1 |  | ||||||
| 		set_affinity 8 host2rxdma-monitor-ring1 |  | ||||||
| 		;; |  | ||||||
| 	esac |  | ||||||
|  |  | ||||||
| 	set_affinity 4 ppdu-end-interrupts-mac2 |  | ||||||
| 	set_affinity 4 rxdma2host-monitor-status-ring-mac2 |  | ||||||
| 	set_affinity 4 rxdma2host-monitor-destination-mac2 |  | ||||||
| 	set_affinity 4 host2rxdma-monitor-ring2 |  | ||||||
|  |  | ||||||
| 	set_affinity 2 ppdu-end-interrupts-mac3 |  | ||||||
| 	set_affinity 2 rxdma2host-monitor-status-ring-mac3 |  | ||||||
| 	set_affinity 2 rxdma2host-monitor-destination-mac3 |  | ||||||
| 	set_affinity 2 host2rxdma-monitor-ring3 |  | ||||||
| } |  | ||||||
|  |  | ||||||
| @@ -1,36 +0,0 @@ | |||||||
| From fd65e5a95d08389444e8591a20538b3edece0e15 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> |  | ||||||
| Date: Fri, 31 Jul 2020 19:26:16 +0300 |  | ||||||
| Subject: [PATCH] net: bridge: clear bridge's private skb space on xmit |  | ||||||
|  |  | ||||||
| We need to clear all of the bridge private skb variables as they can be |  | ||||||
| stale due to the packet being recirculated through the stack and then |  | ||||||
| transmitted through the bridge device. Similar memset is already done on |  | ||||||
| bridge's input. We've seen cases where proxyarp_replied was 1 on routed |  | ||||||
| multicast packets transmitted through the bridge to ports with neigh |  | ||||||
| suppress which were getting dropped. Same thing can in theory happen with |  | ||||||
| the port isolation bit as well. |  | ||||||
|  |  | ||||||
| Fixes: 821f1b21cabb ("bridge: add new BR_NEIGH_SUPPRESS port flag to suppress arp and nd flood") |  | ||||||
| Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> |  | ||||||
| Signed-off-by: David S. Miller <davem@davemloft.net> |  | ||||||
| --- |  | ||||||
|  net/bridge/br_device.c | 2 ++ |  | ||||||
|  1 file changed, 2 insertions(+) |  | ||||||
|  |  | ||||||
| diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c |  | ||||||
| index 8c7b78f8bc23..9a2fb4aa1a10 100644 |  | ||||||
| --- a/net/bridge/br_device.c |  | ||||||
| +++ b/net/bridge/br_device.c |  | ||||||
| @@ -36,6 +36,8 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) |  | ||||||
|  	const unsigned char *dest; |  | ||||||
|  	u16 vid = 0; |  | ||||||
|   |  | ||||||
| +	memset(skb->cb, 0, sizeof(struct br_input_skb_cb)); |  | ||||||
| + |  | ||||||
|  	rcu_read_lock(); |  | ||||||
|  	nf_ops = rcu_dereference(nf_br_ops); |  | ||||||
|  	if (nf_ops && nf_ops->br_dev_xmit_hook(skb)) { |  | ||||||
| --  |  | ||||||
| 2.25.1 |  | ||||||
|  |  | ||||||
| @@ -13,6 +13,7 @@ PKG_RELEASE:=1 | |||||||
|  |  | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git | PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git | ||||||
|  | PKG_MIRROR_HASH:=8bb4fa43368be5b5839a350419701b0bb3881b1641e037affea42630d75e56e6 | ||||||
| PKG_SOURCE_DATE:=2021-07-09 | PKG_SOURCE_DATE:=2021-07-09 | ||||||
| PKG_SOURCE_VERSION:=d9e1398cc9091e9e7c7a740361e4617b75c24427 | PKG_SOURCE_VERSION:=d9e1398cc9091e9e7c7a740361e4617b75c24427 | ||||||
| #PKG_MIRROR_HASH:=5bf06a804824db36ae393fc174aeec7b12633176e05a765c0931b39df5bd34df | #PKG_MIRROR_HASH:=5bf06a804824db36ae393fc174aeec7b12633176e05a765c0931b39df5bd34df | ||||||
|   | |||||||
| @@ -6,6 +6,7 @@ PKG_SOURCE_PROTO:=git | |||||||
| PKG_BRANCH:=master | PKG_BRANCH:=master | ||||||
| PKG_RELEASE:=2 | PKG_RELEASE:=2 | ||||||
| PKG_SOURCE_URL:=https://source.codeaurora.org/quic/qsdk/oss/lklm/nss-clients/ | PKG_SOURCE_URL:=https://source.codeaurora.org/quic/qsdk/oss/lklm/nss-clients/ | ||||||
|  | PKG_MIRROR_HASH:=802bf8b2dac8da0549e108b873afd982d127370c07d6574ece71f902eafe7698 | ||||||
| PKG_VERSION:=153998d70fdba508a59a28c13a606032cbf32686 | PKG_VERSION:=153998d70fdba508a59a28c13a606032cbf32686 | ||||||
|  |  | ||||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||||||
|   | |||||||
| @@ -7,12 +7,15 @@ boot() { | |||||||
| 	. /lib/functions.sh | 	. /lib/functions.sh | ||||||
| 	mkdir -p /certificates /etc/ucentral/ | 	mkdir -p /certificates /etc/ucentral/ | ||||||
| 	local mtd=$(find_mtd_index certificates) | 	local mtd=$(find_mtd_index certificates) | ||||||
| 	[ -n "$mtd" -a -f /sys/class/mtd/mtd$mtd/oobsize ] && ubiattach -p /dev/mtd$mtd | 	 | ||||||
| 	if [ -n "$(ubinfo -a | grep certificates)" ]; then | 	if [ "$(head -c 4 /dev/mtd$mtd)" == "hsqs" ]; then | ||||||
| 		[ -e /dev/ubi0 ] && mount -t ubifs ubi0:certificates /certificates |  | ||||||
| 		[ -e /dev/ubi1 ] && mount -t ubifs ubi1:certificates /certificates |  | ||||||
| 	else |  | ||||||
| 		mount -t squashfs /dev/mtdblock$mtd /certificates | 		mount -t squashfs /dev/mtdblock$mtd /certificates | ||||||
|  | 	else | ||||||
|  | 		[ -n "$mtd" -a -f /sys/class/mtd/mtd$mtd/oobsize ] && ubiattach -p /dev/mtd$mtd | ||||||
|  | 		if [ -n "$(ubinfo -a | grep certificates)" ]; then | ||||||
|  | 			[ -e /dev/ubi0 ] && mount -t ubifs ubi0:certificates /certificates | ||||||
|  | 			[ -e /dev/ubi1 ] && mount -t ubifs ubi1:certificates /certificates | ||||||
|  | 		fi | ||||||
| 	fi | 	fi | ||||||
| 	[ -f /certificates/dev-id ] && { | 	[ -f /certificates/dev-id ] && { | ||||||
| 		cp /certificates/*.pem /etc/ucentral/ | 		cp /certificates/*.pem /etc/ucentral/ | ||||||
|   | |||||||
| @@ -16,12 +16,14 @@ wifi config | |||||||
|  |  | ||||||
| . /lib/functions.sh | . /lib/functions.sh | ||||||
|  |  | ||||||
|  | SUFFIX=$(uci get system.@system[0].hostname | tail -c 7 | tr a-f A-F | tr -d '\n') | ||||||
|  |  | ||||||
| radio_enable() {  | radio_enable() {  | ||||||
| 	uci set wireless.$1.disabled=0  | 	uci set wireless.$1.disabled=0  | ||||||
| }  | }  | ||||||
|  |  | ||||||
| ssid_set() {  | ssid_set() {  | ||||||
| 	uci set wireless.$1.ssid='Maverick'  | 	uci set wireless.$1.ssid=Maverick-${SUFFIX} | ||||||
| } | } | ||||||
|  |  | ||||||
| delete_forwarding() { | delete_forwarding() { | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ PKG_NAME:=dynamic-vlan | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/dynamic-vlan.git | PKG_SOURCE_URL=https://github.com/blogic/dynamic-vlan.git | ||||||
|  | PKG_MIRROR_HASH:=448890cdf182bd1b47edffca242e607594d0d17f6f5017a6fd021aab79f3c351 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-06-04 | PKG_SOURCE_DATE:=2021-06-04 | ||||||
| PKG_SOURCE_VERSION:=55d78d3e7215b601084980d922349bcfdcf9cf20 | PKG_SOURCE_VERSION:=55d78d3e7215b601084980d922349bcfdcf9cf20 | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ PKG_LICENSE:=GPL-2.0 | |||||||
| PKG_MAINTAINER:=John Crispin <john@phrozen.org> | PKG_MAINTAINER:=John Crispin <john@phrozen.org> | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/ieee8021x.git | PKG_SOURCE_URL=https://github.com/blogic/ieee8021x.git | ||||||
|  | PKG_MIRROR_HASH:=7e14e320714b4759f5c393f90165a69d133633612b57d408b3ab6535710bf53c | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-04-12 | PKG_SOURCE_DATE:=2021-04-12 | ||||||
| PKG_SOURCE_VERSION:=c1f36559dc0ed2deeac0531a3d5854f1955ae928 | PKG_SOURCE_VERSION:=c1f36559dc0ed2deeac0531a3d5854f1955ae928 | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ PKG_NAME:=ucentral-client | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/ucentral-client.git | PKG_SOURCE_URL=https://github.com/blogic/ucentral-client.git | ||||||
|  | PKG_MIRROR_HASH:=f00e800d97335d088281670aa1b459da1fdd5e4a2927ce280b7d9cb369ebc21a | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2022-01-10 | PKG_SOURCE_DATE:=2022-01-10 | ||||||
| PKG_SOURCE_VERSION:=e3b71c61e1a07bb3b5fa34fe835fd8f6f708caa3 | PKG_SOURCE_VERSION:=e3b71c61e1a07bb3b5fa34fe835fd8f6f708caa3 | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ PKG_NAME:=ucentral-event | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/ucentral-event.git | PKG_SOURCE_URL=https://github.com/blogic/ucentral-event.git | ||||||
|  | PKG_MIRROR_HASH:=615563b31f55b18b8900f8614c6c8add0d6a812da57d220a7632109b06795036 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-04-13 | PKG_SOURCE_DATE:=2021-04-13 | ||||||
| PKG_SOURCE_VERSION:=7b0d136e8556bb099d7032823139d275448714cb | PKG_SOURCE_VERSION:=7b0d136e8556bb099d7032823139d275448714cb | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ PKG_RELEASE:=1 | |||||||
| PKG_SOURCE_URL=https://github.com/blogic/ucentral-schema.git | PKG_SOURCE_URL=https://github.com/blogic/ucentral-schema.git | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2022-01-17 | PKG_SOURCE_DATE:=2022-01-17 | ||||||
| PKG_SOURCE_VERSION:=b8fdfb157fdb85b69e5456f84992a1a70e33ad7a | PKG_SOURCE_VERSION:=19fcc8d8163e84734d34dc7dd9767c2fa133fa16 | ||||||
|  |  | ||||||
| PKG_MAINTAINER:=John Crispin <john@phrozen.org> | PKG_MAINTAINER:=John Crispin <john@phrozen.org> | ||||||
| PKG_LICENSE:=BSD-3-Clause | PKG_LICENSE:=BSD-3-Clause | ||||||
|   | |||||||
							
								
								
									
										13
									
								
								feeds/ucentral/ucentral-schema/files/usr/bin/tcpdump_timeout
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								feeds/ucentral/ucentral-schema/files/usr/bin/tcpdump_timeout
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | #!/bin/sh | ||||||
|  |  | ||||||
|  | n=$1 | ||||||
|  | shift | ||||||
|  |  | ||||||
|  | if [ $n -eq 0]; then | ||||||
|  | 	tcpdump $@ | ||||||
|  | else | ||||||
|  | 	tcpdump $@ & | ||||||
|  | 	x=$! | ||||||
|  | 	sleep $n | ||||||
|  | 	kill $x | ||||||
|  | fi | ||||||
| @@ -0,0 +1,16 @@ | |||||||
|  | #!/usr/bin/ucode -R | ||||||
|  |  | ||||||
|  | let nl = require("nl80211"); | ||||||
|  | let def = nl.const; | ||||||
|  |  | ||||||
|  | function phy_get() { | ||||||
|  | 	let res = nl.request(def.NL80211_CMD_GET_WIPHY, def.NLM_F_DUMP, { split_wiphy_dump: true }); | ||||||
|  |  | ||||||
|  | 	if (res === false) | ||||||
|  | 		warn("Unable to lookup phys: " + nl.error() + "\n"); | ||||||
|  |  | ||||||
|  | 	return res; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | let phys = phy_get(); | ||||||
|  | printf("%d\n", phys[0].max_ap_assoc); | ||||||
| @@ -4,6 +4,7 @@ PKG_NAME:=ucentral-tools | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/ucentral-tools.git | PKG_SOURCE_URL=https://github.com/blogic/ucentral-tools.git | ||||||
|  | PKG_MIRROR_HASH:=9ae6a0cd431595871c233550427c4043c2ba7ddb3c5d87e46ab74a03b2b5a947 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-01-28 | PKG_SOURCE_DATE:=2021-01-28 | ||||||
| PKG_SOURCE_VERSION:=b013fc636e48d407870a46aaa68a09ed74de8d6f | PKG_SOURCE_VERSION:=b013fc636e48d407870a46aaa68a09ed74de8d6f | ||||||
|   | |||||||
| @@ -4,9 +4,10 @@ PKG_NAME:=ucentral-wifi | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/ucentral-wifi.git | PKG_SOURCE_URL=https://github.com/blogic/ucentral-wifi.git | ||||||
|  | PKG_MIRROR_HASH:=b6a3bfbd0823c54bb6fb3899e583db8580474a24c1b238d97be152ea8eccf6e5 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2022-01-10 | PKG_SOURCE_DATE:=2022-01-10 | ||||||
| PKG_SOURCE_VERSION:=955fed125e0597dda14cf52fb7224991072d6146 | PKG_SOURCE_VERSION:=40d0eb9d6f36f558d14d6a1783711c3cf07638c5 | ||||||
|  |  | ||||||
| PKG_MAINTAINER:=John Crispin <john@phrozen.org> | PKG_MAINTAINER:=John Crispin <john@phrozen.org> | ||||||
| PKG_LICENSE:=BSD-3-Clause | PKG_LICENSE:=BSD-3-Clause | ||||||
|   | |||||||
| @@ -1,15 +1,15 @@ | |||||||
| From 1c89014c7c0e68e1eeb851ea538fb67a57988dd4 Mon Sep 17 00:00:00 2001 | From eac420899717e2d23f6d13304bd67278a7e91730 Mon Sep 17 00:00:00 2001 | ||||||
| From: John Crispin <john@phrozen.org> | From: John Crispin <john@phrozen.org> | ||||||
| Date: Thu, 20 Jan 2022 10:48:35 +0100 | Date: Thu, 20 Jan 2022 10:48:35 +0100 | ||||||
| Subject: [PATCH 1/2] fixes | Subject: [PATCH 1/2] fixes | ||||||
|  |  | ||||||
| --- | --- | ||||||
|  lib/nl80211.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++---- |  lib/nl80211.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++---- | ||||||
|  lib/rtnl.c    |  1 + |  lib/rtnl.c    |  1 + | ||||||
|  2 files changed, 69 insertions(+), 5 deletions(-) |  2 files changed, 71 insertions(+), 6 deletions(-) | ||||||
|  |  | ||||||
| diff --git a/lib/nl80211.c b/lib/nl80211.c | diff --git a/lib/nl80211.c b/lib/nl80211.c | ||||||
| index fc24fb8..e308ebc 100644 | index fc24fb8..1d0871a 100644 | ||||||
| --- a/lib/nl80211.c | --- a/lib/nl80211.c | ||||||
| +++ b/lib/nl80211.c | +++ b/lib/nl80211.c | ||||||
| @@ -45,6 +45,8 @@ limitations under the License. | @@ -45,6 +45,8 @@ limitations under the License. | ||||||
| @@ -132,7 +132,7 @@ index fc24fb8..e308ebc 100644 | |||||||
|  	.attrs = { |  	.attrs = { | ||||||
|  		{ NL80211_STA_INFO_INACTIVE_TIME, "inactive_time", DT_U32, 0, NULL }, |  		{ NL80211_STA_INFO_INACTIVE_TIME, "inactive_time", DT_U32, 0, NULL }, | ||||||
|  		{ NL80211_STA_INFO_RX_BYTES, "rx_bytes", DT_U32, 0, NULL }, |  		{ NL80211_STA_INFO_RX_BYTES, "rx_bytes", DT_U32, 0, NULL }, | ||||||
| @@ -724,15 +783,16 @@ static const uc_nl_nested_spec_t nl80211_sta_info_nla = { | @@ -724,21 +783,22 @@ static const uc_nl_nested_spec_t nl80211_sta_info_nla = { | ||||||
|  		{ NL80211_STA_INFO_NONPEER_PM, "nonpeer_pm", DT_U32, 0, NULL }, |  		{ NL80211_STA_INFO_NONPEER_PM, "nonpeer_pm", DT_U32, 0, NULL }, | ||||||
|  		{ NL80211_STA_INFO_CHAIN_SIGNAL, "chain_signal", DT_S8, DF_MULTIPLE|DF_AUTOIDX, NULL }, |  		{ NL80211_STA_INFO_CHAIN_SIGNAL, "chain_signal", DT_S8, DF_MULTIPLE|DF_AUTOIDX, NULL }, | ||||||
|  		{ NL80211_STA_INFO_CHAIN_SIGNAL_AVG, "chain_signal_avg", DT_S8, DF_MULTIPLE|DF_AUTOIDX, NULL }, |  		{ NL80211_STA_INFO_CHAIN_SIGNAL_AVG, "chain_signal_avg", DT_S8, DF_MULTIPLE|DF_AUTOIDX, NULL }, | ||||||
| @@ -152,7 +152,22 @@ index fc24fb8..e308ebc 100644 | |||||||
|  	} |  	} | ||||||
|  }; |  }; | ||||||
|   |   | ||||||
| @@ -1044,6 +1104,9 @@ uc_nl_parse_attrs(struct nl_msg *msg, char *base, const uc_nl_attr_spec_t *attrs |  static const uc_nl_nested_spec_t nl80211_msg = { | ||||||
|  |  	.headsize = 0, | ||||||
|  | -	.nattrs = 124, | ||||||
|  | +	.nattrs = 125, | ||||||
|  |  	.attrs = { | ||||||
|  |  		{ NL80211_ATTR_4ADDR, "4addr", DT_U8, 0, NULL }, | ||||||
|  |  		{ NL80211_ATTR_AIRTIME_WEIGHT, "airtime_weight", DT_U16, 0, NULL }, | ||||||
|  | @@ -864,6 +924,7 @@ static const uc_nl_nested_spec_t nl80211_msg = { | ||||||
|  |  		{ NL80211_ATTR_WPA_VERSIONS, "wpa_versions", DT_U32, 0, NULL }, | ||||||
|  |  		{ NL80211_ATTR_SUPPORTED_IFTYPES, "supported_iftypes", DT_NESTED, 0, &nl80211_ifcomb_limit_types_nla }, | ||||||
|  |  		{ NL80211_ATTR_SOFTWARE_IFTYPES, "software_iftypes", DT_NESTED, 0, &nl80211_ifcomb_limit_types_nla }, | ||||||
|  | +		{ NL80211_ATTR_MAX_AP_ASSOC_STA, "max_ap_assoc", DT_U16, 0, NULL }, | ||||||
|  |  	} | ||||||
|  |  }; | ||||||
|  |   | ||||||
|  | @@ -1044,6 +1105,9 @@ uc_nl_parse_attrs(struct nl_msg *msg, char *base, const uc_nl_attr_spec_t *attrs | ||||||
|  	bool exists; |  	bool exists; | ||||||
|   |   | ||||||
|  	for (i = 0; i < nattrs; i++) { |  	for (i = 0; i < nattrs; i++) { | ||||||
|   | |||||||
| @@ -5,6 +5,7 @@ PKG_RELEASE:=1 | |||||||
|  |  | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/udevmand.git | PKG_SOURCE_URL=https://github.com/blogic/udevmand.git | ||||||
|  | PKG_MIRROR_HASH:=25e47c7f3d454cc5eba4e9c19fc9da8431e3c2b1b97b8f0f49798f51c2722df7 | ||||||
| PKG_SOURCE_DATE:=20220112 | PKG_SOURCE_DATE:=20220112 | ||||||
| PKG_SOURCE_VERSION:=065f75cb88aa317441adffeddc8d5302cfaafc8a | PKG_SOURCE_VERSION:=065f75cb88aa317441adffeddc8d5302cfaafc8a | ||||||
| CMAKE_INSTALL:=1 | CMAKE_INSTALL:=1 | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ PKG_LICENSE:=GPL-2.0 | |||||||
| PKG_MAINTAINER:=John Crispin <john@phrozen.org> | PKG_MAINTAINER:=John Crispin <john@phrozen.org> | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/udhcpsnoop.git | PKG_SOURCE_URL=https://github.com/blogic/udhcpsnoop.git | ||||||
|  | PKG_MIRROR_HASH:=721f005e51c46b9381f3e5a6576b8a31afd3903ddb0e7b569d7337a57ca33dd2 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-04-12 | PKG_SOURCE_DATE:=2021-04-12 | ||||||
| PKG_SOURCE_VERSION:=b86639904147a40be32ac43cd89c21109ffc3543 | PKG_SOURCE_VERSION:=b86639904147a40be32ac43cd89c21109ffc3543 | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ PKG_LICENSE:=GPL-2.0 | |||||||
| PKG_MAINTAINER:=John Crispin <john@phrozen.org> | PKG_MAINTAINER:=John Crispin <john@phrozen.org> | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://github.com/blogic/udnssnoop.git | PKG_SOURCE_URL=https://github.com/blogic/udnssnoop.git | ||||||
|  | PKG_MIRROR_HASH:=afd17cc6aed4a151bc0f437b84491d751932a39f93f429418200e9e8be53dfad | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-04-12 | PKG_SOURCE_DATE:=2021-04-12 | ||||||
| PKG_SOURCE_VERSION:=67e1e5f0bfc12222aa59c54e7066b1c00a680e56 | PKG_SOURCE_VERSION:=67e1e5f0bfc12222aa59c54e7066b1c00a680e56 | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ PKG_NAME:=usteer | |||||||
| PKG_RELEASE:=1 | PKG_RELEASE:=1 | ||||||
|  |  | ||||||
| PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git | PKG_SOURCE_URL=https://git.openwrt.org/project/usteer.git | ||||||
|  | PKG_MIRROR_HASH:=34a9f2867b3e9050d4707b986481681f97f6fad71bc3fb3276fa3c3b26e2ab67 | ||||||
| PKG_SOURCE_PROTO:=git | PKG_SOURCE_PROTO:=git | ||||||
| PKG_SOURCE_DATE:=2021-04-19 | PKG_SOURCE_DATE:=2021-04-19 | ||||||
| PKG_SOURCE_VERSION:=f42bf2962edd0199e4c96ebf19933b2846bcce27 | PKG_SOURCE_VERSION:=f42bf2962edd0199e4c96ebf19933b2846bcce27 | ||||||
|   | |||||||
| @@ -60,7 +60,7 @@ CONFIG_RSN_PREAUTH=y | |||||||
| CONFIG_EAP=y | CONFIG_EAP=y | ||||||
|  |  | ||||||
| # EAP Re-authentication Protocol (ERP) in integrated EAP server | # EAP Re-authentication Protocol (ERP) in integrated EAP server | ||||||
| #CONFIG_ERP=y | CONFIG_ERP=y | ||||||
|  |  | ||||||
| # EAP-MD5 for the integrated EAP server | # EAP-MD5 for the integrated EAP server | ||||||
| CONFIG_EAP_MD5=y | CONFIG_EAP_MD5=y | ||||||
|   | |||||||
| @@ -727,7 +727,7 @@ hostapd_set_bss_options() { | |||||||
| 			wps_not_configured=1 | 			wps_not_configured=1 | ||||||
| 			[ "$macfilter" = radius ] && { | 			[ "$macfilter" = radius ] && { | ||||||
| 				append_radius_server | 				append_radius_server | ||||||
| 				vlan_possible = 1 | 				vlan_possible=1 | ||||||
| 			} | 			} | ||||||
| 		;; | 		;; | ||||||
| 		psk|sae|psk-sae) | 		psk|sae|psk-sae) | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ PKG_RELEASE:=1 | |||||||
|  |  | ||||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | ||||||
| PKG_SOURCE_URL:=https://www.kernel.org/pub/software/network/iw | PKG_SOURCE_URL:=https://www.kernel.org/pub/software/network/iw | ||||||
| PKG_MD5SUM:=7a47d6f749ec69afcaf351166fd12f6f | PKG_HASH:=293a07109aeb7e36267cf59e3ce52857e9ffae3a6666eb8ac77894b1839fe1f2 | ||||||
|  |  | ||||||
| PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> | PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> | ||||||
| PKG_LICENSE:=GPL-2.0 | PKG_LICENSE:=GPL-2.0 | ||||||
|   | |||||||
							
								
								
									
										21
									
								
								feeds/wifi-ax/mac80211/patches/pending/214-no-encap.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								feeds/wifi-ax/mac80211/patches/pending/214-no-encap.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | |||||||
|  | Index: backports-20210222_001-4.4.60-b157d2276/drivers/net/wireless/ath/ath11k/mac.c | ||||||
|  | =================================================================== | ||||||
|  | --- backports-20210222_001-4.4.60-b157d2276.orig/drivers/net/wireless/ath/ath11k/mac.c | ||||||
|  | +++ backports-20210222_001-4.4.60-b157d2276/drivers/net/wireless/ath/ath11k/mac.c | ||||||
|  | @@ -6590,6 +6590,7 @@ static int ath11k_mac_op_update_vif_offl | ||||||
|  |  	u32 param_id, param_value; | ||||||
|  |  	int ret; | ||||||
|  |   | ||||||
|  | +	return 0; | ||||||
|  |  	if (ab->nss.enabled && vif->type == NL80211_IFTYPE_AP_VLAN) | ||||||
|  |  		return 0; | ||||||
|  |   | ||||||
|  | @@ -6835,6 +6836,8 @@ static int ath11k_mac_op_add_interface(s | ||||||
|  |  	else | ||||||
|  |  		param_value = ATH11K_HW_TXRX_NATIVE_WIFI; | ||||||
|  |   | ||||||
|  | +	param_value = ATH11K_HW_TXRX_NATIVE_WIFI; | ||||||
|  | + | ||||||
|  |  	ret = ath11k_nss_vdev_set_cmd(arvif, NSS_WIFI_VDEV_ENCAP_TYPE_CMD, param_value); | ||||||
|  |   | ||||||
|  |  	if(ret) { | ||||||
| @@ -1,66 +0,0 @@ | |||||||
| From 9bede53698b963280df8b7c3c85c052e66e9d548 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: John Crispin <john@phrozen.org> |  | ||||||
| Date: Thu, 17 Feb 2022 08:27:09 +0100 |  | ||||||
| Subject: [PATCH] net: bridge: clear bridge's private skb space on xmit |  | ||||||
|  |  | ||||||
| We need to clear all of the bridge private skb variables as they can be |  | ||||||
| stale due to the packet being recirculated through the stack and then |  | ||||||
| transmitted through the bridge device. Similar memset is already done on |  | ||||||
| bridge's input. We've seen cases where proxyarp_replied was 1 on routed |  | ||||||
| multicast packets transmitted through the bridge to ports with neigh |  | ||||||
| suppress which were getting dropped. Same thing can in theory happen with |  | ||||||
| the port isolation bit as well. |  | ||||||
|  |  | ||||||
| Fixes: 821f1b21cabb ("bridge: add new BR_NEIGH_SUPPRESS port flag to suppress arp and nd flood") |  | ||||||
| Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> |  | ||||||
| Signed-off-by: David S. Miller <davem@davemloft.net> |  | ||||||
| --- |  | ||||||
|  ...r-bridge-s-private-skb-space-on-xmit.patch | 36 +++++++++++++++++++ |  | ||||||
|  1 file changed, 36 insertions(+) |  | ||||||
|  create mode 100644 target/linux/generic/backport-5.4/999-net-bridge-clear-bridge-s-private-skb-space-on-xmit.patch |  | ||||||
|  |  | ||||||
| diff --git a/target/linux/generic/backport-5.4/999-net-bridge-clear-bridge-s-private-skb-space-on-xmit.patch b/target/linux/generic/backport-5.4/999-net-bridge-clear-bridge-s-private-skb-space-on-xmit.patch |  | ||||||
| new file mode 100644 |  | ||||||
| index 0000000000..20f71569da |  | ||||||
| --- /dev/null |  | ||||||
| +++ b/target/linux/generic/backport-5.4/999-net-bridge-clear-bridge-s-private-skb-space-on-xmit.patch |  | ||||||
| @@ -0,0 +1,36 @@ |  | ||||||
| +From fd65e5a95d08389444e8591a20538b3edece0e15 Mon Sep 17 00:00:00 2001 |  | ||||||
| +From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> |  | ||||||
| +Date: Fri, 31 Jul 2020 19:26:16 +0300 |  | ||||||
| +Subject: [PATCH] net: bridge: clear bridge's private skb space on xmit |  | ||||||
| + |  | ||||||
| +We need to clear all of the bridge private skb variables as they can be |  | ||||||
| +stale due to the packet being recirculated through the stack and then |  | ||||||
| +transmitted through the bridge device. Similar memset is already done on |  | ||||||
| +bridge's input. We've seen cases where proxyarp_replied was 1 on routed |  | ||||||
| +multicast packets transmitted through the bridge to ports with neigh |  | ||||||
| +suppress which were getting dropped. Same thing can in theory happen with |  | ||||||
| +the port isolation bit as well. |  | ||||||
| + |  | ||||||
| +Fixes: 821f1b21cabb ("bridge: add new BR_NEIGH_SUPPRESS port flag to suppress arp and nd flood") |  | ||||||
| +Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> |  | ||||||
| +Signed-off-by: David S. Miller <davem@davemloft.net> |  | ||||||
| +--- |  | ||||||
| + net/bridge/br_device.c | 2 ++ |  | ||||||
| + 1 file changed, 2 insertions(+) |  | ||||||
| + |  | ||||||
| +diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c |  | ||||||
| +index 8c7b78f8bc23..9a2fb4aa1a10 100644 |  | ||||||
| +--- a/net/bridge/br_device.c |  | ||||||
| ++++ b/net/bridge/br_device.c |  | ||||||
| +@@ -36,6 +36,8 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) |  | ||||||
| + 	const unsigned char *dest; |  | ||||||
| + 	u16 vid = 0; |  | ||||||
| +  |  | ||||||
| ++	memset(skb->cb, 0, sizeof(struct br_input_skb_cb)); |  | ||||||
| ++ |  | ||||||
| + 	rcu_read_lock(); |  | ||||||
| + 	nf_ops = rcu_dereference(nf_br_ops); |  | ||||||
| + 	if (nf_ops && nf_ops->br_dev_xmit_hook(skb)) { |  | ||||||
| +--  |  | ||||||
| +2.25.1 |  | ||||||
| + |  | ||||||
| --  |  | ||||||
| 2.25.1 |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,30 @@ | |||||||
|  | From a3598bcbc83224faf0d2ecb55761d048a1beb6d1 Mon Sep 17 00:00:00 2001 | ||||||
|  | From: Felix Fietkau <nbd@nbd.name> | ||||||
|  | Date: Fri, 10 Dec 2021 10:16:18 +0100 | ||||||
|  | Subject: [PATCH] netifd: on dhcp interfaces, store the dhcp server in | ||||||
|  |  interface data | ||||||
|  |  | ||||||
|  | Among other things, this can be used to auto-configure the DHCP server | ||||||
|  | address for wireless APs using FILS, if the bridged interface is | ||||||
|  | configured to DHCP | ||||||
|  |  | ||||||
|  | Signed-off-by: Felix Fietkau <nbd@nbd.name> | ||||||
|  | --- | ||||||
|  |  package/network/config/netifd/files/lib/netifd/dhcp.script | 1 + | ||||||
|  |  1 file changed, 1 insertion(+) | ||||||
|  |  | ||||||
|  | diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script | ||||||
|  | index e46005d84c..6fcf139beb 100755 | ||||||
|  | --- a/package/network/config/netifd/files/lib/netifd/dhcp.script | ||||||
|  | +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script | ||||||
|  | @@ -60,6 +60,7 @@ setup_interface () { | ||||||
|  |  	[ -n "$message" ]  && json_add_string message "$message" | ||||||
|  |  	[ -n "$timezone" ] && json_add_int timezone "$timezone" | ||||||
|  |  	[ -n "$lease" ]    && json_add_int leasetime "$lease" | ||||||
|  | +	[ -n "$serverid" ] && json_add_string dhcpserver "$serverid" | ||||||
|  |  	proto_close_data | ||||||
|  |   | ||||||
|  |  	proto_send_update "$INTERFACE" | ||||||
|  | --  | ||||||
|  | 2.25.1 | ||||||
|  |  | ||||||
| @@ -0,0 +1,32 @@ | |||||||
|  | From d8d342c6d0c4076b509faf1ae1a87df24814abe0 Mon Sep 17 00:00:00 2001 | ||||||
|  | From: John Crispin <john@phrozen.org> | ||||||
|  | Date: Wed, 23 Feb 2022 07:44:56 +0100 | ||||||
|  | Subject: [PATCH] Revert "ipq40xx: ar40xx: reset port status register" | ||||||
|  |  | ||||||
|  | This reverts commit 88151b8303f29f18e8b037076628fd82eda0978a. | ||||||
|  |  | ||||||
|  | This actually causes several boards to have bad eth connectivity | ||||||
|  | after reboot. | ||||||
|  |  | ||||||
|  | Signed-off-by: John Crispin <john@phrozen.org> | ||||||
|  | --- | ||||||
|  |  target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c | 3 ++- | ||||||
|  |  1 file changed, 2 insertions(+), 1 deletion(-) | ||||||
|  |  | ||||||
|  | diff --git a/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c b/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c | ||||||
|  | index 8b3ae53bd9..9758f013f0 100644 | ||||||
|  | --- a/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c | ||||||
|  | +++ b/target/linux/ipq40xx/files/drivers/net/phy/ar40xx.c | ||||||
|  | @@ -1198,7 +1198,8 @@ ar40xx_init_port(struct ar40xx_priv *priv, int port) | ||||||
|  |  { | ||||||
|  |  	u32 t; | ||||||
|  |   | ||||||
|  | -	ar40xx_write(priv, AR40XX_REG_PORT_STATUS(port), 0); | ||||||
|  | +	ar40xx_rmw(priv, AR40XX_REG_PORT_STATUS(port), | ||||||
|  | +			AR40XX_PORT_AUTO_LINK_EN, 0); | ||||||
|  |   | ||||||
|  |  	/* CPU port is setting headers to limit output ports */ | ||||||
|  |  	if (port == 0) | ||||||
|  | --  | ||||||
|  | 2.25.1 | ||||||
|  |  | ||||||
| @@ -89,7 +89,7 @@ index 209ae3dc46..c8e1eca88b 100644 | |||||||
|  			wps_not_configured=1 |  			wps_not_configured=1 | ||||||
| +			[ "$macfilter" = radius ] && { | +			[ "$macfilter" = radius ] && { | ||||||
| +				append_radius_server | +				append_radius_server | ||||||
| +				vlan_possible = 1 | +				vlan_possible=1 | ||||||
| +			} | +			} | ||||||
|  		;; |  		;; | ||||||
|  		psk|sae|psk-sae) |  		psk|sae|psk-sae) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user