Lines Matching refs:remote_key_dist
113 u8 remote_key_dist; member
728 smp->remote_key_dist = remote_dist; in build_pairing_cmd()
739 smp->remote_key_dist = rsp->init_key_dist; in build_pairing_cmd()
1199 if (smp->remote_key_dist & SMP_DIST_ENC_KEY) in smp_allow_key_dist()
1201 else if (smp->remote_key_dist & SMP_DIST_ID_KEY) in smp_allow_key_dist()
1203 else if (smp->remote_key_dist & SMP_DIST_SIGN) in smp_allow_key_dist()
1257 if (hcon->out && (smp->remote_key_dist & KEY_DIST_MASK)) { in smp_distribute_keys()
1365 if (smp->remote_key_dist & KEY_DIST_MASK) { in smp_distribute_keys()
1733 smp->remote_key_dist = remote_dist; in build_bredr_pairing_cmd()
1745 smp->remote_key_dist = rsp->init_key_dist; in build_bredr_pairing_cmd()
1813 smp->remote_key_dist &= ~SMP_SC_NO_DIST; in smp_cmd_pairing_req()
1873 smp->remote_key_dist &= ~SMP_SC_NO_DIST; in smp_cmd_pairing_req()
1982 smp->remote_key_dist &= rsp->resp_key_dist; in smp_cmd_pairing_rsp()
1990 smp->remote_key_dist &= ~SMP_SC_NO_DIST; in smp_cmd_pairing_rsp()
2015 smp->remote_key_dist &= rsp->resp_key_dist; in smp_cmd_pairing_rsp()
2019 smp->remote_key_dist &= ~SMP_SC_NO_DIST; in smp_cmd_pairing_rsp()
2084 smp->remote_key_dist = (req->init_key_dist & rsp->resp_key_dist); in fixup_sc_false_positive()
2508 smp->remote_key_dist &= ~SMP_DIST_ENC_KEY; in smp_cmd_master_ident()
2510 if (smp->remote_key_dist & SMP_DIST_ID_KEY) in smp_cmd_master_ident()
2512 else if (smp->remote_key_dist & SMP_DIST_SIGN) in smp_cmd_master_ident()
2522 if (!(smp->remote_key_dist & KEY_DIST_MASK)) in smp_cmd_master_ident()
2563 smp->remote_key_dist &= ~SMP_DIST_ID_KEY; in smp_cmd_ident_addr_info()
2565 if (smp->remote_key_dist & SMP_DIST_SIGN) in smp_cmd_ident_addr_info()
2598 if (!(smp->remote_key_dist & KEY_DIST_MASK)) in smp_cmd_ident_addr_info()
2617 smp->remote_key_dist &= ~SMP_DIST_SIGN; in smp_cmd_sign_info()