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

Commit 39669fc0 authored by Chris Manton's avatar Chris Manton
Browse files

Add stack/acl/acl::link policies

Towards readable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I20c485628c6f48650040504929497134e8fb6385
parent 1d81ef31
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,10 @@ typedef enum : uint16_t {
} tLINK_POLICY_BITMASK;
typedef uint16_t tLINK_POLICY;

constexpr tLINK_POLICY kAllLinkPoliciesEnabled =
    (HCI_ENABLE_CENTRAL_PERIPHERAL_SWITCH | HCI_ENABLE_HOLD_MODE |
     HCI_ENABLE_SNIFF_MODE);

static const char* link_policy_string[] = {
    " role_switch ",
    " hold_mode ",