Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_cmd.c443 pdev_network->IELength = pdev_network->IELength; in r8712_createbss_cmd()
489 psecnetwork->IELength; in r8712_joinbss_cmd()
490 if ((psecnetwork->IELength - 12) < (256 - 1)) in r8712_joinbss_cmd()
492 &psecnetwork->IEs[12], psecnetwork->IELength - 12); in r8712_joinbss_cmd()
496 psecnetwork->IELength = 0; in r8712_joinbss_cmd()
505 psecnetwork->IELength = r8712_restruct_sec_ie(padapter, in r8712_joinbss_cmd()
508 pnetwork->network.IELength); in r8712_joinbss_cmd()
516 pnetwork->network.IELength, in r8712_joinbss_cmd()
517 psecnetwork->IELength); in r8712_joinbss_cmd()
518 if (psecnetwork->IELength != tmp_len) { in r8712_joinbss_cmd()
[all …]
Drtl871x_mlme.c212 return sizeof(*bss) + bss->IELength - MAX_IE_SZ; in r8712_get_wlan_bssid_ex_sz()
363 pmlmepriv->cur_network.network.IELength); in update_current_network()
462 pnetwork->network.IELength, wps_ie, in is_desired_network()
517 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); in r8712_survey_event_callback()
745 pnetwork->network.IELength = le32_to_cpu(pnetwork->network.IELength); in r8712_joinbss_event_callback()
885 (cur_network->network.IELength)); in r8712_joinbss_event_callback()
888 cur_network->network.IELength); in r8712_joinbss_event_callback()
1658 pdev_network->IELength = sz; in r8712_update_registrypriv_dev_network()
Dwlan_bssdef.h93 u32 IELength; member
Drtl871x_ioctl_linux.c177 &ht_ielen, pnetwork->network.IELength - 12); in translate_scan()
268 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan()
317 pnetwork->network.IELength, in translate_scan()
616 &ht_ielen, pcur_bss->IELength - 12); in r8711_wx_get_name()
1412 pcur_bss->IELength - 12); in r8711_wx_get_rate()
1992 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
1998 &wpa_ielen, pnetwork->network.IELength - 12); in r871x_get_ap_info()
Drtl871x_mp_ioctl.c177 bssid.IELength = 0; in mp_start_test()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ap.c83 pnetwork_mlmeext->IELength - _FIXED_IE_LENGTH_ in update_BCNTIM()
93 remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen; in update_BCNTIM()
110 (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_) in update_BCNTIM()
119 (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_) in update_BCNTIM()
130 remainder_ielen = pnetwork_mlmeext->IELength - offset - tim_ielen; in update_BCNTIM()
189 pnetwork_mlmeext->IELength = offset + remainder_ielen; in update_BCNTIM()
842 pnetwork->IELength-_FIXED_IE_LENGTH_, in start_bss_network()
925 (pnetwork->IELength - sizeof(struct ndis_802_11_fix_ie)) in start_bss_network()
1057 pbss_network->IELength = len; in rtw_check_beacon_data()
1061 memcpy(ie, pbuf, pbss_network->IELength); in rtw_check_beacon_data()
[all …]
Drtw_cmd.c854 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
856 if ((psecnetwork->IELength-12) < (256-1)) { in rtw_joinbss_cmd()
857 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength-12); in rtw_joinbss_cmd()
862 psecnetwork->IELength = 0; in rtw_joinbss_cmd()
872 …psecnetwork->IELength = rtw_restruct_sec_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs… in rtw_joinbss_cmd()
878 …pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork->network.IELength, psecnetwork->IELength); in rtw_joinbss_cmd()
880 if (psecnetwork->IELength != tmp_len) { in rtw_joinbss_cmd()
881 psecnetwork->IELength = tmp_len; in rtw_joinbss_cmd()
889 …tw_get_ie(&pnetwork->network.IEs[12], _HT_CAPABILITY_IE_, &tmp_len, pnetwork->network.IELength-12); in rtw_joinbss_cmd()
899 rtw_build_wmm_ie_ht(padapter, &psecnetwork->IEs[12], &psecnetwork->IELength); in rtw_joinbss_cmd()
[all …]
Drtw_mlme_ext.c2504 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon()
2507 , cur_network->IELength-_BEACON_IE_OFFSET_ in issue_beacon()
2510 pframe += (cur_network->IELength+len_diff); in issue_beacon()
2511 pattrib->pktlen += (cur_network->IELength+len_diff); in issue_beacon()
2663 if (cur_network->IELength > MAX_IE_SZ) in issue_probersp()
2667 …pwps_ie = rtw_get_wps_ie(cur_network->IEs+_FIXED_IE_LENGTH_, cur_network->IELength-_FIXED_IE_LENGT… in issue_probersp()
2678 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in issue_probersp()
2697 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_probersp()
2698 pframe += cur_network->IELength; in issue_probersp()
2699 pattrib->pktlen += cur_network->IELength; in issue_probersp()
[all …]
Drtw_wlan_util.c1337 bssid->IELength = len; in rtw_check_bcn_info()
1338 memcpy(bssid->IEs, (pframe + sizeof(struct ieee80211_hdr_3addr)), bssid->IELength); in rtw_check_bcn_info()
1342 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, bssid->IELength - _FIXED_… in rtw_check_bcn_info()
1350 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE… in rtw_check_bcn_info()
1374 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _DSSET_IE_, &len, bssid->IELength - _FIXED_IE_LENGT… in rtw_check_bcn_info()
1378 …rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, bssid->IELength - _FIXED_IE_LEN… in rtw_check_bcn_info()
1393 …p = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _SSID_IE_, &len, bssid->IELength - _FIXED_IE_LENGTH… in rtw_check_bcn_info()
1438 rtw_get_sec_ie(bssid->IEs, bssid->IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_check_bcn_info()
1455 pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
1463 pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); in rtw_check_bcn_info()
[all …]
Drtw_ieee80211.c1141 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1154 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_cipher_info()
1194 rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1216 …rk.IEs + _FIXED_IE_LENGTH_, _HT_CAPABILITY_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
1224 …work.IEs + _FIXED_IE_LENGTH_, _HT_ADD_INFO_IE_, &len, pnetwork->network.IELength - _FIXED_IE_LENGT… in rtw_get_bcn_info()
Drtw_mlme.c599 pmlmepriv->cur_network.network.IELength); in update_current_network()
708 if ((pnetwork->network.IELength > target->IELength) && (target->Reserved[0] == 1)) in rtw_update_scanned_network()
764 …if (rtw_get_wps_ie(pnetwork->network.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_IE_L… in rtw_is_desired_network()
778 …twork.IEs + _BEACON_IE_OFFSET_, _RSN_IE_2_, &ie_len, (pnetwork->network.IELength - _BEACON_IE_OFFS… in rtw_is_desired_network()
1316 cur_network->network.IELength = ptarget_wlan->network.IELength; in rtw_joinbss_update_network()
1360 (cur_network->network.IELength)); in rtw_joinbss_update_network()
1362 …rtw_update_ht_cap(padapter, cur_network->network.IEs, cur_network->network.IELength, (u8) cur_netw… in rtw_joinbss_update_network()
2603 pdev_network->IELength = sz; in rtw_update_registrypriv_dev_network()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h222 u32 IELength; member
228 return (sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength); in get_wlan_bssid_ex_sz()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c169 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fix_ie); in ConstructBeacon()
753 if (cur_network->IELength > MAX_IE_SZ) in ConstructProbeRsp()
757 cur_network->IELength-_FIXED_IE_LENGTH_, NULL, &wps_ielen); in ConstructProbeRsp()
768 remainder_ielen = cur_network->IELength - wps_offset - wps_ielen; in ConstructProbeRsp()
787 memcpy(pframe, cur_network->IEs, cur_network->IELength); in ConstructProbeRsp()
788 pframe += cur_network->IELength; in ConstructProbeRsp()
789 pktlen += cur_network->IELength; in ConstructProbeRsp()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c114 …= rtw_get_ie(&pnetwork->network.IEs[0], _HT_CAPABILITY_IE_, &ht_ielen, pnetwork->network.IELength); in translate_scan()
116 …w_get_ie(&pnetwork->network.IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pnetwork->network.IELength-12); in translate_scan()
239 …out_len =rtw_get_sec_ie(pnetwork->network.IEs , pnetwork->network.IELength, rsn_ie,&rsn_len, wpa_i… in translate_scan()
295 total_ielen = pnetwork->network.IELength - ie_offset; in translate_scan()
299 total_ielen = pnetwork->network.IELength; in translate_scan()
302 total_ielen = pnetwork->network.IELength - _FIXED_IE_LENGTH_; in translate_scan()
782 p = rtw_get_ie(&pcur_bss->IEs[12], _HT_CAPABILITY_IE_, &ht_ielen, pcur_bss->IELength-12); in rtw_wx_get_name()
2510 pbuf = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
2516 pbuf = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &wpa_ielen, pnetwork->network.IELength-12); in rtw_get_ap_info()
Dioctl_cfg80211.c263 bssinf_len = pnetwork->network.IELength+sizeof (struct ieee80211_hdr_3addr); in rtw_cfg80211_inform_bss()
272 if (rtw_get_wapi_ie(pnetwork->network.IEs, pnetwork->network.IELength, NULL, &wapi_len)>0) in rtw_cfg80211_inform_bss()
293 …wpsie = rtw_get_wps_ie(pnetwork->network.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_… in rtw_cfg80211_inform_bss()
333 notify_ielen = pnetwork->network.IELength-_FIXED_IE_LENGTH_; in rtw_cfg80211_inform_bss()
370 memcpy(pbuf, pnetwork->network.IEs, pnetwork->network.IELength); in rtw_cfg80211_inform_bss()
371 len += pnetwork->network.IELength; in rtw_cfg80211_inform_bss()