diff options
author | Chris Manton <cmanton@google.com> | 2021-10-07 15:20:30 -0700 |
---|---|---|
committer | Chris Manton <cmanton@google.com> | 2021-11-01 19:01:06 +0000 |
commit | c5e3a12ceda1ec8ac0df4d38040c69eb1f0e5da0 (patch) | |
tree | 600b07ef728a8b5c3808b0552815a9d3db08160c | |
parent | edb3d34aa19843717a6b3b473a9cbcdc6eadd4b7 (diff) | |
download | bt-c5e3a12ceda1ec8ac0df4d38040c69eb1f0e5da0.tar.gz |
legacy: Embed tBTA_PAN_DATA as intended bta/pan/bta_pan_int.h
Bug: 202068782
Tag: #refactor
Test: gd/cert/run
Change-Id: I7e00357c4722589a2b4ee1369ff5249d89221145
-rw-r--r-- | bta/pan/bta_pan_int.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/bta/pan/bta_pan_int.h b/bta/pan/bta_pan_int.h index efe81c1a6..0c0c4893c 100644 --- a/bta/pan/bta_pan_int.h +++ b/bta/pan/bta_pan_int.h @@ -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 ****************************************************************************/ |