Lines Matching refs:custom
234 wpa_driver_wext_event_wireless_custom(void *ctx, char *custom) in wpa_driver_wext_event_wireless_custom() argument
239 custom); in wpa_driver_wext_event_wireless_custom()
243 if (os_strncmp(custom, "MLME-MICHAELMICFAILURE.indication", 33) == 0) { in wpa_driver_wext_event_wireless_custom()
245 os_strstr(custom, " unicast ") != NULL; in wpa_driver_wext_event_wireless_custom()
248 } else if (os_strncmp(custom, "ASSOCINFO(ReqIEs=", 17) == 0) { in wpa_driver_wext_event_wireless_custom()
253 spos = custom + 17; in wpa_driver_wext_event_wireless_custom()
294 } else if (os_strncmp(custom, "STKSTART.request=", 17) == 0) { in wpa_driver_wext_event_wireless_custom()
295 if (hwaddr_aton(custom + 17, data.stkstart.peer)) { in wpa_driver_wext_event_wireless_custom()
297 "STKSTART.request '%s'", custom + 17); in wpa_driver_wext_event_wireless_custom()
428 char *pos, *end, *custom, *buf; in wpa_driver_wext_event_wireless() local
442 custom = pos + IW_EV_POINT_LEN; in wpa_driver_wext_event_wireless()
456 custom += IW_EV_POINT_OFF; in wpa_driver_wext_event_wireless()
483 if (iwe->u.data.length > end - custom) { in wpa_driver_wext_event_wireless()
489 drv->ctx, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless()
492 if (iwe->u.data.length > end - custom) { in wpa_driver_wext_event_wireless()
497 buf = dup_binstr(custom, iwe->u.data.length); in wpa_driver_wext_event_wireless()
511 if (iwe->u.data.length > end - custom) { in wpa_driver_wext_event_wireless()
517 drv, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless()
520 if (iwe->u.data.length > end - custom) { in wpa_driver_wext_event_wireless()
526 drv, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless()
529 if (iwe->u.data.length > end - custom) { in wpa_driver_wext_event_wireless()
535 drv, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless()
1220 struct wext_scan_data *res, char *custom, in wext_get_scan_ssid() argument
1224 if (ssid_len > end - custom) in wext_get_scan_ssid()
1229 os_memcpy(res->ssid, custom, ssid_len); in wext_get_scan_ssid()
1315 char *custom = pos + IW_EV_LCP_LEN; in wext_get_scan_rate() local
1320 if (clen > (size_t) (end - custom)) in wext_get_scan_rate()
1325 os_memcpy(&p, custom, sizeof(struct iw_param)); in wext_get_scan_rate()
1329 custom += sizeof(struct iw_param); in wext_get_scan_rate()
1340 struct wext_scan_data *res, char *custom, in wext_get_scan_iwevgenie() argument
1349 gpos = genie = custom; in wext_get_scan_iwevgenie()
1366 struct wext_scan_data *res, char *custom, in wext_get_scan_custom() argument
1373 if (clen > (size_t) (end - custom)) in wext_get_scan_custom()
1376 if (clen > 7 && os_strncmp(custom, "wpa_ie=", 7) == 0) { in wext_get_scan_custom()
1379 spos = custom + 7; in wext_get_scan_custom()
1380 bytes = custom + clen - spos; in wext_get_scan_custom()
1391 } else if (clen > 7 && os_strncmp(custom, "rsn_ie=", 7) == 0) { in wext_get_scan_custom()
1394 spos = custom + 7; in wext_get_scan_custom()
1395 bytes = custom + clen - spos; in wext_get_scan_custom()
1406 } else if (clen > 4 && os_strncmp(custom, "tsf=", 4) == 0) { in wext_get_scan_custom()
1410 spos = custom + 4; in wext_get_scan_custom()
1411 bytes = custom + clen - spos; in wext_get_scan_custom()
1514 char *pos, *end, *custom; in wpa_driver_wext_get_scan_results() local
1541 custom = pos + IW_EV_POINT_LEN; in wpa_driver_wext_get_scan_results()
1550 custom += IW_EV_POINT_OFF; in wpa_driver_wext_get_scan_results()
1567 wext_get_scan_ssid(iwe, &data, custom, end); in wpa_driver_wext_get_scan_results()
1582 wext_get_scan_iwevgenie(iwe, &data, custom, end); in wpa_driver_wext_get_scan_results()
1585 wext_get_scan_custom(iwe, &data, custom, end); in wpa_driver_wext_get_scan_results()