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

Commit 20024a98 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Embed tBTA_PAN_DATA as intended bta/pan/bta_pan_int.h

Bug: 202068782
Tag: #refactor
Test: gd/cert/run

Change-Id: I7e00357c4722589a2b4ee1369ff5249d89221145
parent 083cbb43
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
@@ -103,6 +103,17 @@ typedef struct {

} tBTA_PAN_CONN;

/* pan data param */
typedef struct {
  BT_HDR_RIGID hdr;
  RawAddress src;
  RawAddress dst;
  uint16_t protocol;
  bool ext;
  bool forward;

} tBTA_PAN_DATA_PARAMS;

/* union of all data types */
typedef union {
  BT_HDR_RIGID hdr;
@@ -111,6 +122,7 @@ typedef union {
  tBTA_PAN_API_OPEN api_open;
  tBTA_PAN_CI_TX_FLOW ci_tx_flow;
  tBTA_PAN_CONN conn;
  tBTA_PAN_DATA_PARAMS params;
} tBTA_PAN_DATA;

/* state machine control block */
@@ -140,17 +152,6 @@ typedef struct {

} tBTA_PAN_CB;

/* pan data param */
typedef struct {
  BT_HDR_RIGID hdr;
  RawAddress src;
  RawAddress dst;
  uint16_t protocol;
  bool ext;
  bool forward;

} tBTA_PAN_DATA_PARAMS;

/*****************************************************************************
 *  Global data
 ****************************************************************************/