[OpenWrt-Devel] nanostation-m-xw ath79 missing wlan sysfs pci entries

Adrian Schmutzler mail at adrianschmutzler.de
Mon Nov 18 07:13:36 EST 2019


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On
> Behalf Of Petr Štetiar
> Sent: Montag, 18. November 2019 12:07
> To: Joe Ayers <joe at ayerscasa.com>
> Cc: Andrew Cameron <apcameron at softhome.net>; openwrt-
> devel at lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] nanostation-m-xw ath79 missing wlan sysfs pci
> entries
> 
> Joe Ayers <joe at ayerscasa.com> [2019-11-16 15:37:28]:
> 
> Hi,
> 
> > On nanostation-m-xw ath79 target in master and 19.07,
> > "/sys/devices/pci0000:00"  does not exist.  Unable to access vendor
> > and device IDs, and no longer reported in "iwinfo <dev> info"
> >
> > This is working on ath79 for 'nanostation-m'.   I'm guessing the pcie
> > entry in dts needs more definition on the nanostation-m-xw?

Note that nanostation-m and nanostation-m-xw are different:

nanostation-m uses &pcie node and caldata extraction in 10-ath9k-eeprom (I fixed the latter only recently):

&pcie {
	status = "okay";

	wifi: wifi at 0,0 {
		reg = <0x0000 0 0 0 0>;
		qca,no-eeprom;
	};
};

nanostation-m-xw uses &wmac:

&wmac {
	status = "okay";

	mtd-cal-data = <&eeprom 0x1000>;
};

So, I do not think you will learn much from comparing those two devices.

Off-topic: I just learned that both nanostation-m and -m-xw miss the poe-passthrough switch on ath79.
I will compile a patch for that and submit it on GitHub.

Best

Adrian 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191118/56dd1c11/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list