Lines Matching refs:pp
41 UINT8 *pp;
46 pp = (UINT8 *)(p + 1);
51 UINT16_TO_STREAM (pp, HCI_BLE_RESET);
52 UINT8_TO_STREAM (pp, 0);
62 UINT8 *pp;
67 pp = (UINT8 *)(p + 1);
72 UINT16_TO_STREAM (pp, HCI_BLE_SET_EVENT_MASK);
73 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SET_EVENT_MASK);
74 ARRAY8_TO_STREAM (pp, event_mask);
84 UINT8 *pp;
89 pp = (UINT8 *)(p + 1);
94 UINT16_TO_STREAM (pp, HCI_BLE_READ_BUFFER_SIZE);
95 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
104 UINT8 *pp;
109 pp = (UINT8 *)(p + 1);
114 UINT16_TO_STREAM (pp, HCI_BLE_READ_LOCAL_SPT_FEAT);
115 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
124 UINT8 *pp;
129 pp = (UINT8 *)(p + 1);
134 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT);
135 ARRAY_TO_STREAM (pp, feat_set, HCIC_PARAM_SIZE_SET_USED_FEAT_CMD);
144 UINT8 *pp;
149 pp = (UINT8 *)(p + 1);
154 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_RANDOM_ADDR);
155 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD);
157 BDADDR_TO_STREAM (pp, random_bda);
169 UINT8 *pp;
174 pp = (UINT8 *)(p + 1);
179 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_PARAMS);
180 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS );
182 UINT16_TO_STREAM (pp, adv_int_min);
183 UINT16_TO_STREAM (pp, adv_int_max);
184 UINT8_TO_STREAM (pp, adv_type);
185 UINT8_TO_STREAM (pp, addr_type_own);
186 UINT8_TO_STREAM (pp, addr_type_dir);
187 BDADDR_TO_STREAM (pp, direct_bda);
188 UINT8_TO_STREAM (pp, channel_map);
189 UINT8_TO_STREAM (pp, adv_filter_policy);
197 UINT8 *pp;
202 pp = (UINT8 *)(p + 1);
207 UINT16_TO_STREAM (pp, HCI_BLE_READ_ADV_CHNL_TX_POWER);
208 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
218 UINT8 *pp;
223 pp = (UINT8 *)(p + 1);
228 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_DATA);
229 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1);
231 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA);
238 UINT8_TO_STREAM (pp, data_len);
240 ARRAY_TO_STREAM (pp, p_data, data_len);
249 UINT8 *pp;
254 pp = (UINT8 *)(p + 1);
259 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_SCAN_RSP_DATA);
260 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP + 1);
262 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP);
270 UINT8_TO_STREAM (pp, data_len);
272 ARRAY_TO_STREAM (pp, p_scan_rsp, data_len);
283 UINT8 *pp;
288 pp = (UINT8 *)(p + 1);
293 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_ADV_ENABLE);
294 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_ADV_ENABLE);
296 UINT8_TO_STREAM (pp, adv_enable);
306 UINT8 *pp;
311 pp = (UINT8 *)(p + 1);
316 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_SCAN_PARAMS);
317 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_PARAM);
319 UINT8_TO_STREAM (pp, scan_type);
320 UINT16_TO_STREAM (pp, scan_int);
321 UINT16_TO_STREAM (pp, scan_win);
322 UINT8_TO_STREAM (pp, addr_type_own);
323 UINT8_TO_STREAM (pp, scan_filter_policy);
332 UINT8 *pp;
337 pp = (UINT8 *)(p + 1);
342 UINT16_TO_STREAM (pp, HCI_BLE_WRITE_SCAN_ENABLE);
343 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_ENABLE);
345 UINT8_TO_STREAM (pp, scan_enable);
346 UINT8_TO_STREAM (pp, duplicate);
362 UINT8 *pp;
367 pp = (UINT8 *)(p + 1);
372 UINT16_TO_STREAM (pp, HCI_BLE_CREATE_LL_CONN);
373 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_CREATE_LL_CONN);
375 UINT16_TO_STREAM (pp, scan_int);
376 UINT16_TO_STREAM (pp, scan_win);
377 UINT8_TO_STREAM (pp, init_filter_policy);
379 UINT8_TO_STREAM (pp, addr_type_peer);
380 BDADDR_TO_STREAM (pp, bda_peer);
381 UINT8_TO_STREAM (pp, addr_type_own);
383 UINT16_TO_STREAM (pp, conn_int_min);
384 UINT16_TO_STREAM (pp, conn_int_max);
385 UINT16_TO_STREAM (pp, conn_latency);
386 UINT16_TO_STREAM (pp, conn_timeout);
388 UINT16_TO_STREAM (pp, min_ce_len);
389 UINT16_TO_STREAM (pp, max_ce_len);
398 UINT8 *pp;
403 pp = (UINT8 *)(p + 1);
408 UINT16_TO_STREAM (pp, HCI_BLE_CREATE_CONN_CANCEL);
409 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_CREATE_CONN_CANCEL);
418 UINT8 *pp;
423 pp = (UINT8 *)(p + 1);
428 UINT16_TO_STREAM (pp, HCI_BLE_READ_WHITE_LIST_SIZE);
429 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
438 UINT8 *pp;
443 pp = (UINT8 *)(p + 1);
448 UINT16_TO_STREAM (pp, HCI_BLE_CLEAR_WHITE_LIST);
449 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_CLEAR_WHITE_LIST);
458 UINT8 *pp;
463 pp = (UINT8 *)(p + 1);
468 UINT16_TO_STREAM (pp, HCI_BLE_ADD_WHITE_LIST);
469 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_ADD_WHITE_LIST);
471 UINT8_TO_STREAM (pp, addr_type);
472 BDADDR_TO_STREAM (pp, bda);
481 UINT8 *pp;
486 pp = (UINT8 *)(p + 1);
491 UINT16_TO_STREAM (pp, HCI_BLE_REMOVE_WHITE_LIST);
492 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_REMOVE_WHITE_LIST);
494 UINT8_TO_STREAM (pp, addr_type);
495 BDADDR_TO_STREAM (pp, bda);
507 UINT8 *pp;
512 pp = (UINT8 *)(p + 1);
517 UINT16_TO_STREAM (pp, HCI_BLE_UPD_LL_CONN_PARAMS);
518 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_UPD_LL_CONN_PARAMS);
520 UINT16_TO_STREAM (pp, handle);
522 UINT16_TO_STREAM (pp, conn_int_min);
523 UINT16_TO_STREAM (pp, conn_int_max);
524 UINT16_TO_STREAM (pp, conn_latency);
525 UINT16_TO_STREAM (pp, conn_timeout);
526 UINT16_TO_STREAM (pp, min_ce_len);
527 UINT16_TO_STREAM (pp, max_ce_len);
536 UINT8 *pp;
541 pp = (UINT8 *)(p + 1);
546 UINT16_TO_STREAM (pp, HCI_BLE_SET_HOST_CHNL_CLASS);
547 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_SET_HOST_CHNL_CLASS);
549 ARRAY_TO_STREAM (pp, chnl_map, HCIC_BLE_CHNL_MAP_SIZE);
558 UINT8 *pp;
563 pp = (UINT8 *)(p + 1);
568 UINT16_TO_STREAM (pp, HCI_BLE_READ_CHNL_MAP);
569 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CHNL_MAP);
571 UINT16_TO_STREAM (pp, handle);
580 UINT8 *pp;
585 pp = (UINT8 *)(p + 1);
590 UINT16_TO_STREAM (pp, HCI_BLE_READ_REMOTE_FEAT);
591 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_READ_REMOTE_FEAT);
593 UINT16_TO_STREAM (pp, handle);
605 UINT8 *pp;
611 pp = (UINT8 *)(p + 1);
616 *((void **)pp) = p_cmd_cplt_cback; /* Store command complete callback in buffer */
617 pp += sizeof(void *); /* Skip over callback pointer */
620 UINT16_TO_STREAM (pp, HCI_BLE_ENCRYPT);
621 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_ENCRYPT);
623 memset(pp, 0, HCIC_PARAM_SIZE_BLE_ENCRYPT);
628 ARRAY_TO_STREAM (pp, key, key_len);
629 pp += (HCIC_BLE_ENCRYT_KEY_SIZE - key_len);
630 ARRAY_TO_STREAM (pp, plain_text, pt_len);
639 UINT8 *pp;
645 pp = (UINT8 *)(p + 1);
650 *((void **)pp) = p_cmd_cplt_cback; /* Store command complete callback in buffer */
651 pp += sizeof(void *); /* Skip over callback pointer */
653 UINT16_TO_STREAM (pp, HCI_BLE_RAND);
654 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_RAND);
664 UINT8 *pp;
669 pp = (UINT8 *)(p + 1);
674 UINT16_TO_STREAM (pp, HCI_BLE_START_ENC);
675 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_BLE_START_ENC);
677 UINT16_TO_STREAM (pp, handle);
678 ARRAY_TO_STREAM (pp, rand, HCIC_BLE_RAND_DI_SIZE);
679 UINT16_TO_STREAM (pp, ediv);
680 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE);
689 UINT8 *pp;
694 pp = (UINT8 *)(p + 1);
699 UINT16_TO_STREAM (pp, HCI_BLE_LTK_REQ_REPLY);
700 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_LTK_REQ_REPLY);
702 UINT16_TO_STREAM (pp, handle);
703 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE);
712 UINT8 *pp;
717 pp = (UINT8 *)(p + 1);
722 UINT16_TO_STREAM (pp, HCI_BLE_LTK_REQ_NEG_REPLY);
723 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_LTK_REQ_NEG_REPLY);
725 UINT16_TO_STREAM (pp, handle);
734 UINT8 *pp;
739 pp = (UINT8 *)(p + 1);
744 UINT16_TO_STREAM (pp, HCI_BLE_READ_SUPPORTED_STATES);
745 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
754 UINT8 *pp;
759 pp = (UINT8 *)(p + 1);
764 UINT16_TO_STREAM (pp, HCI_BLE_RECEIVER_TEST);
765 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM1);
767 UINT8_TO_STREAM (pp, rx_freq);
776 UINT8 *pp;
781 pp = (UINT8 *)(p + 1);
786 UINT16_TO_STREAM (pp, HCI_BLE_TRANSMITTER_TEST);
787 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_PARAM3);
789 UINT8_TO_STREAM (pp, tx_freq);
790 UINT8_TO_STREAM (pp, test_data_len);
791 UINT8_TO_STREAM (pp, payload);
800 UINT8 *pp;
805 pp = (UINT8 *)(p + 1);
810 UINT16_TO_STREAM (pp, HCI_BLE_TEST_END);
811 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
820 UINT8 *pp;
825 pp = (UINT8 *)(p + 1);
830 UINT16_TO_STREAM (pp, HCI_READ_LE_HOST_SUPPORTED);
831 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_READ_CMD);
840 UINT8 *pp;
845 pp = (UINT8 *)(p + 1);
850 UINT16_TO_STREAM (pp, HCI_WRITE_LE_HOST_SUPPORTED);
851 UINT8_TO_STREAM (pp, HCIC_PARAM_SIZE_WRITE_LE_HOST_SUPPORTED);
852 UINT8_TO_STREAM (pp, le_host_spt);
853 UINT8_TO_STREAM (pp, simul_le_host_spt);