Lines Matching refs:scan_info

699 	struct gelic_wl_scan_info *scan_info;  in gelic_wl_get_scan()  local
723 list_for_each_entry(scan_info, &wl->network_list, list) { in gelic_wl_get_scan()
725 time_after(scan_info->last_scanned + wl->scan_age, in gelic_wl_get_scan()
729 scan_info); in gelic_wl_get_scan()
750 struct gelic_wl_scan_info *scan_info; in scan_list_dump() local
754 list_for_each_entry(scan_info, &wl->network_list, list) { in scan_list_dump()
757 scan_info->valid, scan_info->eurus_index, in scan_list_dump()
758 scan_info->last_scanned); in scan_list_dump()
760 scan_info->rate_len, scan_info->rate_ext_len, in scan_list_dump()
761 scan_info->essid_len); in scan_list_dump()
763 pr_debug("bssid=%pM\n", &scan_info->hwinfo->bssid[2]); in scan_list_dump()
764 pr_debug("essid=%s\n", scan_info->hwinfo->essid); in scan_list_dump()
1501 struct gelic_eurus_scan_info *scan_info; in gelic_wl_scan_complete_event() local
1554 for (i = 0, scan_info_size = 0, scan_info = buf; in gelic_wl_scan_complete_event()
1556 i++, scan_info_size += be16_to_cpu(scan_info->size), in gelic_wl_scan_complete_event()
1557 scan_info = (void *)scan_info + be16_to_cpu(scan_info->size)) { in gelic_wl_scan_complete_event()
1559 be16_to_cpu(scan_info->size), in gelic_wl_scan_complete_event()
1560 &scan_info->bssid[2], scan_info); in gelic_wl_scan_complete_event()
1567 if (!be16_to_cpu(scan_info->channel) || !scan_info->rate[0]) { in gelic_wl_scan_complete_event()
1576 &scan_info->bssid[2])) { in gelic_wl_scan_complete_event()
1604 target->hwinfo = kmemdup(scan_info, in gelic_wl_scan_complete_event()
1605 be16_to_cpu(scan_info->size), in gelic_wl_scan_complete_event()
1611 target->essid_len = strnlen(scan_info->essid, in gelic_wl_scan_complete_event()
1612 sizeof(scan_info->essid)); in gelic_wl_scan_complete_event()
1615 if (scan_info->rate[r]) in gelic_wl_scan_complete_event()
1622 if (scan_info->ext_rate[r]) in gelic_wl_scan_complete_event()
1656 struct gelic_wl_scan_info *scan_info; in gelic_wl_find_best_bss() local
1666 list_for_each_entry(scan_info, &wl->network_list, list) { in gelic_wl_find_best_bss()
1667 pr_debug("%s: station %p\n", __func__, scan_info); in gelic_wl_find_best_bss()
1669 if (!scan_info->valid) { in gelic_wl_find_best_bss()
1676 if (ether_addr_equal(&scan_info->hwinfo->bssid[2], in gelic_wl_find_best_bss()
1678 best_bss = scan_info; in gelic_wl_find_best_bss()
1690 security = be16_to_cpu(scan_info->hwinfo->security) & in gelic_wl_find_best_bss()
1694 update_best(&best_bss, scan_info, in gelic_wl_find_best_bss()
1700 update_best(&best_bss, scan_info, in gelic_wl_find_best_bss()
1707 update_best(&best_bss, scan_info, in gelic_wl_find_best_bss()
1715 if ((scan_info->essid_len == wl->essid_len) && in gelic_wl_find_best_bss()
1717 scan_info->hwinfo->essid, in gelic_wl_find_best_bss()
1718 scan_info->essid_len)) in gelic_wl_find_best_bss()
1719 update_best(&best_bss, scan_info, in gelic_wl_find_best_bss()
2363 struct gelic_wl_scan_info *scan_info; in gelic_wl_free() local
2372 scan_info = wl->networks; in gelic_wl_free()
2373 for (i = 0; i < GELIC_WL_BSS_MAX_ENT; i++, scan_info++) in gelic_wl_free()
2374 kfree(scan_info->hwinfo); in gelic_wl_free()