Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/staging/r8188eu/core/
Drtw_cmd.c482 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
484 if (psecnetwork->IELength - 12 < 255) in rtw_joinbss_cmd()
485 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength - 12); in rtw_joinbss_cmd()
489 psecnetwork->IELength = 0; in rtw_joinbss_cmd()
498 …psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs… in rtw_joinbss_cmd()
505 …pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); in rtw_joinbss_cmd()
507 if (psecnetwork->IELength != tmp_len) { in rtw_joinbss_cmd()
508 psecnetwork->IELength = tmp_len; in rtw_joinbss_cmd()
525 pnetwork->network.IELength, &psecnetwork->IELength); in rtw_joinbss_cmd()
529 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()
1051 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_cipher_info()
1061 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_cipher_info()
1095 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1109 …rk.IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
1117 …work.IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
Drtw_wlan_util.c931 bssid->IELength = len; in rtw_check_bcn_info()
932 memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); in rtw_check_bcn_info()
936 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->IELength - _FIXED_… in rtw_check_bcn_info()
944 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
961 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->IELength - _FIXED_IE_LENGT… in rtw_check_bcn_info()
965 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
975 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _SSID_IE_, &len, bssid->IELength - _FIXED_IE_LENGTH… in rtw_check_bcn_info()
1007 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1022 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength - 12); in rtw_check_bcn_info()
1026 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.c4084 …wpsie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_LEN… in issue_beacon()
4092 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon()
4147 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon()
4150 , cur_network->IELength - _BEACON_IE_OFFSET_ in issue_beacon()
4153 pframe += (cur_network->IELength + len_diff); in issue_beacon()
4154 pattrib->pktlen += (cur_network->IELength + len_diff); in issue_beacon()
4292 if (cur_network->IELength > MAX_IE_SZ) in issue_probersp()
4296 …pwps_ie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_L… in issue_probersp()
4307 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
4326 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_probersp()
[all …]
Drtw_mlme.c433 pmlmepriv->cur_network.network.IELength); in update_current_network()
568 …if (rtw_get_wps_ie(pnetwork->network.IEs + _FIXED_IE_LENGTH_, pnetwork->network.IELength - _FIXED_… in rtw_is_desired_network()
582 (pnetwork->network.IELength - in rtw_is_desired_network()
925 cur_network->network.IELength = ptarget_wlan->network.IELength; in rtw_joinbss_update_network()
955 (cur_network->network.IELength)); in rtw_joinbss_update_network()
956 rtw_update_ht_cap(padapter, cur_network->network.IEs, cur_network->network.IELength); in rtw_joinbss_update_network()
1744 pdev_network->IELength = sz; in rtw_update_registrypriv_dev_network()
Drtw_ioctl_set.c460 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.c1509 void process_p2p_ps_ie(struct adapter *padapter, u8 *IEs, u32 IELength) in process_p2p_ps_ie() argument
1524 if (IELength <= _BEACON_IE_OFFSET_) in process_p2p_ps_ie()
1528 ies_len = IELength - _BEACON_IE_OFFSET_; in process_p2p_ps_ie()
/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188e_cmd.c246 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon()
406 if (cur_network->IELength > MAX_IE_SZ) in ConstructProbeRsp()
409 memcpy(pframe, cur_network->IEs, cur_network->IELength); in ConstructProbeRsp()
410 pframe += cur_network->IELength; in ConstructProbeRsp()
411 pktlen += cur_network->IELength; in ConstructProbeRsp()
/linux-5.19.10/drivers/staging/r8188eu/include/
Dwlan_bssdef.h245 u32 IELength; member
252 return sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength; in get_wlan_bssid_ex_sz()
/linux-5.19.10/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()
1997 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_ap_info()
2003 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength - 12); in rtw_get_ap_info()
2327 …wpsie = rtw_get_wps_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &wpsie_l… in rtw_p2p_get_wps_configmethod()
2393 …p2pie = rtw_get_p2p_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &p2piele… in rtw_p2p_get_go_device_address()
[all …]