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

Commit 9dff422a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "floss: shift MGMT opcodes"

parents 35268f67 6f696f55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ struct mgmt_ev_cmd_complete {
  uint8_t data[];
} __attribute__((packed));

#define MGMT_OP_GET_VS_OPCODE 0x0059
#define MGMT_OP_GET_VS_OPCODE 0x0102
#define MGMT_VS_OPCODE_MSFT 0x0001
struct mgmt_cp_get_vs_opcode {
  uint16_t hci_id;
+2 −2
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ struct mgmt_ev_cmd_complete {
  uint8_t data[];
} __attribute__((packed));

#define MGMT_OP_GET_SCO_CODEC_CAPABILITIES 0x0057
#define MGMT_OP_GET_SCO_CODEC_CAPABILITIES 0x0100
#define MGMT_SCO_CODEC_CVSD 0x1
#define MGMT_SCO_CODEC_MSBC_TRANSPARENT 0x2
#define MGMT_SCO_CODEC_MSBC 0x3
@@ -226,7 +226,7 @@ int mgmt_get_codec_capabilities(int fd, uint16_t hci) {
  return ret;
}

#define MGMT_OP_NOTIFY_SCO_CONNECTION_CHANGE 0x0058
#define MGMT_OP_NOTIFY_SCO_CONNECTION_CHANGE 0x0101
struct mgmt_cp_notify_sco_connection_change {
  uint16_t hci_dev;
  uint8_t addr[6];