You are not logged in.

#1 2026-03-10 21:20:13

Alejos893
Member
Registered: 2026-03-10
Posts: 1

How to stabilize Bluetooth on Intel 7260 using "Android Engineering"

I have a Dell Latitude 3340 laptop with an Intel Wireless 7260 chip, and the Bluetooth audio would cut out or go silent when I moved 3 meters away, even with the earpiece covered. The problem occurred even with Wi-Fi turned off.

####Finding:
I investigated the /vendor partition of a Xiaomi (MediaTek) by extracting the super.img file. Analyzing audio_policy_configuration.xml and BT_FW.cfg, I discovered that Android doesn't let the chip decide on its own; the system enforces coexistence rules and prioritizes 48kHz frequencies with constant bitrates to prevent the buffer from collapsing.
Xiaomi has coexistence set to automatic; we will force the Intel driver to be more cooperative.
___________________________________________________________
sudo bash -c 'cat <<EOF > /etc/modprobe.d/iwlwifi.conf
# Optimización basada en Xiaomi Vendor para Intel 7260
options iwlwifi bt_coex_active=1
options iwlwifi power_save=0
options iwlwifi swcrypto=1
options iwlwifi 11n_disable=8
EOF'
____________________________________________________________

Note: 11n_disable=8 activates node aggregation that specifically helps with Bluetooth coexistence



2. Synchronizing Pipewire with Xiaomi's parameters

We'll configure Pipewire to use the 48kHz we saw in the XML and enable the SBC-XQ codec, which works best with shared antennas because it maintains high quality without the bitrate spikes of LDAC.

_____________________________________________________________
mkdir -p ~/.config/pipewire/pipewire-pulse.conf.d/
cat <<EOF > ~/.config/pipewire/pipewire-pulse.conf.d/99-bt-xiaomi-fix.conf
monitor.bluez.properties = {
    # Forzamos 48kHz como vimos en tu audio_policy
    bluez5.roles = [ a2dp_sink a2dp_source hsp_hs hfp_ag ]
    bluez5.codecs = [ sbc_xq sbc aac ]
    bluez5.enable-sbc-xq = true
    bluez5.enable-msbc = true
   
    # Parámetros de estabilidad para chips Intel antiguos
    bluez5.autoswitch-profile = true
    node.pause-on-idle = false
}

stream.properties = {
    resample.quality = 4
    channelmix.normalize = true
    default.clock.rate = 48000
}
EOF

___________________________________________________________

Restart the audio:
_____________________________________________________________
systemctl --user restart pipewire pipewire-pulse wireplumber
_____________________________________________________________


And finally, restart the modules:
_____________________________________________________________
sudo modprobe -r iwlmvm iwlwifi
sudo modprobe iwlwifi
_____________________________________________________________

Now I can safely move 10 meters away, cover the earpiece, and the audio doesn't drop; it cuts out, but it resumes. No problems.

I hope this solution helps and that it can be applied to other Wi-Fi/Bluetooth card models.

Offline

Board footer

Powered by FluxBB