Lines Matching refs:id

98         uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg)  in wifi_register_vendor_handler()  argument
116 (info->event_cb[i].vendor_id == id) && in wifi_register_vendor_handler()
128 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler()
135 is_update ? "Updated" : "Added", arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler()
169 void wifi_unregister_vendor_handler_without_lock(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler_without_lock() argument
175 && info->event_cb[i].vendor_id == id in wifi_unregister_vendor_handler_without_lock()
178 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i); in wifi_unregister_vendor_handler_without_lock()
187 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() argument
192 wifi_unregister_vendor_handler_without_lock(handle, id, subcmd); in wifi_unregister_vendor_handler()
196 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd() argument
200 ALOGV("registering command %d", id); in wifi_register_cmd()
205 info->cmd[info->num_cmd].id = id; in wifi_register_cmd()
207 ALOGV("Successfully added command %d: %p at %d", id, cmd, info->num_cmd); in wifi_register_cmd()
212 id, cmd, info->num_cmd, info->alloc_cmd); in wifi_register_cmd()
218 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id) in wifi_unregister_cmd() argument
222 ALOGV("un-registering command %d", id); in wifi_unregister_cmd()
227 if (info->cmd[i].id == id) { in wifi_unregister_cmd()
231 ALOGV("Successfully removed command %d: %p from %d", id, cmd, i); in wifi_unregister_cmd()
237 ALOGI("Failed to remove command %d: %p", id, cmd); in wifi_unregister_cmd()
243 WifiCommand *wifi_get_cmd(wifi_handle handle, int id) in wifi_get_cmd() argument
250 if (info->cmd[i].id == id) { in wifi_get_cmd()
265 int id = info->cmd[i].id; in wifi_unregister_cmd() local
268 ALOGV("Successfully removed command %d: %p from %d", id, cmd, i); in wifi_unregister_cmd()
274 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface) in wifi_cancel_cmd() argument
278 WifiCommand *cmd = wifi_unregister_cmd(handle, id); in wifi_cancel_cmd()
289 wifi_error wifi_get_cancel_cmd(wifi_request_id id, wifi_interface_handle iface) in wifi_get_cancel_cmd() argument
292 WifiCommand *cmd = wifi_get_cmd(handle, id); in wifi_get_cancel_cmd()