Home
last modified time | relevance | path

Searched refs:set_param (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c383 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
400 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
401 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
402 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
403 set_param.channel_map = 0x07; in start_adv()
404 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
405 set_param.type = BT_HCI_ADV_IND; in start_adv()
406 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
408 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
410 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c430 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
434 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
436 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
437 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
438 set_param.channel_map = 0x07; in start_adv()
439 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
440 set_param.type = BT_HCI_ADV_IND; in start_adv()
441 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
444 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
445 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c452 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
456 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
458 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
459 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
460 set_param.channel_map = 0x07; in start_adv()
461 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
462 set_param.type = BT_HCI_ADV_IND; in start_adv()
463 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
466 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
467 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c476 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
480 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
482 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
483 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
484 set_param.channel_map = 0x07; in start_adv()
485 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
486 set_param.type = BT_HCI_ADV_IND; in start_adv()
487 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
490 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
491 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c432 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
435 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
437 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
438 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
439 set_param.channel_map = 0x07; in start_adv()
440 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
441 set_param.type = BT_HCI_ADV_IND; in start_adv()
442 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
444 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
446 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c448 struct bt_hci_cp_le_set_adv_param set_param; in start_adv() local
465 (void)memset(&set_param, 0, sizeof(set_param)); in start_adv()
466 set_param.min_interval = sys_cpu_to_le16(interval); in start_adv()
467 set_param.max_interval = sys_cpu_to_le16(interval); in start_adv()
468 set_param.channel_map = 0x07; in start_adv()
469 set_param.filter_policy = BT_LE_ADV_FP_NO_FILTER; in start_adv()
470 set_param.type = BT_HCI_ADV_IND; in start_adv()
471 set_param.own_addr_type = BT_HCI_OWN_ADDR_RANDOM; in start_adv()
473 buf = bt_hci_cmd_create(BT_HCI_OP_LE_SET_ADV_PARAM, sizeof(set_param)); in start_adv()
475 net_buf_add_mem(buf, &set_param, sizeof(set_param)); in start_adv()
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c219 struct bt_hci_cp_le_set_ext_scan_param *set_param; in start_le_scan_ext() local
245 sizeof(*set_param) + in start_le_scan_ext()
252 set_param = net_buf_add(buf, sizeof(*set_param)); in start_le_scan_ext()
253 set_param->own_addr_type = own_addr_type; in start_le_scan_ext()
254 set_param->phys = 0; in start_le_scan_ext()
255 set_param->filter_policy = scan_param->options & BT_LE_SCAN_OPT_FILTER_ACCEPT_LIST in start_le_scan_ext()
260 set_param->phys |= BT_HCI_LE_EXT_SCAN_PHY_1M; in start_le_scan_ext()
265 set_param->phys |= BT_HCI_LE_EXT_SCAN_PHY_CODED; in start_le_scan_ext()
286 struct bt_hci_cp_le_set_scan_param set_param; in start_le_scan_legacy() local
291 (void)memset(&set_param, 0, sizeof(set_param)); in start_le_scan_legacy()
[all …]
Dadv.c975 struct bt_hci_cp_le_set_adv_param set_param; in bt_le_adv_start_legacy() local
999 (void)memset(&set_param, 0, sizeof(set_param)); in bt_le_adv_start_legacy()
1001 set_param.min_interval = sys_cpu_to_le16(param->interval_min); in bt_le_adv_start_legacy()
1002 set_param.max_interval = sys_cpu_to_le16(param->interval_max); in bt_le_adv_start_legacy()
1003 set_param.channel_map = get_adv_channel_map(param->options); in bt_le_adv_start_legacy()
1004 set_param.filter_policy = get_filter_policy(param->options); in bt_le_adv_start_legacy()
1012 &set_param.own_addr_type); in bt_le_adv_start_legacy()
1028 set_param.type = BT_HCI_ADV_DIRECT_IND_LOW_DUTY; in bt_le_adv_start_legacy()
1030 set_param.type = BT_HCI_ADV_DIRECT_IND; in bt_le_adv_start_legacy()
1033 bt_addr_le_copy(&set_param.direct_addr, param->peer); in bt_le_adv_start_legacy()
[all …]