/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
D | hmac_config.h | 38 typedef hi_u32 (*wal_config_set_func)(mac_vap_stru *pst_mac_vap, hi_u16 us_len, const hi_u8 *puc_pa… 108 …c_config_sync_cmd_common(const mac_vap_stru *mac_vap, wlan_cfgid_enum_uint16 cfg_id, hi_u16 us_len, 110 hi_u32 hmac_config_frag_threshold(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 111 hi_u32 hmac_config_user_info(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 113 hi_u32 hmac_config_set_wow(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 117 hi_u32 hmac_start_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 118 hi_u32 hmac_stop_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 120 hi_u32 hmac_config_set_country(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 121 hi_u32 hmac_config_rts_threshold(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 123 hi_u32 hmac_config_set_mib(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); [all …]
|
D | hmac_config.c | 83 hi_u32 hmac_config_delba_req(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_delba_req() argument 92 hi_unref_param(us_len); in hmac_config_delba_req() 149 hi_u32 hmac_config_addba_req(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_addba_req() argument 158 hi_unref_param(us_len); in hmac_config_addba_req() 233 hi_u32 hmac_config_vap_info(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_vap_info() argument 239 hi_unref_param(us_len); in hmac_config_vap_info() 295 hi_u32 hmac_config_ampdu_start(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_ampdu_start() argument 304 hi_unref_param(us_len); in hmac_config_ampdu_start() 349 hi_u32 hmac_config_amsdu_ampdu_switch(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_amsdu_ampdu_switch() argument 354 hi_unref_param(us_len); in hmac_config_amsdu_ampdu_switch() [all …]
|
D | hmac_p2p.h | 89 hi_u32 hmac_p2p_add_gc_vap(mac_device_stru *mac_dev, hi_u16 us_len, const hi_u8 *puc_param); 90 hi_u32 hmac_p2p_del_gc_vap(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 97 hi_u32 hmac_p2p_set_status(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 101 hi_u32 hmac_p2p_send_action(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 102 hi_u32 hmac_p2p_set_ps_ops(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 103 hi_u32 hmac_p2p_set_ps_noa(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 104 hi_u32 hmac_p2p_find_listen_channel(mac_vap_stru *mac_vap, hi_u16 us_len, hi_u8 *puc_param); 106 hi_u32 hmac_p2p_set_wps_p2p_ie(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 107 hi_u32 hmac_p2p_config_remain_on_channel(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_par… 108 hi_u32 hmac_p2p_cancel_remain_on_channel(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_par…
|
D | hmac_uapsd.c | 45 hi_u32 hmac_config_set_uapsden(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_set_uapsden() argument 76 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_UAPSD_EN, us_len, puc_param); in hmac_config_set_uapsden() 110 hi_u16 us_len = sizeof(hi_u8); in hmac_uapsd_set_info() local 120 puc_param[us_len] = uapsd_flag; in hmac_uapsd_set_info() 121 us_len++; in hmac_uapsd_set_info() 123 if (memcpy_s(puc_param + us_len, sizeof(mac_user_uapsd_status_stru), uapsd_status, in hmac_uapsd_set_info() 129 us_len += sizeof(mac_user_uapsd_status_stru); in hmac_uapsd_set_info() 131 hi_u32 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_UAPSD_UPDATE, us_len, puc_param); in hmac_uapsd_set_info()
|
D | hmac_11i.h | 82 hi_u32 hmac_config_11i_add_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 84 hi_u32 hmac_config_11i_get_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 86 hi_u32 hmac_config_11i_remove_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 87 hi_u32 hmac_config_11i_set_default_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param… 88 hi_u32 hmac_config_11i_add_wep_entry(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|
D | hmac_sme_sta.h | 75 hi_u32 hmac_sta_initiate_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 79 hi_u32 hmac_start_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 80 hi_u32 hmac_stop_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param); 82 hi_u32 hmac_process_scan_req(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|
D | hmac_p2p.c | 308 hi_u32 hmac_p2p_add_gc_vap(mac_device_stru *mac_dev, hi_u16 us_len, const hi_u8 *puc_param) in hmac_p2p_add_gc_vap() argument 343 ret = hmac_config_send_event(hmac_vap->base_vap, WLAN_CFGID_ADD_VAP, us_len, puc_param); in hmac_p2p_add_gc_vap() 388 hi_u32 hmac_p2p_del_gc_vap(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_p2p_del_gc_vap() argument 433 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_DEL_VAP, us_len, puc_param); in hmac_p2p_del_gc_vap() 617 hi_u32 hmac_p2p_set_status(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_p2p_set_status() argument 622 hi_unref_param(us_len); in hmac_p2p_set_status() 730 hi_u32 hmac_p2p_set_wps_p2p_ie(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_p2p_set_wps_p2p_ie() argument 736 hi_unref_param(us_len); in hmac_p2p_set_wps_p2p_ie() 801 hi_u32 hmac_p2p_find_listen_channel(mac_vap_stru *mac_vap, hi_u16 us_len, hi_u8 *puc_param) in hmac_p2p_find_listen_channel() argument 807 …2p_ie = mac_find_vendor_ie(MAC_WLAN_OUI_WFA, MAC_WLAN_OUI_TYPE_WFA_P2P, puc_param, (hi_s32)us_len); in hmac_p2p_find_listen_channel() [all …]
|
D | hmac_encap_frame.c | 48 hi_u16 us_len; in hmac_encap_sa_query_req() local 101 us_len = MAC_80211_FRAME_LEN + MAC_SA_QUERY_LEN; in hmac_encap_sa_query_req() 102 return us_len; in hmac_encap_sa_query_req() 117 hi_u16 us_len; in hmac_encap_sa_query_rsp() local 173 us_len = MAC_80211_FRAME_LEN + MAC_SA_QUERY_LEN; in hmac_encap_sa_query_rsp() 174 return us_len; in hmac_encap_sa_query_rsp()
|
D | hmac_11i.c | 201 hi_u32 hmac_config_11i_add_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_11i_add_key() argument 262 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_ADD_KEY, us_len, puc_param); in hmac_config_11i_add_key() 283 hi_u32 hmac_config_11i_get_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_11i_get_key() argument 293 hi_unref_param(us_len); in hmac_config_11i_get_key() 350 hi_u32 hmac_config_11i_remove_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *param) in hmac_config_11i_remove_key() argument 405 hi_u32 ret = hmac_config_send_event(mac_vap, cfgid, us_len, param); in hmac_config_11i_remove_key() 432 hi_u32 hmac_config_11i_set_default_key(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_11i_set_default_key() argument 475 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_DEFAULT_KEY, us_len, puc_param); in hmac_config_11i_set_default_key() 494 hi_u32 hmac_config_11i_add_wep_entry(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_config_11i_add_wep_entry() argument 515 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_ADD_WEP_ENTRY, us_len, puc_param); in hmac_config_11i_add_wep_entry() [all …]
|
D | hmac_event.c | 507 hi_u16 us_len = 0; /* WID对应返回值的长度 */ in wal_config_process_query() local 551 hi_u32 ret = g_ast_board_wid_op[us_cfgid].get_func(mac_vap, &us_len, rsp_msg->auc_value); in wal_config_process_query() 560 rsp_msg->us_len = us_len; in wal_config_process_query() 562 us_rsp_idx += us_len + WAL_MSG_WRITE_MSG_HDR_LENGTH; /* 消息体的长度 再加上消息头的长度 */ in wal_config_process_query() 628 us_req_idx += write_msg->us_len + WAL_MSG_WRITE_MSG_HDR_LENGTH; /* 指向下一个WID设置消息 */ in wal_config_process_write() 641 … ret = g_ast_board_wid_op[us_cfgid].set_func(mac_vap, write_msg->us_len, write_msg->auc_value); in wal_config_process_write() 827 ret = g_ast_hmac_config_syn[us_cfgid].set_func(mac_vap, (hi_u8)(dmac2hmac_msg->us_len), in hmac_event_config_syn()
|
D | hmac_uapsd.h | 46 hi_u32 hmac_config_set_uapsden(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|
D | hmac_main.h | 51 …2 hmac_config_send_event(const mac_vap_stru *mac_vap, wlan_cfgid_enum_uint16 cfg_id, hi_u16 us_len,
|
D | hmac_sme_sta.c | 329 hi_u32 hmac_start_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_start_sched_scan() argument 335 hi_unref_param(us_len); in hmac_start_sched_scan() 403 hi_u32 hmac_stop_sched_scan(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_stop_sched_scan() argument 410 ret = hmac_config_send_event(mac_vap, WLAN_CFGID_STOP_SCHED_SCAN, us_len, puc_param); in hmac_stop_sched_scan() 428 hi_u32 hmac_process_scan_req(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_process_scan_req() argument 434 hi_unref_param(us_len); in hmac_process_scan_req()
|
D | hmac_mgmt_bss_comm.h | 89 …mgmt_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u16 us_len, hi_s32 l_freq); 109 hi_u32 hmac_wpas_mgmt_tx(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|
D | hmac_scan.h | 68 hi_u32 hmac_scan_clean_result(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|
D | hmac_mgmt_bss_comm.c | 2557 …_mgmt_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u16 us_len, hi_s32 l_freq) in hmac_send_mgmt_to_host() argument 2561 hi_u8 *mgmt_data = (hi_u8 *)oal_memalloc(us_len); in hmac_send_mgmt_to_host() 2566 memcpy_s(mgmt_data, us_len, (hi_u8 *)rx_info->pul_mac_hdr_start_addr, us_len); in hmac_send_mgmt_to_host() 2570 mgmt_frame.us_len = us_len; in hmac_send_mgmt_to_host() 2572 oal_netbuf_set_len(netbuf, us_len); in hmac_send_mgmt_to_host() 2611 hi_u32 hmac_wpas_mgmt_tx(mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param) in hmac_wpas_mgmt_tx() argument 2613 hi_unref_param(us_len); in hmac_wpas_mgmt_tx() 2623 …oal_netbuf_stru *netbuf_mgmt_tx = (oal_netbuf_stru *)oal_netbuf_alloc(mgmt_tx->us_len, 0, 4); /* a… in hmac_wpas_mgmt_tx() 2639 … if (memcpy_s((hi_u8 *)oal_netbuf_header(netbuf_mgmt_tx), mgmt_tx->us_len, mgmt_tx->puc_frame, in hmac_wpas_mgmt_tx() 2640 mgmt_tx->us_len) != EOK) { in hmac_wpas_mgmt_tx() [all …]
|
D | hmac_ext_if.h | 183 hi_u16 us_len; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
D | wal_event_msg.c | 219 wal_msg_stru **cfg_msg, hi_u16 us_len) in wal_alloc_cfg_event() argument 237 us_len += us_resp_len; in wal_alloc_cfg_event() 238 event_mem_info = frw_event_alloc(us_len); in wal_alloc_cfg_event() 241 …loc_cfg_event::event_mem null ptr error,request size:us_len:%d,resp_len:%d}", us_len, us_resp_len); in wal_alloc_cfg_event() 248 … frw_event_hdr_init(&(event->event_hdr), FRW_EVENT_TYPE_HOST_CRX, WAL_HOST_CRX_SUBTYPE_CFG, us_len, in wal_alloc_cfg_event() 373 …32 wal_send_cfg_event(oal_net_device_stru *netdev, wal_msg_type_enum_uint8 msg_type, hi_u16 us_len, in wal_send_cfg_event() argument 394 WAL_MSG_WRITE_MSG_HDR_LENGTH + us_len) != HI_SUCCESS)) { in wal_send_cfg_event() 400 wal_cfg_msg_hdr_init(&(cfg_msg->msg_hdr), msg_type, us_len, (hi_u8)wal_get_msg_sn()); in wal_send_cfg_event() 404 if (memcpy_s(cfg_msg->auc_msg_data, us_len, puc_param, us_len) != EOK) { in wal_send_cfg_event()
|
D | wal_event_msg.h | 57 (_pst_write_msg)->us_len = (_us_len); \ 99 hi_u16 us_len; member
|
D | wal_ioctl.h | 106 wal_msg_stru **cfg_msg, hi_u16 us_len); 107 …32 wal_send_cfg_event(oal_net_device_stru *netdev, wal_msg_type_enum_uint8 msg_type, hi_u16 us_len,
|
D | wal_event.c | 559 hi_u16 us_len; in wal_send_mgmt_to_host() local 582 us_len = mgmt_frame->us_len; in wal_send_mgmt_to_host() 588 ret = HdfWifiEventRxMgmt(netdev, l_freq, 0, puc_buf, us_len); in wal_send_mgmt_to_host() 590 ret = oal_cfg80211_rx_mgmt(netdev, l_freq, puc_buf, us_len, GFP_ATOMIC); in wal_send_mgmt_to_host() 596 … "{wal_send_mgmt_to_host::cfg80211_rx_mgmt_ext fail[%d]!len[%d], freq[%d]}", ret, us_len, l_freq); in wal_send_mgmt_to_host() 601 l_freq, us_len, ieee80211_mgmt->frame_control); in wal_send_mgmt_to_host() 881 …g_any_callback.recv_cb(peer_param->auc_mac, peer_param->puc_data, peer_param->us_len, peer_param->… in wal_any_process_rx_data()
|
D | wal_hipriv.c | 1376 hi_u16 us_len; in wal_hipriv_hide_ssid() local 1393 us_len = sizeof(hi_u8); in wal_hipriv_hide_ssid() 1395 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_HIDE_SSID, us_len); in wal_hipriv_hide_ssid() 1397 …ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + us_len, (hi_u8… in wal_hipriv_hide_ssid() 1588 hi_u16 us_len; in wal_hipriv_set_auto_protection() local 1603 us_len = sizeof(hi_u32); in wal_hipriv_set_auto_protection() 1608 wal_write_msg_hdr_init(&write_msg, WLAN_CFGID_SET_AUTO_PROTECTION, us_len); in wal_hipriv_set_auto_protection() 1610 …ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + us_len, (hi_u8… in wal_hipriv_set_auto_protection() 2713 hi_u16 us_len; in wal_hipriv_reg_info() local 2723 us_len = (hi_u16)(strlen(pc_param) + 1); in wal_hipriv_reg_info() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_mem.c | 277 mem->us_len = mem_subpool->us_len; in oal_mem_create_subpool() 285 puc_base_addr += mem_subpool->us_len; in oal_mem_create_subpool() 326 mem_subpool->us_len = mem_subpool_cfg->us_size; in oal_mem_create_pool() 339 hi_void *oal_mem_alloc(oal_mem_pool_id_enum_uint8 pool_id, hi_u16 us_len) in oal_mem_alloc() argument 344 if (oal_unlikely(us_len == 0)) { in oal_mem_alloc() 347 us_len += OAL_MEM_INFO_SIZE; in oal_mem_alloc() 348 mem = oal_mem_alloc_enhanced(pool_id, us_len); in oal_mem_alloc() 435 oal_mem_stru *oal_mem_alloc_enhanced(oal_mem_pool_id_enum_uint8 pool_id, hi_u16 us_len) in oal_mem_alloc_enhanced() argument 446 us_len += OAL_DOG_TAG_SIZE; in oal_mem_alloc_enhanced() 449 if (oal_unlikely(us_len > mem_pool->us_max_byte_len)) { in oal_mem_alloc_enhanced() [all …]
|
D | oal_mem.h | 216 hi_u16 us_len; /* 内存块的长度 */ member 231 hi_u16 us_len; /* 本子内存池的内存块长度 */ member 284 hi_void *oal_mem_alloc(oal_mem_pool_id_enum_uint8 pool_id, hi_u16 us_len); 288 oal_mem_stru *oal_mem_alloc_enhanced(oal_mem_pool_id_enum_uint8 pool_id, hi_u16 us_len);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
D | mac_ie.h | 105 hi_u32 mac_config_set_mib(const mac_vap_stru *mac_vap, hi_u16 us_len, const hi_u8 *puc_param);
|