• Jaganath Kanakkassery's avatar
    Bluetooth: Process extended ADV report event · c215e939
    Jaganath Kanakkassery authored
    This patch enables Extended ADV report event if extended scanning
    is supported in the controller and process the same.
    
    The new features are not handled and for now its as good as
    legacy ADV report.
    
    > HCI Event: LE Meta Event (0x3e) plen 53
          LE Extended Advertising Report (0x0d)
            Num reports: 1
            Entry 0
              Event type: 0x0013
                Props: 0x0013
                  Connectable
                  Scannable
                  Use legacy advertising PDUs
                Data status: Complete
              Legacy PDU Type: ADV_IND (0x0013)
              Address type: Random (0x01)
              Address: DB:7E:2E:1A:85:E8 (Static)
              Primary PHY: LE 1M
              Secondary PHY: LE 1M
              SID: 0x00
              TX power: 0 dBm
              RSSI: -90 dBm (0xa6)
              Periodic advertising invteral: 0.00 msec (0x0000)
              Direct address type: Public (0x00)
              Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
              Data length: 0x1b
            0f 09 44 65 73 69 67 6e 65 72 20 4d 6f 75 73 65  ..Designer Mouse
            03 19 c2 03 02 01 05 03 03 12 18                 ...........
    Signed-off-by: default avatarJaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    c215e939
hci_event.c 133 KB