[PATCH] Revert "ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200"

2022-04-16 Thread Enrico Mioso
This reverts commit 80d34d9d593865248bf5a23794e9163895140de7.
This brings back the PCI Wi-Fi interface on the GL-B2200.

CC: Christian Lamparter 
Signed-off-by: Enrico Mioso 
---
 .../files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts 
b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
index 9d7259c354..754af7c820 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
@@ -219,7 +219,7 @@
reg = <0x5000 0x2f20>;
};
 
-   precal_art_9000: precal@9000 {
+   cal_art_9000: cal@9000 {
reg = <0x9000 0x2f20>;
};
};
@@ -361,11 +361,11 @@
 
wifi2: wifi@1,0 {
status = "okay";
-   /* Bootlog shows this is a 168c:0056 - QCA 9888v2 */
compatible = "qcom,ath10k";
reg = <0x0001 0 0 0 0>;
-   nvmem-cell-names = "pre-calibration";
-   nvmem-cells = <_art_9000>;
+/* vendor said 9886 wave-2? Is this correct? */
+   nvmem-cell-names = "calibration";
+   nvmem-cells = <_art_9000>;
qcom,ath10k-calibration-variant = "GL-B2200";
ieee80211-freq-limit = <545 590>;
};
-- 
2.35.3


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


ZTE MF286R modem support

2022-04-16 Thread Lech Perczak

Hello,

Recently my PR #9670 [1] which includes fixes needed to support built-in 
modem of ZTE MF286R router was merged to master. The (incomplete) 
support for MF286R landed together with MF286A before branching off 
22.03 release.
I'd be grateful if fixes from [1] could be cherry-picked to 22.03, for 
MF286R to have full support in that release.


Required commits are c99013e, b2940bb, ed79578 and e02fb42, a67629b is 
optional, but would be beneficial if another variant of the modem is 
found, with different interface configuration - that may require to 
override the autodetection results. Also, skipping that patch can yield 
merge conflicts.


[1] https://github.com/openwrt/openwrt/pull/9670

--
Pozdrawiam/Kind regards,
Lech Perczak


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH] ath79: tplink-archer-c6-v2-us: fix inverted LED colors

2022-04-16 Thread Petr Štetiar
From: "Rodrigo B. de Sousa Martins" 

The amber and green wan led color was inverted in dts file, which ends
up leaving the wan led amber when the connection is established, so,
switch gpio led number (7 and 8) in qca9563_tplink_archer-c6-v2-us.dts.

Tip: the /etc/config/system file needs to be regenerated.

Signed-off-by: Rodrigo B. de Sousa Martins 
Signed-off-by: Petr Štetiar  [commit subject]
---
 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts 
b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
index 76e19294f8e2..e6fd689c999f 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
@@ -43,12 +43,12 @@
 
wan {
label = "green:wan";
-   gpios = < 8 GPIO_ACTIVE_LOW>;
+   gpios = < 7 GPIO_ACTIVE_LOW>;
};
 
wan_fail {
label = "amber:wan";
-   gpios = < 7 GPIO_ACTIVE_LOW>;
+   gpios = < 8 GPIO_ACTIVE_LOW>;
};
 
wps {

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[PATCH] selinux-policy: update to version 1.1

2022-04-16 Thread Dominick Grift
try to clean up some labeling inconsistencies
iwinfo loose ends
ucode loose ends
Makefile: adjust mintesttgt (adds blockmount/blockd)
nftables: reads inherited netifd pipe
ucode: reads inherited netifd pipes
mountroot: fowner
sandbox: writes inherited dropbear pipes
unbound related to /tmp/etc/ssl
unbound loose ends
adds a sslconftmpfile for /tmp/etc/ssl
README: maintain a wish list in the README
iwinfo: netifd forgot write
gptfdisk loose ends
iwinfo: netifd wpad reads/writes inherited netifd fifo files
netifd (mac80211.sh) executes iwinfo
luci: executes wireguard
luci-cgi: audits xtables execute access
rcuhttpd: lists ssl certfile dirs
iwinfo, wifi,nftables usage of ttyd pty if available
urandomseed: seedrng needs cap_sys_admin
iwinfo iwinfo, nftables and some chronyd rules related to ntp nts server
nftables, wifi and adds iwinfo skel
nftables, rpcd, ucode
nftables, ucode and seedrng ucode, fw3/nftables, luci
adds ucode skel and some fw3/nftables related
urandomseed: some seedrng rules
fw3 adds some support for fw4
urandomseed: /etc/seedrng is for seed.credit
hotplugcal: runs ucode which is interpreter like
adds a nftables skeleton and makes xtables optional
agent: allow all agents to write inherited dropbear pipes
urandomseed: this seems to be replaced by seedrng
kmodloader: label /etc/modules.conf kmodloader.conffile
Revert "shelexecfile: remove auditallow rule"
Makefile: sort the modules to process by secilc
Moves back to git.defensec.nl
unbound odhcpd (ip) reads net proc
tcp dump
shelexecfile: remove auditallow rule
rrd.cil: fixes indent
Target rddtool from cgi-io instead of runnit it without transition
rrd.cil related
rrd, rpcd, cgiio clean ups related to luci-app-statistics
Rules for rrd files and luci-statistics
unboundcontrol ordering
Several missing permissions
blockmount, dnsmasq, hotplugcall, rpcd, unbound
adds mctp_socket (linux 5.15)
ip: forgot tc-tiny type transition to go along with the fc spec
ip: adds a fc spec for tc-tiny (called by sqm)
adds ttyACM fc spec and various assorted loose ends
.gitattributes: do not export the github workflows
workflow use selinux 3.3

project moved back to https://git.defensec.nl/selinux-policy.git

Signed-off-by: Dominick Grift 
---
 package/system/selinux-policy/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/system/selinux-policy/Makefile 
b/package/system/selinux-policy/Makefile
index 0b85920170..10eff7be57 100644
--- a/package/system/selinux-policy/Makefile
+++ b/package/system/selinux-policy/Makefile
@@ -7,9 +7,9 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=selinux-policy
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/DefenSec/selinux-policy
-PKG_VERSION:=1.0
-PKG_MIRROR_HASH:=2358a064d1231d39e6292d646e1a38898d949b8bef6558ac1e0992d3b5bca33f
+PKG_SOURCE_URL:=https://git.defensec.nl/selinux-policy.git
+PKG_VERSION:=1.1
+PKG_MIRROR_HASH:=657ec1ff51ab946753fb3559384511a536ac1e018691f3e49cbab21c55d23e08
 PKG_SOURCE_VERSION:=v$(PKG_VERSION)
 PKG_BUILD_DEPENDS:=secilc/host policycoreutils/host
 
-- 
2.35.1


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel