Home
last modified time | relevance | path

Searched refs:iter_bss (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/libertas/
Dassoc.c587 struct bss_descriptor *iter_bss; in lbs_find_bssid_in_list() local
602 list_for_each_entry(iter_bss, &priv->network_list, list) { in lbs_find_bssid_in_list()
603 if (compare_ether_addr(iter_bss->bssid, bssid)) in lbs_find_bssid_in_list()
608 if (!is_network_compatible(priv, iter_bss, mode)) in lbs_find_bssid_in_list()
610 found_bss = iter_bss; in lbs_find_bssid_in_list()
613 found_bss = iter_bss; in lbs_find_bssid_in_list()
642 struct bss_descriptor *iter_bss = NULL; in lbs_find_ssid_in_list() local
650 list_for_each_entry(iter_bss, &priv->network_list, list) { in lbs_find_ssid_in_list()
652 (iter_bss->last_scanned < tmp_oldest->last_scanned)) in lbs_find_ssid_in_list()
653 tmp_oldest = iter_bss; in lbs_find_ssid_in_list()
[all …]
Dscan.c1015 struct bss_descriptor *iter_bss; in lbs_get_scan() local
1030 list_for_each_entry_safe (iter_bss, safe, &priv->network_list, list) { in lbs_get_scan()
1040 if (dev == priv->mesh_dev && !iter_bss->mesh) in lbs_get_scan()
1044 stale_time = iter_bss->last_scanned + DEFAULT_MAX_SCAN_AGE; in lbs_get_scan()
1046 list_move_tail(&iter_bss->list, &priv->network_free_list); in lbs_get_scan()
1047 clear_bss_descriptor(iter_bss); in lbs_get_scan()
1052 next_ev = lbs_translate_scan(priv, info, ev, stop, iter_bss); in lbs_get_scan()
1106 struct bss_descriptor *iter_bss; in lbs_ret_80211_scan() local
1118 list_for_each_entry_safe (iter_bss, safe, &priv->network_list, list) { in lbs_ret_80211_scan()
1119 unsigned long stale_time = iter_bss->last_scanned + DEFAULT_MAX_SCAN_AGE; in lbs_ret_80211_scan()
[all …]
Ddebugfs.c70 struct bss_descriptor * iter_bss; in lbs_getscantable() local
76 list_for_each_entry (iter_bss, &priv->network_list, list) { in lbs_getscantable()
77 u16 ibss = (iter_bss->capability & WLAN_CAPABILITY_IBSS); in lbs_getscantable()
78 u16 privacy = (iter_bss->capability & WLAN_CAPABILITY_PRIVACY); in lbs_getscantable()
79 u16 spectrum_mgmt = (iter_bss->capability & WLAN_CAPABILITY_SPECTRUM_MGMT); in lbs_getscantable()
82 numscansdone, iter_bss->channel, iter_bss->rssi, in lbs_getscantable()
83 iter_bss->bssid); in lbs_getscantable()
84 pos += snprintf(buf+pos, len-pos, " %04x-", iter_bss->capability); in lbs_getscantable()
88 pos += snprintf(buf+pos, len-pos, " %04d |", SCAN_RSSI(iter_bss->rssi)); in lbs_getscantable()
90 print_ssid(ssid, iter_bss->ssid, in lbs_getscantable()
[all …]