Searched refs:param_cp (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/net/bluetooth/ |
H A D | hci_request.c | 263 struct hci_cp_le_set_scan_param param_cp; hci_req_add_le_passive_scan() local 297 memset(¶m_cp, 0, sizeof(param_cp)); hci_req_add_le_passive_scan() 298 param_cp.type = LE_SCAN_PASSIVE; hci_req_add_le_passive_scan() 299 param_cp.interval = cpu_to_le16(hdev->le_scan_interval); hci_req_add_le_passive_scan() 300 param_cp.window = cpu_to_le16(hdev->le_scan_window); hci_req_add_le_passive_scan() 301 param_cp.own_address_type = own_addr_type; hci_req_add_le_passive_scan() 302 param_cp.filter_policy = filter_policy; hci_req_add_le_passive_scan() 303 hci_req_add(req, HCI_OP_LE_SET_SCAN_PARAM, sizeof(param_cp), hci_req_add_le_passive_scan() 304 ¶m_cp); hci_req_add_le_passive_scan()
|
H A D | mgmt.c | 4197 struct hci_cp_le_set_scan_param param_cp; trigger_le_scan() local 4236 memset(¶m_cp, 0, sizeof(param_cp)); trigger_le_scan() 4237 param_cp.type = LE_SCAN_ACTIVE; trigger_le_scan() 4238 param_cp.interval = cpu_to_le16(interval); trigger_le_scan() 4239 param_cp.window = cpu_to_le16(DISCOV_LE_SCAN_WIN); trigger_le_scan() 4240 param_cp.own_address_type = own_addr_type; trigger_le_scan() 4242 hci_req_add(req, HCI_OP_LE_SET_SCAN_PARAM, sizeof(param_cp), trigger_le_scan() 4243 ¶m_cp); trigger_le_scan()
|
Completed in 111 milliseconds