Lines Matching refs:pp
477 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_disconnect() local
482 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
483 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_DISCONNECT); in btsnd_hcic_disconnect()
484 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_disconnect()
485 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_disconnect()
492 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_add_SCO_conn() local
497 UINT16_TO_STREAM(pp, HCI_ADD_SCO_CONNECTION); in btsnd_hcic_add_SCO_conn()
498 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ADD_SCO_CONN); in btsnd_hcic_add_SCO_conn()
500 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_add_SCO_conn()
501 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_add_SCO_conn()
508 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_create_conn_cancel() local
513 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION_CANCEL); in btsnd_hcic_create_conn_cancel()
514 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CREATE_CONN_CANCEL); in btsnd_hcic_create_conn_cancel()
516 BDADDR_TO_STREAM(pp, dest); in btsnd_hcic_create_conn_cancel()
523 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_conn() local
528 UINT16_TO_STREAM(pp, HCI_REJECT_CONNECTION_REQUEST); in btsnd_hcic_reject_conn()
529 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_REJECT_CONN); in btsnd_hcic_reject_conn()
531 BDADDR_TO_STREAM(pp, dest); in btsnd_hcic_reject_conn()
532 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_reject_conn()
539 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_req_reply() local
544 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_REPLY); in btsnd_hcic_link_key_req_reply()
545 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LINK_KEY_REQ_REPLY); in btsnd_hcic_link_key_req_reply()
547 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_link_key_req_reply()
548 ARRAY16_TO_STREAM(pp, link_key.data()); in btsnd_hcic_link_key_req_reply()
555 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_neg_reply() local
560 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
561 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LINK_KEY_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
563 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_link_key_neg_reply()
571 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_req_reply() local
577 UINT16_TO_STREAM(pp, HCI_PIN_CODE_REQUEST_REPLY); in btsnd_hcic_pin_code_req_reply()
578 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PIN_CODE_REQ_REPLY); in btsnd_hcic_pin_code_req_reply()
580 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_pin_code_req_reply()
581 UINT8_TO_STREAM(pp, pin_code_len); in btsnd_hcic_pin_code_req_reply()
584 *pp++ = *pin_code++; in btsnd_hcic_pin_code_req_reply()
588 *pp++ = 0; in btsnd_hcic_pin_code_req_reply()
596 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_neg_reply() local
601 UINT16_TO_STREAM(pp, HCI_PIN_CODE_REQUEST_NEG_REPLY); in btsnd_hcic_pin_code_neg_reply()
602 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PIN_CODE_NEG_REPLY); in btsnd_hcic_pin_code_neg_reply()
604 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_pin_code_neg_reply()
611 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_change_conn_type() local
616 UINT16_TO_STREAM(pp, HCI_CHANGE_CONN_PACKET_TYPE); in btsnd_hcic_change_conn_type()
617 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CHANGE_CONN_TYPE); in btsnd_hcic_change_conn_type()
619 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_change_conn_type()
620 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_change_conn_type()
627 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_auth_request() local
632 UINT16_TO_STREAM(pp, HCI_AUTHENTICATION_REQUESTED); in btsnd_hcic_auth_request()
633 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_auth_request()
635 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_auth_request()
642 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_conn_encrypt() local
647 UINT16_TO_STREAM(pp, HCI_SET_CONN_ENCRYPTION); in btsnd_hcic_set_conn_encrypt()
648 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SET_CONN_ENCRYPT); in btsnd_hcic_set_conn_encrypt()
650 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_set_conn_encrypt()
651 UINT8_TO_STREAM(pp, enable); in btsnd_hcic_set_conn_encrypt()
658 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ext_features() local
663 UINT16_TO_STREAM(pp, HCI_READ_RMT_EXT_FEATURES); in btsnd_hcic_rmt_ext_features()
664 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_RMT_EXT_FEATURES); in btsnd_hcic_rmt_ext_features()
666 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_rmt_ext_features()
667 UINT8_TO_STREAM(pp, page_num); in btsnd_hcic_rmt_ext_features()
674 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ver_req() local
679 UINT16_TO_STREAM(pp, HCI_READ_RMT_VERSION_INFO); in btsnd_hcic_rmt_ver_req()
680 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_rmt_ver_req()
682 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_rmt_ver_req()
689 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rmt_clk_offset() local
694 UINT16_TO_STREAM(pp, HCI_READ_RMT_CLOCK_OFFSET); in btsnd_hcic_read_rmt_clk_offset()
695 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_rmt_clk_offset()
697 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_rmt_clk_offset()
706 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_setup_esco_conn() local
711 UINT16_TO_STREAM(pp, HCI_SETUP_ESCO_CONNECTION); in btsnd_hcic_setup_esco_conn()
712 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SETUP_ESCO); in btsnd_hcic_setup_esco_conn()
714 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_setup_esco_conn()
715 UINT32_TO_STREAM(pp, transmit_bandwidth); in btsnd_hcic_setup_esco_conn()
716 UINT32_TO_STREAM(pp, receive_bandwidth); in btsnd_hcic_setup_esco_conn()
717 UINT16_TO_STREAM(pp, max_latency); in btsnd_hcic_setup_esco_conn()
718 UINT16_TO_STREAM(pp, voice); in btsnd_hcic_setup_esco_conn()
719 UINT8_TO_STREAM(pp, retrans_effort); in btsnd_hcic_setup_esco_conn()
720 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_setup_esco_conn()
730 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_accept_esco_conn() local
735 UINT16_TO_STREAM(pp, HCI_ACCEPT_ESCO_CONNECTION); in btsnd_hcic_accept_esco_conn()
736 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ACCEPT_ESCO); in btsnd_hcic_accept_esco_conn()
738 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_accept_esco_conn()
739 UINT32_TO_STREAM(pp, transmit_bandwidth); in btsnd_hcic_accept_esco_conn()
740 UINT32_TO_STREAM(pp, receive_bandwidth); in btsnd_hcic_accept_esco_conn()
741 UINT16_TO_STREAM(pp, max_latency); in btsnd_hcic_accept_esco_conn()
742 UINT16_TO_STREAM(pp, content_fmt); in btsnd_hcic_accept_esco_conn()
743 UINT8_TO_STREAM(pp, retrans_effort); in btsnd_hcic_accept_esco_conn()
744 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_accept_esco_conn()
751 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_esco_conn() local
756 UINT16_TO_STREAM(pp, HCI_REJECT_ESCO_CONNECTION); in btsnd_hcic_reject_esco_conn()
757 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_REJECT_ESCO); in btsnd_hcic_reject_esco_conn()
759 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_reject_esco_conn()
760 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_reject_esco_conn()
767 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_hold_mode() local
772 UINT16_TO_STREAM(pp, HCI_HOLD_MODE); in btsnd_hcic_hold_mode()
773 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_HOLD_MODE); in btsnd_hcic_hold_mode()
775 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_hold_mode()
776 UINT16_TO_STREAM(pp, max_hold_period); in btsnd_hcic_hold_mode()
777 UINT16_TO_STREAM(pp, min_hold_period); in btsnd_hcic_hold_mode()
785 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_mode() local
790 UINT16_TO_STREAM(pp, HCI_SNIFF_MODE); in btsnd_hcic_sniff_mode()
791 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SNIFF_MODE); in btsnd_hcic_sniff_mode()
793 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_sniff_mode()
794 UINT16_TO_STREAM(pp, max_sniff_period); in btsnd_hcic_sniff_mode()
795 UINT16_TO_STREAM(pp, min_sniff_period); in btsnd_hcic_sniff_mode()
796 UINT16_TO_STREAM(pp, sniff_attempt); in btsnd_hcic_sniff_mode()
797 UINT16_TO_STREAM(pp, sniff_timeout); in btsnd_hcic_sniff_mode()
804 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_sniff_mode() local
809 UINT16_TO_STREAM(pp, HCI_EXIT_SNIFF_MODE); in btsnd_hcic_exit_sniff_mode()
810 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_exit_sniff_mode()
812 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_exit_sniff_mode()
820 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_park_mode() local
825 UINT16_TO_STREAM(pp, HCI_PARK_MODE); in btsnd_hcic_park_mode()
826 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PARK_MODE); in btsnd_hcic_park_mode()
828 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_park_mode()
829 UINT16_TO_STREAM(pp, beacon_max_interval); in btsnd_hcic_park_mode()
830 UINT16_TO_STREAM(pp, beacon_min_interval); in btsnd_hcic_park_mode()
837 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_park_mode() local
842 UINT16_TO_STREAM(pp, HCI_EXIT_PARK_MODE); in btsnd_hcic_exit_park_mode()
843 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_exit_park_mode()
845 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_exit_park_mode()
852 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_switch_role() local
857 UINT16_TO_STREAM(pp, HCI_SWITCH_ROLE); in btsnd_hcic_switch_role()
858 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SWITCH_ROLE); in btsnd_hcic_switch_role()
860 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_switch_role()
861 UINT8_TO_STREAM(pp, role); in btsnd_hcic_switch_role()
868 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_policy_set() local
872 UINT16_TO_STREAM(pp, HCI_WRITE_POLICY_SETTINGS); in btsnd_hcic_write_policy_set()
873 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_POLICY_SET); in btsnd_hcic_write_policy_set()
875 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_policy_set()
876 UINT16_TO_STREAM(pp, settings); in btsnd_hcic_write_policy_set()
883 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_def_policy_set() local
887 UINT16_TO_STREAM(pp, HCI_WRITE_DEF_POLICY_SETTINGS); in btsnd_hcic_write_def_policy_set()
888 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_DEF_POLICY_SET); in btsnd_hcic_write_def_policy_set()
890 UINT16_TO_STREAM(pp, settings); in btsnd_hcic_write_def_policy_set()
898 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_event_filter() local
902 UINT16_TO_STREAM(pp, HCI_SET_EVENT_FILTER); in btsnd_hcic_set_event_filter()
906 UINT8_TO_STREAM(pp, (uint8_t)(2 + filt_cond_len)); in btsnd_hcic_set_event_filter()
908 UINT8_TO_STREAM(pp, filt_type); in btsnd_hcic_set_event_filter()
909 UINT8_TO_STREAM(pp, filt_cond_type); in btsnd_hcic_set_event_filter()
912 DEVCLASS_TO_STREAM(pp, filt_cond); in btsnd_hcic_set_event_filter()
914 DEVCLASS_TO_STREAM(pp, filt_cond); in btsnd_hcic_set_event_filter()
919 BDADDR_TO_STREAM(pp, *((RawAddress*)filt_cond)); in btsnd_hcic_set_event_filter()
926 ARRAY_TO_STREAM(pp, filt_cond, filt_cond_len); in btsnd_hcic_set_event_filter()
930 UINT8_TO_STREAM(pp, 1); in btsnd_hcic_set_event_filter()
932 UINT8_TO_STREAM(pp, filt_type); in btsnd_hcic_set_event_filter()
940 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pin_type() local
945 UINT16_TO_STREAM(pp, HCI_WRITE_PIN_TYPE); in btsnd_hcic_write_pin_type()
946 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_pin_type()
948 UINT8_TO_STREAM(pp, type); in btsnd_hcic_write_pin_type()
955 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_delete_stored_key() local
960 UINT16_TO_STREAM(pp, HCI_DELETE_STORED_LINK_KEY); in btsnd_hcic_delete_stored_key()
961 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_DELETE_STORED_KEY); in btsnd_hcic_delete_stored_key()
963 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_delete_stored_key()
964 UINT8_TO_STREAM(pp, delete_all_flag); in btsnd_hcic_delete_stored_key()
971 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_name() local
976 UINT16_TO_STREAM(pp, HCI_READ_LOCAL_NAME); in btsnd_hcic_read_name()
977 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_read_name()
984 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_page_tout() local
989 UINT16_TO_STREAM(pp, HCI_WRITE_PAGE_TOUT); in btsnd_hcic_write_page_tout()
990 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM2); in btsnd_hcic_write_page_tout()
992 UINT16_TO_STREAM(pp, timeout); in btsnd_hcic_write_page_tout()
999 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_scan_enable() local
1004 UINT16_TO_STREAM(pp, HCI_WRITE_SCAN_ENABLE); in btsnd_hcic_write_scan_enable()
1005 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_scan_enable()
1007 UINT8_TO_STREAM(pp, flag); in btsnd_hcic_write_scan_enable()
1014 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_cfg() local
1019 UINT16_TO_STREAM(pp, HCI_WRITE_PAGESCAN_CFG); in btsnd_hcic_write_pagescan_cfg()
1020 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PAGESCAN_CFG); in btsnd_hcic_write_pagescan_cfg()
1022 UINT16_TO_STREAM(pp, interval); in btsnd_hcic_write_pagescan_cfg()
1023 UINT16_TO_STREAM(pp, window); in btsnd_hcic_write_pagescan_cfg()
1030 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_cfg() local
1035 UINT16_TO_STREAM(pp, HCI_WRITE_INQUIRYSCAN_CFG); in btsnd_hcic_write_inqscan_cfg()
1036 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_INQSCAN_CFG); in btsnd_hcic_write_inqscan_cfg()
1038 UINT16_TO_STREAM(pp, interval); in btsnd_hcic_write_inqscan_cfg()
1039 UINT16_TO_STREAM(pp, window); in btsnd_hcic_write_inqscan_cfg()
1046 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auth_enable() local
1051 UINT16_TO_STREAM(pp, HCI_WRITE_AUTHENTICATION_ENABLE); in btsnd_hcic_write_auth_enable()
1052 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_auth_enable()
1054 UINT8_TO_STREAM(pp, flag); in btsnd_hcic_write_auth_enable()
1061 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_dev_class() local
1066 UINT16_TO_STREAM(pp, HCI_WRITE_CLASS_OF_DEVICE); in btsnd_hcic_write_dev_class()
1067 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM3); in btsnd_hcic_write_dev_class()
1069 DEVCLASS_TO_STREAM(pp, dev_class); in btsnd_hcic_write_dev_class()
1076 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_voice_settings() local
1081 UINT16_TO_STREAM(pp, HCI_WRITE_VOICE_SETTINGS); in btsnd_hcic_write_voice_settings()
1082 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM2); in btsnd_hcic_write_voice_settings()
1084 UINT16_TO_STREAM(pp, flags); in btsnd_hcic_write_voice_settings()
1091 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auto_flush_tout() local
1096 UINT16_TO_STREAM(pp, HCI_WRITE_AUTOMATIC_FLUSH_TIMEOUT); in btsnd_hcic_write_auto_flush_tout()
1097 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_AUTOMATIC_FLUSH_TIMEOUT); in btsnd_hcic_write_auto_flush_tout()
1099 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_auto_flush_tout()
1100 UINT16_TO_STREAM(pp, tout); in btsnd_hcic_write_auto_flush_tout()
1107 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_tx_power() local
1112 UINT16_TO_STREAM(pp, HCI_READ_TRANSMIT_POWER_LEVEL); in btsnd_hcic_read_tx_power()
1113 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_TX_POWER); in btsnd_hcic_read_tx_power()
1115 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_tx_power()
1116 UINT8_TO_STREAM(pp, type); in btsnd_hcic_read_tx_power()
1123 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_link_super_tout() local
1128 UINT16_TO_STREAM(pp, HCI_WRITE_LINK_SUPER_TOUT); in btsnd_hcic_write_link_super_tout()
1129 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_LINK_SUPER_TOUT); in btsnd_hcic_write_link_super_tout()
1131 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_write_link_super_tout()
1132 UINT16_TO_STREAM(pp, timeout); in btsnd_hcic_write_link_super_tout()
1139 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_cur_iac_lap() local
1144 UINT16_TO_STREAM(pp, HCI_WRITE_CURRENT_IAC_LAP); in btsnd_hcic_write_cur_iac_lap()
1145 UINT8_TO_STREAM(pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_write_cur_iac_lap()
1147 UINT8_TO_STREAM(pp, num_cur_iac); in btsnd_hcic_write_cur_iac_lap()
1150 LAP_TO_STREAM(pp, iac_lap[i]); in btsnd_hcic_write_cur_iac_lap()
1162 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_sub_rate() local
1167 UINT16_TO_STREAM(pp, HCI_SNIFF_SUB_RATE); in btsnd_hcic_sniff_sub_rate()
1168 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SNIFF_SUB_RATE); in btsnd_hcic_sniff_sub_rate()
1170 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_sniff_sub_rate()
1171 UINT16_TO_STREAM(pp, max_lat); in btsnd_hcic_sniff_sub_rate()
1172 UINT16_TO_STREAM(pp, min_remote_lat); in btsnd_hcic_sniff_sub_rate()
1173 UINT16_TO_STREAM(pp, min_local_lat); in btsnd_hcic_sniff_sub_rate()
1181 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_ext_inquiry_response() local
1186 UINT16_TO_STREAM(pp, HCI_WRITE_EXT_INQ_RESPONSE); in btsnd_hcic_write_ext_inquiry_response()
1187 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_EXT_INQ_RESP); in btsnd_hcic_write_ext_inquiry_response()
1189 UINT8_TO_STREAM(pp, fec_req); in btsnd_hcic_write_ext_inquiry_response()
1197 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_reply() local
1202 UINT16_TO_STREAM(pp, HCI_IO_CAPABILITY_REQUEST_REPLY); in btsnd_hcic_io_cap_req_reply()
1203 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_IO_CAP_RESP); in btsnd_hcic_io_cap_req_reply()
1205 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_io_cap_req_reply()
1206 UINT8_TO_STREAM(pp, capability); in btsnd_hcic_io_cap_req_reply()
1207 UINT8_TO_STREAM(pp, oob_present); in btsnd_hcic_io_cap_req_reply()
1208 UINT8_TO_STREAM(pp, auth_req); in btsnd_hcic_io_cap_req_reply()
1216 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_set_up_synchronous_connection() local
1221 UINT16_TO_STREAM(pp, HCI_ENH_SETUP_ESCO_CONNECTION); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1222 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ENH_SET_ESCO_CONN); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1224 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1225 UINT32_TO_STREAM(pp, p_params->transmit_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1226 UINT32_TO_STREAM(pp, p_params->receive_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1227 UINT8_TO_STREAM(pp, p_params->transmit_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1228 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1229 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1230 UINT8_TO_STREAM(pp, p_params->receive_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1231 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1232 UINT16_TO_STREAM(pp, p_params->receive_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1233 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1234 UINT16_TO_STREAM(pp, p_params->receive_codec_frame_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1235 UINT32_TO_STREAM(pp, p_params->input_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1236 UINT32_TO_STREAM(pp, p_params->output_bandwidth); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1237 UINT8_TO_STREAM(pp, p_params->input_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1238 UINT16_TO_STREAM(pp, p_params->input_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1239 UINT16_TO_STREAM(pp, p_params->input_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1240 UINT8_TO_STREAM(pp, p_params->output_coding_format.coding_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1241 UINT16_TO_STREAM(pp, p_params->output_coding_format.company_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1242 UINT16_TO_STREAM(pp, p_params->output_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1243 UINT16_TO_STREAM(pp, p_params->input_coded_data_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1244 UINT16_TO_STREAM(pp, p_params->output_coded_data_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1245 UINT8_TO_STREAM(pp, p_params->input_pcm_data_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1246 UINT8_TO_STREAM(pp, p_params->output_pcm_data_format); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1247 UINT8_TO_STREAM(pp, p_params->input_pcm_payload_msb_position); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1248 UINT8_TO_STREAM(pp, p_params->output_pcm_payload_msb_position); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1249 UINT8_TO_STREAM(pp, p_params->input_data_path); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1250 UINT8_TO_STREAM(pp, p_params->output_data_path); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1251 UINT8_TO_STREAM(pp, p_params->input_transport_unit_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1252 UINT8_TO_STREAM(pp, p_params->output_transport_unit_size); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1253 UINT16_TO_STREAM(pp, p_params->max_latency_ms); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1254 UINT16_TO_STREAM(pp, p_params->packet_types); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1255 UINT8_TO_STREAM(pp, p_params->retransmission_effort); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1263 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_accept_synchronous_connection() local
1268 UINT16_TO_STREAM(pp, HCI_ENH_ACCEPT_ESCO_CONNECTION); in btsnd_hcic_enhanced_accept_synchronous_connection()
1269 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ENH_ACC_ESCO_CONN); in btsnd_hcic_enhanced_accept_synchronous_connection()
1271 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_enhanced_accept_synchronous_connection()
1272 UINT32_TO_STREAM(pp, p_params->transmit_bandwidth); in btsnd_hcic_enhanced_accept_synchronous_connection()
1273 UINT32_TO_STREAM(pp, p_params->receive_bandwidth); in btsnd_hcic_enhanced_accept_synchronous_connection()
1274 UINT8_TO_STREAM(pp, p_params->transmit_coding_format.coding_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1275 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1276 UINT16_TO_STREAM(pp, p_params->transmit_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1277 UINT8_TO_STREAM(pp, p_params->receive_coding_format.coding_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1278 UINT16_TO_STREAM(pp, p_params->receive_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1279 UINT16_TO_STREAM(pp, p_params->receive_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1280 UINT16_TO_STREAM(pp, p_params->transmit_codec_frame_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1281 UINT16_TO_STREAM(pp, p_params->receive_codec_frame_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1282 UINT32_TO_STREAM(pp, p_params->input_bandwidth); in btsnd_hcic_enhanced_accept_synchronous_connection()
1283 UINT32_TO_STREAM(pp, p_params->output_bandwidth); in btsnd_hcic_enhanced_accept_synchronous_connection()
1284 UINT8_TO_STREAM(pp, p_params->input_coding_format.coding_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1285 UINT16_TO_STREAM(pp, p_params->input_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1286 UINT16_TO_STREAM(pp, p_params->input_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1287 UINT8_TO_STREAM(pp, p_params->output_coding_format.coding_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1288 UINT16_TO_STREAM(pp, p_params->output_coding_format.company_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1289 UINT16_TO_STREAM(pp, p_params->output_coding_format.vendor_specific_codec_id); in btsnd_hcic_enhanced_accept_synchronous_connection()
1290 UINT16_TO_STREAM(pp, p_params->input_coded_data_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1291 UINT16_TO_STREAM(pp, p_params->output_coded_data_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1292 UINT8_TO_STREAM(pp, p_params->input_pcm_data_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1293 UINT8_TO_STREAM(pp, p_params->output_pcm_data_format); in btsnd_hcic_enhanced_accept_synchronous_connection()
1294 UINT8_TO_STREAM(pp, p_params->input_pcm_payload_msb_position); in btsnd_hcic_enhanced_accept_synchronous_connection()
1295 UINT8_TO_STREAM(pp, p_params->output_pcm_payload_msb_position); in btsnd_hcic_enhanced_accept_synchronous_connection()
1296 UINT8_TO_STREAM(pp, p_params->input_data_path); in btsnd_hcic_enhanced_accept_synchronous_connection()
1297 UINT8_TO_STREAM(pp, p_params->output_data_path); in btsnd_hcic_enhanced_accept_synchronous_connection()
1298 UINT8_TO_STREAM(pp, p_params->input_transport_unit_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1299 UINT8_TO_STREAM(pp, p_params->output_transport_unit_size); in btsnd_hcic_enhanced_accept_synchronous_connection()
1300 UINT16_TO_STREAM(pp, p_params->max_latency_ms); in btsnd_hcic_enhanced_accept_synchronous_connection()
1301 UINT16_TO_STREAM(pp, p_params->packet_types); in btsnd_hcic_enhanced_accept_synchronous_connection()
1302 UINT8_TO_STREAM(pp, p_params->retransmission_effort); in btsnd_hcic_enhanced_accept_synchronous_connection()
1309 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_neg_reply() local
1314 UINT16_TO_STREAM(pp, HCI_IO_CAP_REQ_NEG_REPLY); in btsnd_hcic_io_cap_req_neg_reply()
1315 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_IO_CAP_NEG_REPLY); in btsnd_hcic_io_cap_req_neg_reply()
1317 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_io_cap_req_neg_reply()
1318 UINT8_TO_STREAM(pp, err_code); in btsnd_hcic_io_cap_req_neg_reply()
1325 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_local_oob_data() local
1330 UINT16_TO_STREAM(pp, HCI_READ_LOCAL_OOB_DATA); in btsnd_hcic_read_local_oob_data()
1331 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_R_LOCAL_OOB); in btsnd_hcic_read_local_oob_data()
1338 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_local_oob_extended_data() local
1343 UINT16_TO_STREAM(pp, HCI_READ_LOCAL_OOB_EXTENDED_DATA); in btsnd_hcic_read_local_oob_extended_data()
1344 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_R_LOCAL_OOB_EXTENDED); in btsnd_hcic_read_local_oob_extended_data()
1351 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_conf_reply() local
1358 UINT16_TO_STREAM(pp, HCI_USER_CONF_VALUE_NEG_REPLY); in btsnd_hcic_user_conf_reply()
1361 UINT16_TO_STREAM(pp, HCI_USER_CONF_REQUEST_REPLY); in btsnd_hcic_user_conf_reply()
1364 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_UCONF_REPLY); in btsnd_hcic_user_conf_reply()
1366 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_user_conf_reply()
1373 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_reply() local
1378 UINT16_TO_STREAM(pp, HCI_USER_PASSKEY_REQ_REPLY); in btsnd_hcic_user_passkey_reply()
1379 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_U_PKEY_REPLY); in btsnd_hcic_user_passkey_reply()
1381 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_user_passkey_reply()
1382 UINT32_TO_STREAM(pp, value); in btsnd_hcic_user_passkey_reply()
1389 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_neg_reply() local
1394 UINT16_TO_STREAM(pp, HCI_USER_PASSKEY_REQ_NEG_REPLY); in btsnd_hcic_user_passkey_neg_reply()
1395 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_U_PKEY_NEG_REPLY); in btsnd_hcic_user_passkey_neg_reply()
1397 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_user_passkey_neg_reply()
1404 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_reply() local
1409 UINT16_TO_STREAM(pp, HCI_REM_OOB_DATA_REQ_REPLY); in btsnd_hcic_rem_oob_reply()
1410 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_REM_OOB_REPLY); in btsnd_hcic_rem_oob_reply()
1412 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_rem_oob_reply()
1413 ARRAY16_TO_STREAM(pp, c.data()); in btsnd_hcic_rem_oob_reply()
1414 ARRAY16_TO_STREAM(pp, r.data()); in btsnd_hcic_rem_oob_reply()
1421 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_neg_reply() local
1426 UINT16_TO_STREAM(pp, HCI_REM_OOB_DATA_REQ_NEG_REPLY); in btsnd_hcic_rem_oob_neg_reply()
1427 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_REM_OOB_NEG_REPLY); in btsnd_hcic_rem_oob_neg_reply()
1429 BDADDR_TO_STREAM(pp, bd_addr); in btsnd_hcic_rem_oob_neg_reply()
1442 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rssi() local
1447 UINT16_TO_STREAM(pp, HCI_READ_RSSI); in btsnd_hcic_read_rssi()
1448 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_rssi()
1450 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_rssi()
1481 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_failed_contact_counter() local
1486 UINT16_TO_STREAM(pp, HCI_READ_FAILED_CONTACT_COUNTER); in btsnd_hcic_read_failed_contact_counter()
1487 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CMD_HANDLE); in btsnd_hcic_read_failed_contact_counter()
1489 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_read_failed_contact_counter()
1496 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enable_test_mode() local
1501 UINT16_TO_STREAM(pp, HCI_ENABLE_DEV_UNDER_TEST_MODE); in btsnd_hcic_enable_test_mode()
1502 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_enable_test_mode()
1509 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_type() local
1514 UINT16_TO_STREAM(pp, HCI_WRITE_INQSCAN_TYPE); in btsnd_hcic_write_inqscan_type()
1515 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_inqscan_type()
1517 UINT8_TO_STREAM(pp, type); in btsnd_hcic_write_inqscan_type()
1524 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inquiry_mode() local
1529 UINT16_TO_STREAM(pp, HCI_WRITE_INQUIRY_MODE); in btsnd_hcic_write_inquiry_mode()
1530 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_inquiry_mode()
1532 UINT8_TO_STREAM(pp, mode); in btsnd_hcic_write_inquiry_mode()
1539 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_type() local
1544 UINT16_TO_STREAM(pp, HCI_WRITE_PAGESCAN_TYPE); in btsnd_hcic_write_pagescan_type()
1545 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_write_pagescan_type()
1547 UINT8_TO_STREAM(pp, type); in btsnd_hcic_write_pagescan_type()
1577 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_configure_data_path() local
1582 UINT16_TO_STREAM(pp, HCI_CONFIGURE_DATA_PATH); in btsnd_hcic_configure_data_path()
1583 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CONFIGURE_DATA_PATH + size); in btsnd_hcic_configure_data_path()
1584 UINT8_TO_STREAM(pp, data_path_direction); in btsnd_hcic_configure_data_path()
1585 UINT8_TO_STREAM(pp, data_path_id); in btsnd_hcic_configure_data_path()
1586 UINT8_TO_STREAM(pp, vendor_config.size()); in btsnd_hcic_configure_data_path()
1588 ARRAY_TO_STREAM(pp, vendor_config.data(), size); in btsnd_hcic_configure_data_path()