• Home
  • Raw
  • Download

Lines Matching refs:ev

969 	struct cfg80211_event *ev;  in cfg80211_connect_done()  local
981 ev = kzalloc(sizeof(*ev) + (params->ap_mld_addr ? ETH_ALEN : 0) + in cfg80211_connect_done()
987 if (!ev) { in cfg80211_connect_done()
994 ev->type = EVENT_CONNECT_RESULT; in cfg80211_connect_done()
995 next = ((u8 *)ev) + sizeof(*ev); in cfg80211_connect_done()
997 ev->cr.ap_mld_addr = next; in cfg80211_connect_done()
998 memcpy((void *)ev->cr.ap_mld_addr, params->ap_mld_addr, in cfg80211_connect_done()
1003 ev->cr.req_ie = next; in cfg80211_connect_done()
1004 ev->cr.req_ie_len = params->req_ie_len; in cfg80211_connect_done()
1005 memcpy((void *)ev->cr.req_ie, params->req_ie, in cfg80211_connect_done()
1010 ev->cr.resp_ie = next; in cfg80211_connect_done()
1011 ev->cr.resp_ie_len = params->resp_ie_len; in cfg80211_connect_done()
1012 memcpy((void *)ev->cr.resp_ie, params->resp_ie, in cfg80211_connect_done()
1017 ev->cr.fils.kek = next; in cfg80211_connect_done()
1018 ev->cr.fils.kek_len = params->fils.kek_len; in cfg80211_connect_done()
1019 memcpy((void *)ev->cr.fils.kek, params->fils.kek, in cfg80211_connect_done()
1024 ev->cr.fils.pmk = next; in cfg80211_connect_done()
1025 ev->cr.fils.pmk_len = params->fils.pmk_len; in cfg80211_connect_done()
1026 memcpy((void *)ev->cr.fils.pmk, params->fils.pmk, in cfg80211_connect_done()
1031 ev->cr.fils.pmkid = next; in cfg80211_connect_done()
1032 memcpy((void *)ev->cr.fils.pmkid, params->fils.pmkid, in cfg80211_connect_done()
1036 ev->cr.fils.update_erp_next_seq_num = params->fils.update_erp_next_seq_num; in cfg80211_connect_done()
1038 ev->cr.fils.erp_next_seq_num = params->fils.erp_next_seq_num; in cfg80211_connect_done()
1039 ev->cr.valid_links = params->valid_links; in cfg80211_connect_done()
1044 ev->cr.links[link].bss = params->links[link].bss; in cfg80211_connect_done()
1047 ev->cr.links[link].addr = next; in cfg80211_connect_done()
1048 memcpy((void *)ev->cr.links[link].addr, in cfg80211_connect_done()
1054 ev->cr.links[link].bssid = next; in cfg80211_connect_done()
1055 memcpy((void *)ev->cr.links[link].bssid, in cfg80211_connect_done()
1061 ev->cr.status = params->status; in cfg80211_connect_done()
1062 ev->cr.timeout_reason = params->timeout_reason; in cfg80211_connect_done()
1065 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_connect_done()
1165 struct cfg80211_event *ev; in cfg80211_roamed() local
1197 ev = kzalloc(sizeof(*ev) + info->req_ie_len + info->resp_ie_len + in cfg80211_roamed()
1201 if (!ev) in cfg80211_roamed()
1204 ev->type = EVENT_ROAMED; in cfg80211_roamed()
1205 next = ((u8 *)ev) + sizeof(*ev); in cfg80211_roamed()
1207 ev->rm.req_ie = next; in cfg80211_roamed()
1208 ev->rm.req_ie_len = info->req_ie_len; in cfg80211_roamed()
1209 memcpy((void *)ev->rm.req_ie, info->req_ie, info->req_ie_len); in cfg80211_roamed()
1213 ev->rm.resp_ie = next; in cfg80211_roamed()
1214 ev->rm.resp_ie_len = info->resp_ie_len; in cfg80211_roamed()
1215 memcpy((void *)ev->rm.resp_ie, info->resp_ie, in cfg80211_roamed()
1220 ev->rm.fils.kek = next; in cfg80211_roamed()
1221 ev->rm.fils.kek_len = info->fils.kek_len; in cfg80211_roamed()
1222 memcpy((void *)ev->rm.fils.kek, info->fils.kek, in cfg80211_roamed()
1227 ev->rm.fils.pmk = next; in cfg80211_roamed()
1228 ev->rm.fils.pmk_len = info->fils.pmk_len; in cfg80211_roamed()
1229 memcpy((void *)ev->rm.fils.pmk, info->fils.pmk, in cfg80211_roamed()
1234 ev->rm.fils.pmkid = next; in cfg80211_roamed()
1235 memcpy((void *)ev->rm.fils.pmkid, info->fils.pmkid, in cfg80211_roamed()
1239 ev->rm.fils.update_erp_next_seq_num = info->fils.update_erp_next_seq_num; in cfg80211_roamed()
1241 ev->rm.fils.erp_next_seq_num = info->fils.erp_next_seq_num; in cfg80211_roamed()
1243 ev->rm.ap_mld_addr = next; in cfg80211_roamed()
1244 memcpy((void *)ev->rm.ap_mld_addr, info->ap_mld_addr, in cfg80211_roamed()
1248 ev->rm.valid_links = info->valid_links; in cfg80211_roamed()
1250 ev->rm.links[link].bss = info->links[link].bss; in cfg80211_roamed()
1253 ev->rm.links[link].addr = next; in cfg80211_roamed()
1254 memcpy((void *)ev->rm.links[link].addr, in cfg80211_roamed()
1261 ev->rm.links[link].bssid = next; in cfg80211_roamed()
1262 memcpy((void *)ev->rm.links[link].bssid, in cfg80211_roamed()
1270 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_roamed()
1304 struct cfg80211_event *ev; in cfg80211_port_authorized() local
1310 ev = kzalloc(sizeof(*ev) + td_bitmap_len, gfp); in cfg80211_port_authorized()
1311 if (!ev) in cfg80211_port_authorized()
1314 ev->type = EVENT_PORT_AUTHORIZED; in cfg80211_port_authorized()
1315 memcpy(ev->pa.bssid, bssid, ETH_ALEN); in cfg80211_port_authorized()
1316 ev->pa.td_bitmap = ((u8 *)ev) + sizeof(*ev); in cfg80211_port_authorized()
1317 ev->pa.td_bitmap_len = td_bitmap_len; in cfg80211_port_authorized()
1318 memcpy((void *)ev->pa.td_bitmap, td_bitmap, td_bitmap_len); in cfg80211_port_authorized()
1325 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_port_authorized()
1398 struct cfg80211_event *ev; in cfg80211_disconnected() local
1401 ev = kzalloc(sizeof(*ev) + ie_len, gfp); in cfg80211_disconnected()
1402 if (!ev) in cfg80211_disconnected()
1405 ev->type = EVENT_DISCONNECTED; in cfg80211_disconnected()
1406 ev->dc.ie = ((u8 *)ev) + sizeof(*ev); in cfg80211_disconnected()
1407 ev->dc.ie_len = ie_len; in cfg80211_disconnected()
1408 memcpy((void *)ev->dc.ie, ie, ie_len); in cfg80211_disconnected()
1409 ev->dc.reason = reason; in cfg80211_disconnected()
1410 ev->dc.locally_generated = locally_generated; in cfg80211_disconnected()
1413 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_disconnected()