[PATCH] iwinfo: nl80211: fix wpa supplicant ctrl socket permissions

2022-11-13 Thread Andre Heider
No data at all can currently be read from the control socket. Set up the permission exactly like hostapd's wpa_cli utility to fix it. Among other this fixes a mesh's encryption being shown as "None". Signed-off-by: Andre Heider --- iwinfo_nl80211.c | 16 1 file changed, 16

[sdwalker/sdwalker.github.io] 2b0084: This week's update

2022-11-13 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Branch: refs/heads/master

[PATCH iwinfo 3/4] iwinfo: nl80211: read usb vendor and product id as subsystem ids

2022-11-13 Thread Andre Heider
USB devices can now be added to devices.txt as: 0x | 0x | vendor id | product id | ... Signed-off-by: Andre Heider --- devices.txt | 2 ++ iwinfo_nl80211.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devices.txt b/devices.txt index b01e4ac..8796276

[PATCH iwinfo 2/4] iwinfo: nl80211: skip ftd and mtd lookups for usb devices

2022-11-13 Thread Andre Heider
Determine if parent device of the phy belongs to the "usb" subsystem and skip those expensive lookups accordingly. Those don't even make any sense for usb devices. With a 5.15 kernel the mtd lookup even spams dmesg with: "mtdblock: MTD device 'factory' is NAND, please consider using UBI block

[PATCH iwinfo 1/4] iwinfo: fix wrong error message

2022-11-13 Thread Andre Heider
In this case the specified backend couldn't be found. Signed-off-by: Andre Heider --- iwinfo_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iwinfo_cli.c b/iwinfo_cli.c index dca86cf..d8851d7 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -972,7 +972,7 @@ int main(int

[PATCH iwinfo 4/4] devices: add usb device MediaTek MT7921AU

2022-11-13 Thread Andre Heider
Add USB PID/VID as found on e.g. Comfast CF-953AX. Signed-off-by: Andre Heider --- devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/devices.txt b/devices.txt index 8796276..7674f85 100644 --- a/devices.txt +++ b/devices.txt @@ -202,3 +202,4 @@ 0x1ae9 0x0310 0x1ae9 0x0

Re: [RFC] dropping of $(AUTORELEASE) feature

2022-11-13 Thread Felix Fietkau
Hi, I have another idea that might simplify the mess of dealing with PKG_RELEASE handling. 1. we use AUTORELEASE for all packages in master 2. when creating a release branch, all PKG_RELEASE lines are changed to something like 22.03-1 3. we write a script that can automatically edit a series