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

Commit c75dd96f authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add tACL_CB::tACL_CONN::remote_version_info am: d33e4638

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1491242

Change-Id: I28b9fb10824ec8dfe51a13460cd7f05657df1800
parents 7f69707d d33e4638
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -105,6 +105,13 @@ typedef struct {
  uint8_t lmp_version;
  uint8_t switch_role_failed_attempts;

  struct {
    uint8_t lmp_version{0};
    uint16_t lmp_subversion{0};
    uint16_t manufacturer{0};
    bool valid{false};
  } remote_version_info;

#define BTM_SEC_RS_NOT_PENDING 0 /* Role Switch not in progress */
#define BTM_SEC_RS_PENDING 1     /* Role Switch in progress */
#define BTM_SEC_DISC_PENDING 2   /* Disconnect is pending */