• Home
  • Raw
  • Download

Lines Matching refs:method

121 	u8		method;  member
873 smp->method = JUST_CFM; in tk_request()
875 smp->method = get_auth_method(smp, local_io, remote_io); in tk_request()
878 if (smp->method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR, in tk_request()
880 smp->method = JUST_WORKS; in tk_request()
883 if (smp->method == JUST_CFM && in tk_request()
885 smp->method = JUST_WORKS; in tk_request()
889 if (smp->method == JUST_WORKS) { in tk_request()
907 if (smp->method != JUST_CFM) { in tk_request()
916 if (smp->method == OVERLAP) { in tk_request()
918 smp->method = CFM_PASSKEY; in tk_request()
920 smp->method = REQ_PASSKEY; in tk_request()
924 if (smp->method == CFM_PASSKEY) { in tk_request()
933 if (smp->method == REQ_PASSKEY) in tk_request()
936 else if (smp->method == JUST_CFM) in tk_request()
1470 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY) in sc_dhkey_check()
1473 if (smp->method == REQ_OOB) in sc_dhkey_check()
1833 u8 method; in smp_cmd_pairing_req() local
1835 method = get_auth_method(smp, conn->hcon->io_capability, in smp_cmd_pairing_req()
1837 if (method == JUST_WORKS || method == JUST_CFM) in smp_cmd_pairing_req()
1993 u8 method; in smp_cmd_pairing_rsp() local
1995 method = get_auth_method(smp, req->io_capability, in smp_cmd_pairing_rsp()
1997 if (method == JUST_WORKS || method == JUST_CFM) in smp_cmd_pairing_rsp()
2036 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY) in sc_check_confirm()
2166 if (smp->method == REQ_OOB) { in smp_cmd_pairing_random()
2175 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY) in smp_cmd_pairing_random()
2194 if (smp->method != JUST_WORKS) in smp_cmd_pairing_random()
2218 if (smp->method == REQ_OOB) { in smp_cmd_pairing_random()
2233 if (smp->method == JUST_WORKS) in smp_cmd_pairing_random()
2695 u8 local_mitm, remote_mitm, local_io, remote_io, method; in sc_select_method() local
2724 method = get_auth_method(smp, local_io, remote_io); in sc_select_method()
2726 method = JUST_WORKS; in sc_select_method()
2729 if (method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR, &smp->flags)) in sc_select_method()
2730 method = JUST_WORKS; in sc_select_method()
2732 return method; in sc_select_method()
2808 smp->method = sc_select_method(smp); in smp_cmd_public_key()
2810 bt_dev_dbg(hdev, "selected method 0x%02x", smp->method); in smp_cmd_public_key()
2813 if (smp->method == JUST_WORKS || smp->method == JUST_CFM) in smp_cmd_public_key()
2821 if (smp->method == DSP_PASSKEY) { in smp_cmd_public_key()
2836 if (smp->method == REQ_OOB) { in smp_cmd_public_key()
2849 if (smp->method == REQ_PASSKEY) { in smp_cmd_public_key()
2907 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY) in smp_cmd_dhkey_check()
2909 else if (smp->method == REQ_OOB) in smp_cmd_dhkey_check()