Date: Thu, 2 Jun 2016 04:25:54 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301186 - head/sys/dev/ath Message-ID: <201606020425.u524PsN4097194@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Jun 2 04:25:54 2016 New Revision: 301186 URL: https://svnweb.freebsd.org/changeset/base/301186 Log: [ath] correctly shift the QCA9565 LNA config into the mci config variable. Tested: * QCA9565, STA + BT mode Modified: head/sys/dev/ath/if_ath_btcoex.c Modified: head/sys/dev/ath/if_ath_btcoex.c ============================================================================== --- head/sys/dev/ath/if_ath_btcoex.c Thu Jun 2 03:16:02 2016 (r301185) +++ head/sys/dev/ath/if_ath_btcoex.c Thu Jun 2 04:25:54 2016 (r301186) @@ -299,9 +299,13 @@ ath_btcoex_cfg_wb335b(struct ath_softc * * HAL correctly! */ if (sc->sc_pci_devinfo & ATH_PCI_AR9565_1ANT) { - flags |= ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_SHARED; + flags &= ~ATH_MCI_CONFIG_ANT_ARCH; + flags |= ATH_MCI_ANT_ARCH_1_ANT_PA_LNA_SHARED << + ATH_MCI_CONFIG_ANT_ARCH_S; } else if (sc->sc_pci_devinfo & ATH_PCI_AR9565_2ANT) { - flags |= ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_NON_SHARED; + flags &= ~ATH_MCI_CONFIG_ANT_ARCH; + flags |= ATH_MCI_ANT_ARCH_2_ANT_PA_LNA_NON_SHARED << + ATH_MCI_CONFIG_ANT_ARCH_S; } if (sc->sc_pci_devinfo & ATH_PCI_BT_ANT_DIV) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606020425.u524PsN4097194>