Home
last modified time | relevance | path

Searched refs:competitor (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_mlme.c1709 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_roaming_candidate() argument
1714 if (is_same_ess(&competitor->network, &mlme->cur_network.network) == false) in rtw_check_roaming_candidate()
1717 if (rtw_is_desired_network(adapter, competitor) == false) in rtw_check_roaming_candidate()
1722 if (!memcmp(mlme->roam_tgt_addr, competitor->network.mac_address, ETH_ALEN)) in rtw_check_roaming_candidate()
1727 if (jiffies_to_msecs(jiffies - competitor->last_scanned) >= mlme->roam_scanr_exp_ms) in rtw_check_roaming_candidate()
1730 if (competitor->network.rssi - mlme->cur_network_scanned->network.rssi < mlme->roam_rssi_diff_th) in rtw_check_roaming_candidate()
1733 if (*candidate && (*candidate)->network.rssi >= competitor->network.rssi) in rtw_check_roaming_candidate()
1737 *candidate = competitor; in rtw_check_roaming_candidate()
1792 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_join_candidate() argument
1799 if (memcmp(competitor->network.mac_address, mlme->assoc_bssid, ETH_ALEN)) in rtw_check_join_candidate()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_mlme.c1473 , struct wlan_network **candidate, struct wlan_network *competitor) in rtw_check_join_candidate() argument
1481 if (memcmp(competitor->network.MacAddress, pmlmepriv->assoc_bssid, ETH_ALEN)) in rtw_check_join_candidate()
1487 if (competitor->network.Ssid.SsidLength != pmlmepriv->assoc_ssid.SsidLength || in rtw_check_join_candidate()
1488 …memcmp(competitor->network.Ssid.Ssid, pmlmepriv->assoc_ssid.Ssid, pmlmepriv->assoc_ssid.SsidLength… in rtw_check_join_candidate()
1492 if (!rtw_is_desired_network(adapter, competitor)) in rtw_check_join_candidate()
1495 scan_res_expire = competitor->last_scanned + msecs_to_jiffies(RTW_SCAN_RESULT_EXPIRE); in rtw_check_join_candidate()
1498 !is_same_ess(&competitor->network, &pmlmepriv->cur_network.network)) in rtw_check_join_candidate()
1502 if (!*candidate || (*candidate)->network.Rssi < competitor->network.Rssi) { in rtw_check_join_candidate()
1503 *candidate = competitor; in rtw_check_join_candidate()