Searched refs:security_mode (Results 1 – 5 of 5) sorted by relevance
481 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()482 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()509 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in BTM_SetSecurityLevel()510 btm_cb.security_mode == BTM_SEC_MODE_SC) { in BTM_SetSecurityLevel()839 BTM_TRACE_DEBUG("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()844 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()845 btm_cb.security_mode == BTM_SEC_MODE_SC) && in btm_sec_bond_by_transport()1536 if ((btm_cb.security_mode == BTM_SEC_MODE_SERVICE) || in btm_sec_l2cap_access_req_by_requirement()1590 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_l2cap_access_req_by_requirement()1591 btm_cb.security_mode == BTM_SEC_MODE_SC) { in btm_sec_l2cap_access_req_by_requirement()[all …]
263 uint8_t security_mode{0};339 security_mode = initial_security_mode; in Init()
473 inline std::string security_mode_text(const tSECURITY_MODE& security_mode) { in security_mode_text() argument474 switch (security_mode) { in security_mode_text()482 return std::string("UNKNOWN[%hhu]", security_mode); in security_mode_text()
959 if (btm_cb.security_mode == BTM_SEC_MODE_SC) { in smp_calculate_link_key_from_long_term_key()968 } else if (btm_cb.security_mode == BTM_SEC_MODE_SP) { in smp_calculate_link_key_from_long_term_key()976 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
166 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_send_app_cback()454 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? true : false; in smp_proc_sec_req()