/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_scan.c | 365 static hi_u8 hmac_scan_update_bss_list_rsn(mac_bss_dscr_stru *bss_dscr, const hi_u8 *puc_ie) in hmac_scan_update_bss_list_rsn() argument 399 hi_u16 us_ver = hi_makeu16(puc_ie[index], puc_ie[index + 1]); in hmac_scan_update_bss_list_rsn() 409 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in hmac_scan_update_bss_list_rsn() 413 bss_dscr->bss_sec_info.rsn_grp_policy = puc_ie[index + MAC_OUI_LEN]; in hmac_scan_update_bss_list_rsn() 420 hi_u16 us_pcip_num = hi_makeu16(puc_ie[index], puc_ie[index + 1]); in hmac_scan_update_bss_list_rsn() 423 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in hmac_scan_update_bss_list_rsn() 433 … bss_dscr->bss_sec_info.auc_rsn_pairwise_policy[us_suite_count++] = puc_ie[index + MAC_OUI_LEN]; in hmac_scan_update_bss_list_rsn() 439 hi_u16 us_auth_num = hi_makeu16(puc_ie[index], puc_ie[index + 1]); in hmac_scan_update_bss_list_rsn() 443 if (0 != memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN)) { in hmac_scan_update_bss_list_rsn() 449 … bss_dscr->bss_sec_info.auc_rsn_auth_policy[us_suite_count++] = puc_ie[index + MAC_OUI_LEN]; in hmac_scan_update_bss_list_rsn() [all …]
|
D | hmac_mgmt_sta.c | 1231 hi_u8 *puc_ie = HI_NULL; in hmac_sta_find_ie_in_probe_rsp() local 1270 puc_ie = mac_find_ie(eid, puc_payload, (bss_dscr->mgmt_len - us_offset)); in hmac_sta_find_ie_in_probe_rsp() 1271 if (puc_ie == HI_NULL) { in hmac_sta_find_ie_in_probe_rsp() 1276 if (*(puc_ie + 1) == 0) { in hmac_sta_find_ie_in_probe_rsp() 1281 *pus_index = (hi_u16)(puc_ie - puc_payload); in hmac_sta_find_ie_in_probe_rsp() 1299 hi_u8 *puc_ie = HI_NULL; in hmac_sta_check_ht_cap_ie() local 1308 puc_ie = mac_find_ie(MAC_EID_HT_CAP, puc_payload, us_payload_len); in hmac_sta_check_ht_cap_ie() 1309 if (puc_ie == HI_NULL || puc_ie[1] < MAC_HT_CAP_LEN) { in hmac_sta_check_ht_cap_ie() 1322 if (puc_ie < puc_payload) { in hmac_sta_check_ht_cap_ie() 1325 us_ht_cap_index = (hi_u16)(puc_ie - puc_payload); in hmac_sta_check_ht_cap_ie() [all …]
|
D | hmac_mgmt_ap.c | 67 static hi_u32 hmac_chk_open_action_sec_cap(const mac_vap_stru *mac_vap, const hi_u8 *puc_ie, hi_u8 … 721 hi_u8 *puc_ie = HI_NULL; in hmac_chk_assoc_req_sec_cap_auth_encry() local 734 puc_ie = puc_rsn_ie; in hmac_chk_assoc_req_sec_cap_auth_encry() 746 puc_ie = puc_wpa_ie; in hmac_chk_assoc_req_sec_cap_auth_encry() 753 …if (((rsn_found == HI_TRUE) && (puc_ie != HI_NULL)) && (hmac_check_assoc_req_security_cap_common(m… in hmac_chk_assoc_req_sec_cap_auth_encry() 2084 hi_u8 *puc_ie = HI_NULL; in hmac_check_open_action_sec_authenticator() local 2125 puc_ie = puc_rsn_ie; in hmac_check_open_action_sec_authenticator() 2127 ret = hmac_chk_open_action_sec_cap(mac_vap, puc_ie, DMAC_RSNA_802_11I, index, pen_status_code); in hmac_check_open_action_sec_authenticator() 2150 static hi_u32 hmac_chk_open_action_sec_cap(const mac_vap_stru *mac_vap, const hi_u8 *puc_ie, hi_u8 … in hmac_chk_open_action_sec_cap() argument 2165 …if (mib_info->wlan_mib_rsna_cfg.dot11_rsna_config_version != hi_makeu16(puc_ie[index], puc_ie[inde… in hmac_chk_open_action_sec_cap() [all …]
|
D | hmac_p2p.h | 105 hi_void hmac_p2p_del_ie(hi_u8 *puc_ie, hi_u32 *ie_len);
|
D | hmac_sme_sta.c | 454 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() 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()
|
D | hmac_p2p.c | 854 hi_void hmac_p2p_del_ie(hi_u8 *puc_ie, hi_u32 *ie_len) in hmac_p2p_del_ie() argument 861 if ((puc_ie == HI_NULL) || (ie_len == HI_NULL) || (*ie_len == 0)) { in hmac_p2p_del_ie() 865 …puc_p2p_ie = mac_find_vendor_ie(MAC_WLAN_OUI_WFA, MAC_WLAN_OUI_TYPE_WFA_P2P, puc_ie, (hi_s32)(*ie_… in hmac_p2p_del_ie() 873 puc_ie_end = (puc_ie + *ie_len); in hmac_p2p_del_ie()
|
D | hmac_mgmt_bss_comm.c | 2178 hi_u8 *puc_ie = HI_NULL; in hmac_mgmt_update_assoc_user_qos() local 2210 …puc_ie = mac_find_ie(MAC_EID_WMM, puc_payload + us_info_elem_offset, us_msg_len - us_info_elem_off… in hmac_mgmt_update_assoc_user_qos() 2211 if (puc_ie != HI_NULL) { in hmac_mgmt_update_assoc_user_qos() 2215 …puc_ie = mac_find_ie(MAC_EID_HT_CAP, puc_payload + us_info_elem_offset, us_msg_len - us_info_elem_… in hmac_mgmt_update_assoc_user_qos() 2217 if ((puc_ie != HI_NULL) && ((puc_ie[1] >= OAL_IE_HDR_LEN) && (puc_ie[2] & BIT5))) { in hmac_mgmt_update_assoc_user_qos()
|
D | hmac_config.c | 285 (uintptr_t)mac_vap->ast_app_ie[loop].puc_ie, mac_vap->ast_app_ie[loop].ie_len); in hmac_config_vap_info() 3908 if ((connect_param->puc_ie != HI_NULL) && 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() 4092 …(mac_find_vendor_ie(MAC_WLAN_OUI_MICROSOFT, MAC_WLAN_OUI_TYPE_MICROSOFT_WPS, connect_param->puc_ie, in hmac_config_connect() 4184 hi_u8 *puc_ie = HI_NULL; in hmac_config_set_app_ie_to_vap() local 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() 4196 if (puc_ie != HI_NULL) { 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() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
D | wal_scan.c | 273 if (scan_param->puc_ie != HI_NULL) { in wal_free_scan_resource() 274 oal_free((hi_u8 *)(scan_param->puc_ie)); in wal_free_scan_resource() 275 scan_param->puc_ie = HI_NULL; in wal_free_scan_resource() 540 scan_param->puc_ie = (hi_u8 *)malloc(request->ie_len); in wal_start_scan_req() 541 if (oal_unlikely(scan_param->puc_ie == HI_NULL)) { in wal_start_scan_req() 547 …if (memcpy_s((hi_void *)(scan_param->puc_ie), request->ie_len, request->ie, request->ie_len) != EO… in wal_start_scan_req() 553 scan_param->puc_ie = request->ie; in wal_start_scan_req() 558 scan_param->puc_ie = HI_NULL; in wal_start_scan_req()
|
D | wal_cfg80211.c | 2314 hi_u32 wal_parse_rsn_ie(const hi_u8 *puc_ie, mac_beacon_param_stru *beacon_param) in wal_parse_rsn_ie() argument 2341 if (puc_ie[1] < MAC_MIN_RSN_LEN) { in wal_parse_rsn_ie() 2342 … oam_warning_log1(0, OAM_SF_ANY, "{wal_parse_rsn_ie::invalid RSN IE len[%d]!}\r\n", puc_ie[1]); in wal_parse_rsn_ie() 2347 if (hi_makeu16(puc_ie[index], puc_ie[index + 1]) != MAC_RSN_IE_VERSION) { in wal_parse_rsn_ie() 2355 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in wal_parse_rsn_ie() 2359 beacon_param->group_crypto = puc_ie[index + MAC_OUI_LEN]; in wal_parse_rsn_ie() 2364 hi_u16 us_pcip_num = hi_makeu16(puc_ie[index], puc_ie[index + 1]); in wal_parse_rsn_ie() 2376 if (memcmp(auc_oui, puc_ie + index, MAC_OUI_LEN) != 0) { in wal_parse_rsn_ie() 2380 beacon_param->auc_pairwise_crypto_wpa2[us_temp] = puc_ie[index + MAC_OUI_LEN]; in wal_parse_rsn_ie() 2386 hi_u16 us_auth_num = hi_makeu16(puc_ie[index], puc_ie[index + 1]); in wal_parse_rsn_ie() [all …]
|
D | wal_cfg80211_apt.h | 76 …connected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *puc_ie, hi_u32 ie_len);
|
D | wal_wpa_ioctl.h | 122 hi_u8 hwal_is_valid_ie_attr(const hi_u8 *puc_ie, hi_u32 ie_len);
|
D | hi_wifi_driver_wpa_if.h | 575 hi_u8 *puc_ie; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/ |
D | hi_wifi_driver_wpa_if.h | 308 hi_u8 *puc_ie; member 501 hi_u8 *puc_ie; member 539 hi_u8 *puc_ie; member 550 hi_u8 *puc_ie; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_frame.c | 1341 puc_app_ie = mac_vap->ast_app_ie[type].puc_ie; in mac_add_app_ie() 1943 puc_app_ie = mac_vap->ast_app_ie[type].puc_ie; 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 2164 if (oal_unlikely(puc_ie == HI_NULL)) { in mac_get_pmf_cap() 2169 puc_rsn_ie = mac_find_ie(MAC_EID_RSN, puc_ie, ie_len); in mac_get_pmf_cap() 2211 hi_u8 *puc_ie = HI_NULL; in mac_get_dtim_period() local 2216 … puc_ie = mac_find_ie(MAC_EID_TIM, puc_frame_body + us_offset, us_frame_body_len - us_offset); in mac_get_dtim_period() 2217 if ((puc_ie != HI_NULL) && (puc_ie[1] >= MAC_MIN_TIM_LEN)) { in mac_get_dtim_period() 2218 return puc_ie[3]; /* byte 3 为dtim period值 */ in mac_get_dtim_period() 2233 hi_u8 *puc_ie = HI_NULL; in mac_get_dtim_cnt() local [all …]
|
D | mac_vap.c | 913 hi_u8 *puc_ie = HI_NULL; in mac_vap_save_app_ie() local 924 if (mac_vap->ast_app_ie[type].puc_ie != HI_NULL) { in mac_vap_save_app_ie() 925 oal_mem_free(mac_vap->ast_app_ie[type].puc_ie); in mac_vap_save_app_ie() 927 mac_vap->ast_app_ie[type].puc_ie = HI_NULL; 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() 935 if (puc_ie == HI_NULL) { in mac_vap_save_app_ie() 940 if (mac_vap->ast_app_ie[type].puc_ie != HI_NULL) { in mac_vap_save_app_ie() 941 oal_mem_free(mac_vap->ast_app_ie[type].puc_ie); in mac_vap_save_app_ie() 943 mac_vap->ast_app_ie[type].puc_ie = puc_ie; in mac_vap_save_app_ie() [all …]
|
D | mac_frame.h | 1671 wlan_pmf_cap_status_uint8 mac_get_pmf_cap(hi_u8 *puc_ie, hi_u32 ie_len); 2248 static inline hi_u8 mac_is_wmm_ie(const hi_u8 *puc_ie) in mac_is_wmm_ie() argument 2257 …if ((puc_ie[0] == MAC_EID_WMM) && (puc_ie[2] == MAC_WMM_OUI_BYTE_ONE) && /* check puc_i… in mac_is_wmm_ie() 2258 …(puc_ie[3] == MAC_WMM_OUI_BYTE_TWO) && (puc_ie[4] == MAC_WMM_OUI_BYTE_THREE) && /* check puc_ie[3]… in mac_is_wmm_ie() 2259 (puc_ie[5] == MAC_OUITYPE_WMM) && /* puc_ie[5] check是否为WMM Type */ in mac_is_wmm_ie() 2260 …((puc_ie[6] == MAC_OUISUBTYPE_WMM_INFO) || (puc_ie[6] == MAC_OUISUBTYPE_WMM_PARAM)) && /* check pu… in mac_is_wmm_ie() 2261 (puc_ie[7] == MAC_OUI_WMM_VERSION)) { /* puc_ie[7] check是否为Version field 0x1 */ in mac_is_wmm_ie()
|
D | mac_cfg.h | 617 const hi_u8 *puc_ie; member 650 hi_u8 *puc_ie; member
|
D | mac_vap.h | 741 hi_u8 *puc_ie; /* APP 信息元素 */ member 1406 if (mac_vap->ast_app_ie[type].puc_ie != HI_NULL) { in mac_vap_clear_app_ie() 1407 oal_mem_free(mac_vap->ast_app_ie[type].puc_ie); in mac_vap_clear_app_ie() 1408 mac_vap->ast_app_ie[type].puc_ie = HI_NULL; in mac_vap_clear_app_ie()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_cfg80211.c | 168 …l_cfg80211_disconnected(oal_net_device_stru *pst_net_device, hi_u16 us_reason, const hi_u8 *puc_ie, in oal_cfg80211_disconnected() argument 172 …cfg80211_disconnected(pst_net_device, us_reason, puc_ie, ul_ie_len, locally_generated, GFP_ATOMIC); in oal_cfg80211_disconnected() 174 HdfWifiEventDisconnected(pst_net_device, us_reason, puc_ie, ul_ie_len); in oal_cfg80211_disconnected()
|
D | oal_cfg80211.h | 103 …l_cfg80211_disconnected(oal_net_device_stru *pst_net_device, hi_u16 us_reason, const hi_u8 *puc_ie,
|
D | oal_net.h | 1521 hi_u8* puc_ie; member
|