MR24 wifi broken by recent commit

Christian Lamparter chunkeey at gmail.com
Thu Sep 3 14:46:56 EDT 2020


On 2020-09-03 10:44, Russell Senior wrote:
> commit 9153955095f01a7ac5f2659a671f0229cbad3507
> Author: Christian Lamparter <chunkeey at gmail.com <mailto:chunkeey at gmail.com>>
> Date:   Wed Aug 12 18:26:43 2020 +0200
> 
>      apm821xx: MR24: enumerate PCIe in device-tree
> 
>      This patch adds the pcie-switch and bridge configuration for
>      the Meraki MR24.
> 
>      Signed-off-by: Christian Lamparter <chunkeey at gmail.com 
> <mailto:chunkeey at gmail.com>>
> 
> The symptom is client devices can't see the beacons. Wifi ifaces appear, 
> can scan and hear other networks, but clients can't see the MR24's 
> SSIDs. Reverting the commit above and it works normally again.

Thanks for the report. CONFIG_PCI_DEBUG



"ath9k 0000:44:00.0: runtime IRQ mapping not provided by arch"



since DT overwrites the usual PCI(e) enumeration and MSI(x) is

busted there's no choice but to specify legacy INTABCDs.


Can you please try the attached patch?
---
diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts 
b/target/linux/apm821xx/dts/meraki-mr24.dts
index 102df59ef0..b28fd2449f 100644
--- a/target/linux/apm821xx/dts/meraki-mr24.dts
+++ b/target/linux/apm821xx/dts/meraki-mr24.dts
@@ -227,6 +227,7 @@
  					/* Atheros AR9380 2.4GHz */
  					compatible = "pci168c,0030";
  					reg = <0x00430000 0 0 0 0>;
+					interrupts = <3>; /* INTC 4.1.1 */
  				};
  			};

@@ -241,6 +242,7 @@
  					/* Atheros AR9380 5GHz */
  					compatible = "pci168c,0030";
  					reg = <0x00440000 0 0 0 0>;
+					interrupts = <4>; /* INTD 4.1.1 */
  				};
  			};
  		};



More information about the openwrt-devel mailing list