Searched refs:sec_state (Results 1 – 5 of 5) sorted by relevance
211 tSECURITY_STATE sec_state; /* Operating state */ member308 return sec_state == BTM_SEC_STATE_IDLE; in is_security_state_idle()311 return sec_state == BTM_SEC_STATE_AUTHENTICATING; in is_security_state_authenticating()314 return sec_state == BTM_SEC_STATE_ENCRYPTING; in is_security_state_bredr_encrypting()317 return sec_state == BTM_SEC_STATE_LE_ENCRYPTING; in is_security_state_le_encrypting()324 return sec_state == BTM_SEC_STATE_GETTING_NAME; in is_security_state_getting_name()327 return sec_state == BTM_SEC_STATE_AUTHORIZING; in is_security_state_authorizing()330 return sec_state == BTM_SEC_STATE_SWITCHING_ROLE; in is_security_state_switching_role()333 return sec_state == BTM_SEC_STATE_DISCONNECTING; in is_security_state_disconnecting()336 return sec_state == BTM_SEC_STATE_DELAY_FOR_ENC; in is_security_state_wait_for_encryption()[all …]
237 if (p_dev_rec->sec_rec.sec_state == *state) return false; in is_sec_state_equal()770 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_sec_bond_by_transport()842 p_dev_rec->sm4, p_dev_rec->sec_rec.sec_state); in btm_sec_bond_by_transport()921 if (p_dev_rec->sec_rec.sec_state == BTM_SEC_STATE_AUTHENTICATING) { in BTM_SecBondCancel()931 p_dev_rec->sec_rec.sec_state); in BTM_SecBondCancel()945 if ((p_dev_rec->sec_rec.sec_state == BTM_SEC_STATE_DISCONNECTING) || in BTM_SecBondCancel()946 (p_dev_rec->sec_rec.sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH)) in BTM_SecBondCancel()1103 switch (p_dev_rec->sec_rec.sec_state) { in BTM_SetEncryption()1133 security_state_text(p_dev_rec->sec_rec.sec_state)); in BTM_SetEncryption()1140 (p_dev_rec->sec_rec.sec_state != BTM_SEC_STATE_IDLE)) { in BTM_SetEncryption()[all …]
1068 p_dev_rec->sec_rec.sec_state == BTM_SEC_STATE_AUTHENTICATING) { in btm_ble_link_sec_check()1172 p_rec->sec_rec.sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_ble_set_encryption()1253 if (p_rec->sec_rec.sec_state == BTM_SEC_STATE_IDLE) in btm_ble_start_encrypt()1254 p_rec->sec_rec.sec_state = BTM_SEC_STATE_LE_ENCRYPTING; in btm_ble_start_encrypt()1324 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_IDLE; in btm_ble_link_encrypted()1594 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_proc_smp_cback()1651 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_IDLE; in btm_proc_smp_cback()
164 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_IDLE; in set_sec_state_idle()
217 p_dev_rec->sec_rec.sec_state = BTM_SEC_STATE_IDLE; in BTM_SecClearSecurityFlags()