Home
last modified time | relevance | path

Searched refs:IELength (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_cmd.c331 pdev_network->IELength = pdev_network->IELength; in r8712_createbss_cmd()
373 psecnetwork->IELength; in r8712_joinbss_cmd()
374 if ((psecnetwork->IELength - 12) < (256 - 1)) in r8712_joinbss_cmd()
376 &psecnetwork->IEs[12], psecnetwork->IELength - 12); in r8712_joinbss_cmd()
380 psecnetwork->IELength = 0; in r8712_joinbss_cmd()
389 psecnetwork->IELength = r8712_restruct_sec_ie(padapter, in r8712_joinbss_cmd()
392 pnetwork->network.IELength); in r8712_joinbss_cmd()
400 pnetwork->network.IELength, in r8712_joinbss_cmd()
401 psecnetwork->IELength); in r8712_joinbss_cmd()
402 if (psecnetwork->IELength != tmp_len) { in r8712_joinbss_cmd()
[all …]
Drtl871x_mlme.c200 return sizeof(*bss) + bss->IELength - MAX_IE_SZ; in r8712_get_wlan_bssid_ex_sz()
327 pmlmepriv->cur_network.network.IELength); in update_current_network()
426 pnetwork->network.IELength, wps_ie, in is_desired_network()
481 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); in r8712_survey_event_callback()
707 pnetwork->network.IELength = le32_to_cpu(pnetwork->network.IELength); in r8712_joinbss_event_callback()
847 (cur_network->network.IELength)); in r8712_joinbss_event_callback()
850 cur_network->network.IELength); in r8712_joinbss_event_callback()
1612 pdev_network->IELength = sz; in r8712_update_registrypriv_dev_network()
Dwlan_bssdef.h81 u32 IELength; member
Drtl871x_ioctl_linux.c139 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa()
195 pnetwork->network.IELength, in translate_scan_wps()
240 &ht_ielen, pnetwork->network.IELength - 12); in translate_scan()
613 &ht_ielen, pcur_bss->IELength - 12); in r8711_wx_get_name()
1407 pcur_bss->IELength - 12); in r8711_wx_get_rate()
1987 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1993 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
Drtl871x_mp_ioctl.c165 bssid.IELength = 0; in mp_start_test()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_ap.c81 pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_ in update_BCNTIM()
90 remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen; in update_BCNTIM()
105 (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_) in update_BCNTIM()
114 (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_) in update_BCNTIM()
124 remainder_ielen = pnetwork_mlmeext->IELength - offset - tim_ielen; in update_BCNTIM()
176 pnetwork_mlmeext->IELength = offset + remainder_ielen; in update_BCNTIM()
787 pnetwork->IELength - _FIXED_IE_LENGTH_, NULL, NULL)) in start_bss_network()
862 (pnetwork->IELength - sizeof(struct ndis_802_11_fix_ie)) in start_bss_network()
983 pbss_network->IELength = len; in rtw_check_beacon_data()
987 memcpy(ie, pbuf, pbss_network->IELength); in rtw_check_beacon_data()
[all …]
Drtw_cmd.c815 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
817 if ((psecnetwork->IELength-12) < (256-1)) { in rtw_joinbss_cmd()
818 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength-12); in rtw_joinbss_cmd()
823 psecnetwork->IELength = 0; in rtw_joinbss_cmd()
833 …psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs… in rtw_joinbss_cmd()
839 …pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); in rtw_joinbss_cmd()
841 if (psecnetwork->IELength != tmp_len) { in rtw_joinbss_cmd()
842 psecnetwork->IELength = tmp_len; in rtw_joinbss_cmd()
850 …tw_get_ie(&pnetwork->network.IEs[12], _HT_CAPABILITY_IE_, &tmp_len, pnetwork->network.IELength-12); in rtw_joinbss_cmd()
860 rtw_build_wmm_ie_ht(padapter, &psecnetwork->IEs[12], &psecnetwork->IELength); in rtw_joinbss_cmd()
[all …]
Drtw_mlme_ext.c2490 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon()
2493 , cur_network->IELength-_BEACON_IE_OFFSET_ in issue_beacon()
2496 pframe += (cur_network->IELength+len_diff); in issue_beacon()
2497 pattrib->pktlen += (cur_network->IELength+len_diff); in issue_beacon()
2650 if (cur_network->IELength > MAX_IE_SZ) in issue_probersp()
2654 …pwps_ie = rtw_get_wps_ie(cur_network->IEs+_FIXED_IE_LENGTH_, cur_network->IELength-_FIXED_IE_LENGT… in issue_probersp()
2665 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
2684 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_probersp()
2685 pframe += cur_network->IELength; in issue_probersp()
2686 pattrib->pktlen += cur_network->IELength; in issue_probersp()
[all …]
Drtw_wlan_util.c1278 bssid->IELength = len; in rtw_check_bcn_info()
1279 memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); in rtw_check_bcn_info()
1283 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->IELength - _FIXED_… in rtw_check_bcn_info()
1291 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
1315 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->IELength - _FIXED_IE_LENGT… in rtw_check_bcn_info()
1319 …rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE_LEN… in rtw_check_bcn_info()
1335 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _SSID_IE_, &len, bssid->IELength - _FIXED_IE_LENGTH… in rtw_check_bcn_info()
1373 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1390 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
1398 pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
[all …]
Drtw_ieee80211.c1140 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1153 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1193 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1215 …rk.IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
1223 …work.IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
Drtw_mlme.c566 pmlmepriv->cur_network.network.IELength); in update_current_network()
670 if ((pnetwork->network.IELength > target->IELength) && (target->Reserved[0] == 1)) in rtw_update_scanned_network()
726 …if (rtw_get_wps_ie(pnetwork->network.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_IE_L… in rtw_is_desired_network()
740 …twork.IEs + _BEACON_IE_OFFSET_, _RSN_IE_2_, &ie_len, (pnetwork->network.IELength - _BEACON_IE_OFFS… in rtw_is_desired_network()
1231 cur_network->network.IELength = ptarget_wlan->network.IELength; in rtw_joinbss_update_network()
1274 (cur_network->network.IELength)); in rtw_joinbss_update_network()
1276 …rtw_update_ht_cap(padapter, cur_network->network.IEs, cur_network->network.IELength, (u8) cur_netw… in rtw_joinbss_update_network()
2463 pdev_network->IELength = sz; in rtw_update_registrypriv_dev_network()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h219 u32 IELength; member
225 return (sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength); in get_wlan_bssid_ex_sz()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c169 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fix_ie); in ConstructBeacon()
749 if (cur_network->IELength > MAX_IE_SZ) in ConstructProbeRsp()
753 cur_network->IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in ConstructProbeRsp()
764 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in ConstructProbeRsp()
783 memcpy(pframe, cur_network->IEs, cur_network->IELength); in ConstructProbeRsp()
784 pframe += cur_network->IELength; in ConstructProbeRsp()
785 pktlen += cur_network->IELength; in ConstructProbeRsp()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c112 …= rtw_get_ie(&pnetwork->network.IEs[0], _HT_CAPABILITY_IE_, &ht_ielen, pnetwork->network.IELength); in translate_scan()
114 …w_get_ie(&pnetwork->network.IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pnetwork->network.IELength-12); in translate_scan()
234 …rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_l… in translate_scan()
290 total_ielen = pnetwork->network.IELength - ie_offset; in translate_scan()
294 total_ielen = pnetwork->network.IELength; in translate_scan()
297 total_ielen = pnetwork->network.IELength - _FIXED_IE_LENGTH_; in translate_scan()
774 p = rtw_get_ie(&pcur_bss->IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pcur_bss->IELength-12); in rtw_wx_get_name()
2494 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
2500 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
Dioctl_cfg80211.c241 bssinf_len = pnetwork->network.IELength + sizeof(struct ieee80211_hdr_3addr); in rtw_cfg80211_inform_bss()
250 if (rtw_get_wapi_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &wapi_len) > 0) in rtw_cfg80211_inform_bss()
271 …wpsie = rtw_get_wps_ie(pnetwork->network.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_… in rtw_cfg80211_inform_bss()
342 memcpy(pbuf, pnetwork->network.IEs, pnetwork->network.IELength); in rtw_cfg80211_inform_bss()
343 len += pnetwork->network.IELength; in rtw_cfg80211_inform_bss()