• Home
  • Raw
  • Download

Lines Matching refs:p

39   BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE);  in btsnd_hcic_inquiry()  local
40 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_inquiry()
42 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQUIRY; in btsnd_hcic_inquiry()
43 p->offset = 0; in btsnd_hcic_inquiry()
52 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inquiry()
56 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inq_cancel() local
57 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_inq_cancel()
59 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_INQ_CANCEL; in btsnd_hcic_inq_cancel()
60 p->offset = 0; in btsnd_hcic_inq_cancel()
64 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_inq_cancel()
70 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_per_inq_mode() local
71 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_per_inq_mode()
73 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PER_INQ_MODE; in btsnd_hcic_per_inq_mode()
74 p->offset = 0; in btsnd_hcic_per_inq_mode()
85 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_per_inq_mode()
89 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_per_inq() local
90 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_per_inq()
92 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_EXIT_PER_INQ; in btsnd_hcic_exit_per_inq()
93 p->offset = 0; in btsnd_hcic_exit_per_inq()
97 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_per_inq()
103 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn() local
104 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_create_conn()
107 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN; in btsnd_hcic_create_conn()
109 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN - 1; in btsnd_hcic_create_conn()
111 p->offset = 0; in btsnd_hcic_create_conn()
127 btm_acl_paging(p, dest); in btsnd_hcic_create_conn()
131 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect() local
132 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_disconnect()
134 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_DISCONNECT; in btsnd_hcic_disconnect()
135 p->offset = 0; in btsnd_hcic_disconnect()
142 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_disconnect()
147 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn() local
148 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_add_SCO_conn()
150 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ADD_SCO_CONN; in btsnd_hcic_add_SCO_conn()
151 p->offset = 0; in btsnd_hcic_add_SCO_conn()
159 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_add_SCO_conn()
164 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel() local
165 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_create_conn_cancel()
167 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CREATE_CONN_CANCEL; in btsnd_hcic_create_conn_cancel()
168 p->offset = 0; in btsnd_hcic_create_conn_cancel()
175 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_create_conn_cancel()
179 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_conn() local
180 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_accept_conn()
182 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ACCEPT_CONN; in btsnd_hcic_accept_conn()
183 p->offset = 0; in btsnd_hcic_accept_conn()
190 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_accept_conn()
194 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn() local
195 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_conn()
197 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REJECT_CONN; in btsnd_hcic_reject_conn()
198 p->offset = 0; in btsnd_hcic_reject_conn()
206 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_reject_conn()
211 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_req_reply() local
212 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_req_reply()
214 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_LINK_KEY_REQ_REPLY; in btsnd_hcic_link_key_req_reply()
215 p->offset = 0; in btsnd_hcic_link_key_req_reply()
223 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_link_key_req_reply()
227 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_link_key_neg_reply() local
228 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_link_key_neg_reply()
230 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_LINK_KEY_NEG_REPLY; in btsnd_hcic_link_key_neg_reply()
231 p->offset = 0; in btsnd_hcic_link_key_neg_reply()
238 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_link_key_neg_reply()
243 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_req_reply() local
244 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_req_reply()
247 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PIN_CODE_REQ_REPLY; in btsnd_hcic_pin_code_req_reply()
248 p->offset = 0; in btsnd_hcic_pin_code_req_reply()
260 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_pin_code_req_reply()
264 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_pin_code_neg_reply() local
265 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_pin_code_neg_reply()
267 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PIN_CODE_NEG_REPLY; in btsnd_hcic_pin_code_neg_reply()
268 p->offset = 0; in btsnd_hcic_pin_code_neg_reply()
275 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_pin_code_neg_reply()
279 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_change_conn_type() local
280 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_change_conn_type()
282 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CHANGE_CONN_TYPE; in btsnd_hcic_change_conn_type()
283 p->offset = 0; in btsnd_hcic_change_conn_type()
291 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_change_conn_type()
295 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_auth_request() local
296 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_auth_request()
298 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_auth_request()
299 p->offset = 0; in btsnd_hcic_auth_request()
306 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_auth_request()
310 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_set_conn_encrypt() local
311 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_conn_encrypt()
313 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SET_CONN_ENCRYPT; in btsnd_hcic_set_conn_encrypt()
314 p->offset = 0; in btsnd_hcic_set_conn_encrypt()
322 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_set_conn_encrypt()
328 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_name_req() local
329 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_name_req()
331 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_NAME_REQ; in btsnd_hcic_rmt_name_req()
332 p->offset = 0; in btsnd_hcic_rmt_name_req()
342 btm_acl_paging(p, bd_addr); in btsnd_hcic_rmt_name_req()
346 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_name_req_cancel() local
347 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_name_req_cancel()
349 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_NAME_REQ_CANCEL; in btsnd_hcic_rmt_name_req_cancel()
350 p->offset = 0; in btsnd_hcic_rmt_name_req_cancel()
357 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_name_req_cancel()
361 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_features_req() local
362 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_features_req()
364 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_rmt_features_req()
365 p->offset = 0; in btsnd_hcic_rmt_features_req()
372 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_features_req()
376 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_ext_features() local
377 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ext_features()
379 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_RMT_EXT_FEATURES; in btsnd_hcic_rmt_ext_features()
380 p->offset = 0; in btsnd_hcic_rmt_ext_features()
388 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_ext_features()
392 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rmt_ver_req() local
393 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rmt_ver_req()
395 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_rmt_ver_req()
396 p->offset = 0; in btsnd_hcic_rmt_ver_req()
403 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rmt_ver_req()
407 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_rmt_clk_offset() local
408 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rmt_clk_offset()
410 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_rmt_clk_offset()
411 p->offset = 0; in btsnd_hcic_read_rmt_clk_offset()
418 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_rmt_clk_offset()
422 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_lmp_handle() local
423 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_lmp_handle()
425 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_lmp_handle()
426 p->offset = 0; in btsnd_hcic_read_lmp_handle()
433 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_lmp_handle()
440 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_setup_esco_conn() local
441 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_setup_esco_conn()
443 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SETUP_ESCO; in btsnd_hcic_setup_esco_conn()
444 p->offset = 0; in btsnd_hcic_setup_esco_conn()
457 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_setup_esco_conn()
466 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_esco_conn() local
467 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_accept_esco_conn()
469 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ACCEPT_ESCO; in btsnd_hcic_accept_esco_conn()
470 p->offset = 0; in btsnd_hcic_accept_esco_conn()
483 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_accept_esco_conn()
487 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_esco_conn() local
488 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_reject_esco_conn()
490 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REJECT_ESCO; in btsnd_hcic_reject_esco_conn()
491 p->offset = 0; in btsnd_hcic_reject_esco_conn()
499 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_reject_esco_conn()
504 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_hold_mode() local
505 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_hold_mode()
507 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_HOLD_MODE; in btsnd_hcic_hold_mode()
508 p->offset = 0; in btsnd_hcic_hold_mode()
517 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_hold_mode()
523 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_sniff_mode() local
524 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_mode()
526 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SNIFF_MODE; in btsnd_hcic_sniff_mode()
527 p->offset = 0; in btsnd_hcic_sniff_mode()
538 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_sniff_mode()
542 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_sniff_mode() local
543 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_sniff_mode()
545 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_exit_sniff_mode()
546 p->offset = 0; in btsnd_hcic_exit_sniff_mode()
553 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_sniff_mode()
558 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_park_mode() local
559 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_park_mode()
561 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_PARK_MODE; in btsnd_hcic_park_mode()
562 p->offset = 0; in btsnd_hcic_park_mode()
571 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_park_mode()
575 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_park_mode() local
576 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_exit_park_mode()
578 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_exit_park_mode()
579 p->offset = 0; in btsnd_hcic_exit_park_mode()
586 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_exit_park_mode()
592 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_qos_setup() local
593 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_qos_setup()
595 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_QOS_SETUP; in btsnd_hcic_qos_setup()
596 p->offset = 0; in btsnd_hcic_qos_setup()
609 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_qos_setup()
613 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_switch_role() local
614 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_switch_role()
616 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SWITCH_ROLE; in btsnd_hcic_switch_role()
617 p->offset = 0; in btsnd_hcic_switch_role()
625 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_switch_role()
629 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_policy_set() local
630 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_policy_set()
632 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_POLICY_SET; in btsnd_hcic_write_policy_set()
633 p->offset = 0; in btsnd_hcic_write_policy_set()
640 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_policy_set()
644 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_def_policy_set() local
645 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_def_policy_set()
647 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_DEF_POLICY_SET; in btsnd_hcic_write_def_policy_set()
648 p->offset = 0; in btsnd_hcic_write_def_policy_set()
654 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_def_policy_set()
659 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_set_event_filter() local
660 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_set_event_filter()
662 p->offset = 0; in btsnd_hcic_set_event_filter()
667 p->len = (uint16_t)(HCIC_PREAMBLE_SIZE + 2 + filt_cond_len); in btsnd_hcic_set_event_filter()
689 p->len = (uint16_t)(HCIC_PREAMBLE_SIZE + 1); in btsnd_hcic_set_event_filter()
695 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_set_event_filter()
699 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pin_type() local
700 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pin_type()
702 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_pin_type()
703 p->offset = 0; in btsnd_hcic_write_pin_type()
710 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pin_type()
715 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_delete_stored_key() local
716 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_delete_stored_key()
718 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_DELETE_STORED_KEY; in btsnd_hcic_delete_stored_key()
719 p->offset = 0; in btsnd_hcic_delete_stored_key()
727 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_delete_stored_key()
731 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_change_name() local
732 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_change_name()
737 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CHANGE_NAME; in btsnd_hcic_change_name()
738 p->offset = 0; in btsnd_hcic_change_name()
747 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_change_name()
751 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_name() local
752 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_name()
754 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_CMD; in btsnd_hcic_read_name()
755 p->offset = 0; in btsnd_hcic_read_name()
760 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_name()
764 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_page_tout() local
765 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_page_tout()
767 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM2; in btsnd_hcic_write_page_tout()
768 p->offset = 0; in btsnd_hcic_write_page_tout()
775 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_page_tout()
779 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_scan_enable() local
780 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_scan_enable()
782 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_scan_enable()
783 p->offset = 0; in btsnd_hcic_write_scan_enable()
790 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_scan_enable()
794 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pagescan_cfg() local
795 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_cfg()
797 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PAGESCAN_CFG; in btsnd_hcic_write_pagescan_cfg()
798 p->offset = 0; in btsnd_hcic_write_pagescan_cfg()
806 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pagescan_cfg()
810 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inqscan_cfg() local
811 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_cfg()
813 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_INQSCAN_CFG; in btsnd_hcic_write_inqscan_cfg()
814 p->offset = 0; in btsnd_hcic_write_inqscan_cfg()
822 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inqscan_cfg()
826 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_auth_enable() local
827 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auth_enable()
829 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_auth_enable()
830 p->offset = 0; in btsnd_hcic_write_auth_enable()
837 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_auth_enable()
841 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_dev_class() local
842 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_dev_class()
844 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM3; in btsnd_hcic_write_dev_class()
845 p->offset = 0; in btsnd_hcic_write_dev_class()
852 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_dev_class()
856 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_voice_settings() local
857 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_voice_settings()
859 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM2; in btsnd_hcic_write_voice_settings()
860 p->offset = 0; in btsnd_hcic_write_voice_settings()
867 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_voice_settings()
871 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_auto_flush_tout() local
872 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_auto_flush_tout()
874 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_AUTOMATIC_FLUSH_TIMEOUT; in btsnd_hcic_write_auto_flush_tout()
875 p->offset = 0; in btsnd_hcic_write_auto_flush_tout()
883 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_auto_flush_tout()
887 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_tx_power() local
888 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_tx_power()
890 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_TX_POWER; in btsnd_hcic_read_tx_power()
891 p->offset = 0; in btsnd_hcic_read_tx_power()
899 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_tx_power()
904 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_host_num_xmitted_pkts() local
905 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_host_num_xmitted_pkts()
907 p->len = HCIC_PREAMBLE_SIZE + 1 + (num_handles * 4); in btsnd_hcic_host_num_xmitted_pkts()
908 p->offset = 0; in btsnd_hcic_host_num_xmitted_pkts()
911 UINT8_TO_STREAM(pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_host_num_xmitted_pkts()
920 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_host_num_xmitted_pkts()
925 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_link_super_tout() local
926 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_link_super_tout()
928 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_LINK_SUPER_TOUT; in btsnd_hcic_write_link_super_tout()
929 p->offset = 0; in btsnd_hcic_write_link_super_tout()
937 btu_hcif_send_cmd(local_controller_id, p); in btsnd_hcic_write_link_super_tout()
941 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_cur_iac_lap() local
942 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_cur_iac_lap()
944 p->len = HCIC_PREAMBLE_SIZE + 1 + (LAP_LEN * num_cur_iac); in btsnd_hcic_write_cur_iac_lap()
945 p->offset = 0; in btsnd_hcic_write_cur_iac_lap()
948 UINT8_TO_STREAM(pp, p->len - HCIC_PREAMBLE_SIZE); in btsnd_hcic_write_cur_iac_lap()
954 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_cur_iac_lap()
965 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_sniff_sub_rate() local
966 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_sniff_sub_rate()
968 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SNIFF_SUB_RATE; in btsnd_hcic_sniff_sub_rate()
969 p->offset = 0; in btsnd_hcic_sniff_sub_rate()
979 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_sniff_sub_rate()
985 BT_HDR* p = (BT_HDR*)buffer; in btsnd_hcic_write_ext_inquiry_response() local
986 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_ext_inquiry_response()
988 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_EXT_INQ_RESP; in btsnd_hcic_write_ext_inquiry_response()
989 p->offset = 0; in btsnd_hcic_write_ext_inquiry_response()
996 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_ext_inquiry_response()
1001 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_io_cap_req_reply() local
1002 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_reply()
1004 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_IO_CAP_RESP; in btsnd_hcic_io_cap_req_reply()
1005 p->offset = 0; in btsnd_hcic_io_cap_req_reply()
1015 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_io_cap_req_reply()
1020 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_set_up_synchronous_connection() local
1021 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1023 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENH_SET_ESCO_CONN; in btsnd_hcic_enhanced_set_up_synchronous_connection()
1024 p->offset = 0; in btsnd_hcic_enhanced_set_up_synchronous_connection()
1064 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_set_up_synchronous_connection()
1069 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_accept_synchronous_connection() local
1070 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_accept_synchronous_connection()
1072 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENH_ACC_ESCO_CONN; in btsnd_hcic_enhanced_accept_synchronous_connection()
1073 p->offset = 0; in btsnd_hcic_enhanced_accept_synchronous_connection()
1113 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_accept_synchronous_connection()
1118 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_io_cap_req_neg_reply() local
1119 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_io_cap_req_neg_reply()
1121 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_IO_CAP_NEG_REPLY; in btsnd_hcic_io_cap_req_neg_reply()
1122 p->offset = 0; in btsnd_hcic_io_cap_req_neg_reply()
1130 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_io_cap_req_neg_reply()
1134 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_local_oob_data() local
1135 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_local_oob_data()
1137 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_R_LOCAL_OOB; in btsnd_hcic_read_local_oob_data()
1138 p->offset = 0; in btsnd_hcic_read_local_oob_data()
1143 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_local_oob_data()
1147 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_conf_reply() local
1148 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_conf_reply()
1150 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_UCONF_REPLY; in btsnd_hcic_user_conf_reply()
1151 p->offset = 0; in btsnd_hcic_user_conf_reply()
1165 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_conf_reply()
1169 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_passkey_reply() local
1170 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_reply()
1172 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_U_PKEY_REPLY; in btsnd_hcic_user_passkey_reply()
1173 p->offset = 0; in btsnd_hcic_user_passkey_reply()
1181 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_passkey_reply()
1185 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_user_passkey_neg_reply() local
1186 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_user_passkey_neg_reply()
1188 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_U_PKEY_NEG_REPLY; in btsnd_hcic_user_passkey_neg_reply()
1189 p->offset = 0; in btsnd_hcic_user_passkey_neg_reply()
1196 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_user_passkey_neg_reply()
1201 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rem_oob_reply() local
1202 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_reply()
1204 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REM_OOB_REPLY; in btsnd_hcic_rem_oob_reply()
1205 p->offset = 0; in btsnd_hcic_rem_oob_reply()
1214 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rem_oob_reply()
1218 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_rem_oob_neg_reply() local
1219 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_rem_oob_neg_reply()
1221 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_REM_OOB_NEG_REPLY; in btsnd_hcic_rem_oob_neg_reply()
1222 p->offset = 0; in btsnd_hcic_rem_oob_neg_reply()
1229 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_rem_oob_neg_reply()
1233 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_inq_tx_power() local
1234 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_inq_tx_power()
1236 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_R_TX_POWER; in btsnd_hcic_read_inq_tx_power()
1237 p->offset = 0; in btsnd_hcic_read_inq_tx_power()
1242 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_inq_tx_power()
1246 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_send_keypress_notif() local
1247 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_send_keypress_notif()
1249 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_SEND_KEYPRESS_NOTIF; in btsnd_hcic_send_keypress_notif()
1250 p->offset = 0; in btsnd_hcic_send_keypress_notif()
1258 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_send_keypress_notif()
1265 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enhanced_flush() local
1266 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enhanced_flush()
1268 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_ENHANCED_FLUSH; in btsnd_hcic_enhanced_flush()
1269 p->offset = 0; in btsnd_hcic_enhanced_flush()
1276 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enhanced_flush()
1285 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_get_link_quality() local
1286 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_get_link_quality()
1288 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_get_link_quality()
1289 p->offset = 0; in btsnd_hcic_get_link_quality()
1296 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_get_link_quality()
1300 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_rssi() local
1301 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_rssi()
1303 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_rssi()
1304 p->offset = 0; in btsnd_hcic_read_rssi()
1311 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_rssi()
1332 uint8_t* p = param; in btsnd_hcic_read_encryption_key_size() local
1333 UINT16_TO_STREAM(p, handle); in btsnd_hcic_read_encryption_key_size()
1341 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_failed_contact_counter() local
1342 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_failed_contact_counter()
1344 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_failed_contact_counter()
1345 p->offset = 0; in btsnd_hcic_read_failed_contact_counter()
1352 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_failed_contact_counter()
1356 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_read_automatic_flush_timeout() local
1357 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_read_automatic_flush_timeout()
1359 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_CMD_HANDLE; in btsnd_hcic_read_automatic_flush_timeout()
1360 p->offset = 0; in btsnd_hcic_read_automatic_flush_timeout()
1367 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_read_automatic_flush_timeout()
1371 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_enable_test_mode() local
1372 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_enable_test_mode()
1374 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_READ_CMD; in btsnd_hcic_enable_test_mode()
1375 p->offset = 0; in btsnd_hcic_enable_test_mode()
1380 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_enable_test_mode()
1384 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inqscan_type() local
1385 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inqscan_type()
1387 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_inqscan_type()
1388 p->offset = 0; in btsnd_hcic_write_inqscan_type()
1395 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inqscan_type()
1399 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_inquiry_mode() local
1400 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_inquiry_mode()
1402 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_inquiry_mode()
1403 p->offset = 0; in btsnd_hcic_write_inquiry_mode()
1410 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_inquiry_mode()
1414 BT_HDR* p = (BT_HDR*)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_write_pagescan_type() local
1415 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_write_pagescan_type()
1417 p->len = HCIC_PREAMBLE_SIZE + HCIC_PARAM_SIZE_WRITE_PARAM1; in btsnd_hcic_write_pagescan_type()
1418 p->offset = 0; in btsnd_hcic_write_pagescan_type()
1425 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_write_pagescan_type()
1435 BT_HDR* p = (BT_HDR*)buffer; in btsnd_hcic_vendor_spec_cmd() local
1436 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_vendor_spec_cmd()
1438 p->len = HCIC_PREAMBLE_SIZE + len; in btsnd_hcic_vendor_spec_cmd()
1439 p->offset = sizeof(void*); in btsnd_hcic_vendor_spec_cmd()
1449 btu_hcif_send_cmd(LOCAL_BR_EDR_CONTROLLER_ID, p); in btsnd_hcic_vendor_spec_cmd()