[OpenWrt-Devel] How to initialize multiple phy radios

Christian Lamparter chunkeey at googlemail.com
Sun Apr 24 06:48:39 EDT 2016


On Sunday, April 24, 2016 01:16:11 AM David Hutchison wrote:
> I spoke too soon:
> https://pci-ids.ucw.cz/read/PC/168c/0050
> 
> It is the QCA9887, so it's definitely on the PCIe bus and is being seen.
Does ath10k support the QCA9887? I see no entry for this pci-id (168c:0050)
in ath10k's pci table [0] and there's no definition of it in the hardware
header either [1]. The chip-id is also not present. I CC'ed ath10k, since
this seems to be a new chip that might be easy to add.
 
> On Sun, Apr 24, 2016 at 1:13 AM, David Hutchison
> <dhutchison at bluemesh.net> wrote:
> > Here is the PCI noise is in the kernel log from ath79_register_pci():
> >
> > [    0.510000] PCI host bridge to bus 0000:00
> > [    0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
> > [    0.520000] pci_bus 0000:00: root bus resource [io  0x0000]
> > [    0.520000] pci_bus 0000:00: No busn resource found for root bus,
> > will use [bus 00-ff]
> > [    0.530000] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
> > [    0.530000] pci 0000:00:00.0: reg 10: [mem 0x10000000-0x101fffff 64bit]
> > [    0.530000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
> > [    0.530000] pci 0000:00:00.0: supports D1
> > [    0.530000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
> > [    0.530000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
> > [    0.530000] pci 0000:00:00.0: BAR 0: assigned [mem
> > 0x10000000-0x101fffff 64bit]
> > [    0.530000] pci 0000:00:00.0: BAR 6: assigned [mem
> > 0x10200000-0x1020ffff pref]
> > [    0.540000] pci 0000:00:00.0: using irq 40 for pin 1
> >
> > I compiled lspci in and it reports:
> > 00:00.0 Class 0280: 168c:0050
> >
> > As far as I know that's just a vendor/product ID, I tried looking it
> > up to verify that it was indeed the atheros qca988x but couldn't find
> > anything for certain.
> >
> > I verified ath10k is loaded:
> > ath10k_pci             27629  0
> > ath10k_core           247226  1 ath10k_pci
> > ath                    18726  4 ath10k_core,ath9k,ath9k_common,ath9k_hw
> > mac80211              389729  2 ath10k_core,ath9k
> > cfg80211              217396  5 ath10k_core,ath9k,ath9k_common,ath,mac80211
> > compat                 19304  7
> > ath10k_pci,ath10k_core,ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
> >

Regards,
Christian

[0] <https://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-testing.git/tree/drivers/net/wireless/ath/ath10k/pci.c#n60>

[1] <https://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-testing.git/tree/drivers/net/wireless/ath/ath10k/hw.h#n25>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list