ath11k - pci - backports/.config issue

Robert Marko robimarko at gmail.com
Thu Oct 21 07:53:53 PDT 2021


On Thu, 21 Oct 2021 at 16:53, Janusz Dziedzic <janusz.dziedzic at gmail.com> wrote:
>
> czw., 21 paź 2021 o 16:43 Robert Marko <robimarko at gmail.com> napisał(a):
> >
> > On Thu, 21 Oct 2021 at 16:40, Janusz Dziedzic <janusz.dziedzic at gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > Hit some issue with my ath11k card,  so maybe someone already fix
> > > it/know what I missed?
> > >
> > > My card (pcie):
> > > root at OpenWrt:~# lspci
> > > 0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 3258
> > > 0000:01:00.0 Unassigned class [ff00]: Qualcomm QCA6390 Wireless
> > > Network Adapter [AX500-DBS (2x2)]
> > >
> > > I have this card in my banana-pi-r64 board in pcie slot.
> > >
> > > Checked with current/latest backports (v5.10/v5.15)
> > > On top added patch (added some changes, attached) based on:
> > > https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=commit;h=0b115adb1b0cc9c19c7c780f3a9e6437fa0398a5
> > > Simple choose kmod-ath11k from menuconfig.
> > >
> > > Check it little bit (Makefile) and after:
> > > $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
> > > Have correct backports/.config (ATH11K included)
> > > And next we call:
> > > $(MAKE) $(MAKE_OPTS) allnoconfig
> > > After this step we remove ATH11K option(s) from backports/.config
> > >
> > > Any idea, did I miss something?
> >
> > Your kernel must also have MHI and QRTR enabled, but it wont work with
> > the 5.10 QRTR
> > directly, you need to backport support for it starting the MHI interface.
> >
> > You can find those patches and some other clues in my WIP branch:
> > https://github.com/robimarko/openwrt/tree/IPQ807x-5.10-backports
> >
> OK, so this is removed from .config because of this?
>         depends on MHI_BUS
>         depends on QRTR
>         depends on QRTR_MHI

Yes as backports cannot just select stuff like the in-tree driver can.

Robert
>
> BR
> Janusz



More information about the openwrt-devel mailing list