Home
last modified time | relevance | path

Searched refs:ielen (Results 1 – 19 of 19) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_ieee80211.c390 …rtw_get_ie_ex(const u8 *in_ie, uint in_len, u8 eid, const u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument
396 if (ielen) in rtw_get_ie_ex()
397 *ielen = 0; in rtw_get_ie_ex()
412 if (ielen) in rtw_get_ie_ex()
413 *ielen = in_ie[cnt + 1] + 2; in rtw_get_ie_ex()
2582 uint ielen = ielen_ori; in rtw_del_p2p_attr() local
2586 target_attr = rtw_get_p2p_attr(ie, ielen, attr_id, NULL, &target_attr_len); in rtw_del_p2p_attr()
2589 uint remain_len = ielen - (next_attr - ie); in rtw_del_p2p_attr()
2593 dump_ies(RTW_DBGDUMP, ie, ielen); in rtw_del_p2p_attr()
2595 RTW_INFO("ie:%p, ielen:%u\n", ie, ielen); in rtw_del_p2p_attr()
[all …]
Drtw_vht.c997 u32 ielen; in rtw_restructure_vht_ie() local
1007 ht_op_ie = rtw_get_ie(in_ie + 12, WLAN_EID_HT_OPERATION, &ielen, in_len - 12); in rtw_restructure_vht_ie()
1008 if (!ht_op_ie || ielen != HT_OP_IE_LEN) in rtw_restructure_vht_ie()
1010 vht_cap_ie = rtw_get_ie(in_ie + 12, EID_VHTCapability, &ielen, in_len - 12); in rtw_restructure_vht_ie()
1011 if (!vht_cap_ie || ielen != VHT_CAP_IE_LEN) in rtw_restructure_vht_ie()
1013 vht_op_ie = rtw_get_ie(in_ie + 12, EID_VHTOperation, &ielen, in_len - 12); in rtw_restructure_vht_ie()
1014 if (!vht_op_ie || ielen != VHT_OP_IE_LEN) in rtw_restructure_vht_ie()
Drtw_ap.c174 u32 i, offset, ielen = 0, ie_offset, remainder_ielen = 0; in rtw_add_bcn_ie() local
184 ielen = pIE->Length; in rtw_add_bcn_ie()
190 ielen = pIE->Length; in rtw_add_bcn_ie()
195 if (p != NULL && ielen > 0) { in rtw_add_bcn_ie()
196 ielen += 2; in rtw_add_bcn_ie()
198 premainder_ie = p + ielen; in rtw_add_bcn_ie()
202 remainder_ielen = pnetwork->IELength - ie_offset - ielen; in rtw_add_bcn_ie()
207 dst_ie = (p + ielen); in rtw_add_bcn_ie()
239 uint offset, ielen, ie_offset, remainder_ielen = 0; in rtw_remove_bcn_ie() local
242 p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, index, &ielen, pnetwork->IELength - _FIXED_IE_LENGTH_); in rtw_remove_bcn_ie()
[all …]
Drtw_mlme.c5024 u32 ielen, out_len; local
5078 p = rtw_get_ie(in_ie, WLAN_EID_HT_OPERATION, &ielen, in_len);
5079 if (p && ielen == HT_OP_IE_LEN) {
5095 if (oper_bw == CHANNEL_WIDTH_40 && p && ielen == HT_OP_IE_LEN) {
5119 p = rtw_get_ie(in_ie, WLAN_EID_HT_CAP, &ielen, in_len);
5120 if (p && ielen == HT_CAP_IE_LEN) {
5296 p = rtw_get_ie(in_ie, _HT_ADD_INFO_IE_, &ielen, in_len);
5297 if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) {
5299 pframe = rtw_set_ie(out_ie + out_len, _HT_ADD_INFO_IE_, ielen, p + 2 , pout_len);
Drtw_mlme_ext.c2110 unsigned int ielen; in OnProbeReq() local
2225 … = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _VENDOR_SPECIFIC_IE_, (int *)&ielen, in OnProbeReq()
2228 if (!p || ielen != 14) in OnProbeReq()
2335 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq()
2344 …if ((ielen != 0 && _FALSE == _rtw_memcmp((void *)(p + 2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLe… in OnProbeReq()
2345 || (ielen == 0 && pmlmeinfo->hidden_ssid_mode)) in OnProbeReq()
2350 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, WLAN_EID_MESH_ID, (int *)&ielen, in OnProbeReq()
2355 …if (ielen != 0 && _rtw_memcmp((void *)(p + 2), (void *)cur->mesh_id.Ssid, cur->mesh_id.SsidLength)… in OnProbeReq()
Drtw_debug.c2315 int ielen = 0; in proc_get_survey_info() local
2361 ie_wpa = rtw_get_wpa_ie(&pnetwork->network.IEs[12], &ielen, pnetwork->network.IELength - 12); in proc_get_survey_info()
2362 ie_wpa2 = rtw_get_wpa2_ie(&pnetwork->network.IEs[12], &ielen, pnetwork->network.IELength - 12); in proc_get_survey_info()
2366 …ie_p2p = rtw_get_p2p_ie(&pnetwork->network.IEs[12], pnetwork->network.IELength - 12, NULL, &ielen); in proc_get_survey_info()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dscan.c351 int i, ielen, n_chans; in ieee80211_prep_hw_scan() local
394 ielen = ieee80211_build_preq_ies(sdata, in ieee80211_prep_hw_scan()
401 local->hw_scan_req->req.ie_len = ielen; in ieee80211_prep_hw_scan()
Dutil.c2622 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset) in ieee80211_ie_split_vendor() argument
2626 while (pos < ielen && ies[pos] != WLAN_EID_VENDOR_SPECIFIC) in ieee80211_ie_split_vendor()
Dieee80211_i.h2177 size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dhi_wifi_driver_wpa_if.h316 hi_u32 ielen; member
Dwal_cfg80211_apt.c88 new_sta_info.ielen = sinfo->assoc_req_ies_len; in cfg80211_new_sta()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
Dhi_wifi_driver_wpa_if.h307 hi_u32 ielen; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dioctl_cfg80211.c4052 static int rtw_cfg80211_set_wpa_ie(_adapter *padapter, u8 *pie, size_t ielen) in rtw_cfg80211_set_wpa_ie() argument
4064 if (pie == NULL || !ielen) { in rtw_cfg80211_set_wpa_ie()
4070 if (ielen > MAX_WPA_IE_LEN + MAX_WPS_IE_LEN + MAX_P2P_IE_LEN) { in rtw_cfg80211_set_wpa_ie()
4075 buf = rtw_zmalloc(ielen); in rtw_cfg80211_set_wpa_ie()
4081 _rtw_memcpy(buf, pie , ielen); in rtw_cfg80211_set_wpa_ie()
4083 RTW_INFO("set wpa_ie(length:%zu):\n", ielen); in rtw_cfg80211_set_wpa_ie()
4084 RTW_INFO_DUMP(NULL, buf, ielen); in rtw_cfg80211_set_wpa_ie()
4087 if (ielen < RSN_HEADER_LEN) { in rtw_cfg80211_set_wpa_ie()
4092 pwpa = rtw_get_wpa_ie(buf, &wpa_ielen, ielen); in rtw_cfg80211_set_wpa_ie()
4103 pwpa2 = rtw_get_wpa2_ie(buf, &wpa2_ielen, ielen); in rtw_cfg80211_set_wpa_ie()
[all …]
Dioctl_linux.c1018 static int rtw_set_wpa_ie(_adapter *padapter, char *pie, unsigned short ielen) in rtw_set_wpa_ie() argument
1029 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) { in rtw_set_wpa_ie()
1037 if (ielen) { in rtw_set_wpa_ie()
1038 buf = rtw_zmalloc(ielen); in rtw_set_wpa_ie()
1044 _rtw_memcpy(buf, pie , ielen); in rtw_set_wpa_ie()
1049 RTW_INFO("\n wpa_ie(length:%d):\n", ielen); in rtw_set_wpa_ie()
1050 for (i = 0; i < ielen; i = i + 8) in rtw_set_wpa_ie()
1055 if (ielen < RSN_HEADER_LEN) { in rtw_set_wpa_ie()
1060 if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie()
1063 _rtw_memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); in rtw_set_wpa_ie()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_android.c2946 int ielen = 0, datalen = 0, idx = 0, tot_len = 0; in wl_android_set_ibss_beacon_ouidata() local
3015 ielen = DOT11_OUI_LEN + datalen; in wl_android_set_ibss_beacon_ouidata()
3016 vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.len = (uchar) ielen; in wl_android_set_ibss_beacon_ouidata()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dieee80211.h1888 …tw_get_ie_ex(const u8 *in_ie, uint in_len, u8 eid, const u8 *oui, u8 oui_len, u8 *ie, uint *ielen);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_android.c3253 int ielen = 0, datalen = 0, idx = 0, tot_len = 0; in wl_android_set_ibss_beacon_ouidata() local
3320 ielen = DOT11_OUI_LEN + datalen; in wl_android_set_ibss_beacon_ouidata()
3321 vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.len = (uchar) ielen; in wl_android_set_ibss_beacon_ouidata()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_android.c3352 int ielen = 0, datalen = 0, idx = 0, tot_len = 0; in wl_android_set_ibss_beacon_ouidata() local
3420 ielen = DOT11_OUI_LEN + datalen; in wl_android_set_ibss_beacon_ouidata()
3421 vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.len = (uchar)ielen; in wl_android_set_ibss_beacon_ouidata()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_android.c7641 int ielen = 0, datalen = 0, idx = 0, tot_len = 0; in wl_android_set_ibss_beacon_ouidata() local
7708 ielen = DOT11_OUI_LEN + datalen; in wl_android_set_ibss_beacon_ouidata()
7709 vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.len = (uchar) ielen; in wl_android_set_ibss_beacon_ouidata()