Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_cmd.c655 struct wlan_network *pwlan = NULL; in r8712_createbss_cmd_callback() local
701 pwlan = _r8712_alloc_network(pmlmepriv); in r8712_createbss_cmd_callback()
702 if (!pwlan) { in r8712_createbss_cmd_callback()
703 pwlan = r8712_get_oldest_wlan_network( in r8712_createbss_cmd_callback()
705 if (!pwlan) in r8712_createbss_cmd_callback()
707 pwlan->last_scanned = jiffies; in r8712_createbss_cmd_callback()
709 list_add_tail(&(pwlan->list), in r8712_createbss_cmd_callback()
713 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); in r8712_createbss_cmd_callback()
714 pwlan->fixed = true; in r8712_createbss_cmd_callback()
Drtl871x_mlme.c261 struct wlan_network *pwlan = NULL; in r8712_get_oldest_wlan_network() local
269 pwlan = container_of(plist, struct wlan_network, list); in r8712_get_oldest_wlan_network()
270 if (!pwlan->fixed) { in r8712_get_oldest_wlan_network()
273 (unsigned long)pwlan->last_scanned)) in r8712_get_oldest_wlan_network()
274 oldest = pwlan; in r8712_get_oldest_wlan_network()
578 struct wlan_network *pwlan = NULL; in r8712_free_assoc_resources() local
583 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, in r8712_free_assoc_resources()
600 if (pwlan) in r8712_free_assoc_resources()
601 pwlan->fixed = false; in r8712_free_assoc_resources()
605 free_network_nolock(pmlmepriv, pwlan); in r8712_free_assoc_resources()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_mlme.c320 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
326 pwlan = container_of(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
328 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
329 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
330 oldest = pwlan; in rtw_get_oldest_wlan_network()
726 struct wlan_network *pwlan = NULL; in rtw_free_assoc_resources_locked() local
759 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in rtw_free_assoc_resources_locked()
760 if (pwlan) in rtw_free_assoc_resources_locked()
761 pwlan->fixed = false; in rtw_free_assoc_resources_locked()
766 rtw_free_network_nolock(pmlmepriv, pwlan); in rtw_free_assoc_resources_locked()
[all …]
Drtw_cmd.c1199 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
1228 pwlan = rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
1230 if (!pwlan) { in rtw_createbss_cmd_callback()
1231 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
1232 if (!pwlan) { in rtw_createbss_cmd_callback()
1238 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
1240 list_add_tail(&pwlan->list, in rtw_createbss_cmd_callback()
1245 memcpy(&pwlan->network, pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_mlme.c460 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
472 pwlan = LIST_CONTAINOR(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
474 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
475 if (oldest == NULL || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
476 oldest = pwlan; in rtw_get_oldest_wlan_network()
963 struct wlan_network *pwlan = NULL; in find_network() local
967 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in find_network()
968 if (pwlan) in find_network()
969 pwlan->fixed = false; in find_network()
975 rtw_free_network_nolock(adapter, pwlan); in find_network()
[all …]
Drtw_cmd.c2038 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
2068 pwlan = rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
2070 if (pwlan == NULL) { in rtw_createbss_cmd_callback()
2071 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
2072 if (pwlan == NULL) { in rtw_createbss_cmd_callback()
2077 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
2079 list_add_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
2083 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()