Linux bluetooth development
 help / color / mirror / Atom feed
From: Warren Nicolet <warrennicolet@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [BUG] Bluetooth: MT7921 (0e8d:0608): no LE advertising reports during active discovery on 7.3.4, regression from 7.2.11
Date: Sun, 22 Nov 2026 19:16:31 -0900	[thread overview]
Message-ID: <20261123041631.15263-1-warrennicolet@gmail.com> (raw)

Hi,

On a MediaTek MT7921 combo card, LE active discovery returns no
advertising reports at all on kernel 7.3.4. The same machine, with the
same controller firmware, finds LE devices on 7.2.11. A passive scan
through a BlueZ Advertisement Monitor on 7.3.4 does see the devices,
so the controller still receives advertisements.

Hardware / software
-------------------
  Controller:  MediaTek MT7921 (WiFi mt7921e, ASIC revision 79610010)
               BT on USB 0e8d:0608, driver btusb + btmtk
               HCI version 11, manufacturer 70 (MediaTek)
  Firmware:    "HW/SW Version: 0x008a008a, Build Time: 20260224111243"
               (identical on both kernels)
  linux-firmware: 20261019-1.fc45
  BlueZ:       5.88
  Distro:      Fedora 45
  Good:        7.2.11-300.fc45.x86_64
  Bad:         7.3.4-300.fc45.x86_64

Reproduce
---------
  # btmgmt find -l

7.2.11: LE devices are reported, e.g.

  hci0 dev_found: XX:XX:XX:XX:XX:XX type LE Random rssi -60 flags 0x0004
  AD flags 0x00
  eir_len 96

7.3.4: discovery starts and stops cleanly but nothing is found:

  hci0 type 6 discovering on
  Discovery started
  hci0 type 6 discovering off

The same happens with "bluetoothctl scan on" / "scan le": BR/EDR
inquiry results arrive normally, LE results never do. An Xbox Wireless
Controller in pairing mode (LE only) next to the machine is never
discovered.

btmon on 7.3.4
--------------
The kernel sets up an extended active scan on 1M + Coded and every
command succeeds:

  < HCI Command: LE Set Random Address (0x08|0x0005) plen 6
          Address: XX:XX:XX:XX:XX:XX (Non-Resolvable)
  > HCI Event: Command Complete (0x0e) plen 4
        LE Set Random Address (0x08|0x0005) ncmd 1
          Status: Success (0x00)
  < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 13
          Own address type: Random (0x01)
          Filter policy: Accept all advertisement (0x00)
          PHYs: 0x05
          Entry 0: LE 1M
            Type: Active (0x01)
            Interval: 11.250 msec (0x0012)
            Window: 11.250 msec (0x0012)
          Entry 1: LE Coded
            Type: Active (0x01)
            Interval: 33.750 msec (0x0036)
            Window: 33.750 msec (0x0036)
  > HCI Event: Command Complete (0x0e) plen 4
          Status: Success (0x00)
  < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6
          Extended scan: Enabled (0x01)
          Filter duplicates: Enabled (0x01)
          Duration: 0 msec (0x0000)
          Period: 0.00 sec (0x0000)
  > HCI Event: Command Complete (0x0e) plen 4
          Status: Success (0x00)

Across three interleaved discovery cycles (~5 s of LE scanning each)
there is not a single LE Extended Advertising Report event in the
trace. The BR/EDR inquiry phase of the same cycles returns Extended
Inquiry Result events as expected.

Passive scan works on 7.3.4
---------------------------
With "Experimental = true" in /etc/bluetooth/main.conf, the adapter
exposes AdvertisementMonitorManager1 with SupportedMonitorTypes
["or_patterns"] and SupportedFeatures ["controller-patterns"].
Registering an or_patterns monitor for Microsoft manufacturer data:

  [bluetoothctl]> menu monitor
  [bluetoothctl]> add-or-pattern 0 255 0600
  Advertisement Monitor 0 added
  Advertisement monitor 0 activated
  Advertisement monitor 0 found device /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX

The controller was found within ~3 s. Pairing, bonding and connecting
it over LE afterwards worked, and reconnects of the bonded device work
too. So the radio and LE connections are fine; only active discovery
returns nothing.

Notes
-----
- mgmt "current settings" on 7.3.4 include ll-privacy. I have not
  checked whether that differs on 7.2.11.
- This looks similar to a recent report on the sister chip MT7922,
  where active LE scanning misses advertisements that a passive
  Advertisement Monitor scan receives:
  "[BUG] Bluetooth: MT7922 active LE scan misses ADV_SCAN_IND seen
  during passive scan" (linux-bluetooth, 2026-08-14). In my case
  active discovery returns nothing at all, and 7.2.11 works.

I can provide full btmon traces, a btmon capture of the same
discovery on 7.2.11, and test patches or bisect between 7.2 and 7.3
if that helps.

Thanks,
Warren Nicolet

                 reply	other threads:[~2026-11-23  4:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123041631.15263-1-warrennicolet@gmail.com \
    --to=warrennicolet@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox