Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5e3caf0 authored by Chris Manton's avatar Chris Manton
Browse files

Add stack/include/hcidefs::tHCI_ENCRYPT_MODE

Towards readable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: Ib4332bd4c0bbb8ba3fe9cb6ae981a9841c608591
parent 0b40de57
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -792,7 +792,11 @@ typedef enum : uint8_t {
#define HCI_DEF_INQUIRYSCAN_WINDOW 0x12   /* 11.25 ms */

/* Encryption modes */
#define HCI_ENCRYPT_MODE_DISABLED 0x00
typedef enum : uint8_t {
  HCI_ENCRYPT_MODE_DISABLED = 0x00,
  HCI_ENCRYPT_MODE_ON = 0x01,
  HCI_ENCRYPT_MODE_ON_BR_EDR_AES_CCM = 0x02,
} tHCI_ENCRYPT_MODE;

/* Voice settings */
#define HCI_INP_CODING_LINEAR 0x0000 /* 0000000000 */