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

/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_mlme.c333 struct wlan_network *pwlan; rtw_get_oldest_wlan_network23a() local
339 pwlan = container_of(plist, struct wlan_network, list); list_for_each()
341 if (pwlan->fixed != true) { list_for_each()
343 pwlan->last_scanned)) list_for_each()
344 oldest = pwlan; list_for_each()
737 struct wlan_network *pwlan; rtw_free_assoc_resources23a() local
774 pwlan = rtw_find_network23a(&pmlmepriv->scanned_queue, rtw_free_assoc_resources23a()
776 if (pwlan) rtw_free_assoc_resources23a()
777 pwlan->fixed = false; rtw_free_assoc_resources23a()
780 "rtw_free_assoc_resources23a : pwlan== NULL\n"); rtw_free_assoc_resources23a()
784 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_free_assoc_resources23a()
1305 struct wlan_network *pwlan; rtw_stadel_event_callback23a() local
1343 pwlan = rtw_find_network23a(&pmlmepriv->scanned_queue, rtw_stadel_event_callback23a()
1345 if (pwlan) { rtw_stadel_event_callback23a()
1346 pwlan->fixed = false; rtw_stadel_event_callback23a()
1347 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_stadel_event_callback23a()
1365 /* pwlan = rtw_find_network23a( rtw_stadel_event_callback23a()
1367 pwlan = rtw_find_network23a(&pmlmepriv->scanned_queue, rtw_stadel_event_callback23a()
1369 if (pwlan) { rtw_stadel_event_callback23a()
1370 pwlan->fixed = false; rtw_stadel_event_callback23a()
1371 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_stadel_event_callback23a()
H A Drtw_cmd.c1341 struct wlan_network *pwlan; rtw_createbss_cmd23a_callback() local
1373 pwlan = rtw_alloc_network(pmlmepriv, GFP_KERNEL); rtw_createbss_cmd23a_callback()
1375 if (!pwlan) { rtw_createbss_cmd23a_callback()
1376 pwlan = rtw_get_oldest_wlan_network23a(&pmlmepriv->scanned_queue); rtw_createbss_cmd23a_callback()
1377 if (!pwlan) { rtw_createbss_cmd23a_callback()
1379 "Error: can't get pwlan in rtw23a_joinbss_event_cb\n"); rtw_createbss_cmd23a_callback()
1383 pwlan->last_scanned = jiffies; rtw_createbss_cmd23a_callback()
1385 list_add_tail(&pwlan->list, rtw_createbss_cmd23a_callback()
1390 memcpy(&pwlan->network, pnetwork, pnetwork->Length); rtw_createbss_cmd23a_callback()
1391 /* pwlan->fixed = true; */ rtw_createbss_cmd23a_callback()
1393 /* list_add_tail(&pwlan->list, rtw_createbss_cmd23a_callback()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_mlme.c315 struct wlan_network *pwlan = NULL; r8712_get_oldest_wlan_network() local
323 pwlan = LIST_CONTAINOR(plist, struct wlan_network, list); r8712_get_oldest_wlan_network()
324 if (pwlan->fixed != true) { r8712_get_oldest_wlan_network()
327 (unsigned long)pwlan->last_scanned)) r8712_get_oldest_wlan_network()
328 oldest = pwlan; r8712_get_oldest_wlan_network()
638 struct wlan_network *pwlan = NULL; r8712_free_assoc_resources() local
643 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, r8712_free_assoc_resources()
660 if (pwlan) r8712_free_assoc_resources()
661 pwlan->fixed = false; r8712_free_assoc_resources()
665 free_network_nolock(pmlmepriv, pwlan); r8712_free_assoc_resources()
973 struct wlan_network *pwlan = NULL; r8712_stadel_event_callback() local
994 pwlan = r8712_find_network(&pmlmepriv->scanned_queue, r8712_stadel_event_callback()
996 if (pwlan) { r8712_stadel_event_callback()
997 pwlan->fixed = false; r8712_stadel_event_callback()
998 free_network_nolock(pmlmepriv, pwlan); r8712_stadel_event_callback()
H A Drtl871x_cmd.c904 struct wlan_network *pwlan = NULL; r8712_createbss_cmd_callback() local
951 pwlan = _r8712_alloc_network(pmlmepriv); r8712_createbss_cmd_callback()
952 if (pwlan == NULL) { r8712_createbss_cmd_callback()
953 pwlan = r8712_get_oldest_wlan_network( r8712_createbss_cmd_callback()
955 if (pwlan == NULL) r8712_createbss_cmd_callback()
957 pwlan->last_scanned = jiffies; r8712_createbss_cmd_callback()
959 list_add_tail(&(pwlan->list), r8712_createbss_cmd_callback()
962 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); r8712_createbss_cmd_callback()
963 pwlan->fixed = true; r8712_createbss_cmd_callback()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_mlme.c362 struct wlan_network *pwlan = NULL; rtw_get_oldest_wlan_network() local
373 pwlan = container_of(plist, struct wlan_network, list); rtw_get_oldest_wlan_network()
375 if (!pwlan->fixed) { rtw_get_oldest_wlan_network()
376 if (oldest == NULL || time_after(oldest->last_scanned, pwlan->last_scanned)) rtw_get_oldest_wlan_network()
377 oldest = pwlan; rtw_get_oldest_wlan_network()
765 struct wlan_network *pwlan = NULL; rtw_free_assoc_resources() local
801 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); rtw_free_assoc_resources()
802 if (pwlan) rtw_free_assoc_resources()
803 pwlan->fixed = false; rtw_free_assoc_resources()
805 RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_free_assoc_resources:pwlan==NULL\n\n")); rtw_free_assoc_resources()
808 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_free_assoc_resources()
1266 struct wlan_network *pwlan = NULL; rtw_stadel_event_callback() local
1311 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); rtw_stadel_event_callback()
1312 if (pwlan) { rtw_stadel_event_callback()
1313 pwlan->fixed = false; rtw_stadel_event_callback()
1314 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_stadel_event_callback()
1328 pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress); rtw_stadel_event_callback()
1329 if (pwlan) { rtw_stadel_event_callback()
1330 pwlan->fixed = false; rtw_stadel_event_callback()
1331 rtw_free_network_nolock(pmlmepriv, pwlan); rtw_stadel_event_callback()
H A Drtw_cmd.c1291 struct wlan_network *pwlan = NULL; rtw_createbss_cmd_callback() local
1319 pwlan = _rtw_alloc_network(pmlmepriv); rtw_createbss_cmd_callback()
1321 if (pwlan == NULL) { rtw_createbss_cmd_callback()
1322 pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue); rtw_createbss_cmd_callback()
1323 if (pwlan == NULL) { rtw_createbss_cmd_callback()
1324 RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("\n Error: can't get pwlan in rtw_joinbss_event_callback\n")); rtw_createbss_cmd_callback()
1328 pwlan->last_scanned = jiffies; rtw_createbss_cmd_callback()
1330 list_add_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue); rtw_createbss_cmd_callback()
1334 memcpy(&(pwlan->network), pnetwork, pnetwork->Length); rtw_createbss_cmd_callback()

Completed in 215 milliseconds