Lines Matching refs:event_cb

68         if(info->event_cb[i].nl_cmd == cmd &&  in wifi_register_handler()
69 info->event_cb[i].cb_arg == arg) { in wifi_register_handler()
70 info->event_cb[i].cb_func = func; in wifi_register_handler()
79 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
80 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
82 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
105 if(info->event_cb[i].vendor_id == id && in wifi_register_vendor_handler()
106 info->event_cb[i].vendor_subcmd == subcmd) in wifi_register_vendor_handler()
108 info->event_cb[i].cb_func = func; in wifi_register_vendor_handler()
109 info->event_cb[i].cb_arg = arg; in wifi_register_vendor_handler()
118 info->event_cb[info->num_event_cb].nl_cmd = NL80211_CMD_VENDOR; in wifi_register_vendor_handler()
119 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler()
120 info->event_cb[info->num_event_cb].vendor_subcmd = subcmd; in wifi_register_vendor_handler()
121 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_vendor_handler()
122 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
147 if (info->event_cb[i].nl_cmd == cmd) { in wifi_unregister_handler()
152 memmove(&info->event_cb[i], &info->event_cb[i+1], in wifi_unregister_handler()
172 if (info->event_cb[i].nl_cmd == NL80211_CMD_VENDOR in wifi_unregister_vendor_handler()
173 && info->event_cb[i].vendor_id == id in wifi_unregister_vendor_handler()
174 && info->event_cb[i].vendor_subcmd == subcmd) { in wifi_unregister_vendor_handler()
179 memmove(&info->event_cb[i], &info->event_cb[i+1], in wifi_unregister_vendor_handler()