Home
last modified time | relevance | path

Searched refs:pwlan (Results 1 – 4 of 4) 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()
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 …]
/drivers/staging/rtl8723bs/core/
Drtw_mlme.c425 struct wlan_network *pwlan = NULL; in rtw_get_oldest_wlan_network() local
432 pwlan = list_entry(plist, struct wlan_network, list); in rtw_get_oldest_wlan_network()
434 if (!pwlan->fixed) { in rtw_get_oldest_wlan_network()
435 if (!oldest || time_after(oldest->last_scanned, pwlan->last_scanned)) in rtw_get_oldest_wlan_network()
436 oldest = pwlan; in rtw_get_oldest_wlan_network()
874 struct wlan_network *pwlan = NULL; in find_network() local
878 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.mac_address); in find_network()
879 if (pwlan) in find_network()
880 pwlan->fixed = false; in find_network()
884 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()