Lines Matching refs:security_mode
455 btm_cb.security_mode = BTM_SEC_MODE_SC; in BTM_SetSecureConnectionsOnly()
630 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
631 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
632 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_set_security_level()
679 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
680 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
681 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_set_security_level()
1099 BTM_TRACE_DEBUG ("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
1106 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()
1107 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_bond_by_transport()
1108 btm_cb.security_mode == BTM_SEC_MODE_SC) && in btm_sec_bond_by_transport()
2155 if (btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_l2cap_access_req()
2209 if (btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_l2cap_access_req()
2246 … psm, btm_pair_state_descr(btm_cb.pairing_state), btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_l2cap_access_req()
2249 if ((btm_cb.security_mode == BTM_SEC_MODE_UNDEFINED || in btm_sec_l2cap_access_req()
2250 btm_cb.security_mode == BTM_SEC_MODE_NONE || in btm_sec_l2cap_access_req()
2251 btm_cb.security_mode == BTM_SEC_MODE_SERVICE || in btm_sec_l2cap_access_req()
2252 btm_cb.security_mode == BTM_SEC_MODE_LINK) || in btm_sec_l2cap_access_req()
2308 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_l2cap_access_req()
2309 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_l2cap_access_req()
2310 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_l2cap_access_req()
2381 ((btm_cb.security_mode == BTM_SEC_MODE_UNDEFINED || in btm_sec_l2cap_access_req()
2382 btm_cb.security_mode == BTM_SEC_MODE_NONE || in btm_sec_l2cap_access_req()
2383 btm_cb.security_mode == BTM_SEC_MODE_SERVICE || in btm_sec_l2cap_access_req()
2384 btm_cb.security_mode == BTM_SEC_MODE_LINK) || in btm_sec_l2cap_access_req()
2518 if ((btm_cb.security_mode == BTM_SEC_MODE_SC) && (!btm_sec_is_serv_level0(psm))) in btm_sec_mx_access_request()
2537 if ((btm_cb.security_mode == BTM_SEC_MODE_UNDEFINED || in btm_sec_mx_access_request()
2538 btm_cb.security_mode == BTM_SEC_MODE_NONE || in btm_sec_mx_access_request()
2539 btm_cb.security_mode == BTM_SEC_MODE_SERVICE || in btm_sec_mx_access_request()
2540 btm_cb.security_mode == BTM_SEC_MODE_LINK) || in btm_sec_mx_access_request()
2621 (btm_cb.security_mode == BTM_SEC_MODE_SC))) in btm_sec_mx_access_request()
2643 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_mx_access_request()
2644 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_mx_access_request()
2645 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_mx_access_request()
2914 btm_cb.security_mode = sec_mode; in btm_sec_init()
2956 btm_cb.security_mode = BTM_SEC_MODE_SERVICE; in btm_sec_dev_reset()
2959 BTM_TRACE_DEBUG ("btm_sec_dev_reset sec mode: %d", btm_cb.security_mode); in btm_sec_dev_reset()
3365 btm_cb.security_mode, p_dev_rec->num_read_pages); in btm_io_capabilities_req()
3367 if ((btm_cb.security_mode == BTM_SEC_MODE_SC) && (p_dev_rec->num_read_pages == 0)) in btm_io_capabilities_req()
3435 else if (btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_io_capabilities_req()
3468 if (btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_io_capabilities_req()
3516 if (btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_io_capabilities_req()
4667 if (btm_cb.security_mode == BTM_SEC_MODE_LINK) in btm_sec_connected()
5807 … BTM_TRACE_DEBUG("%s() Auth enable -> %d", __func__, (btm_cb.security_mode == BTM_SEC_MODE_LINK)); in btm_restore_mode()
5808 btsnd_hcic_write_auth_enable ((UINT8)(btm_cb.security_mode == BTM_SEC_MODE_LINK)); in btm_restore_mode()
6105 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_peer_sec_caps()
6106 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_peer_sec_caps()
6107 btm_cb.security_mode == BTM_SEC_MODE_SC) && in btm_sec_set_peer_sec_caps()