Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On
> Behalf Of Joe Ayers
> Sent: Montag, 18. November 2019 15:37
> To: Petr Štetiar <yn...@true.cz>
> Cc: Andrew Cameron <apcame...@softhome.net>; openwrt-
> de...@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@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Attachment: openpgp-digital-signature.asc
Description: PGP signature

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

Reply via email to