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

Commit 65057a0c authored by Chris Manton's avatar Chris Manton
Browse files

Privatize tBTM_CB::tACL_CB::btm_def_link_super_tout

Creating ACL API

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I7645a9e1daba57b79cc11c8aad04379d90928046
parent f87bffe3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -103,8 +103,15 @@ typedef struct {
  tACL_CONN acl_db[MAX_L2CAP_LINKS];
  uint8_t btm_scn[BTM_MAX_SCN_]; /* current SCNs: true if SCN is in use */
  uint16_t btm_def_link_policy;

 private:
  friend void btm_acl_init(void);
  friend void BTM_SetDefaultLinkSuperTout(uint16_t timeout);
  friend uint16_t acl_get_link_supervision_timeout();

  uint16_t btm_def_link_super_tout;

 public:
  uint8_t pm_pend_link; /* the index of acl_db, which has a pending PM cmd */

  /* Packet types supported by the local device */