Lines Matching defs:method

121 	u8		method;
869 * function. If either side has MITM look up the method from the
873 smp->method = JUST_CFM;
875 smp->method = get_auth_method(smp, local_io, remote_io);
878 if (smp->method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR,
880 smp->method = JUST_WORKS;
883 if (smp->method == JUST_CFM &&
885 smp->method = JUST_WORKS;
889 if (smp->method == JUST_WORKS) {
907 if (smp->method != JUST_CFM) {
916 if (smp->method == OVERLAP) {
918 smp->method = CFM_PASSKEY;
920 smp->method = REQ_PASSKEY;
924 if (smp->method == CFM_PASSKEY) {
933 if (smp->method == REQ_PASSKEY)
936 else if (smp->method == JUST_CFM)
1475 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY)
1478 if (smp->method == REQ_OOB)
1838 u8 method;
1840 method = get_auth_method(smp, conn->hcon->io_capability,
1842 if (method == JUST_WORKS || method == JUST_CFM)
1998 u8 method;
2000 method = get_auth_method(smp, req->io_capability,
2002 if (method == JUST_WORKS || method == JUST_CFM)
2041 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY)
2171 if (smp->method == REQ_OOB) {
2180 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY)
2199 if (smp->method != JUST_WORKS)
2223 if (smp->method == REQ_OOB) {
2238 if (smp->method == JUST_WORKS)
2700 u8 local_mitm, remote_mitm, local_io, remote_io, method;
2725 /* If either side wants MITM, look up the method from the table,
2729 method = get_auth_method(smp, local_io, remote_io);
2731 method = JUST_WORKS;
2734 if (method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR, &smp->flags))
2735 method = JUST_WORKS;
2737 return method;
2813 smp->method = sc_select_method(smp);
2815 bt_dev_dbg(hdev, "selected method 0x%02x", smp->method);
2818 if (smp->method == JUST_WORKS || smp->method == JUST_CFM)
2826 if (smp->method == DSP_PASSKEY) {
2841 if (smp->method == REQ_OOB) {
2854 if (smp->method == REQ_PASSKEY) {
2912 if (smp->method == REQ_PASSKEY || smp->method == DSP_PASSKEY)
2914 else if (smp->method == REQ_OOB)