/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_vap.c | 26 #include "hmac_vap.h" 69 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_vap_res_init() local 94 hmac_vap = hmac_vap_get_vap_stru(index); in hmac_vap_res_init() 96 if ((hmac_vap == HI_NULL) || (mac_vap == HI_NULL)) { in hmac_vap_res_init() 101 hmac_vap->base_vap = mac_vap; in hmac_vap_res_init() 135 hi_u32 hmac_vap_mesh_ap_sta_init(hmac_vap_stru *hmac_vap, const mac_cfg_add_vap_param_stru *param) in hmac_vap_mesh_ap_sta_init() argument 143 hmac_vap->amsdu_active = HI_FALSE; in hmac_vap_mesh_ap_sta_init() 146 hmac_vap->us_edca_opt_time_ms = HMAC_EDCA_OPT_TIME_MS; in hmac_vap_mesh_ap_sta_init() 147 frw_timer_create_timer(&(hmac_vap->edca_opt_timer), hmac_edca_opt_timeout_fn, in hmac_vap_mesh_ap_sta_init() 148 hmac_vap in hmac_vap_mesh_ap_sta_init() 194 hmac_vap_init(hmac_vap_stru *hmac_vap, hi_u8 vap_id, const mac_cfg_add_vap_param_stru *param) hmac_vap_init() argument 287 hmac_vap_stru *hmac_vap = HI_NULL; hmac_vap_get_net_device() local 313 hmac_vap_creat_netdev(hmac_vap_stru *hmac_vap, hi_char *puc_netdev_name, const hi_s8 *mac_addr, hi_u8 mac_addr_len) hmac_vap_creat_netdev() argument 381 hmac_vap_destroy(hmac_vap_stru *hmac_vap) hmac_vap_destroy() argument 428 hmac_vap_check_ht_capabilities_ap_capable(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const mac_user_ht_hdl_stru *ht_hdl, hi_bool prev_asoc_ht, hi_bool prev_asoc_non_ht) hmac_vap_check_ht_capabilities_ap_capable() argument 476 hmac_vap_check_ht_capabilities_ap(const hmac_vap_stru *hmac_vap, hi_u8 *puc_payload, hi_u16 us_info_elem_offset, hi_u32 msg_len, hmac_user_stru *hmac_user) hmac_vap_check_ht_capabilities_ap() argument 564 hmac_search_ht_cap_ie_ap(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 *payload, hi_u16 current_offset, hi_bool prev_asoc_ht) hmac_search_ht_cap_ie_ap() argument 691 hmac_check_opmode_notify(hmac_vap_stru *hmac_vap, hi_u8 *puc_mac_hdr, hi_u8 *puc_payload, hi_u16 us_info_elem_offset, hi_u32 msg_len, hmac_user_stru *hmac_user) hmac_check_opmode_notify() argument 758 hmac_vap_stru *hmac_vap = HI_NULL; hmac_del_virtual_inf_worker() local 795 hmac_handle_disconnect_rsp(hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, hmac_report_disasoc_reason_uint16 disasoc_reason) hmac_handle_disconnect_rsp() argument [all...] |
H A D | hmac_fsm.c | 45 hi_void hmac_fsm_change_state(hmac_vap_stru *hmac_vap, mac_vap_state_enum_uint8 vap_state) in hmac_fsm_change_state() argument 50 old_state = hmac_vap->base_vap->vap_state; in hmac_fsm_change_state() 53 mac_vap_state_change(hmac_vap->base_vap, vap_state); in hmac_fsm_change_state() 55 ret = hmac_config_vap_state_syn(hmac_vap->base_vap, sizeof(vap_state), (hi_u8 *)(&vap_state)); in hmac_fsm_change_state() 57 oam_error_log3(hmac_vap->base_vap->vap_id, OAM_SF_ASSOC, in hmac_fsm_change_state() 66 if ((hmac_vap->base_vap->vap_mode == WLAN_VAP_MODE_BSS_STA) && in hmac_fsm_change_state() 68 if (hmac_vap->ps_sw_timer.is_registerd == HI_TRUE) { in hmac_fsm_change_state() 69 frw_timer_immediate_destroy_timer(&(hmac_vap->ps_sw_timer)); in hmac_fsm_change_state() 71 frw_timer_create_timer(&(hmac_vap->ps_sw_timer), hmac_set_psm_timeout, HMAC_SWITCH_STA_PSM_PERIOD, in hmac_fsm_change_state() 72 (hi_void *)hmac_vap, HI_FALS in hmac_fsm_change_state() 99 hmac_vap_stru *hmac_vap = HI_NULL; hmac_fsm_handle_scan_req() local [all...] |
H A D | hmac_sme_sta.c | 68 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_process_scan_complete_event() local 72 hmac_vap = hmac_vap_get_vap_stru(scan_record_value->vap_id); in hmac_process_scan_complete_event() 73 if (hmac_vap == HI_NULL) { in hmac_process_scan_complete_event() 86 hmac_send_rsp_to_sme_sta(hmac_vap, HMAC_SME_SCAN_RSP, (hi_u8 *)&scan_rsp); in hmac_process_scan_complete_event() 347 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); in hmac_start_sched_scan() local 348 if (oal_unlikely(hmac_vap == HI_NULL)) { in hmac_start_sched_scan() 375 hmac_scan_set_sour_mac_addr_in_probe_req(hmac_vap, pno_scan_params.auc_sour_mac_addr, WLAN_MAC_ADDR_LEN, in hmac_start_sched_scan() 379 switch (hmac_vap->base_vap->vap_state) { in hmac_start_sched_scan() 382 ret = hmac_scan_proc_sched_scan_req_event(hmac_vap, &pno_scan_params); in hmac_start_sched_scan() 496 hmac_vap_stru *hmac_vap in hmac_sta_initiate_join() local 556 hmac_vap_stru *hmac_vap = HI_NULL; hmac_sta_initiate_auth() local 590 hmac_vap_stru *hmac_vap = HI_NULL; hmac_sta_initiate_asoc() local 621 hmac_handle_scan_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg) hmac_handle_scan_rsp_sta() argument 635 hmac_send_connect_result_to_dmac_sta(const hmac_vap_stru *hmac_vap, hi_u32 result) hmac_send_connect_result_to_dmac_sta() argument 669 hmac_handle_join_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg) hmac_handle_join_rsp_sta() argument 702 hmac_report_connect_failed_result(hmac_vap_stru *hmac_vap, mac_status_code_enum_uint16 reason_code) hmac_report_connect_failed_result() argument 730 hmac_handle_auth_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg) hmac_handle_auth_rsp_sta() argument 807 hmac_asoc_rsp_success_proc(hmac_vap_stru *hmac_vap, const hi_u8 *msg, hmac_asoc_rsp_stru *asoc_rsp) hmac_asoc_rsp_success_proc() argument 845 hmac_handle_asoc_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *msg) hmac_handle_asoc_rsp_sta() argument 927 hmac_send_rsp_to_sme_sta(hmac_vap_stru *hmac_vap, hmac_sme_rsp_enum_uint8 type, const hi_u8 *puc_msg) hmac_send_rsp_to_sme_sta() argument 942 hmac_report_assoc_state_sta(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, hi_u8 assoc) hmac_report_assoc_state_sta() argument [all...] |
H A D | hmac_mgmt_classifier.c | 57 hi_u32 hmac_mgmt_tx_action(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_action_mgmt_args_stru *action_args) in hmac_mgmt_tx_action() argument 61 if ((hmac_vap == HI_NULL) || (hmac_user == HI_NULL) || (action_args == HI_NULL)) { in hmac_mgmt_tx_action() 62 oam_error_log3(0, OAM_SF_TX, "{hmac_mgmt_tx_action::param null, %p %p %p.}", (uintptr_t)hmac_vap, in hmac_mgmt_tx_action() 69 oam_info_log0(hmac_vap->base_vap->vap_id, OAM_SF_TX, in hmac_mgmt_tx_action() 71 hmac_mgmt_tx_addba_req(hmac_vap, hmac_user, action_args); in hmac_mgmt_tx_action() 75 oam_info_log0(hmac_vap->base_vap->vap_id, OAM_SF_TX, "{hmac_mgmt_tx_action::MAC_BA_ACTION_DELBA.}"); in hmac_mgmt_tx_action() 76 ret = hmac_mgmt_tx_delba(hmac_vap, hmac_user, action_args); in hmac_mgmt_tx_action() 85 oam_warning_log1(hmac_vap->base_vap->vap_id, OAM_SF_TX, "{hmac_mgmt_tx_action::invalid ba type[%d].}", in hmac_mgmt_tx_action() 90 oam_info_log1(hmac_vap->base_vap->vap_id, OAM_SF_TX, "{hmac_mgmt_tx_action::invalid ba type[%d].}", in hmac_mgmt_tx_action() 104 hi_u32 hmac_mgmt_tx_priv_req(hmac_vap_stru *hmac_vap, hmac_user_str argument 149 hmac_vap_stru *hmac_vap = HI_NULL; /* vap指针 */ hmac_mgmt_rx_delba_event() local 215 hmac_rx_vap_state_proc(const dmac_wlan_crx_event_stru *crx_event, hmac_vap_stru *hmac_vap, hi_u32 *ret) hmac_rx_vap_state_proc() argument 273 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); hmac_rx_process_mgmt_event() local 318 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); hmac_rx_process_mgmt_promis() local 335 hmac_mgmt_send_disasoc_deauth_event_frame(const dmac_diasoc_deauth_event *disasoc_deauth_event, mac_vap_stru *mac_vap, const hi_u8 *mac_addr, hi_u16 us_err_code, hmac_vap_stru *hmac_vap) hmac_mgmt_send_disasoc_deauth_event_frame() argument 395 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event->event_hdr.vap_id); /* vap指针 */ hmac_mgmt_send_disasoc_deauth_event() local 462 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event->event_hdr.vap_id); hmac_proc_disasoc_misc_event() local [all...] |
H A D | hmac_mgmt_sta.c | 69 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_mgmt_timeout_sta() local 73 hmac_vap = hmac_vap_get_vap_stru(timeout_param->vap_id); in hmac_mgmt_timeout_sta() 74 if ((hmac_vap == HI_NULL) || (hmac_vap->base_vap == HI_NULL)) { in hmac_mgmt_timeout_sta() 78 frw_timer_immediate_destroy_timer(&(hmac_vap->mgmt_timer)); in hmac_mgmt_timeout_sta() 80 switch (hmac_vap->base_vap->vap_state) { in hmac_mgmt_timeout_sta() 83 return hmac_sta_auth_timeout(hmac_vap); in hmac_mgmt_timeout_sta() 85 return hmac_sta_wait_asoc_timeout(hmac_vap); in hmac_mgmt_timeout_sta() 98 static hi_void hmac_update_join_req_params_prot_sta(hmac_vap_stru *hmac_vap, const hmac_join_req_stru *join_req) in hmac_update_join_req_params_prot_sta() argument 100 if (hmac_vap in hmac_update_join_req_params_prot_sta() 302 hmac_sta_update_join_protocol(const hmac_vap_stru *hmac_vap, hmac_join_req_stru *join_req) hmac_sta_update_join_protocol() argument 433 hmac_sta_update_join_req_params(hmac_vap_stru *hmac_vap, hmac_join_req_stru *join_req) hmac_sta_update_join_req_params() argument 497 hmac_sta_wait_join(hmac_vap_stru *hmac_vap, hmac_join_req_stru *join_req) hmac_sta_wait_join() argument 574 hmac_sta_wait_auth(hmac_vap_stru *hmac_vap, hi_u16 auth_timeout) hmac_sta_wait_auth() argument 646 hmac_sta_shared_key_auth_proc(hmac_vap_stru *hmac_vap, hi_u8 *mac_hdr) hmac_sta_shared_key_auth_proc() argument 707 hmac_sta_wait_auth_seq2_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event) hmac_sta_wait_auth_seq2_rx() argument 778 hmac_sta_wait_auth_seq4_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event) hmac_sta_wait_auth_seq4_rx() argument 813 hmac_sta_encap_asoc_req_frame(hmac_vap_stru *hmac_vap, oal_netbuf_stru *asoc_req_frame, hi_u32 *asoc_frame_len) hmac_sta_encap_asoc_req_frame() argument 839 hmac_sta_fill_asoc_req_ie_buff(hmac_vap_stru *hmac_vap, const oal_netbuf_stru *asoc_req_frame, hi_u32 asoc_frame_len) hmac_sta_fill_asoc_req_ie_buff() argument 894 hmac_sta_wait_asoc(hmac_vap_stru *hmac_vap, hi_u16 us_assoc_timeout) hmac_sta_wait_asoc() argument 968 hmac_sta_up_update_edca_params_machw(const hmac_vap_stru *hmac_vap, mac_wmm_set_param_type_enum_uint8 type) hmac_sta_up_update_edca_params_machw() argument 1029 hmac_sta_up_update_edca_params_mib(const hmac_vap_stru *hmac_vap, const hi_u8 *puc_payload) hmac_sta_up_update_edca_params_mib() argument 1092 hmac_sta_up_update_edca_params(const hmac_edca_params_info_stru *edca_params_info, const hmac_vap_stru *hmac_vap, hi_u8 frame_sub_type, const hmac_user_stru *hmac_user) hmac_sta_up_update_edca_params() argument 1636 hmac_sta_wait_asoc_rx_handle_for_pmf(hmac_vap_stru *hmac_vap, mac_status_code_enum_uint16 asoc_status) hmac_sta_wait_asoc_rx_handle_for_pmf() argument 1648 hmac_sta_check_protocol_bandwidth(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user_ap, hmac_asoc_rsp_stru asoc_rsp) hmac_sta_check_protocol_bandwidth() argument 1700 hmac_sta_wait_asoc_rx_complete_handle(hmac_vap_stru *hmac_vap, hi_u8 user_idx, const hmac_user_stru *hmac_user_ap, hmac_asoc_rsp_stru asoc_rsp, const hmac_rx_ctl_stru *rx_ctrl) hmac_sta_wait_asoc_rx_complete_handle() argument 1772 hmac_sta_wait_asoc_rx_complete_update_param(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user_ap, const hmac_rx_ctl_stru *rx_ctrl, hi_u16 us_offset) hmac_sta_wait_asoc_rx_complete_update_param() argument 1819 hmac_sta_wait_asoc_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event) hmac_sta_wait_asoc_rx() argument 1938 hmac_sta_auth_timeout(hmac_vap_stru *hmac_vap) hmac_sta_auth_timeout() argument 2006 hmac_sta_wait_asoc_timeout(hmac_vap_stru *hmac_vap) hmac_sta_wait_asoc_timeout() argument 2036 hmac_sta_disassoc_rsp(const hmac_vap_stru *hmac_vap, hi_u16 us_disasoc_reason_code, hi_u16 us_dmac_reason_code) hmac_sta_disassoc_rsp() argument 2056 hmac_sta_rx_deauth_req(hmac_vap_stru *hmac_vap, hi_u8 *mac_hdr, hi_u8 protected) hmac_sta_rx_deauth_req() argument 2177 hmac_sta_up_rx_beacon(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf) hmac_sta_up_rx_beacon() argument 2324 hmac_sta_up_rx_action(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected) hmac_sta_up_rx_action() argument 2394 hmac_sta_up_rx_mgmt(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event) hmac_sta_up_rx_mgmt() argument [all...] |
H A D | hmac_encap_frame_sta.c | 48 hi_void hmac_set_supported_rates_ie_asoc_req(const hmac_vap_stru *hmac_vap, hi_u8 *puc_buffer, hi_u8 *puc_ie_len) in hmac_set_supported_rates_ie_asoc_req() argument 64 nrates = hmac_vap->rs_nrates; in hmac_set_supported_rates_ie_asoc_req() 71 puc_buffer[MAC_IE_HDR_LEN + idx] = hmac_vap->auc_supp_rates[idx]; in hmac_set_supported_rates_ie_asoc_req() 89 hi_void hmac_set_exsup_rates_ie_asoc_req(const hmac_vap_stru *hmac_vap, hi_u8 *puc_buffer, hi_u8 *puc_ie_len) in hmac_set_exsup_rates_ie_asoc_req() argument 101 if (hmac_vap->rs_nrates <= MAC_MAX_SUPRATES) { in hmac_set_exsup_rates_ie_asoc_req() 107 nrates = hmac_vap->rs_nrates - MAC_MAX_SUPRATES; in hmac_set_exsup_rates_ie_asoc_req() 111 puc_buffer[MAC_IE_HDR_LEN + idx] = hmac_vap->auc_supp_rates[idx + MAC_MAX_SUPRATES]; in hmac_set_exsup_rates_ie_asoc_req() 124 hi_u32 hmac_mgmt_encap_asoc_req_sta(const hmac_vap_stru *hmac_vap, hi_u8 *puc_req_frame) in hmac_mgmt_encap_asoc_req_sta() argument 129 hi_u8 *bssid = hmac_vap->base_vap->auc_bssid; in hmac_mgmt_encap_asoc_req_sta() 146 ((hmac_vap in hmac_mgmt_encap_asoc_req_sta() 249 hmac_mgmt_encap_auth_req(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mgmt_frame) hmac_mgmt_encap_auth_req() argument 342 hmac_mgmt_encap_auth_req_seq3(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mgmt_frame, hi_u8 *puc_mac_hrd) hmac_mgmt_encap_auth_req_seq3() argument [all...] |
H A D | hmac_mgmt_ap.c | 63 static hi_u32 hmac_mesh_up_rx_confirm_action(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, 65 static hi_u32 hmac_check_open_action_sec_authenticator(const hmac_vap_stru *hmac_vap, hi_u8 *puc_payload, 119 hi_void hmac_handle_disconnect_rsp_ap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user) in hmac_handle_disconnect_rsp_ap() argument 121 hmac_send_event_to_host(hmac_vap->base_vap, (const hi_u8*)(hmac_user->base_user->user_mac_addr), in hmac_handle_disconnect_rsp_ap() 133 static hi_void hmac_handle_connect_rsp_ap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user) in hmac_handle_connect_rsp_ap() argument 147 hmac_send_event_to_host(hmac_vap->base_vap, (const hi_u8 *)(&asoc_user_req_info), in hmac_handle_connect_rsp_ap() 152 hi_void hmac_mesh_sae_auth_proc(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *auth_req) in hmac_mesh_sae_auth_proc() argument 157 oam_warning_log1(hmac_vap->base_vap->vap_id, OAM_SF_AUTH, in hmac_mesh_sae_auth_proc() 161 oam_warning_log1(hmac_vap->base_vap->vap_id, OAM_SF_AUTH, in hmac_mesh_sae_auth_proc() 167 oam_warning_log3(hmac_vap in hmac_mesh_sae_auth_proc() 197 hmac_ap_rx_auth_req(const hmac_vap_stru *hmac_vap, const oal_netbuf_stru *auth_req) hmac_ap_rx_auth_req() argument 259 hmac_ap_rx_deauth_req(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mac_hdr, hi_u8 is_protected) hmac_ap_rx_deauth_req() argument 366 hmac_ap_up_update_sta_cap_info(const hmac_vap_stru *hmac_vap, hi_u16 us_cap_info, const hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *pen_status_code) hmac_ap_up_update_sta_cap_info() argument 468 hmac_handle_close_peer_mesh(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, hi_u8 mac_addr_len, hi_u16 us_disasoc_reason_code, hi_u16 us_dmac_reason_code) hmac_handle_close_peer_mesh() argument 882 hmac_ap_up_update_legacy_capability(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u16 us_cap_info) hmac_ap_up_update_legacy_capability() argument 1028 hmac_sta_several_param_proc(const hmac_vap_stru *hmac_vap, const hmac_update_sta_user_info_stru *sta_user, hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *status_code, const hmac_sta_check_info *sta_check) hmac_sta_several_param_proc() argument 1095 hmac_sta_protocol_bandwidth_proc(const hmac_vap_stru *hmac_vap, const hmac_update_sta_user_info_stru *update, hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *status_code, hi_u16 msg_idx) hmac_sta_protocol_bandwidth_proc() argument 1166 hmac_ap_up_update_sta_user(const hmac_vap_stru *hmac_vap, const hmac_update_sta_user_info_stru *update, hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *status_code) hmac_ap_up_update_sta_user() argument 1283 hmac_ap_get_mac_and_user(const hmac_vap_stru *hmac_vap, const hi_u8 *puc_mac_hdr, hi_u8 *sta_mac_addr, hmac_user_stru **hmac_user, hi_u8 *user_idx) hmac_ap_get_mac_and_user() argument 1324 hmac_ap_asoc_pmf_process(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *status_code) hmac_ap_asoc_pmf_process() argument 1349 hmac_ap_asoc_p2p_process(const hmac_vap_stru *hmac_vap, hi_u8 mgmt_frm_type, hi_u32 payload_len, hi_u8 *puc_payload, const hmac_user_stru *hmac_user) hmac_ap_asoc_p2p_process() argument 1477 hmac_ap_tx_asoc_rsp(const hmac_vap_stru *hmac_vap, hi_u8 mgmt_frm_type, hmac_ap_asoc_info_stru asoc_info) hmac_ap_tx_asoc_rsp() argument 1533 hmac_ap_up_rx_asoc_req(const hmac_vap_stru *hmac_vap, hi_u8 mgmt_frm_type, hi_u8 *puc_mac_hdr, hi_u8 *puc_payload, hi_u32 payload_len) hmac_ap_up_rx_asoc_req() argument 1597 hmac_ap_up_rx_disasoc(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mac_hdr, hi_u8 is_protected) hmac_ap_up_rx_disasoc() argument 1666 hmac_ap_up_get_mesh_hmac_user(const hmac_vap_stru *hmac_vap, const hi_u8 *puc_data) hmac_ap_up_get_mesh_hmac_user() argument 1682 hmac_ap_up_rx_action_category_public(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, const hi_u8 *puc_data) hmac_ap_up_rx_action_category_public() argument 1704 hmac_ap_up_rx_action_category_vht(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, const hi_u8 *puc_data) hmac_ap_up_rx_action_category_vht() argument 1725 hmac_ap_up_rx_action_category_sa_query(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, const hi_u8 *puc_data, hi_u8 is_protected) hmac_ap_up_rx_action_category_sa_query() argument 1742 hmac_ap_up_rx_action_self_protected(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_ieee80211_frame_stru *frame_hdr, oal_netbuf_stru *netbuf, hi_u8 *puc_data) hmac_ap_up_rx_action_self_protected() argument 1806 hmac_ap_up_rx_action(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected) hmac_ap_up_rx_action() argument 1864 hmac_ap_up_rx_probe_req(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf) hmac_ap_up_rx_probe_req() argument 1890 hmac_ap_up_rx_mgmt(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *mgmt_rx_event) hmac_ap_up_rx_mgmt() argument 1967 hmac_vap_stru *hmac_vap = HI_NULL; hmac_mgmt_timeout_ap() local 2003 hmac_mesh_up_rx_confirm_action(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 *puc_mac_hdr, hi_u8 *puc_payload, hi_u32 payload_len) hmac_mesh_up_rx_confirm_action() argument 2078 hmac_check_open_action_sec_authenticator(const hmac_vap_stru *hmac_vap, hi_u8 *puc_payload, hi_u32 msg_len, const hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *pen_status_code) hmac_check_open_action_sec_authenticator() argument [all...] |
H A D | hmac_tx_data.c | 58 hi_u32 hmac_tx_data(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf); 145 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(tx_ctl->tx_vap_index); in hmac_tx_classify_ipv4_data() local 146 if (hmac_vap == HI_NULL) { in hmac_tx_classify_ipv4_data() 147 oam_warning_log1(0, OAM_SF_TX, "{hmac_tx_classify_ipv4_data::get hmac_vap[%d] fail.}", tx_ctl->tx_vap_index); in hmac_tx_classify_ipv4_data() 161 if (hmac_vap->tx_traffic_classify_flag == HI_SWITCH_ON) { in hmac_tx_classify_ipv4_data() 209 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(tx_ctl->tx_vap_index); in hmac_tx_classify_ipv6_data() local 210 if (hmac_vap == HI_NULL) { in hmac_tx_classify_ipv6_data() 211 oam_warning_log1(0, OAM_SF_TX, "{hmac_tx_classify_ipv6_data::get hmac_vap[%d] fail.}", tx_ctl->tx_vap_index); in hmac_tx_classify_ipv6_data() 239 } else if (hmac_vap->base_vap->vap_mode == WLAN_VAP_MODE_MESH) { in hmac_tx_classify_ipv6_data() 375 hi_u8 hmac_tx_wmm_acm(hi_u8 wmm, const hmac_vap_stru *hmac_vap, hi_u argument 433 hmac_tx_classify(const hmac_vap_stru *hmac_vap, const mac_user_stru *user, oal_netbuf_stru *netbuf) hmac_tx_classify() argument 490 hmac_tx_filter_security(const hmac_vap_stru *hmac_vap, const oal_netbuf_stru *netbuf, const hmac_user_stru *hmac_user) hmac_tx_filter_security() argument 532 hmac_tx_ba_setup(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno) hmac_tx_ba_setup() argument 577 hmac_check_if_mgmt_tx_action(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno) hmac_check_if_mgmt_tx_action() argument 613 hmac_tid_need_ba_session(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno, const oal_netbuf_stru *netbuf) hmac_tid_need_ba_session() argument 684 hmac_tx_ucast_process(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hmac_user_stru *hmac_user, const hmac_tx_ctl_stru *tx_ctl) hmac_tx_ucast_process() argument 729 hmac_tx_is_need_frag(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const oal_netbuf_stru *netbuf, const hmac_tx_ctl_stru *tx_ctl) hmac_tx_is_need_frag() argument 830 hmac_tx_ap_set_addresses(const hmac_vap_stru *hmac_vap, const hmac_tx_ctl_stru *tx_ctl, mac_ieee80211_frame_addr4_stru *hdr, const hmac_set_addresses_info_stru *set_addresses_info) hmac_tx_ap_set_addresses() argument 864 hmac_tx_mesh_set_addresses(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_tx_ctl_stru *tx_ctl, mac_ieee80211_frame_addr4_stru *hdr, const hmac_set_addresses_info_stru *set_addresses_info) hmac_tx_mesh_set_addresses() argument 927 hmac_tx_sta_set_addresses(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_tx_ctl_stru *tx_ctl, mac_ieee80211_frame_addr4_stru *hdr, const hmac_set_addresses_info_stru *set_addresses_info) hmac_tx_sta_set_addresses() argument 970 hmac_tx_wds_set_addresses(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_tx_ctl_stru *tx_ctl, mac_ieee80211_frame_addr4_stru *hdr, const hmac_set_addresses_info_stru *set_addresses_info) hmac_tx_wds_set_addresses() argument 1019 hmac_tx_set_addresses(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_tx_ctl_stru *tx_ctl, mac_ieee80211_frame_addr4_stru *hdr, const hmac_set_addresses_info_stru *set_addresses_info) hmac_tx_set_addresses() argument 1059 hmac_tx_encap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf) hmac_tx_encap() argument 1187 hmac_tx_lan_mpdu_process_sta(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hmac_tx_ctl_stru *tx_ctl) hmac_tx_lan_mpdu_process_sta() argument 1259 hmac_tx_lan_mpdu_process_ap(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hmac_tx_ctl_stru *tx_ctl) hmac_tx_lan_mpdu_process_ap() argument 1328 hmac_tx_lan_to_wlan_no_tcp_opt_vap(const mac_vap_stru *mac_vap, oal_netbuf_stru *netbuf, hmac_vap_stru *hmac_vap, hmac_tx_ctl_stru **tx_ctl_ptr, hmac_tx_return_type_enum_uint8 *hmac_tx_ret) hmac_tx_lan_to_wlan_no_tcp_opt_vap() argument 1380 hmac_tx_lan_to_wlan_no_tcp_opt_vap_mode(mac_vap_stru *mac_vap, const hmac_vap_stru *hmac_vap) hmac_tx_lan_to_wlan_no_tcp_opt_vap_mode() argument 1538 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); /* VAP结构体 */ hmac_tx_lan_to_wlan() local [all...] |
H A D | hmac_p2p.c | 25 #include "hmac_vap.h" 251 hi_u32 hmac_p2p_set_gc_mac_addr(mac_device_stru *mac_dev, const hmac_vap_stru *hmac_vap, in hmac_p2p_set_gc_mac_addr() argument 264 mac_device_set_vap_id(mac_dev, hmac_vap->base_vap, param, vap_id, HI_FALSE); in hmac_p2p_set_gc_mac_addr() 267 oal_mem_free(hmac_vap->base_vap->mib_info); in hmac_p2p_set_gc_mac_addr() 275 ret = hmac_config_set_mac_addr(hmac_vap->base_vap, sizeof(mac_cfg_staion_id_param_stru), in hmac_p2p_set_gc_mac_addr() 279 mac_device_set_vap_id(mac_dev, hmac_vap->base_vap, param, vap_id, HI_FALSE); in hmac_p2p_set_gc_mac_addr() 282 oal_mem_free(hmac_vap->base_vap->mib_info); in hmac_p2p_set_gc_mac_addr() 310 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_p2p_add_gc_vap() local 327 hmac_vap = hmac_vap_get_vap_stru(vap_id); in hmac_p2p_add_gc_vap() 328 if (oal_unlikely(hmac_vap in hmac_p2p_add_gc_vap() 390 hmac_vap_stru *hmac_vap = HI_NULL; hmac_p2p_del_gc_vap() local 460 hmac_p2p_send_listen_expired_to_host(const hmac_vap_stru *hmac_vap) hmac_p2p_send_listen_expired_to_host() argument 491 hmac_p2p_send_listen_expired_to_device(const hmac_vap_stru *hmac_vap) hmac_p2p_send_listen_expired_to_device() argument 528 hmac_p2p_disable_pm(const hmac_vap_stru *hmac_vap) hmac_p2p_disable_pm() argument 733 hmac_vap_stru *hmac_vap = HI_NULL; hmac_p2p_set_wps_p2p_ie() local 1076 hmac_vap_stru *hmac_vap = HI_NULL; hmac_p2p_listen_comp_cb() local 1161 hmac_p2p_remain_on_channel(const hmac_vap_stru *hmac_vap, mac_remain_on_channel_param_stru *remain_on_channel) hmac_p2p_remain_on_channel() argument 1211 hmac_vap_stru *hmac_vap = HI_NULL; hmac_p2p_listen_timeout() local 1254 hmac_p2p_sta_not_up_rx_mgmt(const hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event) hmac_p2p_sta_not_up_rx_mgmt() argument 1327 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_p2p_config_remain_on_channel() local 1375 hmac_vap_stru *hmac_vap = HI_NULL; hmac_p2p_cancel_remain_on_channel() local [all...] |
H A D | hmac_mgmt_bss_comm.h | 27 #include "hmac_vap.h" 47 hi_u16 hmac_mgmt_encap_addba_req(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, dmac_ba_tx_stru *tx_ba, hi_u8 tid); 48 hi_u16 hmac_mgmt_encap_addba_rsp(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, hmac_ba_rx_stru *addba_rsp, hi_u8 tid, 50 hi_u16 hmac_mgmt_encap_delba(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, const mac_action_mgmt_args_stru *action_args); 51 hi_u32 hmac_mgmt_rx_addba_req(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload); 52 hi_u32 hmac_mgmt_rx_addba_rsp(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload); 53 hi_u32 hmac_mgmt_rx_delba(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload); 54 hi_u32 hmac_mgmt_tx_addba_req(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, 56 hi_u32 hmac_mgmt_tx_addba_rsp(hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, hmac_ba_rx_stru *ba_rx_info, 58 hi_u32 hmac_mgmt_tx_delba(hmac_vap_stru *hmac_vap, hmac_user_str [all...] |
H A D | hmac_blockack.c | 372 hi_void hmac_rx_bar_delba(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno, hi_u8 *puc_da) in hmac_rx_bar_delba() argument 384 ret = hmac_mgmt_tx_action(hmac_vap, hmac_user, &action_args); in hmac_rx_bar_delba() 386 oam_warning_log0(hmac_vap->base_vap->vap_id, OAM_SF_BA, "hmac_rx_bar_delba return NON SUCCESS."); in hmac_rx_bar_delba() 598 hi_void hmac_reorder_ba_rx_buffer_bar(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno, in hmac_reorder_ba_rx_buffer_bar() argument 607 hmac_rx_bar_delba(hmac_vap, hmac_user, tidno, puc_sa_addr); in hmac_reorder_ba_rx_buffer_bar() 619 hmac_ba_send_frames_with_gap(rx_ba, &netbuf_head, us_start_seq_num, hmac_vap->base_vap); in hmac_reorder_ba_rx_buffer_bar() 621 rx_ba->us_baw_start = hmac_ba_send_frames_in_order(rx_ba, &netbuf_head, hmac_vap->base_vap); in hmac_reorder_ba_rx_buffer_bar() 627 oam_warning_log3(hmac_vap->base_vap->vap_id, OAM_SF_BA, in hmac_reorder_ba_rx_buffer_bar() 640 static hi_u32 hmac_ba_rx_prepare_bufflist(const hmac_vap_stru *hmac_vap, hmac_rx_buf_stru *rx_buf, in hmac_ba_rx_prepare_bufflist() argument 647 if ((netbuf == HI_NULL) && (hmac_vap ! in hmac_ba_rx_prepare_bufflist() 673 hmac_ba_send_reorder_timeout(hmac_ba_rx_stru *rx_ba, const hmac_vap_stru *hmac_vap, const hmac_ba_alarm_stru *alarm_data, hi_u16 *pus_timeout) hmac_ba_send_reorder_timeout() argument 751 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(alarm_data->vap_id); hmac_ba_timeout_fn() local 782 hmac_vap_stru *hmac_vap = HI_NULL; hmac_ba_reset_rx_handle() local 844 hmac_vap_stru *hmac_vap = HI_NULL; hmac_ba_reset_tx_handle() local 881 hmac_mgmt_check_set_rx_ba_ok(const hmac_vap_stru *hmac_vap, hmac_ba_rx_stru *ba_rx_info, hmac_device_stru *hmac_dev) hmac_mgmt_check_set_rx_ba_ok() argument 939 hmac_up_rx_bar(hmac_vap_stru *hmac_vap, const hmac_rx_ctl_stru *rx_ctl) hmac_up_rx_bar() argument 981 hmac_vap_stru *hmac_vap = HI_NULL; hmac_is_device_ba_setup() local 1022 hmac_vap_stru *hmac_vap = HI_NULL; hmac_create_ba_event() local 1070 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(del_ba_event->vap_id); hmac_del_ba_event() local [all...] |
H A D | hmac_mgmt_sta.h | 80 hi_u32 hmac_sta_wait_join(hmac_vap_stru *hmac_vap, hmac_join_req_stru *join_req); 81 hi_u32 hmac_sta_wait_auth(hmac_vap_stru *hmac_vap, hi_u16 auth_timeout); 82 hi_u32 hmac_sta_wait_asoc(hmac_vap_stru *hmac_vap, hi_u16 us_assoc_timeout); 83 hi_u32 hmac_sta_wait_asoc_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event); 84 hi_u32 hmac_sta_wait_auth_seq2_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event); 85 hi_u32 hmac_sta_wait_auth_seq4_rx(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event); 86 hi_u32 hmac_sta_auth_timeout(hmac_vap_stru *hmac_vap); 87 hi_u32 hmac_sta_up_rx_mgmt(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *crx_event); 88 hi_u32 hmac_sta_wait_asoc_timeout(hmac_vap_stru *hmac_vap); 89 hi_void hmac_sta_disassoc_rsp(const hmac_vap_stru *hmac_vap, hi_u1 [all...] |
H A D | hmac_mgmt_bss_comm.c | 97 hi_void hmac_rx_ba_session_decr(hmac_vap_stru *hmac_vap) in hmac_rx_ba_session_decr() argument 99 if (hmac_vap->rx_ba_session_num == 0) { in hmac_rx_ba_session_decr() 100 oam_warning_log0(hmac_vap->base_vap->vap_id, OAM_SF_BA, in hmac_rx_ba_session_decr() 104 hmac_vap->rx_ba_session_num--; in hmac_rx_ba_session_decr() 114 hi_void hmac_tx_ba_session_decr(hmac_vap_stru *hmac_vap) in hmac_tx_ba_session_decr() argument 116 if (hmac_vap->tx_ba_session_num == 0) { in hmac_tx_ba_session_decr() 117 oam_warning_log0(hmac_vap->base_vap->vap_id, OAM_SF_BA, in hmac_tx_ba_session_decr() 121 hmac_vap->tx_ba_session_num--; in hmac_tx_ba_session_decr() 163 hi_u16 hmac_mgmt_encap_addba_req(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, dmac_ba_tx_stru *tx_ba, hi_u8 tid) in hmac_mgmt_encap_addba_req() argument 168 if ((hmac_vap in hmac_mgmt_encap_addba_req() 376 hmac_mgmt_encap_delba(hmac_vap_stru *hmac_vap, hi_u8 *puc_data, const mac_action_mgmt_args_stru *action_args) hmac_mgmt_encap_delba() argument 474 hmac_mgmt_set_addba_req(hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, dmac_ba_tx_stru *tx_ba, oal_netbuf_stru *addba_req, const hmac_addba_req_info *addba_info) hmac_mgmt_set_addba_req() argument 555 hmac_mgmt_set_ba_tx_info(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const mac_vap_stru *mac_vap, const dmac_ba_tx_stru *tx_ba, hi_u8 tidno) hmac_mgmt_set_ba_tx_info() argument 651 hmac_mgmt_tx_addba_req(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const mac_action_mgmt_args_stru *action_args) hmac_mgmt_tx_addba_req() argument 714 hmac_mgmt_tx_addba_rsp(hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, hmac_ba_rx_stru *ba_rx_info, hi_u8 tid, hi_u8 status) hmac_mgmt_tx_addba_rsp() argument 840 hmac_mgmt_tx_delba(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const mac_action_mgmt_args_stru *action_args) hmac_mgmt_tx_delba() argument 908 hmac_mgmt_rx_action_ba(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_data) hmac_mgmt_rx_action_ba() argument 928 hmac_mgmt_rx_addba_req_init(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hi_u8 *puc_payload, hmac_ba_rx_stru *ba_rx_stru, hi_u8 tid) hmac_mgmt_rx_addba_req_init() argument 988 hmac_mgmt_rx_addba_req(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload) hmac_mgmt_rx_addba_req() argument 1067 hmac_mgmt_rx_addba_rsp_send_event(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload, hmac_tid_stru *tid, hi_u8 tidno) hmac_mgmt_rx_addba_rsp_send_event() argument 1135 hmac_mgmt_rx_addba_rsp(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload) hmac_mgmt_rx_addba_rsp() argument 1207 hmac_mgmt_rx_delba(const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const hi_u8 *puc_payload) hmac_mgmt_rx_delba() argument 1291 hmac_vap_stru *hmac_vap = HI_NULL; /* vap指针 */ hmac_mgmt_tx_addba_timeout() local 1341 hmac_mgmt_tx_ampdu_start(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_priv_req_args_stru *priv_req) hmac_mgmt_tx_ampdu_start() argument 1404 hmac_mgmt_tx_ampdu_end(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_priv_req_args_stru *priv_req) hmac_mgmt_tx_ampdu_end() argument 1662 hmac_vap_stru *hmac_vap = HI_NULL; hmac_sa_query_del_user() local 1893 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_start_sa_query() local 2062 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_mgmt_send_deauth_frame() local 2152 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_mgmt_send_disassoc_frame() local 2240 hmac_vap_stru *hmac_vap = HI_NULL; hmac_check_bss_cap_info() local 2348 hmac_rx_sa_query_req(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected) hmac_rx_sa_query_req() argument 2391 hmac_rx_sa_query_rsp(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u8 is_protected) hmac_rx_sa_query_rsp() argument 2445 hmac_send_psm_opmode_notify_event(hmac_vap_stru *hmac_vap, mac_user_stru *mac_user, hi_u8 user_idx) hmac_send_psm_opmode_notify_event() argument 2474 hmac_mgmt_rx_opmode_notify_frame(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf) hmac_mgmt_rx_opmode_notify_frame() argument 2557 hmac_send_mgmt_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, hi_u16 us_len, hi_s32 l_freq) hmac_send_mgmt_to_host() argument 2678 hmac_rx_mgmt_send_to_host(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf) hmac_rx_mgmt_send_to_host() argument [all...] |
H A D | hmac_device.c | 30 #include "hmac_vap.h" 73 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_device_exit() local 85 hmac_vap = hmac_vap_get_vap_stru(WLAN_CFG_VAP_ID); in hmac_device_exit() 86 if (hmac_vap == HI_NULL) { in hmac_device_exit() 90 return_code = hmac_config_del_vap(hmac_vap->base_vap, sizeof(mac_cfg_down_vap_param_stru), (hi_u8 *)&down_vap); in hmac_device_exit() 97 hmac_vap = hmac_vap_get_vap_stru(mac_dev->auc_vap_id[vap_idx]); in hmac_device_exit() 98 if (hmac_vap == HI_NULL) { in hmac_device_exit() 99 oam_error_log0(0, OAM_SF_ANY, "{hmac_device_exit::hmac_vap null.}"); in hmac_device_exit() 102 return_code = hmac_vap_destroy(hmac_vap); in hmac_device_exit() 129 hmac_vap_stru *hmac_vap in hmac_cfg_vap_init() local [all...] |
H A D | hmac_edca_opt.c | 25 #include "hmac_vap.h" 46 static hi_void hmac_edca_opt_stat_traffic_num(const hmac_vap_stru *hmac_vap, 58 static hi_void hmac_edca_opt_stat_traffic_num(const hmac_vap_stru *hmac_vap, in hmac_edca_opt_stat_traffic_num() argument 64 mac_vap_stru *mac_vap = hmac_vap->base_vap; in hmac_edca_opt_stat_traffic_num() 113 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_edca_opt_timeout_fn() local 118 hmac_vap = (hmac_vap_stru *)arg; in hmac_edca_opt_timeout_fn() 124 hmac_edca_opt_stat_traffic_num(hmac_vap, aast_uc_traffic_num); in hmac_edca_opt_timeout_fn() 139 sizeof(aast_uc_traffic_num), FRW_EVENT_PIPELINE_STAGE_1, hmac_vap->base_vap->vap_id); in hmac_edca_opt_timeout_fn() 188 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_edca_opt_tx_pkts_stat() local 195 hmac_vap in hmac_edca_opt_tx_pkts_stat() [all...] |
H A D | hmac_rx_data.c | 26 #include "hmac_vap.h" 58 hi_void hmac_rx_process_data_mesh_tcp_ack_opt(hmac_vap_stru *hmac_vap, const oal_netbuf_head_stru *netbuf_header); 253 hi_u32 hmac_rx_msdu_proc(const hmac_vap_stru *hmac_vap, oal_netbuf_head_stru *netbuf_header, oal_netbuf_stru *netbuf, in hmac_rx_msdu_proc() argument 296 if (hmac_11i_ether_type_filter(hmac_vap, ether->auc_ether_shost, ether->us_ether_type) != HI_SUCCESS) { in hmac_rx_msdu_proc() 323 static hi_u32 hmac_rx_prepare_msdu_list_to_wlan(const hmac_vap_stru *hmac_vap, oal_netbuf_head_stru *netbuf_header, in hmac_rx_prepare_msdu_list_to_wlan() argument 333 ret = hmac_rx_msdu_proc(hmac_vap, netbuf_header, netbuf, frame_hdr, rx_ctrl); in hmac_rx_prepare_msdu_list_to_wlan() 474 static hi_u32 hmac_rx_transmit_edca_opt_ap(const hmac_vap_stru *hmac_vap, mac_ether_header_stru *ether_hdr) in hmac_rx_transmit_edca_opt_ap() argument 476 mac_vap_stru *mac_vap = hmac_vap->base_vap; in hmac_rx_transmit_edca_opt_ap() 485 ) && (hmac_vap->edca_opt_flag_ap == HI_TRUE)) { in hmac_rx_transmit_edca_opt_ap() 490 oam_warning_log3(hmac_vap in hmac_rx_transmit_edca_opt_ap() 531 hmac_rx_transmit_msdu_to_lan(const hmac_vap_stru *hmac_vap, hmac_msdu_stru *msdu) hmac_rx_transmit_msdu_to_lan() argument 598 hmac_rx_msdu_frame_classify(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, mac_ieee80211_frame_stru *frame_hdr, hmac_msdu_stru *msdu, hmac_user_stru *hmac_user) hmac_rx_msdu_frame_classify() argument 669 hmac_rx_lan_frame_classify(const hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, mac_ieee80211_frame_stru *frame_hdr) hmac_rx_lan_frame_classify() argument 863 hmac_vap_stru *hmac_vap = HI_NULL; hmac_rx_lan_frame() local 897 hmac_rx_process_data_insert_list(hi_u16 us_netbuf_num, oal_netbuf_stru *temp_netbuf, oal_netbuf_head_stru *netbuf_header, const hmac_vap_stru *hmac_vap) hmac_rx_process_data_insert_list() argument 971 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); hmac_rx_process_data_ap() local 1001 hmac_rx_process_no_multicast_proc(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, oal_netbuf_stru *netbuf, oal_netbuf_head_stru *w2w_netbuf_hdr) hmac_rx_process_no_multicast_proc() argument 1067 hmac_rx_process_data_ap_tcp_ack_opt(const hmac_vap_stru *hmac_vap, const oal_netbuf_head_stru *netbuf_header) hmac_rx_process_data_ap_tcp_ack_opt() argument 1158 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); hmac_rx_process_data_sta() local 1196 hmac_rx_process_data_mesh_tcp_ack_opt(hmac_vap_stru *hmac_vap, const oal_netbuf_head_stru *netbuf_header) hmac_rx_process_data_mesh_tcp_ack_opt() argument [all...] |
H A D | hmac_scan.c | 937 static hi_void hmac_scan_update_bss_base(hmac_vap_stru *hmac_vap, const dmac_tx_event_stru *dtx_event, in hmac_scan_update_bss_base() argument 940 hi_unref_param(hmac_vap); in hmac_scan_update_bss_base() 989 if (hmac_vap->base_vap->vap_mode == WLAN_VAP_MODE_MESH) { in hmac_scan_update_bss_base() 1004 if (hmac_vap->base_vap->vap_mode == WLAN_VAP_MODE_MESH) { in hmac_scan_update_bss_base() 1055 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(vap_id); in hmac_scan_update_bss_dscr() local 1056 if (hmac_vap == HI_NULL) { in hmac_scan_update_bss_dscr() 1105 hmac_scan_update_bss_base(hmac_vap, dtx_event, bss_dscr, frame_channel); in hmac_scan_update_bss_dscr() 1225 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); in hmac_scan_proc_scanned_bss() local 1226 if (oal_unlikely(hmac_vap == HI_NULL)) { in hmac_scan_proc_scanned_bss() 1253 oam_error_log0(hmac_vap in hmac_scan_proc_scanned_bss() 1304 hmac_scan_proc_scan_comp_event_vap(const mac_device_stru *mac_dev, hmac_scan_stru *scan_mgmt, hmac_vap_stru *hmac_vap) hmac_scan_proc_scan_comp_event_vap() argument 1365 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(event_hdr->vap_id); hmac_scan_proc_scan_comp_event() local 1423 hmac_scan_proc_scan_req_event_exception(hmac_vap_stru *hmac_vap) hmac_scan_proc_scan_req_event_exception() argument 1455 hmac_scan_set_sour_mac_addr_in_probe_req(const hmac_vap_stru *hmac_vap, hi_u8 *sa_mac_addr, hi_u8 mac_addr_len, hi_u8 is_rand_mac_addr_scan, hi_u8 is_p2p0_scan) hmac_scan_set_sour_mac_addr_in_probe_req() argument 1503 hmac_scan_update_scan_params(const hmac_vap_stru *hmac_vap, mac_scan_req_stru *scan_params, hi_u8 is_random_mac_addr_scan) hmac_scan_update_scan_params() argument 1556 hmac_scan_check_is_dispatch_scan_req(const hmac_vap_stru *hmac_vap, const hmac_device_stru *hmac_dev) hmac_scan_check_is_dispatch_scan_req() argument 1608 hmac_vap_stru *hmac_vap = HI_NULL; hmac_scan_proc_scan_timeout_fn() local 1673 hmac_scan_dispatch_req_event(const hmac_vap_stru *hmac_vap, const mac_scan_req_stru *scan_params) hmac_scan_dispatch_req_event() argument 1736 hmac_scan_proc_scan_req_event(hmac_vap_stru *hmac_vap, mac_scan_req_stru *scan_params) hmac_scan_proc_scan_req_event() argument 1814 hmac_scan_proc_sched_scan_req_event(const hmac_vap_stru *hmac_vap, const mac_pno_scan_stru *pno_scan_params) hmac_scan_proc_sched_scan_req_event() argument [all...] |
H A D | hmac_sme_sta.h | 27 #include "hmac_vap.h" 49 typedef hi_void (*hmac_sme_handle_rsp_func)(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg); 68 hi_void hmac_send_rsp_to_sme_sta(hmac_vap_stru *hmac_vap, hmac_sme_rsp_enum_uint8 type, const hi_u8 *puc_msg); 69 hi_void hmac_handle_scan_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg); 70 hi_void hmac_handle_join_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg); 71 hi_void hmac_handle_auth_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg); 72 hi_void hmac_handle_asoc_rsp_sta(hmac_vap_stru *hmac_vap, const hi_u8 *puc_msg); 84 hi_void hmac_report_assoc_state_sta(const hmac_vap_stru *hmac_vap, const hi_u8 *mac_addr, hi_u8 assoc);
|
H A D | hmac_chan_mgmt.c | 383 hi_u32 hmac_start_bss_in_available_channel(hmac_vap_stru *hmac_vap) in hmac_start_bss_in_available_channel() argument 388 ret = hmac_config_start_vap_event(hmac_vap->base_vap, HI_TRUE); in hmac_start_bss_in_available_channel() 390 hmac_fsm_change_state(hmac_vap, MAC_VAP_STATE_INIT); in hmac_start_bss_in_available_channel() 397 mac_vap_set_bssid(hmac_vap->base_vap, hmac_vap->base_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, in hmac_start_bss_in_available_channel() 401 if (hmac_vap->base_vap->channel.band == WLAN_BAND_2G) { in hmac_start_bss_in_available_channel() 402 mac_mib_set_short_preamble_option_implemented(hmac_vap->base_vap, WLAN_LEGACY_11B_MIB_SHORT_PREAMBLE); in hmac_start_bss_in_available_channel() 403 mac_mib_set_spectrum_management_required(hmac_vap->base_vap, HI_FALSE); in hmac_start_bss_in_available_channel() 405 mac_mib_set_short_preamble_option_implemented(hmac_vap->base_vap, WLAN_LEGACY_11B_MIB_LONG_PREAMBLE); in hmac_start_bss_in_available_channel() 406 mac_mib_set_spectrum_management_required(hmac_vap in hmac_start_bss_in_available_channel() 423 hmac_chan_start_bss(hmac_vap_stru *hmac_vap) hmac_chan_start_bss() argument 532 hmac_vap_stru *hmac_vap = HI_NULL; hmac_chan_switch_to_new_chan_complete() local 720 hmac_channel_switch_report_event(const hmac_vap_stru *hmac_vap, hi_s32 l_freq) hmac_channel_switch_report_event() argument [all...] |
H A D | hmac_config.c | 26 #include "hmac_vap.h" 87 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_config_delba_req() local 95 hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); in hmac_config_delba_req() 98 if (hmac_vap == HI_NULL || hmac_user == HI_NULL) { in hmac_config_delba_req() 100 "{hmac_config_delba_req::hmac_vap/hmac_user null! hmac_vap=%p, hmac_user=%p}", (uintptr_t)hmac_vap, in hmac_config_delba_req() 137 ret = hmac_mgmt_tx_action(hmac_vap, hmac_user, &action_args); in hmac_config_delba_req() 153 hmac_vap_stru *hmac_vap = HI_NULL; in hmac_config_addba_req() local 161 hmac_vap in hmac_config_addba_req() 235 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_vap_info() local 299 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_ampdu_start() local 351 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_amsdu_ampdu_switch() local 405 hmac_proc_dev_sleep_req_del_ba_timer(const hmac_vap_stru *hmac_vap, hi_u32 pm_wlan_state) hmac_proc_dev_sleep_req_del_ba_timer() argument 459 hmac_vap_stru *hmac_vap = HI_NULL; hmac_proc_dev_sleep_req() local 877 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_pm_switch() local 933 hmac_config_init_hmac_vap(hi_u8 vap_id, hmac_vap_stru *hmac_vap, mac_device_stru *mac_dev, mac_cfg_add_vap_param_stru *param) hmac_config_init_hmac_vap() argument 978 hmac_config_set_station_id(const hmac_vap_stru *hmac_vap, mac_device_stru *mac_dev, hi_u8 vap_id, const mac_cfg_add_vap_param_stru *param) hmac_config_set_station_id() argument 1052 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(vap_id); hmac_config_add_vap() local 1093 hmac_config_del_timer_user_vap(hmac_vap_stru *hmac_vap) hmac_config_del_timer_user_vap() argument 1116 hmac_config_del_timer_user(mac_vap_stru *mac_vap, hmac_vap_stru *hmac_vap) hmac_config_del_timer_user() argument 1177 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_del_vap() local 1272 hmac_config_ap_mesh_start(mac_vap_stru *mac_vap, hmac_vap_stru *hmac_vap) hmac_config_ap_mesh_start() argument 1379 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_start_vap() local 1434 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_sta_update_rates() local 1473 hmac_config_del_user(mac_vap_stru *mac_vap, const hmac_vap_stru *hmac_vap) hmac_config_del_user() argument 1556 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_down_vap() local 1823 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_set_mode() local 2156 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_auth_mode() local 2195 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_get_auth_mode() local 2856 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_set_beacon() local 3176 hmac_config_kick_user_disassoc(mac_vap_stru *mac_vap, const mac_cfg_kick_user_param_stru *kick_user_param, hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user) hmac_config_kick_user_disassoc() argument 3210 hmac_config_kick_user_vap(mac_vap_stru *mac_vap, const mac_cfg_kick_user_param_stru *kick_user_param, hmac_vap_stru *hmac_vap) hmac_config_kick_user_vap() argument 3285 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_kick_user() local 3392 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_bw() local 3579 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_always_rx() local 3714 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_ampdu_tx_on_sub() local 3945 hmac_config_connect_dev(const mac_vap_stru *mac_vap, mac_cfg80211_connect_param_stru *connect_param, hmac_vap_stru *hmac_vap, hmac_bss_mgmt_stru *bss_mgmt) hmac_config_connect_dev() argument 4004 hmac_config_connect_hmac(mac_vap_stru *mac_vap, mac_cfg80211_connect_security_stru *conn_sec, mac_cfg80211_connect_param_stru *connect_param, hmac_vap_stru *hmac_vap) hmac_config_connect_hmac() argument 4097 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_connect() local 4665 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_edca_opt_switch_sta() local 4719 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_edca_opt_switch_ap() local 4765 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_edca_opt_cycle_ap() local 4805 hmac_vap_stru *hmac_vap = (hmac_vap_stru *)puc_para; hmac_set_psm_timeout() local 5355 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_vap_start_xmit() local 5428 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_bridge_vap_xmit_check() local 5532 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_scan_abort() local 5722 hmac_vap_stru *hmac_vap = HI_NULL; hmac_wifitest_get_reg_info() local 6000 hmac_vap_stru *hmac_vap = HI_NULL; hmac_proc_query_rssi_response() local 6107 hmac_vap_stru *hmac_vap = HI_NULL; _hmac_config_set_sta_pm_on() local 6506 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_tx_classify_switch() local 6550 hmac_vap_stru *hmac_vap = HI_NULL; hmac_config_set_sta_pm_on() local 6815 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); hmac_config_send_mesh_action() local [all...] |
H A D | hmac_tx_data.h | 28 #include "hmac_vap.h" 97 hi_u32 hmac_tx_encap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, oal_netbuf_stru *netbuf); 98 hmac_tx_return_type_enum_uint8 hmac_tx_ucast_process(hmac_vap_stru *hmac_vap, oal_netbuf_stru *netbuf, 100 hi_void hmac_tx_ba_setup(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno); 105 hi_u8 hmac_tx_wmm_acm(hi_u8 wmm, const hmac_vap_stru *hmac_vap, hi_u8 *puc_tid); 106 hi_u8 hmac_tid_need_ba_session(hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, hi_u8 tidno,
|
H A D | hmac_encap_frame_sta.h | 28 #include "hmac_vap.h" 39 hi_u32 hmac_mgmt_encap_asoc_req_sta(const hmac_vap_stru *hmac_vap, hi_u8 *puc_req_frame); 40 hi_u16 hmac_mgmt_encap_auth_req(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mgmt_frame); 41 hi_u16 hmac_mgmt_encap_auth_req_seq3(const hmac_vap_stru *hmac_vap, hi_u8 *puc_mgmt_frame, hi_u8 *puc_mac_hrd);
|
H A D | hmac_scan.h | 26 #include "hmac_vap.h" 52 hi_u32 hmac_scan_proc_scan_req_event_exception(hmac_vap_stru *hmac_vap); 53 hi_u32 hmac_scan_proc_scan_req_event(hmac_vap_stru *hmac_vap, mac_scan_req_stru *scan_params); 55 hi_u32 hmac_scan_proc_sched_scan_req_event(const hmac_vap_stru *hmac_vap, const mac_pno_scan_stru *pno_scan_params); 60 hi_void hmac_scan_set_sour_mac_addr_in_probe_req(const hmac_vap_stru *hmac_vap, hi_u8 *sa_mac_addr, hi_u8 mac_addr_len,
|
H A D | hmac_mgmt_ap.h | 27 #include "hmac_vap.h" 70 const hmac_vap_stru *hmac_vap; member 80 hi_u32 hmac_ap_up_rx_mgmt(hmac_vap_stru *hmac_vap, const dmac_wlan_crx_event_stru *mgmt_rx_event); 81 hi_u32 hmac_ap_wait_start_rx_mgmt(hmac_vap_stru *hmac_vap, hi_void *param); 83 hi_void hmac_handle_disconnect_rsp_ap(const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_maintenance.c | 102 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); in wal_data_acq_status_to_hso() local 103 if (hmac_vap == HI_NULL) { in wal_data_acq_status_to_hso() 107 hmac_vap->station_info_query_completed_flag = HI_FALSE; in wal_data_acq_status_to_hso() 124 ret = (hi_u32)hi_wait_event_timeout((hmac_vap->query_wait_q), /* use非wifi目录定义宏函数,误告警,lin_t e26告警屏蔽 */ in wal_data_acq_status_to_hso() 125 (HI_TRUE == hmac_vap->station_info_query_completed_flag), DATA_ACQ_WAITTIME); in wal_data_acq_status_to_hso() 131 return hmac_vap->acq_status_filter; in wal_data_acq_status_to_hso() 160 hmac_vap_stru *hmac_vap = hmac_vap_get_vap_stru(mac_vap->vap_id); in wal_data_acq_result_addr_to_hso() local 161 if (hmac_vap == HI_NULL) { in wal_data_acq_result_addr_to_hso() 165 hmac_vap->station_info_query_completed_flag = HI_FALSE; in wal_data_acq_result_addr_to_hso() 182 ret = (hi_u32)hi_wait_event_timeout((hmac_vap in wal_data_acq_result_addr_to_hso() [all...] |