Lines Matching defs:id
78 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg)
89 info->event_cb[info->num_event_cb].vendor_id = id;
94 arg, func, id, subcmd, info->num_event_cb);
129 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd)
138 && info->event_cb[i].vendor_id == id
141 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i);
153 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd)
157 ALOGV("registering command %d", id);
162 info->cmd[info->num_cmd].id = id;
164 ALOGV("Successfully added command %d: %p at %d", id, cmd, info->num_cmd);
169 id, cmd, info->num_cmd, info->alloc_cmd);
175 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id)
179 ALOGV("un-registering command %d", id);
184 if (info->cmd[i].id == id) {
188 ALOGV("Successfully removed command %d: %p from %d", id, cmd, i);
194 ALOGI("Failed to remove command %d: %p", id, cmd);
200 WifiCommand *wifi_get_cmd(wifi_handle handle, int id)
207 if (info->cmd[i].id == id) {
222 int id = info->cmd[i].id;
225 ALOGV("Successfully removed command %d: %p from %d", id, cmd, i);
231 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface)
235 WifiCommand *cmd = wifi_unregister_cmd(handle, id);