Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c42 if (ssid->SsidLength > 32) in validate_ssid()
44 for (i = 0; i < ssid->SsidLength; i++) { in validate_ssid()
182 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in r8712_set_802_11_ssid()
184 ssid->SsidLength))) { in r8712_set_802_11_ssid()
Drtl871x_cmd.c244 if ((pssid != NULL) && (pssid->SsidLength)) { in r8712_sitesurvey_cmd()
245 memcpy(psurveyPara->ss_ssid, pssid->Ssid, pssid->SsidLength); in r8712_sitesurvey_cmd()
246 psurveyPara->ss_ssidlen = cpu_to_le32(pssid->SsidLength); in r8712_sitesurvey_cmd()
444 pdev_network->Ssid.SsidLength = pdev_network->Ssid.SsidLength; in r8712_createbss_cmd()
553 psecnetwork->Ssid.SsidLength = cpu_to_le32( in r8712_joinbss_cmd()
554 psecnetwork->Ssid.SsidLength); in r8712_joinbss_cmd()
861 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_createbss_cmd_callback()
Drtl871x_mlme.c278 return (src->Ssid.SsidLength == dst->Ssid.SsidLength) && in is_same_network()
285 src->Ssid.SsidLength))) && in is_same_network()
495 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_survey_event_callback()
546 pnetwork->Ssid.SsidLength = 8; in r8712_survey_event_callback()
719 pnetwork->network.Ssid.SsidLength = in r8712_joinbss_event_callback()
720 le32_to_cpu(pnetwork->network.Ssid.SsidLength); in r8712_joinbss_event_callback()
1158 } else if (pmlmepriv->assoc_ssid.SsidLength == 0) { in r8712_select_and_join_from_scan()
1163 if ((pnetwork->network.Ssid.SsidLength == in r8712_select_and_join_from_scan()
1164 pmlmepriv->assoc_ssid.SsidLength) && in r8712_select_and_join_from_scan()
1166 pmlmepriv->assoc_ssid.SsidLength))) { in r8712_select_and_join_from_scan()
Dwlan_bssdef.h36 u32 SsidLength; member
Drtl871x_ioctl_linux.c172 iwe.u.data.length = min_t(u32, pnetwork->network.Ssid.SsidLength, 32); in translate_scan()
1161 ssid.SsidLength = len; in r8711_wx_set_scan()
1261 ndis_ssid.SsidLength = len; in r8711_wx_set_essid()
1273 if ((!memcmp(dst_ssid, src_ssid, ndis_ssid.SsidLength)) in r8711_wx_set_essid()
1274 && (pnetwork->network.Ssid.SsidLength == in r8711_wx_set_essid()
1275 ndis_ssid.SsidLength)) { in r8711_wx_set_essid()
1309 len = pcur_bss->Ssid.SsidLength; in r8711_wx_get_essid()
Dieee80211.c192 ie = r8712_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, in r8712_generate_ie()
Drtl871x_mp_ioctl.c172 bssid.Ssid.SsidLength = 16; in mp_start_test()
174 bssid.Ssid.SsidLength); in mp_start_test()
Dos_intfs.c134 registry_par->ssid.SsidLength = 3; in loadparam()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c37 if (ssid->SsidLength > 32) { in rtw_validate_ssid()
44 for (i = 0; i < ssid->SsidLength; i++) { in rtw_validate_ssid()
272 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in rtw_set_802_11_ssid()
273 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, ssid->SsidLength))) { in rtw_set_802_11_ssid()
300 …l_set_c_, _drv_info_, ("set_ssid =[%s] len = 0x%x\n", ssid->Ssid, (unsigned int)ssid->SsidLength)); in rtw_set_802_11_ssid()
301 … =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.Ssid, (unsigned int)pmlmepriv->assoc_ssid.SsidLength)); in rtw_set_802_11_ssid()
Drtw_mlme.c435 return (a->Ssid.SsidLength == b->Ssid.SsidLength) in is_same_ess()
436 && !memcmp(a->Ssid.Ssid, b->Ssid.Ssid, a->Ssid.SsidLength); in is_same_ess()
454 return ((src->Ssid.SsidLength == dst->Ssid.SsidLength) && in is_same_network()
457 ((!memcmp(src->Ssid.Ssid, dst->Ssid.Ssid, src->Ssid.SsidLength))) && in is_same_network()
849 pnetwork->Ssid.SsidLength = 0; in rtw_survey_event_callback()
1390 if (pmlmepriv->assoc_ssid.SsidLength == 0) { in rtw_joinbss_event_prehandle()
2134 if (mlme->assoc_ssid.Ssid[0] && mlme->assoc_ssid.SsidLength) { in rtw_check_join_candidate()
2135 if (competitor->network.Ssid.SsidLength != mlme->assoc_ssid.SsidLength in rtw_check_join_candidate()
2136 || memcmp(competitor->network.Ssid.Ssid, mlme->assoc_ssid.Ssid, mlme->assoc_ssid.SsidLength) in rtw_check_join_candidate()
3103 cur_network->network.Ssid.SsidLength); in _rtw_roaming()
Drtw_wlan_util.c1403 bssid->Ssid.SsidLength = *(p + 1); in rtw_check_bcn_info()
1405 bssid->Ssid.SsidLength = 0; in rtw_check_bcn_info()
1411 bssid->Ssid.SsidLength, cur_network->network.Ssid.Ssid, in rtw_check_bcn_info()
1412 cur_network->network.Ssid.SsidLength)); in rtw_check_bcn_info()
1415 bssid->Ssid.SsidLength != cur_network->network.Ssid.SsidLength) { in rtw_check_bcn_info()
1416 if (bssid->Ssid.Ssid[0] != '\0' && bssid->Ssid.SsidLength != 0) { /* not hidden ssid */ in rtw_check_bcn_info()
Drtw_mlme_ext.c750 if ((ielen != 0 && false == !memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnProbeReq()
1278 if (memcmp((void *)(p+2), cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnAssocReq()
1281 if (ie_len != cur->Ssid.SsidLength) in OnAssocReq()
2554 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_beacon()
2713 ssid_ielen_diff = cur_network->Ssid.SsidLength - ssid_ielen; in issue_probersp()
2715 if (ssid_ie && cur_network->Ssid.SsidLength) { in issue_probersp()
2728 *(ssid_ie+1) = cur_network->Ssid.SsidLength; in issue_probersp()
2729 memcpy(ssid_ie+2, cur_network->Ssid.Ssid, cur_network->Ssid.SsidLength); in issue_probersp()
2757 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_probersp()
2887 pframe = rtw_set_ie(pframe, _SSID_IE_, pssid->SsidLength, pssid->Ssid, &(pattrib->pktlen)); in _issue_probereq()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c232 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in rtw_set_802_11_ssid()
233 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, ssid->SsidLength))) { in rtw_set_802_11_ssid()
260 …l_set_c_, _drv_info_, ("set_ssid =[%s] len = 0x%x\n", ssid->Ssid, (unsigned int)ssid->SsidLength)); in rtw_set_802_11_ssid()
261 … =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.Ssid, (unsigned int)pmlmepriv->assoc_ssid.SsidLength)); in rtw_set_802_11_ssid()
Drtw_mlme.c302 return (a->Ssid.SsidLength == b->Ssid.SsidLength) && in is_same_ess()
303 !memcmp(a->Ssid.Ssid, b->Ssid.Ssid, a->Ssid.SsidLength); in is_same_ess()
317 return ((src->Ssid.SsidLength == dst->Ssid.SsidLength) && in is_same_network()
319 ((!memcmp(src->Ssid.Ssid, dst->Ssid.Ssid, src->Ssid.SsidLength)) == true) && in is_same_network()
583 pnetwork->Ssid.SsidLength = 0; in rtw_survey_event_callback()
994 if (pmlmepriv->assoc_ssid.SsidLength == 0) in rtw_joinbss_event_prehandle()
1438 if (pmlmepriv->assoc_ssid.SsidLength) { in rtw_check_join_candidate()
1439 if (competitor->network.Ssid.SsidLength != pmlmepriv->assoc_ssid.SsidLength || in rtw_check_join_candidate()
1440 …petitor->network.Ssid.Ssid, pmlmepriv->assoc_ssid.Ssid, pmlmepriv->assoc_ssid.SsidLength) == false) in rtw_check_join_candidate()
2078 pnetwork->network.Ssid.SsidLength); in _rtw_roaming()
Drtw_wlan_util.c947 bssid->Ssid.SsidLength = ssid_len; in rtw_check_bcn_info()
951 bssid->Ssid.SsidLength, cur_network->network.Ssid.Ssid, in rtw_check_bcn_info()
952 cur_network->network.Ssid.SsidLength)); in rtw_check_bcn_info()
955 bssid->Ssid.SsidLength != cur_network->network.Ssid.SsidLength) { in rtw_check_bcn_info()
956 if (bssid->Ssid.Ssid[0] != '\0' && bssid->Ssid.SsidLength != 0) { /* not hidden ssid */ in rtw_check_bcn_info()
Drtw_mlme_ext.c406 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_beacon()
566 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_probersp()
656 pframe = rtw_set_ie(pframe, _SSID_IE_, pssid->SsidLength, pssid->Ssid, &(pattrib->pktlen)); in issue_probereq()
1063 …pframe = rtw_set_ie(pframe, _SSID_IE_, pmlmeinfo->network.Ssid.SsidLength, pmlmeinfo->network.Ssi… in issue_assocreq()
1935 if (pmlmeext->sitesurvey_res.ssid[i].SsidLength) { in site_survey()
2078 bssid->Ssid.SsidLength = len; in collect_bss_info()
2080 bssid->Ssid.SsidLength = 0; in collect_bss_info()
2543 if ((ielen != 0 && memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) || in OnProbeReq()
2992 if (memcmp((void *)(p+2), cur->Ssid.Ssid, cur->Ssid.SsidLength)) in OnAssocReq()
2995 if (ie_len != cur->Ssid.SsidLength) in OnAssocReq()
[all …]
Drtw_cmd.c270 if (ssid[i].SsidLength) { in rtw_sitesurvey_cmd()
323 if (pmlmepriv->assoc_ssid.SsidLength == 0) in rtw_createbss_cmd()
365 if (pmlmepriv->assoc_ssid.SsidLength == 0) in rtw_joinbss_cmd()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dwlan_bssdef.h20 u32 SsidLength; member
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c232 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend()
233 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend()
Dioctl_linux.c119 iwe.u.data.length = min_t(u16, pnetwork->network.Ssid.SsidLength, 32); in translate_scan()
1129 ssid[0].SsidLength = len; in rtw_wx_set_scan()
1162 ssid[ssid_index].SsidLength = sec_len; in rtw_wx_set_scan()
1163 memcpy(ssid[ssid_index].Ssid, pos, ssid[ssid_index].SsidLength); in rtw_wx_set_scan()
1314 ndis_ssid.SsidLength = len; in rtw_wx_set_essid()
1334 if ((!memcmp(dst_ssid, src_ssid, ndis_ssid.SsidLength)) && in rtw_wx_set_essid()
1335 (pnetwork->network.Ssid.SsidLength == ndis_ssid.SsidLength)) { in rtw_wx_set_essid()
1382 len = pcur_bss->Ssid.SsidLength; in rtw_wx_get_essid()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h23 u32 SsidLength; member
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c109 iwe.u.data.length = min((u16)pnetwork->network.Ssid.SsidLength, (u16)32); in translate_scan()
1325 ssid[0].SsidLength = len; in rtw_wx_set_scan()
1363 ssid[ssid_index].SsidLength = sec_len; in rtw_wx_set_scan()
1364 memcpy(ssid[ssid_index].Ssid, pos, ssid[ssid_index].SsidLength); in rtw_wx_set_scan()
1553 ndis_ssid.SsidLength = len; in rtw_wx_set_essid()
1580 if ((!memcmp(dst_ssid, src_ssid, ndis_ssid.SsidLength)) && in rtw_wx_set_essid()
1581 (pnetwork->network.Ssid.SsidLength ==ndis_ssid.SsidLength)) { in rtw_wx_set_essid()
1636 len = pcur_bss->Ssid.SsidLength; in rtw_wx_get_essid()
4149 pbss_network->Ssid.Ssid, pbss_network->Ssid.SsidLength, in rtw_set_hidden_ssid()
4150 pbss_network_ext->Ssid.Ssid, pbss_network_ext->Ssid.SsidLength); in rtw_set_hidden_ssid()
[all …]
Dos_intfs.c238 registry_par->ssid.SsidLength = 3; in loadparam()
1274 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_free_assoc_resource()
1275 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend_free_assoc_resource()
1353 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_wow()
1354 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend_wow()
Dioctl_cfg80211.c302 DBG_8192C("ssid =%s, len =%d\n", pssid->Ssid, pssid->SsidLength); in rtw_cfg80211_inform_bss()
306 else if (pssid->SsidLength == ssids[0].ssid_len && in rtw_cfg80211_inform_bss()
412 pnetwork->Ssid.SsidLength, in rtw_cfg80211_check_bss()
1419 select_network.Ssid.SsidLength, 0/*WLAN_CAPABILITY_ESS*/, in rtw_cfg80211_unlink_bss()
1616 ssid[i].SsidLength = ssids[i].ssid_len; in cfg80211_rtw_scan()
1994 ndis_ssid.SsidLength = params->ssid_len; in cfg80211_rtw_join_ibss()
2103 ndis_ssid.SsidLength = sme->ssid_len; in cfg80211_rtw_connect()
2836 pbss_network->Ssid.SsidLength = settings->ssid_len; in cfg80211_rtw_start_ap()
2838 pbss_network_ext->Ssid.SsidLength = settings->ssid_len; in cfg80211_rtw_start_ap()
/Linux-v4.19/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()
803 ssid_ielen_diff = cur_network->Ssid.SsidLength - ssid_ielen; in ConstructProbeRsp()
805 if (ssid_ie && cur_network->Ssid.SsidLength) { in ConstructProbeRsp()
818 *(ssid_ie+1) = cur_network->Ssid.SsidLength; in ConstructProbeRsp()
819 memcpy(ssid_ie+2, cur_network->Ssid.Ssid, cur_network->Ssid.SsidLength); in ConstructProbeRsp()

12