Searched refs:scan_info (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c711 struct gelic_wl_scan_info *scan_info; gelic_wl_get_scan() local
735 list_for_each_entry(scan_info, &wl->network_list, list) { gelic_wl_get_scan()
737 time_after(scan_info->last_scanned + wl->scan_age, gelic_wl_get_scan()
741 scan_info); gelic_wl_get_scan()
762 struct gelic_wl_scan_info *scan_info; scan_list_dump() local
766 list_for_each_entry(scan_info, &wl->network_list, list) { scan_list_dump()
769 scan_info->valid, scan_info->eurus_index, scan_list_dump()
770 scan_info->last_scanned); scan_list_dump()
772 scan_info->rate_len, scan_info->rate_ext_len, scan_list_dump()
773 scan_info->essid_len); scan_list_dump()
775 pr_debug("bssid=%pM\n", &scan_info->hwinfo->bssid[2]); scan_list_dump()
776 pr_debug("essid=%s\n", scan_info->hwinfo->essid); scan_list_dump()
1516 struct gelic_eurus_scan_info *scan_info; gelic_wl_scan_complete_event() local
1569 for (i = 0, scan_info_size = 0, scan_info = buf; gelic_wl_scan_complete_event()
1571 i++, scan_info_size += be16_to_cpu(scan_info->size), gelic_wl_scan_complete_event()
1572 scan_info = (void *)scan_info + be16_to_cpu(scan_info->size)) { gelic_wl_scan_complete_event()
1573 pr_debug("%s:size=%d bssid=%pM scan_info=%p\n", __func__, gelic_wl_scan_complete_event()
1574 be16_to_cpu(scan_info->size), gelic_wl_scan_complete_event()
1575 &scan_info->bssid[2], scan_info); gelic_wl_scan_complete_event()
1582 if (!be16_to_cpu(scan_info->channel) || !scan_info->rate[0]) { gelic_wl_scan_complete_event()
1591 &scan_info->bssid[2])) { gelic_wl_scan_complete_event()
1619 target->hwinfo = kzalloc(be16_to_cpu(scan_info->size), gelic_wl_scan_complete_event()
1625 memcpy(target->hwinfo, scan_info, scan_info->size); gelic_wl_scan_complete_event()
1626 target->essid_len = strnlen(scan_info->essid, gelic_wl_scan_complete_event()
1627 sizeof(scan_info->essid)); gelic_wl_scan_complete_event()
1630 if (scan_info->rate[r]) gelic_wl_scan_complete_event()
1637 if (scan_info->ext_rate[r]) gelic_wl_scan_complete_event()
1671 struct gelic_wl_scan_info *scan_info; gelic_wl_find_best_bss() local
1681 list_for_each_entry(scan_info, &wl->network_list, list) { gelic_wl_find_best_bss()
1682 pr_debug("%s: station %p\n", __func__, scan_info); gelic_wl_find_best_bss()
1684 if (!scan_info->valid) { gelic_wl_find_best_bss()
1691 if (ether_addr_equal(&scan_info->hwinfo->bssid[2], gelic_wl_find_best_bss()
1693 best_bss = scan_info; gelic_wl_find_best_bss()
1705 security = be16_to_cpu(scan_info->hwinfo->security) & gelic_wl_find_best_bss()
1709 update_best(&best_bss, scan_info, gelic_wl_find_best_bss()
1715 update_best(&best_bss, scan_info, gelic_wl_find_best_bss()
1722 update_best(&best_bss, scan_info, gelic_wl_find_best_bss()
1730 if ((scan_info->essid_len == wl->essid_len) && gelic_wl_find_best_bss()
1732 scan_info->hwinfo->essid, gelic_wl_find_best_bss()
1733 scan_info->essid_len)) gelic_wl_find_best_bss()
1734 update_best(&best_bss, scan_info, gelic_wl_find_best_bss()
2377 struct gelic_wl_scan_info *scan_info; gelic_wl_free() local
2386 scan_info = wl->networks; gelic_wl_free()
2387 for (i = 0; i < GELIC_WL_BSS_MAX_ENT; i++, scan_info++) gelic_wl_free()
2388 kfree(scan_info->hwinfo); gelic_wl_free()
/linux-4.4.14/drivers/staging/wilc1000/
H A Dhost_interface.c173 struct scan_attr scan_info; member in union:message_body
2844 Handle_Scan(msg.drv, &msg.body.scan_info); hostIFthread()
3892 msg.body.scan_info.hidden_network.pstrHiddenNetworkInfo = pstrHiddenNetwork->pstrHiddenNetworkInfo; host_int_scan()
3893 msg.body.scan_info.hidden_network.u8ssidnum = pstrHiddenNetwork->u8ssidnum; host_int_scan()
3899 msg.body.scan_info.src = u8ScanSource; host_int_scan()
3900 msg.body.scan_info.type = u8ScanType; host_int_scan()
3901 msg.body.scan_info.result = ScanResult; host_int_scan()
3902 msg.body.scan_info.arg = pvUserArg; host_int_scan()
3904 msg.body.scan_info.ch_list_len = u8ChnlListLen; host_int_scan()
3905 msg.body.scan_info.ch_freq_list = kmalloc(u8ChnlListLen, GFP_KERNEL); host_int_scan()
3906 memcpy(msg.body.scan_info.ch_freq_list, pu8ChnlFreqList, u8ChnlListLen); host_int_scan()
3908 msg.body.scan_info.ies_len = IEsLen; host_int_scan()
3909 msg.body.scan_info.ies = kmalloc(IEsLen, GFP_KERNEL); host_int_scan()
3910 memcpy(msg.body.scan_info.ies, pu8IEs, IEsLen); host_int_scan()

Completed in 158 milliseconds