Lines Matching refs:event_cb
82 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
84 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
85 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
86 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
115 if ((info->event_cb[i].nl_cmd == NL80211_CMD_VENDOR) && in wifi_register_vendor_handler()
116 (info->event_cb[i].vendor_id == id) && in wifi_register_vendor_handler()
117 (info->event_cb[i].vendor_subcmd == subcmd)) { in wifi_register_vendor_handler()
124 info->event_cb[i].cb_func = func; in wifi_register_vendor_handler()
125 info->event_cb[i].cb_arg = arg; in wifi_register_vendor_handler()
127 info->event_cb[info->num_event_cb].nl_cmd = NL80211_CMD_VENDOR; in wifi_register_vendor_handler()
128 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler()
129 info->event_cb[info->num_event_cb].vendor_subcmd = subcmd; in wifi_register_vendor_handler()
130 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_vendor_handler()
131 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
155 if (info->event_cb[i].nl_cmd == cmd) { in wifi_unregister_handler()
157 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, cmd, i); in wifi_unregister_handler()
159 memmove(&info->event_cb[i], &info->event_cb[i+1], in wifi_unregister_handler()
174 if (info->event_cb[i].nl_cmd == NL80211_CMD_VENDOR in wifi_unregister_vendor_handler_without_lock()
175 && info->event_cb[i].vendor_id == id in wifi_unregister_vendor_handler_without_lock()
176 && info->event_cb[i].vendor_subcmd == subcmd) { 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()
179 memmove(&info->event_cb[i], &info->event_cb[i+1], in wifi_unregister_vendor_handler_without_lock()