Home
last modified time | relevance | path

Searched refs:SsidLength (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c30 if (ssid->SsidLength > 32) in validate_ssid()
32 for (i = 0; i < ssid->SsidLength; i++) { in validate_ssid()
170 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in r8712_set_802_11_ssid()
172 ssid->SsidLength))) { in r8712_set_802_11_ssid()
Drtl871x_cmd.c194 if (pssid && pssid->SsidLength) { in r8712_sitesurvey_cmd()
195 memcpy(psurveyPara->ss_ssid, pssid->Ssid, pssid->SsidLength); in r8712_sitesurvey_cmd()
196 psurveyPara->ss_ssidlen = cpu_to_le32(pssid->SsidLength); in r8712_sitesurvey_cmd()
332 pdev_network->Ssid.SsidLength = pdev_network->Ssid.SsidLength; in r8712_createbss_cmd()
437 psecnetwork->Ssid.SsidLength = cpu_to_le32( in r8712_joinbss_cmd()
438 psecnetwork->Ssid.SsidLength); in r8712_joinbss_cmd()
667 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_createbss_cmd_callback()
Drtl871x_mlme.c242 return (src->Ssid.SsidLength == dst->Ssid.SsidLength) && in is_same_network()
249 src->Ssid.SsidLength))) && in is_same_network()
459 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_survey_event_callback()
510 pnetwork->Ssid.SsidLength = 8; in r8712_survey_event_callback()
681 pnetwork->network.Ssid.SsidLength = in r8712_joinbss_event_callback()
682 le32_to_cpu(pnetwork->network.Ssid.SsidLength); in r8712_joinbss_event_callback()
1112 } else if (pmlmepriv->assoc_ssid.SsidLength == 0) { in r8712_select_and_join_from_scan()
1117 if ((pnetwork->network.Ssid.SsidLength == in r8712_select_and_join_from_scan()
1118 pmlmepriv->assoc_ssid.SsidLength) && in r8712_select_and_join_from_scan()
1120 pmlmepriv->assoc_ssid.SsidLength))) { in r8712_select_and_join_from_scan()
Dwlan_bssdef.h24 u32 SsidLength; member
Drtl871x_ioctl_linux.c235 iwe.u.data.length = min_t(u32, pnetwork->network.Ssid.SsidLength, 32); in translate_scan()
1158 ssid.SsidLength = len; in r8711_wx_set_scan()
1258 ndis_ssid.SsidLength = len; in r8711_wx_set_essid()
1270 if ((!memcmp(dst_ssid, src_ssid, ndis_ssid.SsidLength)) in r8711_wx_set_essid()
1271 && (pnetwork->network.Ssid.SsidLength == in r8711_wx_set_essid()
1272 ndis_ssid.SsidLength)) { in r8711_wx_set_essid()
1306 len = pcur_bss->Ssid.SsidLength; in r8711_wx_get_essid()
Dieee80211.c184 ie = r8712_set_ie(ie, _SSID_IE_, dev_network->Ssid.SsidLength, in r8712_generate_ie()
Drtl871x_mp_ioctl.c160 bssid.Ssid.SsidLength = 16; in mp_start_test()
162 bssid.Ssid.SsidLength); in mp_start_test()
Dos_intfs.c126 registry_par->ssid.SsidLength = 3; in loadparam()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c30 if (ssid->SsidLength > 32) { in rtw_validate_ssid()
37 for (i = 0; i < ssid->SsidLength; i++) { in rtw_validate_ssid()
265 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in rtw_set_802_11_ssid()
266 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, ssid->SsidLength))) { in rtw_set_802_11_ssid()
293 …l_set_c_, _drv_info_, ("set_ssid =[%s] len = 0x%x\n", ssid->Ssid, (unsigned int)ssid->SsidLength)); in rtw_set_802_11_ssid()
294 … =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.Ssid, (unsigned int)pmlmepriv->assoc_ssid.SsidLength)); in rtw_set_802_11_ssid()
Drtw_mlme.c404 return (a->Ssid.SsidLength == b->Ssid.SsidLength) in is_same_ess()
405 && !memcmp(a->Ssid.Ssid, b->Ssid.Ssid, a->Ssid.SsidLength); in is_same_ess()
422 return (src->Ssid.SsidLength == dst->Ssid.SsidLength) && in is_same_network()
425 ((!memcmp(src->Ssid.Ssid, dst->Ssid.Ssid, src->Ssid.SsidLength))) && in is_same_network()
806 pnetwork->Ssid.SsidLength = 0; in rtw_survey_event_callback()
1302 if (pmlmepriv->assoc_ssid.SsidLength == 0) in rtw_joinbss_event_prehandle()
2005 if (mlme->assoc_ssid.Ssid[0] && mlme->assoc_ssid.SsidLength) { in rtw_check_join_candidate()
2006 if (competitor->network.Ssid.SsidLength != mlme->assoc_ssid.SsidLength in rtw_check_join_candidate()
2007 || memcmp(competitor->network.Ssid.Ssid, mlme->assoc_ssid.Ssid, mlme->assoc_ssid.SsidLength) in rtw_check_join_candidate()
2947 cur_network->network.Ssid.SsidLength); in _rtw_roaming()
Drtw_mlme_ext.c740 if ((ielen != 0 && false == !memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnProbeReq()
1263 if (memcmp((void *)(p+2), cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnAssocReq()
1266 if (ie_len != cur->Ssid.SsidLength) in OnAssocReq()
2541 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_beacon()
2700 ssid_ielen_diff = cur_network->Ssid.SsidLength - ssid_ielen; in issue_probersp()
2702 if (ssid_ie && cur_network->Ssid.SsidLength) { in issue_probersp()
2716 *(ssid_ie+1) = cur_network->Ssid.SsidLength; in issue_probersp()
2717 memcpy(ssid_ie+2, cur_network->Ssid.Ssid, cur_network->Ssid.SsidLength); in issue_probersp()
2745 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_probersp()
2875 pframe = rtw_set_ie(pframe, _SSID_IE_, pssid->SsidLength, pssid->Ssid, &(pattrib->pktlen)); in _issue_probereq()
[all …]
Drtw_wlan_util.c1342 bssid->Ssid.SsidLength = ssid_len; in rtw_check_bcn_info()
1346 bssid->Ssid.SsidLength, cur_network->network.Ssid.Ssid, in rtw_check_bcn_info()
1347 cur_network->network.Ssid.SsidLength)); in rtw_check_bcn_info()
1350 bssid->Ssid.SsidLength != cur_network->network.Ssid.SsidLength) { in rtw_check_bcn_info()
1351 if (bssid->Ssid.Ssid[0] != '\0' && bssid->Ssid.SsidLength != 0) { /* not hidden ssid */ in rtw_check_bcn_info()
Drtw_cmd.c601 if (ssid[i].SsidLength) { in rtw_sitesurvey_cmd()
606 psurveyPara->ssid[i].Ssid, psurveyPara->ssid[i].SsidLength); in rtw_sitesurvey_cmd()
683 if (pmlmepriv->assoc_ssid.SsidLength == 0) { in rtw_createbss_cmd()
774 if (pmlmepriv->assoc_ssid.SsidLength == 0) { in rtw_joinbss_cmd()
Drtw_ieee80211.c332 ie = rtw_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, pdev_network->Ssid.Ssid, &sz); in rtw_generate_ie()
Drtw_ap.c1016 pbss_network->Ssid.SsidLength = ie_len; in rtw_check_beacon_data()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h23 u32 SsidLength; member
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c219 registry_par->ssid.SsidLength = 3; in loadparam()
1215 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_free_assoc_resource()
1216 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend_free_assoc_resource()
1290 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_wow()
1291 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend_wow()
Dioctl_linux.c107 iwe.u.data.length = min((u16)pnetwork->network.Ssid.SsidLength, (u16)32); in translate_scan()
1317 ssid[0].SsidLength = len; in rtw_wx_set_scan()
1355 ssid[ssid_index].SsidLength = sec_len; in rtw_wx_set_scan()
1356 memcpy(ssid[ssid_index].Ssid, pos, ssid[ssid_index].SsidLength); in rtw_wx_set_scan()
1545 ndis_ssid.SsidLength = len; in rtw_wx_set_essid()
1572 if ((!memcmp(dst_ssid, src_ssid, ndis_ssid.SsidLength)) && in rtw_wx_set_essid()
1573 (pnetwork->network.Ssid.SsidLength == ndis_ssid.SsidLength)) { in rtw_wx_set_essid()
1628 len = pcur_bss->Ssid.SsidLength; in rtw_wx_get_essid()
4112 pbss_network->Ssid.Ssid, pbss_network->Ssid.SsidLength, in rtw_set_hidden_ssid()
4113 pbss_network_ext->Ssid.Ssid, pbss_network_ext->Ssid.SsidLength); in rtw_set_hidden_ssid()
[all …]
Dioctl_cfg80211.c280 DBG_8192C("ssid =%s, len =%d\n", pssid->Ssid, pssid->SsidLength); in rtw_cfg80211_inform_bss()
284 else if (pssid->SsidLength == ssids[0].ssid_len && in rtw_cfg80211_inform_bss()
384 pnetwork->Ssid.SsidLength, in rtw_cfg80211_check_bss()
1389 select_network->Ssid.SsidLength, 0/*WLAN_CAPABILITY_ESS*/, in rtw_cfg80211_unlink_bss()
1592 ssid[i].SsidLength = ssids[i].ssid_len; in cfg80211_rtw_scan()
1970 ndis_ssid.SsidLength = params->ssid_len; in cfg80211_rtw_join_ibss()
2075 ndis_ssid.SsidLength = sme->ssid_len; in cfg80211_rtw_connect()
2775 pbss_network->Ssid.SsidLength = settings->ssid_len; in cfg80211_rtw_start_ap()
2777 pbss_network_ext->Ssid.SsidLength = settings->ssid_len; in cfg80211_rtw_start_ap()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c178 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktl… in ConstructBeacon()
799 ssid_ielen_diff = cur_network->Ssid.SsidLength - ssid_ielen; in ConstructProbeRsp()
801 if (ssid_ie && cur_network->Ssid.SsidLength) { in ConstructProbeRsp()
814 *(ssid_ie+1) = cur_network->Ssid.SsidLength; in ConstructProbeRsp()
815 memcpy(ssid_ie+2, cur_network->Ssid.Ssid, cur_network->Ssid.SsidLength); in ConstructProbeRsp()