Lines Matching refs:cp
31 struct bt_hci_cp_mesh_advertise *cp; in cmd_mesh_adv() local
35 sizeof(*cp)); in cmd_mesh_adv()
43 cp = net_buf_add(buf, sizeof(*cp)); in cmd_mesh_adv()
44 cp->adv_slot = 0U; in cmd_mesh_adv()
45 cp->own_addr_type = 0x01; in cmd_mesh_adv()
46 memset(&cp->random_addr, 0, sizeof(bt_addr_t)); in cmd_mesh_adv()
47 cp->ch_map = 0x07; in cmd_mesh_adv()
48 cp->tx_power = 0; in cmd_mesh_adv()
49 cp->min_tx_delay = 0U; in cmd_mesh_adv()
50 cp->max_tx_delay = 0x32; in cmd_mesh_adv()
51 cp->retx_count = 0x07; in cmd_mesh_adv()
52 cp->retx_interval = 0x00; in cmd_mesh_adv()
53 cp->scan_delay = 0x0a; in cmd_mesh_adv()
54 cp->scan_duration = sys_cpu_to_le16(0x0064); in cmd_mesh_adv()
55 cp->scan_filter = 0x00; in cmd_mesh_adv()
56 cp->data_len = 0U; in cmd_mesh_adv()
57 memset(cp->data, 0, sizeof(cp->data)); in cmd_mesh_adv()
59 struct bt_hci_cp_mesh_advertise_cancel *cp; in cmd_mesh_adv() local
63 sizeof(*cp)); in cmd_mesh_adv()
70 cp = net_buf_add(buf, sizeof(*cp)); in cmd_mesh_adv()
71 cp->adv_slot = 0U; in cmd_mesh_adv()