Skip to content

mtk-bwmod v1.7

Choose a tag to compare

@Elvandito Elvandito released this 11 Jun 05:23
· 5 commits to main since this release
f93a680

[v1.7] — Bluetooth & Hotspot Fixes

Fixed

  • Bluetooth connectivity issue on MT6781 (Helio G96) and similar chips

    • Changed coex_policy from wifi_prioritycoexist
    • Changed coex_priority from wificoexist
    • Reduced bt_wlan_coex from 2 (strict) → 1 (balanced)
    • Enabled wlan_bt_timeshare=1 (was 0, causing BT starvation)
    • Root cause: ConnSys layer WiFi exclusivity preventing BT RF access
  • WiFi hotspot breaking when module active

    • tc qdisc now detects and skips AP mode interfaces
    • Check: iw dev <iface> info | grep "type AP" before applying qdisc
    • Applied in service.sh and all 3 profiles in action.sh

Improved

  • action.sh now displays current active profile at top
  • Module description added to action.sh header
  • Better visual distinction between "selected" (▶) and "active" (← active)

Technical Details

BT Coexistence Tuning:

persist.vendor.connsys.coex_policy=coexist         (was wifi_priority)
persist.vendor.mtk.wifi.coex_priority=coexist      (was wifi)
persist.vendor.connsys.bt_wlan_coex=1              (was 2)
persist.vendor.connsys.wlan_bt_timeshare=1         (was 0)

Hotspot Safety:

# Skip tc qdisc on AP interfaces to prevent hostapd conflicts
AP_MODE=$(iw dev "$IF" info 2>/dev/null | grep -c "type AP")
[ "$AP_MODE" -gt "0" ] && continue