Home
last modified time | relevance | path

Searched refs:escan_result (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgscan.c382 wl_escan_result_t *escan_result; in wl_escan_handler() local
407 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
413 bi_info = (wl_bss_info_v109_2_t *)escan_result->bss_info; in wl_escan_handler()
430 if (!escan_result) { in wl_escan_handler()
434 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
435 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler()
436 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler()
439 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
440 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_escan_handler()
443 bi = escan_result->bss_info; in wl_escan_handler()
[all …]
H A Ddhd_common.c2977 wl_escan_result_v2_t *escan_result = in wl_show_host_event() local
2979 BCM_REFERENCE(escan_result); in wl_show_host_event()
2984 dtoh16(escan_result->sync_id))); in wl_show_host_event()
2991 event_name, event_type, eabuf, (int)status, dtoh16(escan_result->sync_id))); in wl_show_host_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgscan.c377 wl_escan_result_t *escan_result; in wl_escan_handler() local
402 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
408 bi_info = (wl_bss_info_v109_2_t *)escan_result->bss_info; in wl_escan_handler()
425 if (!escan_result) { in wl_escan_handler()
429 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
430 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler()
431 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler()
434 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
435 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_escan_handler()
438 bi = escan_result->bss_info; in wl_escan_handler()
[all …]
H A Ddhd_common.c2976 wl_escan_result_v2_t *escan_result = in wl_show_host_event() local
2978 BCM_REFERENCE(escan_result); in wl_show_host_event()
2983 dtoh16(escan_result->sync_id))); in wl_show_host_event()
2990 event_name, event_type, eabuf, (int)status, dtoh16(escan_result->sync_id))); in wl_show_host_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgscan.c382 wl_escan_result_t *escan_result; in wl_escan_handler() local
407 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
413 bi_info = (wl_bss_info_v109_2_t *)escan_result->bss_info; in wl_escan_handler()
430 if (!escan_result) { in wl_escan_handler()
434 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
435 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler()
436 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler()
439 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
440 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_escan_handler()
443 bi = escan_result->bss_info; in wl_escan_handler()
[all …]
H A Ddhd_common.c2977 wl_escan_result_v2_t *escan_result = in wl_show_host_event() local
2979 BCM_REFERENCE(escan_result); in wl_show_host_event()
2984 dtoh16(escan_result->sync_id))); in wl_show_host_event()
2991 event_name, event_type, eabuf, (int)status, dtoh16(escan_result->sync_id))); in wl_show_host_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgscan.c917 wl_escan_result_t *escan_result; in wl_escan_handler() local
958 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
959 if (!escan_result) { in wl_escan_handler()
968 bi_info = (wl_bss_info_v109_2_t *)escan_result->bss_info; in wl_escan_handler()
986 if (wl_escan_check_sync_id(cfg, status, escan_result->sync_id, in wl_escan_handler()
994 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
995 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler()
996 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler()
999 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
1000 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_escan_handler()
[all …]
H A Dwl_escan.c482 wl_escan_result_t *escan_result; in wl_escan_ext_handler() local
490 escan_result = (wl_escan_result_t *)data; in wl_escan_ext_handler()
502 if (!escan_result) { in wl_escan_ext_handler()
506 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_ext_handler()
508 escan_result->bss_count); in wl_escan_ext_handler()
511 bi = escan_result->bss_info; in wl_escan_ext_handler()
517 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_ext_handler()
H A Ddhd_common.c4979 const wl_escan_result_v2_t *escan_result = in wl_show_host_event() local
4981 BCM_REFERENCE(escan_result); in wl_show_host_event()
4991 (int)status, dtoh16(escan_result->sync_id))); in wl_show_host_event()
4999 uint16 syncid = dtoh16(escan_result->sync_id); in wl_show_host_event()
5024 dhd_stop_scan_timer(dhd_pub, TRUE, dtoh16(escan_result->sync_id)); in wl_show_host_event()
H A Dwl_cfg80211.c18046 wl_escan_result_t *escan_result; in wl_notify_device_discovery() local
18064 escan_result = (wl_escan_result_t *) data; in wl_notify_device_discovery()
18066 if (dtoh16(escan_result->bss_count) != 1) { in wl_notify_device_discovery()
18067 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_notify_device_discovery()
18072 bi = escan_result->bss_info; in wl_notify_device_discovery()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgscan.c913 wl_escan_result_t *escan_result; in wl_escan_handler() local
954 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
955 if (!escan_result) { in wl_escan_handler()
964 bi_info = (wl_bss_info_v109_2_t *)escan_result->bss_info; in wl_escan_handler()
982 if (wl_escan_check_sync_id(cfg, status, escan_result->sync_id, in wl_escan_handler()
990 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
991 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler()
992 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler()
995 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
996 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_escan_handler()
[all …]
H A Dwl_escan.c482 wl_escan_result_v109_t *escan_result; in wl_escan_ext_handler() local
490 escan_result = (wl_escan_result_v109_t *)data; in wl_escan_ext_handler()
502 if (!escan_result) { in wl_escan_ext_handler()
506 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_ext_handler()
508 escan_result->bss_count); in wl_escan_ext_handler()
511 bi = escan_result->bss_info; in wl_escan_ext_handler()
517 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_V109_FIXED_SIZE)) { in wl_escan_ext_handler()
H A Ddhd_common.c4979 const wl_escan_result_v2_t *escan_result = in wl_show_host_event() local
4981 BCM_REFERENCE(escan_result); in wl_show_host_event()
4991 (int)status, dtoh16(escan_result->sync_id))); in wl_show_host_event()
4999 uint16 syncid = dtoh16(escan_result->sync_id); in wl_show_host_event()
5024 dhd_stop_scan_timer(dhd_pub, TRUE, dtoh16(escan_result->sync_id)); in wl_show_host_event()
H A Dwl_cfg80211.c18244 wl_escan_result_t *escan_result; in wl_notify_device_discovery() local
18262 escan_result = (wl_escan_result_t *) data; in wl_notify_device_discovery()
18264 if (dtoh16(escan_result->bss_count) != 1) { in wl_notify_device_discovery()
18265 WL_ERR(("Invalid bss_count %d: ignoring\n", escan_result->bss_count)); in wl_notify_device_discovery()
18270 bi = escan_result->bss_info; in wl_notify_device_discovery()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_escan.c450 wl_escan_result_t *escan_result; in wl_escan_handler() local
458 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
470 if (!escan_result) { in wl_escan_handler()
474 if (dtoh16(escan_result->bss_count) != 1) { in wl_escan_handler()
476 escan_result->bss_count); in wl_escan_handler()
479 bi = escan_result->bss_info; in wl_escan_handler()
485 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler()
H A Dwl_cfg80211.c16241 static s32 wl_escan_without_scan_cache(struct bcm_cfg80211 *cfg, wl_escan_result_t *escan_result, in wl_escan_without_scan_cache() argument
16251 if (wl_escan_check_sync_id(status, escan_result->sync_id, in wl_escan_without_scan_cache()
16256 wl_escan_print_sync_id(status, escan_result->sync_id, in wl_escan_without_scan_cache()
16270 if ((!escan_result) || (dtoh16(escan_result->bss_count) != 1)) { in wl_escan_without_scan_cache()
16275 bi = escan_result->bss_info; in wl_escan_without_scan_cache()
16278 (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE))) { in wl_escan_without_scan_cache()
16381 wl_escan_result_t *escan_result; in wl_escan_handler() local
16416 escan_result = (wl_escan_result_t *)data; in wl_escan_handler()
16422 if (!escan_result) { in wl_escan_handler()
16426 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler()
[all …]