Android 11 Bluetooth extended beacon

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 11 Bluetooth extended beacon

842 Views
zb2020
Contributor II

I am using the LBEE5ZZ2XS Wi-Fi/Bluetooth module (based on the NXP 88W9098 chipset, Bluetooth 5.3) with an i.MX8M Plus processor running Android 11.

Although the 88W9098 chipset supports Extended Advertising (Extended Beacon), these features do not appear to be enabled in NXP Android 11 build. Is LE Extended Advertising supported in the NXP 88W9098 firmware? I am currently using the pcieuart9098_combo_v1.bin firmware.
How to enable Extended Advertising in NXP Android (android-11.0.0_2.6.0)?

Labels (1)
0 Kudos
Reply
8 Replies

697 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

Can you please let me know your kernel version and Wi-Fi/Bluetooth Driver and FW version?

I checked our RN, currently in the latest release FW, it already supported Bluetooth LE Extended Advertisement.

Below is the latest FW download link in case you need, I paste it as below:

https://github.com/nxp-imx/imx-firmware/tree/lf-6.18.2_1.0.0/FwImage_9098_PCIE

And here is the latest release's Release Note link for your reference:

https://github.com/nxp-imx/mwifiex/blob/doc_WCT_release/doc/Release_Notes/Linux_RN/topics/bluetooth....

Usually, the FW is located in: /vendor/firmware/pcieuart9098_combo_v1.bin

If you want to update FW, please firstly remember to back up your original one.

Then copy from above link to FW directory to replace it.

 

I also tested it on our another chipset with latest FW release on Linux kernel L6.12.49 OS. 

It can work as expected.

I share my script and also the btmon logs for your reference.

If still have any problem, please do not hesitate to let me know.

Script:

root@imx93evk:~# cat Enable_LE_Extend_Adv.sh
#LE Set Event Mask
hcitool -i hci0 cmd 0x08 0x0001 ff ff 0f 00 00 00 00 00

#LE Set Advertising disable
hcitool -i hci0 cmd 0x08 0x0039 00 00

#LE Set Extended Advertising parameters
hcitool -i hci0 cmd 0x08 0x0036 01 13 00 20 00 00 20 00 00 07 03 00 00 00 00 00 00 00 00 7f 01 00 01 00 00

#LE Set Advertising Random Address
hcitool -i hci0 cmd 0x08 0x0035 01 AA BB CC DD FF EE

#LE Set Extended Advertising Data
hcitool -i hci0 cmd 0x08 0x0037 01 03 00 1a 02 01 09 16 ff 3a 00 c0 ac 28 70 21 93 91 e9 a0 80 2f 4e 4d 8b df 5a 25 16 b0


#LE Set Extended Scan Response data
hcitool -i hci0 cmd 0x08 0x0038 01 03 00 00

#LE Set Advertising enable
hcitool -i hci0 cmd 0x08 0x0039 01 01 01 00 00 00

btmon logs:

root@imx93evk:~# btmon
Bluetooth monitor ver 5.79
btmon[822]: = Note: Linux version 6.12.49-lts-next-gdf24f9428e38 (aarch64)                              0.069678
btmon[822]: = Note: Bluetooth subsystem version 2.22                                                    0.069686
= New Index: FC:84:A7:51:87:FD (Primary,UART,hci0)                                               [hci0] 0.069688
= Open Index: FC:84:A7:51:87:FD                                                                  [hci0] 0.069689
= Index Info: FC:84:A7:51:87:FD (NXP Semiconductors (formerly Philips Semiconductors))           [hci0] 0.069690
bluetoothd[619]: @ MGMT Open: bluetoothd (privileged) version 1.23                             {0x0001} 0.069693
hcitool[842]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.336477
hcitool[842]: @ RAW Close: hcitool                                                           {0x0002} 315.336521
hcitool[842]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.336561
hcitool[842]: @ RAW Close: hcitool                                                           {0x0002} 315.336570
hcitool[842]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.336618
hcitool[842]: < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8                         #1 [hci0] 315.336835
        Mask: 0x00000000000fffff
          LE Connection Complete
          LE Advertising Report
          LE Connection Update Complete
          LE Read Remote Used Features Complete
          LE Long Term Key Request
          LE Remote Connection Parameter Request
          LE Data Length Change
          LE Read Local P-256 Public Key Complete
          LE Generate DHKey Complete
          LE Enhanced Connection Complete
          LE Direct Advertising Report
          LE PHY Update Complete
          LE Extended Advertising Report
          LE Periodic Advertising Sync Established
          LE Periodic Advertising Report
          LE Periodic Advertising Sync Lost
          LE Extended Scan Timeout
          LE Extended Advertising Set Terminated
          LE Scan Request Received
          LE Channel Selection Algorithm
> HCI Event: Command Complete (0x0e) plen 4                                                 #2 [hci0] 315.358069
      LE Set Event Mask (0x08|0x0001) ncmd 1
        Status: Success (0x00)
hcitool[842]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.358218
hcitool[844]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.364082
hcitool[844]: @ RAW Close: hcitool                                                           {0x0002} 315.364124
hcitool[844]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.364163
hcitool[844]: @ RAW Close: hcitool                                                           {0x0002} 315.364169
hcitool[844]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.364196
hcitool[844]: < HCI Command: LE Set Extended Advertising Enable (0x08|0x0039) plen 2        #3 [hci0] 315.364407
        Extended advertising: Disabled (0x00)
        Number of sets: Disable all sets (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                 #4 [hci0] 315.365548
      LE Set Extended Advertising Enable (0x08|0x0039) ncmd 1
        Status: Success (0x00)
hcitool[844]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.365689
hcitool[846]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.372510
hcitool[846]: @ RAW Close: hcitool                                                           {0x0002} 315.372555
hcitool[846]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.372609
hcitool[846]: @ RAW Close: hcitool                                                           {0x0002} 315.372617
hcitool[846]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.372669
hcitool[846]: < HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25   #5 [hci0] 315.372906
        Handle: 0x01
        Properties: 0x0013
          Connectable
          Scannable
          Use legacy advertising PDUs: ADV_IND
        Min advertising interval: 20.000 msec (0x0020)
        Max advertising interval: 20.000 msec (0x0020)
        Channel map: 37, 38, 39 (0x07)
        Own address type: Random (0x03)
        Peer address type: Public (0x00)
        Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
        TX power: Host has no preference (0x7f)
        Primary PHY: LE 1M (0x01)
        Secondary max skip: 0x00
        Secondary PHY: LE 1M (0x01)
        SID: 0x00
        Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5                                                 #6 [hci0] 315.373795
      LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
        Status: Success (0x00)
        TX power (selected): 16 dbm (0x10)
hcitool[846]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.373957
hcitool[848]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.380060
hcitool[848]: @ RAW Close: hcitool                                                           {0x0002} 315.380101
hcitool[848]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.380139
hcitool[848]: @ RAW Close: hcitool                                                           {0x0002} 315.380144
hcitool[848]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.380181
hcitool[848]: < HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7     #7 [hci0] 315.380389
        Advertising handle: 0x01
        Advertising random address: EE:FF:DD:CC:BB:AA (Static)
> HCI Event: Command Complete (0x0e) plen 4                                                 #8 [hci0] 315.381116
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)
hcitool[848]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.381213
hcitool[850]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.387666
hcitool[850]: @ RAW Close: hcitool                                                           {0x0002} 315.387704
hcitool[850]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.387738
hcitool[850]: @ RAW Close: hcitool                                                           {0x0002} 315.387744
hcitool[850]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.387784
hcitool[850]: < HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 30         #9 [hci0] 315.388012
        Handle: 0x01
        Operation: Complete extended advertising data (0x03)
        Fragment preference: Fragment all (0x00)
        Data length: 0x1a
        Flags: 0x09
          LE Limited Discoverable Mode
          Simultaneous LE and BR/EDR (Controller)
        Company: Panasonic Corporation (formerly Matsu**bleep**a Electric Industrial Co., Ltd.) (58)
          Data[19]: c0ac2870219391e9a0802f4e4d8bdf5a2516b0
> HCI Event: Command Complete (0x0e) plen 4                                                #10 [hci0] 315.388846
      LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
        Status: Success (0x00)
hcitool[850]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.388971
hcitool[852]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.395112
hcitool[852]: @ RAW Close: hcitool                                                           {0x0002} 315.395153
hcitool[852]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.395192
hcitool[852]: @ RAW Close: hcitool                                                           {0x0002} 315.395198
hcitool[852]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.395225
hcitool[852]: < HCI Command: LE Set Extended Scan Response Data (0x08|0x0038) plen 4       #11 [hci0] 315.395435
        Handle: 0x01
        Operation: Complete scan response data (0x03)
        Fragment preference: Fragment all (0x00)
        Data length: 0x00
> HCI Event: Command Complete (0x0e) plen 4                                                #12 [hci0] 315.396166
      LE Set Extended Scan Response Data (0x08|0x0038) ncmd 1
        Status: Success (0x00)
hcitool[852]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.396257
hcitool[854]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.402601
hcitool[854]: @ RAW Close: hcitool                                                           {0x0002} 315.402648
hcitool[854]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 315.402700
hcitool[854]: @ RAW Close: hcitool                                                           {0x0002} 315.402709
hcitool[854]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 315.402747
hcitool[854]: < HCI Command: LE Set Extended Advertising Enable (0x08|0x0039) plen 6       #13 [hci0] 315.403206
        Extended advertising: Enabled (0x01)
        Number of sets: 1 (0x01)
        Entry 0
          Handle: 0x01
          Duration: 0 ms (0x00)
          Max ext adv events: 0
> HCI Event: Command Complete (0x0e) plen 4                                                #14 [hci0] 315.404208
      LE Set Extended Advertising Enable (0x08|0x0039) ncmd 1
        Status: Success (0x00)
hcitool[854]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 315.404326
hcitool[861]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.750590
hcitool[861]: @ RAW Close: hcitool                                                           {0x0002} 364.750630
hcitool[861]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.750673
hcitool[861]: @ RAW Close: hcitool                                                           {0x0002} 364.750681
hcitool[861]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.750727
hcitool[861]: < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8                        #15 [hci0] 364.750950
        Mask: 0x00000000000fffff
          LE Connection Complete
          LE Advertising Report
          LE Connection Update Complete
          LE Read Remote Used Features Complete
          LE Long Term Key Request
          LE Remote Connection Parameter Request
          LE Data Length Change
          LE Read Local P-256 Public Key Complete
          LE Generate DHKey Complete
          LE Enhanced Connection Complete
          LE Direct Advertising Report
          LE PHY Update Complete
          LE Extended Advertising Report
          LE Periodic Advertising Sync Established
          LE Periodic Advertising Report
          LE Periodic Advertising Sync Lost
          LE Extended Scan Timeout
          LE Extended Advertising Set Terminated
          LE Scan Request Received
          LE Channel Selection Algorithm
> HCI Event: Command Complete (0x0e) plen 4                                                #16 [hci0] 364.774154
      LE Set Event Mask (0x08|0x0001) ncmd 1
        Status: Success (0x00)
hcitool[861]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.774295
hcitool[862]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.778573
hcitool[862]: @ RAW Close: hcitool                                                           {0x0002} 364.778613
hcitool[862]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.778665
hcitool[862]: @ RAW Close: hcitool                                                           {0x0002} 364.778673
hcitool[862]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.778709
hcitool[862]: < HCI Command: LE Set Extended Advertising Enable (0x08|0x0039) plen 2       #17 [hci0] 364.778933
        Extended advertising: Disabled (0x00)
        Number of sets: Disable all sets (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                                #18 [hci0] 364.780102
      LE Set Extended Advertising Enable (0x08|0x0039) ncmd 1
        Status: Success (0x00)
hcitool[862]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.780352
hcitool[863]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.784974
hcitool[863]: @ RAW Close: hcitool                                                           {0x0002} 364.785013
hcitool[863]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.785051
hcitool[863]: @ RAW Close: hcitool                                                           {0x0002} 364.785057
hcitool[863]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.785094
hcitool[863]: < HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25  #19 [hci0] 364.785606
        Handle: 0x01
        Properties: 0x0013
          Connectable
          Scannable
          Use legacy advertising PDUs: ADV_IND
        Min advertising interval: 20.000 msec (0x0020)
        Max advertising interval: 20.000 msec (0x0020)
        Channel map: 37, 38, 39 (0x07)
        Own address type: Random (0x03)
        Peer address type: Public (0x00)
        Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
        Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
        TX power: Host has no preference (0x7f)
        Primary PHY: LE 1M (0x01)
        Secondary max skip: 0x00
        Secondary PHY: LE 1M (0x01)
        SID: 0x00
        Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5                                                #20 [hci0] 364.786576
      LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
        Status: Success (0x00)
        TX power (selected): 16 dbm (0x10)
hcitool[863]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.786695
hcitool[864]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.790927
hcitool[864]: @ RAW Close: hcitool                                                           {0x0002} 364.790967
hcitool[864]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.791000
hcitool[864]: @ RAW Close: hcitool                                                           {0x0002} 364.791006
hcitool[864]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.791043
hcitool[864]: < HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7    #21 [hci0] 364.791248
        Advertising handle: 0x01
        Advertising random address: EE:FF:DD:CC:BB:AA (Static)
> HCI Event: Command Complete (0x0e) plen 4                                                #22 [hci0] 364.791974
      LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
        Status: Success (0x00)
hcitool[864]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.792064
hcitool[865]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.796600
hcitool[865]: @ RAW Close: hcitool                                                           {0x0002} 364.796641
hcitool[865]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.796681
hcitool[865]: @ RAW Close: hcitool                                                           {0x0002} 364.796686
hcitool[865]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.796727
hcitool[865]: < HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 30        #23 [hci0] 364.796953
        Handle: 0x01
        Operation: Complete extended advertising data (0x03)
        Fragment preference: Fragment all (0x00)
        Data length: 0x1a
        Flags: 0x09
          LE Limited Discoverable Mode
          Simultaneous LE and BR/EDR (Controller)
        Company: Panasonic Corporation (formerly Matsu**bleep**a Electric Industrial Co., Ltd.) (58)
          Data[19]: c0ac2870219391e9a0802f4e4d8bdf5a2516b0
> HCI Event: Command Complete (0x0e) plen 4                                                #24 [hci0] 364.797821
      LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
        Status: Success (0x00)
hcitool[865]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.797939
hcitool[866]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.802201
hcitool[866]: @ RAW Close: hcitool                                                           {0x0002} 364.802239
hcitool[866]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.802279
hcitool[866]: @ RAW Close: hcitool                                                           {0x0002} 364.802284
hcitool[866]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.802311
hcitool[866]: < HCI Command: LE Set Extended Scan Response Data (0x08|0x0038) plen 4       #25 [hci0] 364.802829
        Handle: 0x01
        Operation: Complete scan response data (0x03)
        Fragment preference: Fragment all (0x00)
        Data length: 0x00
> HCI Event: Command Complete (0x0e) plen 4                                                #26 [hci0] 364.803576
      LE Set Extended Scan Response Data (0x08|0x0038) ncmd 1
        Status: Success (0x00)
hcitool[866]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.803719
hcitool[867]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.808289
hcitool[867]: @ RAW Close: hcitool                                                           {0x0002} 364.808330
hcitool[867]: @ RAW Open: hcitool (privileged) version 2.22                                  {0x0002} 364.808380
hcitool[867]: @ RAW Close: hcitool                                                           {0x0002} 364.808389
hcitool[867]: @ RAW Open: hcitool (privileged) version 2.22                           {0x0002} [hci0] 364.808425
hcitool[867]: < HCI Command: LE Set Extended Advertising Enable (0x08|0x0039) plen 6       #27 [hci0] 364.808639
        Extended advertising: Enabled (0x01)
        Number of sets: 1 (0x01)
        Entry 0
          Handle: 0x01
          Duration: 0 ms (0x00)
          Max ext adv events: 0
> HCI Event: Command Complete (0x0e) plen 4                                                #28 [hci0] 364.809696
      LE Set Extended Advertising Enable (0x08|0x0039) ncmd 1
        Status: Success (0x00)
hcitool[867]: @ RAW Close: hcitool                                                    {0x0002} [hci0] 364.809851

 

Best regards,

Christine.

0 Kudos
Reply

631 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

Anything else I can do for you on this case?

If my reply works for you, please do not hesitate to mark my reply as a solution so that we can close this case.

Thanks.

 

Best regards,

Christine.

0 Kudos
Reply

614 Views
zb2020
Contributor II

Hello,

I'm using Android 11 with kernel 5.10.72.
The HCI commands work fine in Linux, but they don't solve the issue in Android. The Android 11 Bluetooth stack checks for extended advertising support, but the chip reports that it isn't supported.
I got extended advertising to work, but I had to fake the chip's response to report that it is supported.

I confirmed this issue in Linux as well:

hcitool -i hci0 cmd 0x08 0x0003

< HCI Command: ogf 0x08, ocf 0x0003, plen 0

> HCI Event: 0x0e plen 12

01 03 20 00 7F 8B 46 08 00 00 00 00

Bit 12 is 0, indicating that LE Extended Advertising is not enabled in the controller.

 

Best regards

0 Kudos
Reply

546 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

For Linux OS:

If in default, it is disabled, you can enable it with the commands I provided to you.

And also, if we can enabled it successfully, it means, in controller side, it supports BLE extended adv.

For Android OS:

Let me check on my side then updates to you.

 

Best regards,

Christine.

0 Kudos
Reply

354 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

Did you get any chance to have a try with our latest FW?

I already provided the FW download link to you in my first comment.

Can you please provide me hci logs on latest FW?

Or you can provide me the btmon outputs after this command: hcitool -i hci0 cmd 0x08 0x0003

For example:

btmon &

hcitool -i hci0 cmd 0x08 0x0003

 

Best regards,

Christine.

0 Kudos
Reply

348 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

I checked on L6.12.49's default release driver and FW, in default 88W9098 enabled BLE extended advertising.

Please see below for your reference:

root@imx8mqevk:~# btmon &
[1] 707
root@imx8mqevk:~# Bluetooth monitor ver 5.79
btmon[707]: = Note: Linux version 6.12.49-lts-next-gdf24f9428e38 (aarch64)                                                                                                             0.008952
btmon[707]: = Note: Bluetooth subsystem version 2.22                                                                                                                                   0.008959
= New Index: 48:E7:DA:25:5F:6B (Primary,UART,hci0)                                                                                                                              [hci0] 0.008961
= Open Index: 48:E7:DA:25:5F:6B                                                                                                                                                 [hci0] 0.008962
= Index Info: 48:E7:DA:25:5F:6B (Marvell Technology Group Ltd.)                                                                                                                 [hci0] 0.008964
bluetoothd[690]: @ MGMT Open: bluetoothd (privileged) version 1.23                                                                                                            {0x0001} 0.008967

root@imx8mqevk:~# hcitool -i hci0 cmd 0x08 0x0003
hcitool[708]: @ RAW Open: hcitool (privileged) version 2.22                                                                                                                  {0x0002} 28.185236
< HCI Command: ogf 0x08, ocf 0x0003, plen 0
hcitool[708]: @ RAW Close: hcitool                                                                                                                                           {0x0002} 28.185279
hcitool[708]: @ RAW Open: hcitool (privileged) version 2.22                                                                                                                  {0x0002} 28.185321
hcitool[708]: @ RAW Close: hcitool                                                                                                                                           {0x0002} 28.185329
hcitool[708]: @ RAW Open: hcitool (privileged) version 2.22                                                                                                           {0x0002} [hci0] 28.185394
> HCI Event: 0x0e plen 12
hcitool[708]: < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0                                                                                          #1 [hci0] 28.185579
  01 03 20 00 7F F3 46 07 00 00 00 00
> HCI Event: Command Complete (0x0e) plen 12                                                                                                                                #2 [hci0] 28.185911
      LE Read Local Supported Features (0x08|0x0003) ncmd 1
        Status: Success (0x00)
        Features: 0x7f 0xf3 0x46 0x07 0x00 0x00 0x00 0x00
          LE Encryption
          Connection Parameter Request Procedure
          Extended Reject Indication
          Peripheral-initiated Features Exchange
          LE Ping
          LE Data Packet Length Extension
          LL Privacy
          LE 2M PHY
          Stable Modulation Index - Transmitter
          LE Extended Advertising
          LE Periodic Advertising
          Channel Selection Algorithm #2
          LE Power Class 1
          Connection CTE Request
          Connection CTE Response
          Antenna Switching During CTE Reception (AoA)
          Periodic Advertising Sync Transfer - Sender
          Periodic Advertising Sync Transfer - Recipient
          Sleep Clock Accuracy Updates
hcitool[708]: @ RAW Close: hcitool                                                                                                                                    {0x0002} [hci0] 28.185995
root@imx8mqevk:~# dmesg | grep wlan
[    5.575587] wlan: Loading MWLAN driver
[    5.580807] wlan: Register to Bus Driver...
[    5.596670] wlan_pcie 0001:01:00.0: enabling device (0000 -> 0002)
[    6.322144] wlan: uap%d set max_mtu 2000
[    6.351646] wlan: version = PCIE9098--17.92.1.p149.81-MM6X17540.p33-GPL-(FP92)
[    6.360479] wlan_pcie 0001:01:00.1: enabling device (0000 -> 0002)
[    6.478982] wlan: muap%d set max_mtu 2000
[    6.513985] wlan: version = PCIE9098--17.92.1.p149.81-MM6X17540.p33-GPL-(FP92)
[    6.530665] wlan: Register to Bus Driver Done
[    6.538773] wlan: Driver loaded successfully
root@imx8mqevk:~# uname -srm
Linux 6.12.49-lts-next-gdf24f9428e38 aarch64
root@imx8mqevk:~#

As you can see the btmon logs:

It already shows:

LE Extended Advertising

The driver and FW I am using is below:

wlan: version = PCIE9098--17.92.1.p149.81-MM6X17540.p33-GPL-(FP92)

So, please update your FW, then check again.

 

Best regards,

Christine.

0 Kudos
Reply

299 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

Did you get any chance to verify with the FW version I shared to you?

As my verified results, in default, we already enabled BLE extended advertising feature in the latest FW.

Please let me know if still doesn't work on your side.

Otherwise, please do not hesitate to mark my answer as a solution for this thread, so that we can close this ticket, Thanks!

 

Best regards,

Christine.

0 Kudos
Reply

230 Views
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @zb2020 

Did you get any chance to verify with the FW version I shared to you?

As my verified results, in default, we already enabled BLE extended advertising feature in the latest FW.

Please let me know if still doesn't work on your side.

Otherwise, please do not hesitate to mark my answer as a solution for this thread, so that we can close this ticket, Thanks!

 

Best regards,

Christine.

0 Kudos
Reply