Home
last modified time | relevance | path

Searched refs:pwlan (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_mlme.c329 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
335 pwlan = container_of(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
337 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
338 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
339 oldest = pwlan; in rtw_get_oldest_wlan_network()
729 struct wlan_network *pwlan = NULL; in rtw_free_assoc_resources_locked() local
762 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in rtw_free_assoc_resources_locked()
763 if (pwlan) in rtw_free_assoc_resources_locked()
764 pwlan->fixed = false; in rtw_free_assoc_resources_locked()
769 rtw_free_network_nolock(pmlmepriv, pwlan); in rtw_free_assoc_resources_locked()
[all …]
Drtw_cmd.c1189 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
1217 pwlan = _rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
1219 if (!pwlan) { in rtw_createbss_cmd_callback()
1220 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
1221 if (!pwlan) { in rtw_createbss_cmd_callback()
1226 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
1228 list_add_tail(&pwlan->list, in rtw_createbss_cmd_callback()
1233 memcpy(&pwlan->network, pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mlme.c297 struct wlan_network *pwlan = NULL; in r8712_get_oldest_wlan_network() local
305 pwlan = container_of(plist, struct wlan_network, list); in r8712_get_oldest_wlan_network()
306 if (pwlan->fixed != true) { in r8712_get_oldest_wlan_network()
309 (unsigned long)pwlan->last_scanned)) in r8712_get_oldest_wlan_network()
310 oldest = pwlan; in r8712_get_oldest_wlan_network()
616 struct wlan_network *pwlan = NULL; in r8712_free_assoc_resources() local
621 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, in r8712_free_assoc_resources()
638 if (pwlan) in r8712_free_assoc_resources()
639 pwlan->fixed = false; in r8712_free_assoc_resources()
643 free_network_nolock(pmlmepriv, pwlan); in r8712_free_assoc_resources()
[all …]
Drtl871x_cmd.c849 struct wlan_network *pwlan = NULL; in r8712_createbss_cmd_callback() local
895 pwlan = _r8712_alloc_network(pmlmepriv); in r8712_createbss_cmd_callback()
896 if (!pwlan) { in r8712_createbss_cmd_callback()
897 pwlan = r8712_get_oldest_wlan_network( in r8712_createbss_cmd_callback()
899 if (!pwlan) in r8712_createbss_cmd_callback()
901 pwlan->last_scanned = jiffies; in r8712_createbss_cmd_callback()
903 list_add_tail(&(pwlan->list), in r8712_createbss_cmd_callback()
907 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); in r8712_createbss_cmd_callback()
908 pwlan->fixed = true; in r8712_createbss_cmd_callback()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_mlme.c493 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
505 pwlan = LIST_CONTAINOR(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
507 if (pwlan->fixed != true) { in rtw_get_oldest_wlan_network()
508 if (oldest == NULL || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
509 oldest = pwlan; in rtw_get_oldest_wlan_network()
1031 struct wlan_network *pwlan = NULL; in find_network() local
1035 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in find_network()
1036 if (pwlan) in find_network()
1037 pwlan->fixed = false; in find_network()
1044 rtw_free_network_nolock(adapter, pwlan); in find_network()
[all …]
Drtw_cmd.c2104 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
2134 pwlan = _rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
2136 if (pwlan == NULL) { in rtw_createbss_cmd_callback()
2137 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
2138 if (pwlan == NULL) { in rtw_createbss_cmd_callback()
2143 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
2145 list_add_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
2149 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()