Home
last modified time | relevance | path

Searched refs:ie_len (Results 1 - 25 of 33) sorted by relevance

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_encap_frame_sta.c127 hi_u8 ie_len = 0; in hmac_mgmt_encap_asoc_req_sta() local
192 mac_set_listen_interval_ie(puc_req_frame, &ie_len); in hmac_mgmt_encap_asoc_req_sta()
193 puc_req_frame += ie_len; in hmac_mgmt_encap_asoc_req_sta()
203 mac_set_ssid_ie((hi_void *)hmac_vap->base_vap, puc_req_frame, &ie_len, WLAN_FC0_SUBTYPE_ASSOC_REQ); in hmac_mgmt_encap_asoc_req_sta()
204 puc_req_frame += ie_len; in hmac_mgmt_encap_asoc_req_sta()
207 hmac_set_supported_rates_ie_asoc_req(hmac_vap, puc_req_frame, &ie_len); in hmac_mgmt_encap_asoc_req_sta()
208 puc_req_frame += ie_len; in hmac_mgmt_encap_asoc_req_sta()
211 hmac_set_exsup_rates_ie_asoc_req(hmac_vap, puc_req_frame, &ie_len); in hmac_mgmt_encap_asoc_req_sta()
212 puc_req_frame += ie_len; in hmac_mgmt_encap_asoc_req_sta()
214 mac_set_power_cap_ie((hi_void *)hmac_vap->base_vap, puc_req_frame, &ie_len); in hmac_mgmt_encap_asoc_req_sta()
[all...]
H A Dhmac_encap_frame_ap.c216 hi_u8 ie_len = 0; in hmac_mgmt_encap_asoc_rsp_ap() local
274 hmac_set_supported_rates_ie_asoc_rsp(mac_user, asoc_rsp_ap_info->puc_asoc_rsp, &ie_len); in hmac_mgmt_encap_asoc_rsp_ap()
275 asoc_rsp_ap_info->puc_asoc_rsp += ie_len; in hmac_mgmt_encap_asoc_rsp_ap()
277 hmac_set_exsup_rates_ie_asoc_rsp(mac_user, asoc_rsp_ap_info->puc_asoc_rsp, &ie_len); in hmac_mgmt_encap_asoc_rsp_ap()
278 asoc_rsp_ap_info->puc_asoc_rsp += ie_len; in hmac_mgmt_encap_asoc_rsp_ap()
280 mac_set_wmm_params_ie((hi_void *)mac_ap, asoc_rsp_ap_info->puc_asoc_rsp, mac_user->cap_info.qos, &ie_len); in hmac_mgmt_encap_asoc_rsp_ap()
281 asoc_rsp_ap_info->puc_asoc_rsp += ie_len; in hmac_mgmt_encap_asoc_rsp_ap()
285 mac_set_timeout_interval_ie(asoc_rsp_ap_info->puc_asoc_rsp, &ie_len, tie_type, timeout); in hmac_mgmt_encap_asoc_rsp_ap()
286 asoc_rsp_ap_info->puc_asoc_rsp += ie_len; in hmac_mgmt_encap_asoc_rsp_ap()
290 mac_set_ht_capabilities_ie((hi_void *)mac_ap, asoc_rsp_ap_info->puc_asoc_rsp, &ie_len); in hmac_mgmt_encap_asoc_rsp_ap()
984 hi_u8 ie_len = 0; hmac_encap_mesh_peering_open_frame() local
1118 hi_u8 ie_len = 0; hmac_encap_mesh_peering_confirm_frame() local
[all...]
H A Dhmac_p2p.c753 if (wps_p2p_ie->ie_len != 0 && mac_find_vendor_ie(MAC_WLAN_OUI_MICROSOFT, MAC_WLAN_OUI_TYPE_MICROSOFT_WPS, in hmac_p2p_set_wps_p2p_ie()
754 wps_p2p_ie->auc_ie, (hi_s32)(wps_p2p_ie->ie_len)) != HI_NULL) { in hmac_p2p_set_wps_p2p_ie()
775 hi_s32 ie_len = 0; in hmac_p2p_find_attribute() local
779 ie_len = (hi_s32)((puc_ies[2] << 8) + puc_ies[1]); /* 2:下标,8:左移8位,1:下标 */ in hmac_p2p_find_attribute()
780 l_len -= ie_len + MAC_P2P_ATTRIBUTE_HDR_LEN; in hmac_p2p_find_attribute()
781 puc_ies += ie_len + MAC_P2P_ATTRIBUTE_HDR_LEN; in hmac_p2p_find_attribute()
784 ie_len = (hi_s32)((puc_ies[2] << 8) + puc_ies[1]); /* 1:下标,2:下标,8:向左位移动8位 */ in hmac_p2p_find_attribute()
785 if ((l_len < MAC_P2P_ATTRIBUTE_HDR_LEN) || (l_len < (MAC_P2P_ATTRIBUTE_HDR_LEN + ie_len))) { in hmac_p2p_find_attribute()
848 hi_u32 *ie_len wpa_supplicant 下发的ie 长度
854 hi_void hmac_p2p_del_ie(hi_u8 *puc_ie, hi_u32 *ie_len) in hmac_p2p_del_ie() argument
[all...]
H A Dhmac_sme_sta.c454 hmac_p2p_del_ie((hi_u8 *)(scan_param->puc_ie), &(scan_param->ie_len)); in hmac_process_scan_req()
459 hmac_p2p_find_listen_channel(mac_vap, (hi_u16)(scan_param->ie_len), (hi_u8 *)(scan_param->puc_ie)); in hmac_process_scan_req()
464 user_ie.ie_len = scan_param->ie_len; in hmac_process_scan_req()
466 if ((scan_param->puc_ie != HI_NULL) && (user_ie.ie_len != 0)) { in hmac_process_scan_req()
467 if (memcpy_s(user_ie.auc_ie, WLAN_WPS_IE_MAX_SIZE, scan_param->puc_ie, user_ie.ie_len) != EOK) { in hmac_process_scan_req()
H A Dhmac_p2p.h105 hi_void hmac_p2p_del_ie(hi_u8 *puc_ie, hi_u32 *ie_len);
H A Dhmac_config.c285 (uintptr_t)mac_vap->ast_app_ie[loop].puc_ie, mac_vap->ast_app_ie[loop].ie_len); in hmac_config_vap_info()
3907 app_ie->ie_len = connect_param->ie_len; in hmac_config_connect_ie()
3909 (memcpy_s(app_ie->auc_ie, WLAN_WPS_IE_MAX_SIZE, connect_param->puc_ie, app_ie->ie_len) != EOK)) { in hmac_config_connect_ie()
3972 hmac_p2p_del_ie(connect_param->puc_ie, &(connect_param->ie_len)); in hmac_config_connect_dev()
4089 conn_sec.pmf_cap = mac_get_pmf_cap(connect_param->puc_ie, connect_param->ie_len); in hmac_config_connect()
4093 (hi_s32)(connect_param->ie_len))) { in hmac_config_connect()
4195 puc_ie = mac_find_ie(MAC_EID_EXT_CAPS, app_ie->auc_ie, app_ie->ie_len); in hmac_config_set_app_ie_to_vap()
4197 app_ie->ie_len -= (hi_u32)(puc_ie[1] + MAC_IE_HDR_LEN); in hmac_config_set_app_ie_to_vap()
4198 remain_len = app_ie->ie_len in hmac_config_set_app_ie_to_vap()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_ext_genl.c112 char *ie_data, int ie_len, const char* add_del_cmd) in wl_ext_add_del_ie_hex()
119 if (!ie_len) { in wl_ext_add_del_ie_hex()
120 AGENL_ERROR(dev->name, "wrong ie_len %d\n", ie_len); in wl_ext_add_del_ie_hex()
124 tot_len = (int)(sizeof(vndr_ie_setbuf_t) + (ie_len)); in wl_ext_add_del_ie_hex()
149 vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.len = ie_len; in wl_ext_add_del_ie_hex()
152 memcpy((char *)vndr_ie->vndr_ie_buffer.vndr_ie_list[0].vndr_ie_data.oui, ie_data, ie_len); in wl_ext_add_del_ie_hex()
171 int err = -1, ie_len; in wl_ext_send_probersp() local
182 ie_len = *(buf+PROBE_RSP_VNDR_LEN_OFFSET); in wl_ext_send_probersp()
184 if (ie_len > (buf_le in wl_ext_send_probersp()
111 wl_ext_add_del_ie_hex(struct net_device *dev, uint pktflag, char *ie_data, int ie_len, const char* add_del_cmd) wl_ext_add_del_ie_hex() argument
259 int ie_len = ie->len + TLV_HDR_LEN; wl_ext_probreq_event() local
[all...]
H A Dfrag.c110 uint8 id, bool id_ext, uint *ie_len) in bcm_tlv_dot11_frag_tot_len()
112 return bcm_tlv_dot11_defrag(buf, buf_len, id, id_ext, NULL, ie_len); in bcm_tlv_dot11_frag_tot_len()
109 bcm_tlv_dot11_frag_tot_len(const void *buf, uint buf_len, uint8 id, bool id_ext, uint *ie_len) bcm_tlv_dot11_frag_tot_len() argument
H A Dfrag.h37 uint8 id, bool id_ext, uint *ie_len);
H A Dwl_cfgp2p.c826 * @ie_len : probe request ie length
831 const u8 *ie, u32 ie_len) in wl_cfgp2p_enable_discovery()
868 if (ie_len) { in wl_cfgp2p_enable_discovery()
886 bssidx, VNDR_IE_PRBREQ_FLAG, ie, ie_len); in wl_cfgp2p_enable_discovery()
2282 uint ie_len; in wl_cfgp2p_find_attrib_in_all_p2p_Ies() local
2285 ie_len = len; in wl_cfgp2p_find_attrib_in_all_p2p_Ies()
2286 while ((ie = bcm_parse_tlvs(parse, ie_len, DOT11_MNG_VS_ID))) { in wl_cfgp2p_find_attrib_in_all_p2p_Ies()
2287 if (wl_cfgp2p_is_p2p_ie(ie, &parse, &ie_len) == TRUE) { in wl_cfgp2p_find_attrib_in_all_p2p_Ies()
2296 bcm_tlv_buffer_advance_past(ie, &parse, &ie_len); in wl_cfgp2p_find_attrib_in_all_p2p_Ies()
2299 " to %p len to %d", attrib, parse, ie_len)); in wl_cfgp2p_find_attrib_in_all_p2p_Ies()
830 wl_cfgp2p_enable_discovery(struct bcm_cfg80211 *cfg, struct net_device *dev, const u8 *ie, u32 ie_len) wl_cfgp2p_enable_discovery() argument
[all...]
H A Dwl_cfgp2p.h92 u32 ie_len; /**< total length including id & length field */ member
294 u32 ie_len);
H A Dwl_cfg80211.c5299 err = wldev_iovar_setbuf_bsscfg(dev, "wapiie", (const void *)sme->ie, sme->ie_len, in wl_set_set_wapi_ie()
5667 if (((wpa2_ie = bcm_parse_tlvs((const u8 *)sme->ie, sme->ie_len, in wl_cfg80211_set_mfp()
6197 const uint8* ie_buf, uint16 ie_len) in wl_fils_add_hlp_container()
6201 if ((hlp_ie = (const bcm_tlv_ext_t*)bcm_parse_tlvs_dot11((const uint8 *)ie_buf, ie_len, in wl_fils_add_hlp_container()
6204 u16 left_len = (ie_len - ((const uint8*)hlp_ie - ie_buf)); in wl_fils_add_hlp_container()
6209 bcm_tlv_dot11_frag_tot_len(ie_buf, ie_len, FILS_HLP_CONTAINER_EXT_ID, in wl_fils_add_hlp_container()
6376 WL_DBG(("SME IE : len=%zu\n", sme->ie_len)); in wl_cfg80211_connect()
6377 if (sme->ie != NULL && sme->ie_len > 0 && (wl_dbg_level & WL_DBG_DBG)) { in wl_cfg80211_connect()
6378 prhex(NULL, sme->ie, sme->ie_len); in wl_cfg80211_connect()
6473 VNDR_IE_ASSOCREQ_FLAG, sme->ie, sme->ie_len); in wl_cfg80211_connect()
6196 wl_fils_add_hlp_container(struct bcm_cfg80211 *cfg, struct net_device *dev, const uint8* ie_buf, uint16 ie_len) wl_fils_add_hlp_container() argument
9004 u32 ie_len = 0; wl_cfg80211_he_p2p_disable() local
9634 s32 ie_len = len - ie_offset; wl_cfg80211_mgmt_tx() local
14811 uint32 ie_len = 0; wl_notify_connect_status() local
15827 size_t ie_len; wl_update_bss_info() local
[all...]
H A Dwl_cfgscan.c807 const u8 *ie, u32 ie_len) in wl_find_listen_channel()
815 p2p_ie = wl_cfgp2p_find_p2pie(pos, ie_len); in wl_find_listen_channel()
1780 request->ie, request->ie_len)) != NULL) { in __wl_cfg80211_scan()
1805 request->ie, request->ie_len); in __wl_cfg80211_scan()
1832 request->ie_len); in __wl_cfg80211_scan()
1834 request->ie, request->ie_len); in __wl_cfg80211_scan()
806 wl_find_listen_channel(struct bcm_cfg80211 *cfg, const u8 *ie, u32 ie_len) wl_find_listen_channel() argument
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_cfg80211_apt.c306 hi_u32 ie_len = scanned_bss_info->mgmt_len - (hi_u32)oal_offset_of(oal_ieee80211_mgmt_stru, u.probe_resp.variable); in cfg80211_inform_bss_frame() local
309 scan_result.variable = oal_memalloc(ie_len + beacon_len); in cfg80211_inform_bss_frame()
311 oam_error_log2(0, OAM_SF_ANY, "{cfg80211_inform_bss_frame::mallocErr.ieLen%d,beaconLen%d}", ie_len, beacon_len); in cfg80211_inform_bss_frame()
316 memset_s(scan_result.variable, ie_len + beacon_len, 0, ie_len + beacon_len); in cfg80211_inform_bss_frame()
318 scan_result.ie_len = ie_len; in cfg80211_inform_bss_frame()
331 if (memcpy_s(scan_result.variable, ie_len, scanned_bss_info->mgmt->u.probe_resp.variable, ie_len) != EOK) { in cfg80211_inform_bss_frame()
336 if (memcpy_s(scan_result.variable + ie_len, beacon_le in cfg80211_inform_bss_frame()
469 cfg80211_disconnected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *ie, hi_u32 ie_len) cfg80211_disconnected() argument
[all...]
H A Dwal_scan.c538 if ((request->ie_len > 0) && (request->ie != HI_NULL)) { in wal_start_scan_req()
540 scan_param->puc_ie = (hi_u8 *)malloc(request->ie_len); in wal_start_scan_req()
547 if (memcpy_s((hi_void *)(scan_param->puc_ie), request->ie_len, request->ie, request->ie_len) != EOK) { in wal_start_scan_req()
556 scan_param->ie_len = request->ie_len; in wal_start_scan_req()
559 scan_param->ie_len = 0; in wal_start_scan_req()
H A Dhi_wifi_driver_wpa_if.h524 hi_u32 ie_len; member
550 hi_u32 ie_len; member
558 hi_u32 ie_len; member
571 hi_u32 ie_len; member
602 hi_u16 ie_len; member
H A Dwal_cfg80211_apt.h76 hi_u32 cfg80211_disconnected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *puc_ie, hi_u32 ie_len);
H A Dwal_wpa_ioctl.h122 hi_u8 hwal_is_valid_ie_attr(const hi_u8 *puc_ie, hi_u32 ie_len);
H A Dwal_mac80211.c103 request->ie_len = params->extraIEsLen; in WifiScanSetUserIe()
289 cfg80211_params.ie_len = param->ieLen; in WalConnect()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
H A Dhi_wifi_driver_wpa_if.h512 hi_u32 ie_len; member
534 hi_u32 ie_len; member
542 hi_u32 ie_len; member
547 hi_u32 ie_len; member
578 hi_u16 ie_len; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
H A Dmac_vap.c914 hi_u32 ie_len; in mac_vap_save_app_ie() local
921 ie_len = app_ie->ie_len; in mac_vap_save_app_ie()
923 if (ie_len == 0) { in mac_vap_save_app_ie()
928 mac_vap->ast_app_ie[type].ie_len = 0; in mac_vap_save_app_ie()
932 if ((mac_vap->ast_app_ie[type].ie_len < ie_len) || (mac_vap->ast_app_ie[type].puc_ie == HI_NULL)) { in mac_vap_save_app_ie()
934 puc_ie = oal_mem_alloc(OAL_MEM_POOL_ID_LOCAL, (hi_u16)(ie_len)); in mac_vap_save_app_ie()
937 "{mac_vap_set_app_ie::LOCAL_MEM_POOL is empty!,len[%d], en_type[%d].}", app_ie->ie_len, type); in mac_vap_save_app_ie()
945 if (memcpy_s((hi_void *)mac_vap->ast_app_ie[type].puc_ie, ie_len, (hi_voi in mac_vap_save_app_ie()
[all...]
H A Dmac_frame.c368 hi_u8 ie_len = 0; in mac_set_rsn_mesh_ie_authenticator() local
402 mac_set_rsn_group_cipher_suite_field(mac_vap, &puc_buffer[index], us_frm_type, &ie_len); in mac_set_rsn_mesh_ie_authenticator()
403 index += ie_len; in mac_set_rsn_mesh_ie_authenticator()
1342 app_ie_len = mac_vap->ast_app_ie[type].ie_len; in mac_add_app_ie()
1944 app_ie_len = mac_vap->ast_app_ie[type].ie_len; in mac_add_wps_ie()
2159 wlan_pmf_cap_status_uint8 mac_get_pmf_cap(hi_u8 *puc_ie, hi_u32 ie_len) in mac_get_pmf_cap() argument
2169 puc_rsn_ie = mac_find_ie(MAC_EID_RSN, puc_ie, ie_len); in mac_get_pmf_cap()
H A Dmac_cfg.h618 hi_u32 ie_len; member
662 hi_u32 ie_len; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_net.h883 size_t ie_len; member
1352 hi_u32 ie_len; member
1373 hi_u32 ie_len; member
1450 hi_u32 ie_len; member
1520 hi_u32 ie_len; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_wifi_api.h1977 * ie_len [IN] Type #unsigned short, user IE length.CNcomment:用户IE字段内容长度。CNend
1985 hi_wifi_usr_ie_type usr_ie_type, const unsigned char *ie, unsigned short ie_len);

Completed in 60 milliseconds

12