Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_cmd.c657 struct wlan_network *pwlan = NULL; in r8712_createbss_cmd_callback() local
703 pwlan = _r8712_alloc_network(pmlmepriv); in r8712_createbss_cmd_callback()
704 if (!pwlan) { in r8712_createbss_cmd_callback()
705 pwlan = r8712_get_oldest_wlan_network( in r8712_createbss_cmd_callback()
707 if (!pwlan) in r8712_createbss_cmd_callback()
709 pwlan->last_scanned = jiffies; in r8712_createbss_cmd_callback()
711 list_add_tail(&(pwlan->list), in r8712_createbss_cmd_callback()
715 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); in r8712_createbss_cmd_callback()
716 pwlan->fixed = true; in r8712_createbss_cmd_callback()
Drtl871x_mlme.c260 struct wlan_network *pwlan = NULL; in r8712_get_oldest_wlan_network() local
268 pwlan = container_of(plist, struct wlan_network, list); in r8712_get_oldest_wlan_network()
269 if (!pwlan->fixed) { in r8712_get_oldest_wlan_network()
272 (unsigned long)pwlan->last_scanned)) in r8712_get_oldest_wlan_network()
273 oldest = pwlan; in r8712_get_oldest_wlan_network()
576 struct wlan_network *pwlan = NULL; in r8712_free_assoc_resources() local
581 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, in r8712_free_assoc_resources()
598 if (pwlan) in r8712_free_assoc_resources()
599 pwlan->fixed = false; in r8712_free_assoc_resources()
603 free_network_nolock(pmlmepriv, pwlan); in r8712_free_assoc_resources()
[all …]
/drivers/staging/r8188eu/core/
Drtw_mlme.c439 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
450 pwlan = container_of(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
452 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
453 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
454 oldest = pwlan; in rtw_get_oldest_wlan_network()
851 struct wlan_network *pwlan = NULL; in rtw_free_assoc_resources() local
882 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in rtw_free_assoc_resources()
883 if (pwlan) in rtw_free_assoc_resources()
884 pwlan->fixed = false; in rtw_free_assoc_resources()
887 rtw_free_network_nolock(pmlmepriv, pwlan); in rtw_free_assoc_resources()
[all …]
Drtw_cmd.c2035 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
2058 pwlan = _rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
2060 if (!pwlan) { in rtw_createbss_cmd_callback()
2061 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
2062 if (!pwlan) { in rtw_createbss_cmd_callback()
2066 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
2068 list_add_tail(&pwlan->list, &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
2072 memcpy(&pwlan->network, pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()
/drivers/staging/rtl8723bs/core/
Drtw_mlme.c432 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
439 pwlan = list_entry(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
441 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
442 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
443 oldest = pwlan; in rtw_get_oldest_wlan_network()
882 struct wlan_network *pwlan = NULL; in find_network() local
886 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.mac_address); in find_network()
887 if (pwlan) in find_network()
888 pwlan->fixed = false; in find_network()
892 rtw_free_network_nolock(adapter, pwlan); in find_network()
[all …]
Drtw_cmd.c1955 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
1981 pwlan = rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
1983 if (!pwlan) { in rtw_createbss_cmd_callback()
1984 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
1985 if (!pwlan) { in rtw_createbss_cmd_callback()
1989 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
1991 list_add_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
1995 memcpy(&(pwlan->network), pnetwork, pnetwork->length); in rtw_createbss_cmd_callback()