Comment 20 for bug 1746164

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I guess what we want is btcoex_enable=0 bt_ant_diversity=1.
From what I can understand, bt_ant_diversity is the one that can use BT's antenna to be WiFi's RX antenna when BT is off.

Peter, can you try if btcoex_enable=0 bt_ant_diversity=1 works for you?

Here's the relevant code:
        /*
         * Enable WLAN/BT RX Antenna diversity only when:
         *
         * - BTCOEX is disabled.
         * - the user manually requests the feature.
         * - the HW cap is set using the platform data.
         */
        if (!common->btcoex_enabled && ath9k_bt_ant_diversity &&
            (pCap->hw_caps & ATH9K_HW_CAP_BT_ANT_DIV))
                common->bt_ant_diversity = 1;