Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_cmd.c333 pdev_network->IELength = pdev_network->IELength; in r8712_createbss_cmd()
375 psecnetwork->IELength; in r8712_joinbss_cmd()
376 if ((psecnetwork->IELength - 12) < (256 - 1)) in r8712_joinbss_cmd()
378 &psecnetwork->IEs[12], psecnetwork->IELength - 12); in r8712_joinbss_cmd()
382 psecnetwork->IELength = 0; in r8712_joinbss_cmd()
391 psecnetwork->IELength = r8712_restruct_sec_ie(padapter, in r8712_joinbss_cmd()
394 pnetwork->network.IELength); in r8712_joinbss_cmd()
402 pnetwork->network.IELength, in r8712_joinbss_cmd()
403 psecnetwork->IELength); in r8712_joinbss_cmd()
404 if (psecnetwork->IELength != tmp_len) { in r8712_joinbss_cmd()
[all …]
Drtl871x_mlme.c199 return sizeof(*bss) + bss->IELength - MAX_IE_SZ; in r8712_get_wlan_bssid_ex_sz()
326 pmlmepriv->cur_network.network.IELength); in update_current_network()
424 pnetwork->network.IELength, wps_ie, in is_desired_network()
478 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); in r8712_survey_event_callback()
700 pnetwork->network.IELength = le32_to_cpu(pnetwork->network.IELength); in r8712_joinbss_event_callback()
820 (cur_network->network.IELength)); in r8712_joinbss_event_callback()
823 cur_network->network.IELength); in r8712_joinbss_event_callback()
1570 pdev_network->IELength = sz; in r8712_update_registrypriv_dev_network()
Dwlan_bssdef.h81 u32 IELength; member
Drtl871x_ioctl_linux.c137 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa()
193 pnetwork->network.IELength, in translate_scan_wps()
238 &ht_ielen, pnetwork->network.IELength - 12); in translate_scan()
611 &ht_ielen, pcur_bss->IELength - 12); in r8711_wx_get_name()
1405 pcur_bss->IELength - 12); in r8711_wx_get_rate()
1985 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1991 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
Drtl871x_mp_ioctl.c169 bssid->IELength = 0; in mp_start_test()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c463 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
465 if (psecnetwork->IELength - 12 < 255) in rtw_joinbss_cmd()
466 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength - 12); in rtw_joinbss_cmd()
470 psecnetwork->IELength = 0; in rtw_joinbss_cmd()
479 …psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs… in rtw_joinbss_cmd()
486 …pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); in rtw_joinbss_cmd()
488 if (psecnetwork->IELength != tmp_len) { in rtw_joinbss_cmd()
489 psecnetwork->IELength = tmp_len; in rtw_joinbss_cmd()
506 pnetwork->network.IELength, &psecnetwork->IELength); in rtw_joinbss_cmd()
510 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.IEs, pnetwork->network.IELength); in rtw_joinbss_cmd()
Drtw_ieee80211.c1030 …p2p_ie = rtw_get_p2p_ie(bss_ex->IEs + _FIXED_IE_LENGTH_, bss_ex->IELength - _FIXED_IE_LENGTH_, NUL… in rtw_wlan_bssid_ex_remove_p2p_attr()
1036 uint remain_len = bss_ex->IELength - (next_ie_ori - bss_ex->IEs); in rtw_wlan_bssid_ex_remove_p2p_attr()
1040 bss_ex->IELength -= p2p_ielen_ori - p2p_ielen; in rtw_wlan_bssid_ex_remove_p2p_attr()
1052 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_cipher_info()
1062 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_cipher_info()
1096 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1110 …rk.IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
1118 …work.IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
Drtw_wlan_util.c919 bssid->IELength = len; in rtw_check_bcn_info()
920 memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); in rtw_check_bcn_info()
924 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->IELength - _FIXED_… in rtw_check_bcn_info()
932 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
949 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->IELength - _FIXED_IE_LENGT… in rtw_check_bcn_info()
953 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
963 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _SSID_IE_, &len, bssid->IELength - _FIXED_IE_LENGTH… in rtw_check_bcn_info()
995 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1010 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength - 12); in rtw_check_bcn_info()
1014 pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength - 12); in rtw_check_bcn_info()
[all …]
Drtw_ap.c66 pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_); in update_BCNTIM()
71 remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen; in update_BCNTIM()
83 &tmp_len, (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_)); in update_BCNTIM()
92 remainder_ielen = pnetwork_mlmeext->IELength - offset - tim_ielen; in update_BCNTIM()
136 pnetwork_mlmeext->IELength = offset + remainder_ielen; in update_BCNTIM()
546 (pnetwork->IELength - _BEACON_IE_OFFSET_)); in update_bcn_erpinfo_ie()
574 u32 ielen = pnetwork->IELength; in update_bcn_wps_ie()
606 pnetwork->IELength = wps_offset + (wps_ielen + 2) + remainder_ielen; in update_bcn_wps_ie()
Drtw_mlme_ext.c4192 …wpsie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_LEN… in issue_beacon()
4200 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
4255 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon()
4258 , cur_network->IELength - _BEACON_IE_OFFSET_ in issue_beacon()
4261 pframe += (cur_network->IELength + len_diff); in issue_beacon()
4262 pattrib->pktlen += (cur_network->IELength + len_diff); in issue_beacon()
4400 if (cur_network->IELength > MAX_IE_SZ) in issue_probersp()
4404 …pwps_ie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_L… in issue_probersp()
4415 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
4434 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_probersp()
[all …]
Drtw_mlme.c459 pmlmepriv->cur_network.network.IELength); in update_current_network()
594 …if (rtw_get_wps_ie(pnetwork->network.IEs + _FIXED_IE_LENGTH_, pnetwork->network.IELength - _FIXED_… in rtw_is_desired_network()
608 (pnetwork->network.IELength - in rtw_is_desired_network()
1013 cur_network->network.IELength = ptarget_wlan->network.IELength; in rtw_joinbss_update_network()
1043 (cur_network->network.IELength)); in rtw_joinbss_update_network()
1044 rtw_update_ht_cap(padapter, cur_network->network.IEs, cur_network->network.IELength); in rtw_joinbss_update_network()
1853 pdev_network->IELength = sz; in rtw_update_registrypriv_dev_network()
Drtw_ioctl_set.c452 p = rtw_get_ie(&pcur_bss->IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pcur_bss->IELength - 12); in rtw_get_cur_max_rate()
Drtw_p2p.c1506 void process_p2p_ps_ie(struct adapter *padapter, u8 *IEs, u32 IELength) in process_p2p_ps_ie() argument
1521 if (IELength <= _BEACON_IE_OFFSET_) in process_p2p_ps_ie()
1525 ies_len = IELength - _BEACON_IE_OFFSET_; in process_p2p_ps_ie()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_cmd.c244 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon()
404 if (cur_network->IELength > MAX_IE_SZ) in ConstructProbeRsp()
407 memcpy(pframe, cur_network->IEs, cur_network->IELength); in ConstructProbeRsp()
408 pframe += cur_network->IELength; in ConstructProbeRsp()
409 pktlen += cur_network->IELength; in ConstructProbeRsp()
/linux-6.1.9/drivers/staging/r8188eu/include/
Dwlan_bssdef.h241 u32 IELength; member
248 return sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength; in get_wlan_bssid_ex_sz()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c107 if (rtw_get_p2p_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &p2pielen)) in translate_scan()
111 … if (rtw_get_p2p_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &p2pielen)) in translate_scan()
134 …get_ie(&pnetwork->network.IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pnetwork->network.IELength - 12); in translate_scan()
257 …rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_l… in translate_scan()
303 total_ielen = pnetwork->network.IELength - _FIXED_IE_LENGTH_; in translate_scan()
630 p = rtw_get_ie(&pcur_bss->IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pcur_bss->IELength - 12); in rtw_wx_get_name()
1989 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_ap_info()
1995 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_ap_info()
2317 …wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_wps_configmethod()
2383 …p2pie = rtw_get_p2p_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &p2piele… in rtw_p2p_get_go_device_address()
[all …]