Lines Matching refs:L2CAP_MIN_OFFSET
451 L2CAP_MIN_OFFSET); in smp_build_pairing_cmd()
455 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pairing_cmd()
464 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pairing_cmd()
482 L2CAP_MIN_OFFSET); in smp_build_confirm_cmd()
486 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_confirm_cmd()
491 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_confirm_cmd()
507 L2CAP_MIN_OFFSET); in smp_build_rand_cmd()
511 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_rand_cmd()
515 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_rand_cmd()
532 L2CAP_MIN_OFFSET); in smp_build_encrypt_info_cmd()
536 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_encrypt_info_cmd()
540 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_encrypt_info_cmd()
557 L2CAP_MIN_OFFSET); in smp_build_master_id_cmd()
561 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_master_id_cmd()
566 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_master_id_cmd()
583 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_ID_INFO_SIZE + L2CAP_MIN_OFFSET); in smp_build_identity_info_cmd()
587 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_identity_info_cmd()
594 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_identity_info_cmd()
611 (BT_HDR*)osi_malloc(sizeof(BT_HDR) + SMP_ID_ADDR_SIZE + L2CAP_MIN_OFFSET); in smp_build_id_addr_cmd()
615 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_id_addr_cmd()
620 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_id_addr_cmd()
637 L2CAP_MIN_OFFSET); in smp_build_signing_info_cmd()
641 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_signing_info_cmd()
645 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_signing_info_cmd()
662 L2CAP_MIN_OFFSET); in smp_build_pairing_fail()
666 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pairing_fail()
670 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pairing_fail()
686 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR) + 2 + L2CAP_MIN_OFFSET); in smp_build_security_request()
690 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_security_request()
694 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_security_request()
716 L2CAP_MIN_OFFSET); in smp_build_pair_public_key_cmd()
723 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pair_public_key_cmd()
727 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pair_public_key_cmd()
744 L2CAP_MIN_OFFSET); in smp_build_pairing_commitment_cmd()
748 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pairing_commitment_cmd()
752 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pairing_commitment_cmd()
769 sizeof(BT_HDR) + SMP_PAIR_DHKEY_CHECK_SIZE + L2CAP_MIN_OFFSET); in smp_build_pair_dhkey_check_cmd()
773 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pair_dhkey_check_cmd()
777 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pair_dhkey_check_cmd()
794 sizeof(BT_HDR) + SMP_PAIR_KEYPR_NOTIF_SIZE + L2CAP_MIN_OFFSET); in smp_build_pairing_keypress_notification_cmd()
798 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_build_pairing_keypress_notification_cmd()
802 p_buf->offset = L2CAP_MIN_OFFSET; in smp_build_pairing_keypress_notification_cmd()
1167 L2CAP_MIN_OFFSET); in smp_reject_unexpected_pairing_command()
1171 p = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in smp_reject_unexpected_pairing_command()
1175 p_buf->offset = L2CAP_MIN_OFFSET; in smp_reject_unexpected_pairing_command()