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

Adrian Schmutzler mail at adrianschmutzler.de
Mon Nov 18 09:59:34 EST 2019


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On
> Behalf Of Joe Ayers
> Sent: Montag, 18. November 2019 15:37
> To: Petr Štetiar <ynezz at true.cz>
> 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
> 
> > > 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?
> >
> > I don't own the device, so you either need to `git bisect` the problem down or
> > at least start reverting kernel/mac80211 and find out which commit broke it.
> > Ot at least provide last working Git hash for you.
> >
> > It would be better to create a bug report on bugs.openwrt.org, attach your
> > .config (if you've custom image) and full dmesg as well.
> >
> > -- ynezz
> 
> I will endeavor to find a good commit, but I suspect the
> nanostation-m-xw never showed through these PCI ID attributes with
> ath79 target.  I'm looking to obtain the subsystem_device (Ubiquiti
> boardid) and subsystem_vendor, to subsequently know the power offset,
> etc. ref:  /usr/share/libiwinfo/hardware.txt.

XW in ar71xx sets up both wmac and ap91_pci:
https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c#L460

In ath79, only wmac is set up. There is no pcie entry.

Since those devices only have one radio (AFAIK?), the dual setup in ar71xx looks wrong to me.

Best

Adrian

> 
> Joe AE6XE
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- 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/edc56db2/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