Home | History | Annotate | Download | only in btm

Lines Matching refs:sec_level

85                                             UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
411 ** sec_level - bit mask of the security features
420 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
432 sec_level, psm, mx_proto_id, mx_chan_id));
449 ** sec_level - bit mask of the security features
458 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
470 sec_level, psm, mx_proto_id, mx_chan_id));
473 sec_level, psm, mx_proto_id, mx_chan_id));
488 ** sec_level - bit mask of the security features
497 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
604 sec_level &= ~(BTM_SEC_IN_AUTHORIZE | BTM_SEC_IN_ENCRYPT | BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_MITM);
608 if (sec_level & BTM_SEC_OUT_AUTHENTICATE)
609 sec_level |= BTM_SEC_OUT_MITM;
613 if (sec_level & BTM_SEC_OUT_ENCRYPT)
614 sec_level |= BTM_SEC_OUT_AUTHENTICATE;
649 sec_level &= ~(BTM_SEC_OUT_AUTHORIZE | BTM_SEC_OUT_ENCRYPT | BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_MITM);
653 if (sec_level & BTM_SEC_IN_AUTHENTICATE)
654 sec_level |= BTM_SEC_IN_MITM;
658 if (sec_level & BTM_SEC_IN_ENCRYPT)
659 sec_level |= BTM_SEC_IN_AUTHENTICATE;
666 p_srec->ucd_security_flags |= (UINT16)(sec_level | BTM_SEC_IN_USE);
670 p_srec->security_flags |= (UINT16)(sec_level | BTM_SEC_IN_USE);
684 p_srec->security_flags |= (UINT16)(sec_level | BTM_SEC_IN_USE);