Wireless
Issues related to Intel® Wireless Adapters and technologies
Announcements
Bluetooth mouse lag problem on specific systems with 11th Gen Intel processors. See details here.

How to Enable Wi-Fi 6E/ 6GHz Band Using Intel® Wi-Fi 6E AX210 (Gig+)
5647 Discussions

AX200 - Passive BLE scan - linux

mm8803123
Beginner
682 Views

Hi,

I'm using Asus X570-E gaming, with built in intel ax200 - bluetooth 5.0.

I can issue BLE connections, normal BLE scans and it works OK. Wifi also works OK.
However there seems to be no way to issue a passive scan.

I'm mostly using bluepy, but i tried with pure bluez tools.
Same SW stack is working OK on cheap BLE 4.0 dongle, or Centino N-6235 (on my older laptop)

HW: Intel AX 200 (on Asus X570E gaming)
SW: Linux kernel 5.9.3 (Manjaro)

Steps to reproduce:
 - using python3 in a temporary directory

python3 -m venv .venv && source .venv/bin/activate # create clean venv
pip install --upgrade pip  # update pip just in case
pip install bluepy # install bluepy and it's dependencies (bluez)

# next line work OK
sudo blescan # sudo needed for BLE scan permissions...

# next line fails, sine it uses passive scan 
sudo python .venv/lib/python3.8/site-packages/bluepy/scanner.py 




This is an example (using btmon to sniff hci traffic) when passive scan is issued.

@ MGMT Open: bluetoothd (privileged) version 1.18                                                                                  {0x0001} 0.280194
@ MGMT Open: bluepy-helper (privileged) version 1.18                                                                              {0x0002} 22.739867
@ MGMT Command: Read Management Version Information (0x0001) plen 0                                                               {0x0002} 22.739920
@ MGMT Event: Command Complete (0x0001) plen 6                                                                                    {0x0002} 22.739924
      Read Management Version Information (0x0001) plen 3
        Status: Success (0x00)
        Version: 1.18
@ MGMT Command: Set Low Energy (0x000d) plen 1                                                                             {0x0002} [hci0] 22.739965
        Low Energy: Enabled (0x01)
@ MGMT Event: Command Complete (0x0001) plen 7                                                                             {0x0002} [hci0] 22.739968
      Set Low Energy (0x000d) plen 4
        Status: Success (0x00)
        Current settings: 0x00000ad1
          Powered
          Bondable
          Secure Simple Pairing
          BR/EDR
          Low Energy
          Secure Connections
@ RAW Open: bluepy-helper (privileged) version 2.22                                                                        {0x0003} [hci0] 22.740140
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                                                                           #1 [hci0] 22.740165
        Scanning: Disabled (0x00)
        Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                                                      #2 [hci0] 22.858377
      LE Set Scan Enable (0x08|0x000c) ncmd 1
        Status: Command Disallowed (0x0c)
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7                                                                       #3 [hci0] 22.858447
        Type: Passive (0x00)
        Interval: 10.000 msec (0x0010)
        Window: 10.000 msec (0x0010)
        Own address type: Public (0x00)
        Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                                                      #4 [hci0] 22.862378
      LE Set Scan Parameters (0x08|0x000b) ncmd 1
        Status: Command Disallowed (0x0c)
@ RAW Open: bluepy-helper (privileged) version 2.22                                                                        {0x0004} [hci0] 24.864574
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                                                                           #5 [hci0] 24.864596
        Scanning: Disabled (0x00)
        Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                                                      #6 [hci0] 24.867373
      LE Set Scan Enable (0x08|0x000c) ncmd 1
        Status: Command Disallowed (0x0c)


 
If i do

sudo hcitool cmd 0x03 0x0003

before that, btmon returns Status as ""Success" everywhere, however no devices are scanned. And afterwards passive scan fails...

Is this linux driver issue, does HW not support passive scan, or am i missing something obvious?

Thanks in advance

0 Kudos
8 Replies
Maria_R_Intel
Moderator
649 Views

Hello mm8803123,


Thank you for posting on the Intel* Community.


I am currently checking the information you provided internally, please expect a response soon.


Best regards,

Maria R.

Intel Customer Support Technician


Maria_R_Intel
Moderator
550 Views

Hello mm8803123,

 

Thank you for patiently waiting.

 

The engineering team has reviewed the information and it seems to be incomplete, you only provided the btmon trace, and we would like to know if you can provide the entire btmon logs for further analysis.

 

We will need this information to continue.

 

 

Best regards, 

Maria R.  

Intel Customer Support Technician 

 

Maria_R_Intel
Moderator
536 Views

Hello mm8803123,


Were you able to check the previous post? 


Let me know if you need more assistance. 


Best regards, 

Maria R.  

Intel Customer Support Technician 


mm8803123
Beginner
524 Views

Hi,
I'll try to produce logs this weekend.

Just to confirm,

I'm going to use command for ble trace: 
btmon -w <trace_file>

And provide
dbus.log file for dbus communication log
and
syslog file  for bluetoothd

Is there anything else i can provide or any other file you need?

Thanks,

Maria_R_Intel
Moderator
505 Views

Hello mm8803123,


That is the only information we need at the moment; we will let you know if the team requests more info after checking the information you will provide.


Thank you


Best regards, 

Maria R.  

Intel Customer Support Technician 


Maria_R_Intel
Moderator
493 Views

Hello mm8803123,


Were you able to check the previous post?

 

Let me know if you need more assistance.

 

Best regards, 

Maria R.  

Intel Customer Support Technician 


Maria_R_Intel
Moderator
477 Views

Hello mm8803123,

 

We have not heard back from you, please let us know if you still need assistance. 

Best regards, 

Maria R.  

Intel Customer Support Technician 

 

Maria_R_Intel
Moderator
448 Views

Hello mm8803123,


Happy New Year!


We thought that as per the Holidays you might not gather the information so we are following up on your thread, please let us know if you need more time.


Best regards,

Maria R.

Intel Customer Support Technician


Reply