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

Commit 9d629130 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "legacy: Type-ify stack/pan::tPAN_ROLE" am: 77e0537f

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

Change-Id: I04a20d630198d1d13fc3db1898825ef166367954
parents 121eb18b 77e0537f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@
/* Bit map for PAN roles */
#define PAN_ROLE_CLIENT 0x01     /* PANU role */
#define PAN_ROLE_NAP_SERVER 0x04 /* NAP role */
typedef uint8_t tPAN_ROLE;

/* Bitmap to indicate the usage of the Data */
#define PAN_DATA_TO_HOST 0x01
+3 −3
Original line number Diff line number Diff line
@@ -67,9 +67,9 @@ typedef struct {
/*  The main PAN control block
 */
typedef struct {
  uint8_t role;
  uint8_t active_role;
  uint8_t prv_active_role;
  tPAN_ROLE role;
  tPAN_ROLE active_role;
  tPAN_ROLE prv_active_role;
  tPAN_CONN pcb[MAX_PAN_CONNS];

  tPAN_CONN_STATE_CB* pan_conn_state_cb; /* Connection state callback */