Searched refs:bta_pan_role (Results 1 – 1 of 1) sorted by relevance
176 static inline int bta_role_to_btpan(tBTA_PAN_ROLE bta_pan_role) { in bta_role_to_btpan() argument178 if (bta_pan_role & PAN_ROLE_NAP_SERVER) btpan_role |= BTPAN_ROLE_PANNAP; in bta_role_to_btpan()179 if (bta_pan_role & PAN_ROLE_CLIENT) btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()184 tBTA_PAN_ROLE bta_pan_role = PAN_ROLE_INACTIVE; in btpan_role_to_bta() local185 if (btpan_role & BTPAN_ROLE_PANNAP) bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()186 if (btpan_role & BTPAN_ROLE_PANU) bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()187 return bta_pan_role; in btpan_role_to_bta()196 const tBTA_PAN_ROLE bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() local197 BTA_PanSetRole(bta_pan_role, bta_panu_info, bta_pan_nap_info); in btpan_enable()