Policy for adding new files to OpenWrt

2020-09-21 Thread Paul Spooren
Hi team, Based on PR#3427 on GitHub[0] I'd suggest we add a policy that every added file needs a SPDX header. This likely simplifies merging patches into mainline Kernel and probably makes some lawyers happy. There are fancy tools to do so, like the `reuse` project[1]. Best, Paul [0]:

Re: [PATCH] Fix tx-queue-size on NBG6817 (allows MTU changes).

2020-09-21 Thread Jacek Milewicz
On 22/09/2020 00:06, Ansuel Smith wrote: On 19/09/2020 15:06, Paul Oranje wrote: See below, regards, Paul Op 15 sep. 2020, om 21:56 heeft jacekow...@jacekowski.org het volgende geschreven: The subject does not to comply with the rules for that, it should at least start with the

Re: [PATCH] Fix tx-queue-size on NBG6817 (allows MTU changes).

2020-09-21 Thread Ansuel Smith
> > > On 19/09/2020 15:06, Paul Oranje wrote: > > See below, regards, > > Paul > > > > > >> Op 15 sep. 2020, om 21:56 heeft jacekow...@jacekowski.org het volgende > >> geschreven: > > The subject does not to comply with the rules for that, it should at least > > start with the target, better

Re: [PATCH] Fix tx-queue-size on NBG6817 (allows MTU changes).

2020-09-21 Thread Jacek Milewicz
On 19/09/2020 15:06, Paul Oranje wrote: See below, regards, Paul Op 15 sep. 2020, om 21:56 heeft jacekow...@jacekowski.org het volgende geschreven: The subject does not to comply with the rules for that, it should at least start with the target, better would be: ipq806x: fix

RE: mt7603 radio not enabled in Linksys EA7300 V2 build

2020-09-21 Thread Adrian Schmutzler
> -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of Heppler, J. Scott > Sent: Montag, 21. September 2020 19:54 > To: openwrt-de...@openwrt.org > Subject: mt7603 radio not enabled in Linksys EA7300 V2 build > > My build, based on the

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-21 Thread Sven Roederer
Fernando, I'm only talking on the boards having 32MB RAM. This includes 4MB / 8MB flash boards. I'm not having the 8/64 boards in mind. They are fine and should work for some furture releases Sven Am Montag, 21. September 2020, 00:24:00 CEST schrieb Fernando Frediani: > I have some concern

mt7603 radio not enabled in Linksys EA7300 V2 build

2020-09-21 Thread Heppler, J. Scott
My build, based on the EA7300v1 build has 2 glitches, the mt7603 radio is not enable and the switch does not show in LuCi. The switch does seem to function. I essentially edited all the EA7300v1 commits and duplicated/edited the EA7300v1 dts to a EA7300v2. In the image/mt7621.mk entry, I

Re: [PATCH] omap: update uboot to v2020.04

2020-09-21 Thread Alexander 'lynxis' Couzens
> do you mind to take a quick look? In the end this is just a tiny > package bump! :) let me have a tiny look on other devices ;) pgpOzAIMUIUuc.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Felix Fietkau
On 2020-09-21 18:26, Chuanhong Guo wrote: > Hi! > > On Mon, Sep 21, 2020 at 9:24 PM Felix Fietkau wrote: >> > + >> > + split_addr((u32) reg, , , ); >> > + >> > ++local_irq_save(flags); >> > + mutex_lock(>mdio_lock); >> Taking a mutex in an irq-disabled section is basically asking

Re: [PATCH] omap: update uboot to v2020.04

2020-09-21 Thread Andre Heider
Hi Alexander, On 04/09/2020 09:30, Andre Heider wrote: Fixes the build error: /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status Successfully tested on

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Chuanhong Guo
Hi! On Mon, Sep 21, 2020 at 9:24 PM Felix Fietkau wrote: > > + > > + split_addr((u32) reg, , , ); > > + > > ++local_irq_save(flags); > > + mutex_lock(>mdio_lock); > Taking a mutex in an irq-disabled section is basically asking for a > deadlock. What router is this issue reproduced

[PATCH uhttpd] ubus: support GET method with CORS requests

2020-09-21 Thread Rafał Miłecki
From: Rafał Miłecki Complex GET requests (e.g. those with custom headers) require browsers to send preflight OPTIONS request with: Access-Control-Request-Method: GET It's important to reply to such requests with all relevant Access-Control-Allow-* headers to allow CORS requests. Adding GET to

Re: [PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Felix Fietkau
On 2020-09-21 08:57, Chuanhong Guo wrote: > reg accesses on integrated ar8229 sometimes fails. As a result, phy read > got incorrect port status and wan link goes down and up mysteriously. > After comparing ar8216 with the old driver, these local_irq_save/restore > calls are the only meaningful

Re: mac80211: Fixed a bug: STA disconnects frequently

2020-09-21 Thread Chuanhong Guo
Hi! On Mon, Sep 21, 2020 at 4:49 PM Georgi Valkov wrote: > Please grant me write access to OpenWRT, so I can contribute other important > fixes in the future, such as: > https://github.com/openwrt/openwrt/pull/3391 That's totally not how the development of OpenWrt works. Please take your time

mac80211: Fixed a bug: STA disconnects frequently

2020-09-21 Thread Georgi Valkov
Hi Felix! Please revise your patch: package/kernel/mac80211/patches/subsys/321-mac80211-optimize-station-connection-monitor.patch net/mac80211/mlme.c Function ieee80211_sta_tx_notify should check and reset sdata->u.mgd.probe_send_count = 0, when ack is true, before calling

[PATCH] ath79: ar8216: make switch register access atomic

2020-09-21 Thread Chuanhong Guo
reg accesses on integrated ar8229 sometimes fails. As a result, phy read got incorrect port status and wan link goes down and up mysteriously. After comparing ar8216 with the old driver, these local_irq_save/restore calls are the only meaningful differences I could find and it does fix the issue.