Home
last modified time | relevance | path

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

/linux-6.1.9/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()
574 struct wlan_network *pwlan = NULL; in r8712_free_assoc_resources() local
579 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, in r8712_free_assoc_resources()
596 if (pwlan) in r8712_free_assoc_resources()
597 pwlan->fixed = false; in r8712_free_assoc_resources()
601 free_network_nolock(pmlmepriv, pwlan); in r8712_free_assoc_resources()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme.c383 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
394 pwlan = container_of(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
396 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
397 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
398 oldest = pwlan; in rtw_get_oldest_wlan_network()
797 struct wlan_network *pwlan = NULL; in rtw_free_assoc_resources() local
828 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); in rtw_free_assoc_resources()
829 if (pwlan) in rtw_free_assoc_resources()
830 pwlan->fixed = false; in rtw_free_assoc_resources()
833 rtw_free_network_nolock(pmlmepriv, pwlan); in rtw_free_assoc_resources()
[all …]
Drtw_cmd.c1481 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
1504 pwlan = rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
1506 if (!pwlan) { in rtw_createbss_cmd_callback()
1507 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
1508 if (!pwlan) { in rtw_createbss_cmd_callback()
1512 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
1514 list_add_tail(&pwlan->list, &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
1518 memcpy(&pwlan->network, pnetwork, pnetwork->Length); in rtw_createbss_cmd_callback()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_mlme.c434 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
441 pwlan = list_entry(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
443 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
444 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
445 oldest = pwlan; in rtw_get_oldest_wlan_network()
884 struct wlan_network *pwlan = NULL; in find_network() local
888 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.mac_address); in find_network()
889 if (pwlan) in find_network()
890 pwlan->fixed = false; in find_network()
894 rtw_free_network_nolock(adapter, pwlan); in find_network()
[all …]
Drtw_cmd.c1839 struct wlan_network *pwlan = NULL; in rtw_createbss_cmd_callback() local
1865 pwlan = rtw_alloc_network(pmlmepriv); in rtw_createbss_cmd_callback()
1867 if (!pwlan) { in rtw_createbss_cmd_callback()
1868 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); in rtw_createbss_cmd_callback()
1869 if (!pwlan) { in rtw_createbss_cmd_callback()
1873 pwlan->last_scanned = jiffies; in rtw_createbss_cmd_callback()
1875 list_add_tail(&pwlan->list, &pmlmepriv->scanned_queue.queue); in rtw_createbss_cmd_callback()
1879 memcpy(&pwlan->network, pnetwork, pnetwork->length); in rtw_createbss_cmd_callback()