Lines Matching defs:authreq
600 static u8 authreq_to_seclevel(u8 authreq)
602 if (authreq & SMP_AUTH_MITM) {
603 if (authreq & SMP_AUTH_SC)
627 struct smp_cmd_pairing *rsp, __u8 authreq)
638 authreq |= SMP_AUTH_BONDING;
640 authreq &= ~SMP_AUTH_BONDING;
650 (authreq & SMP_AUTH_SC)) {
676 authreq &= ~SMP_AUTH_SC;
685 req->auth_req = (authreq & AUTH_REQ_MASK(hdev));
696 rsp->auth_req = (authreq & AUTH_REQ_MASK(hdev));
2333 __u8 authreq;
2376 authreq = seclevel_to_authreq(sec_level);
2379 authreq |= SMP_AUTH_SC;
2381 authreq |= SMP_AUTH_CT2;
2393 authreq |= SMP_AUTH_MITM;
2397 smp_send_pairing_req(smp, authreq);
2399 smp_send_security_req(smp, authreq);