/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_hipriv.h | 83 typedef hi_u32 (*wal_hipriv_cmd_func)(oal_net_device_stru *netdev, hi_char *pc_param); 143 hi_u32 wal_hipriv_set_rate(oal_net_device_stru *netdev, hi_char *pc_param); 144 hi_u32 wal_hipriv_set_mcs(oal_net_device_stru *netdev, hi_char *pc_param); 150 hi_u32 wal_hipriv_del_vap(oal_net_device_stru *netdev); 152 hi_u32 wal_hipriv_vap_info(oal_net_device_stru *netdev, hi_char *pc_param); 160 hi_u32 wal_hipriv_get_bw(oal_net_device_stru *netdev, hal_channel_assemble_enum_uint8 *pen_bw_index); 161 hi_u32 wal_hipriv_set_bw(oal_net_device_stru *netdev, hi_char *pc_param); 163 hi_u32 wal_hipriv_reg_write(oal_net_device_stru *netdev, hi_char *pc_param); 165 hi_u32 wal_hipriv_getcountry(oal_net_device_stru *netdev, hi_char *pc_param); 166 hi_u32 wal_hipriv_set_vap_state(oal_net_device_stru *netde [all...] |
H A D | wal_ioctl.h | 93 oal_net_device_stru *net_dev; 105 hi_u32 wal_alloc_cfg_event(oal_net_device_stru *netdev, frw_event_mem_stru **event_mem, hi_void *resp_addr, 107 hi_u32 wal_send_cfg_event(oal_net_device_stru *netdev, wal_msg_type_enum_uint8 msg_type, hi_u16 us_len, 110 hi_u32 wal_start_vap(oal_net_device_stru *netdev); 111 hi_u32 wal_stop_vap(oal_net_device_stru *netdev); 112 hi_u32 wal_init_wlan_vap(oal_net_device_stru *netdev); 113 hi_u32 wal_deinit_wlan_vap(oal_net_device_stru *netdev); 114 hi_u32 wal_setup_vap(oal_net_device_stru *netdev); 115 hi_u32 wal_host_dev_init(const oal_net_device_stru *netdev); 119 hi_u32 wal_cfg_vap_h2d_event(oal_net_device_stru *netde [all...] |
H A D | wal_cfg80211_apt.h | 69 hi_u32 cfg80211_new_sta(const oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len, 71 hi_u32 cfg80211_del_sta(oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len); 73 hi_void cfg80211_inform_bss_frame(const oal_net_device_stru *netdev, oal_wiphy_stru *wiphy, 75 hi_void cfg80211_connect_result(const oal_net_device_stru *netdev, const oal_connet_result_stru *connet_result); 76 hi_u32 cfg80211_disconnected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *puc_ie, hi_u32 ie_len); 77 hi_u32 cfg80211_timeout_disconnected(const oal_net_device_stru *netdev); 78 hi_void cfg80211_scan_done(const oal_net_device_stru *netdev, hisi_scan_status_enum status); 79 hi_u8 cfg80211_rx_mgmt(const oal_net_device_stru *netdev, hi_s32 freq, hi_s32 l_sig_mbm, const hi_u8 *puc_buf, 81 hi_u32 cfg80211_csa_channel_switch(const oal_net_device_stru *netdev, hi_s32 freq); 82 hi_u32 cfg80211_remain_on_channel(const oal_net_device_stru *netde [all...] |
H A D | wal_cfg80211.h | 230 hi_void wal_cfg80211_unregister_netdev(oal_net_device_stru *netdev); 236 hi_u32 wal_cfg80211_set_default_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, 248 hi_u32 wal_cfg80211_add_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, bool pairwise, 250 hi_u32 wal_cfg80211_remove_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, hi_bool pairwise, 252 hi_u32 wal_cfg80211_change_virtual_intf(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, nl80211_iftype_uint8 type, 255 hi_u32 wal_cfg80211_del_station(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, 260 hi_s32 wal_cfg80211_stop_ap(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev); 262 hi_s32 wal_cfg80211_set_default_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, bool unicast, 266 hi_u32 wal_cfg80211_connect(oal_wiphy_stru *wiphy, oal_net_device_stru *net_device, 268 hi_u32 wal_cfg80211_disconnect(oal_wiphy_stru *wiphy, oal_net_device_stru *netde [all...] |
H A D | wal_ioctl.c | 84 static hi_u32 wal_ioctl_get_mode(oal_net_device_stru *netdev, hi_s8 *pc_param); 85 static hi_u32 wal_ioctl_get_essid(oal_net_device_stru *netdev, hi_s8 *pc_param); 86 static hi_u32 wal_ioctl_get_bss_type(oal_net_device_stru *netdev, hi_s8 *pc_param); 87 static hi_u32 wal_ioctl_set_bss_type(oal_net_device_stru *netdev, hi_s8 *pc_param); 88 static hi_u32 wal_ioctl_get_freq(oal_net_device_stru *netdev, hi_s8 *pc_param); 89 static hi_u32 wal_ioctl_get_txpower(oal_net_device_stru *netdev, hi_s8 *pc_param); 90 static hi_u32 wal_ioctl_get_apaddr(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, 92 static hi_u32 wal_ioctl_get_iwrate(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, 94 static hi_u32 wal_ioctl_get_iwsense(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, 96 static hi_u32 wal_ioctl_get_rtsthres(oal_net_device_stru *netde [all...] |
H A D | wal_net.h | 82 hi_u32 hwal_pbuf_convert_2_skb(const oal_net_device_stru *netdev, oal_lwip_buf *lwip_buf, oal_netbuf_stru *sk_buf); 86 hi_u32 wal_netdev_open(oal_net_device_stru *netdev); 87 hi_u32 wal_netdev_stop(oal_net_device_stru *netdev); 89 hi_s32 wal_netdev_open(oal_net_device_stru *netdev); 90 hi_s32 wal_netdev_stop(oal_net_device_stru *netdev); 108 hi_s32 wal_init_drv_wlan_netdev(nl80211_iftype_uint8 type, wal_phy_mode mode, oal_net_device_stru *netdev); 113 hi_s32 wal_deinit_drv_wlan_netdev(oal_net_device_stru *netdev); 114 hi_void set_past_net_device_by_index(hi_u32 netdev_index, oal_net_device_stru *netdev);
|
H A D | wal_cfg80211_apt.c | 64 输入参数 : oal_net_device_stru *pst_dev, const hi_u8 *mac_addr, 69 hi_u32 cfg80211_new_sta(const oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len, in cfg80211_new_sta() 119 输入参数 : oal_net_device_stru *pst_dev, const hi_u8 *puc_mac_addr, 124 hi_u32 cfg80211_del_sta(oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len) in cfg80211_del_sta() 151 hi_u8 cfg80211_rx_mgmt(const oal_net_device_stru *netdev, hi_s32 freq, hi_s32 l_sig_mbm, const hi_u8 *buffer, in cfg80211_rx_mgmt() 290 hi_void cfg80211_inform_bss_frame(const oal_net_device_stru *netdev, oal_wiphy_stru *wiphy, in cfg80211_inform_bss_frame() 350 hi_void cfg80211_connect_result_return(const oal_net_device_stru *netdev, const oal_connet_result_stru *connet_result, in cfg80211_connect_result_return() 399 hi_void cfg80211_connect_result(const oal_net_device_stru *netdev, const oal_connet_result_stru *connet_result) in cfg80211_connect_result() 469 hi_u32 cfg80211_disconnected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *ie, hi_u32 ie_len) in cfg80211_disconnected() 513 hi_u32 cfg80211_timeout_disconnected(const oal_net_device_stru *netde [all...] |
H A D | wal_scan.h | 62 hi_void wal_inform_all_bss(const oal_net_device_stru *netdev, oal_wiphy_stru *wiphy, hmac_bss_mgmt_stru *bss_mgmt, 64 hi_u32 wal_start_scan_req(oal_net_device_stru *netdev, hmac_scan_stru *scan_mgmt); 65 hi_u32 wal_force_scan_complete(oal_net_device_stru *netdev);
|
H A D | wal_cfg80211.c | 287 oal_net_device_stru *netdev = HI_NULL; in wal_del_p2p_group() 348 输入参数 : oal_net_device_stru *net_dev, wlan_p2p_status_enum_uint32 en_status 360 hi_u32 wal_set_p2p_status(oal_net_device_stru *netdev, wlan_p2p_status_enum_uint32 status) in wal_set_p2p_status() 425 hi_u32 wal_p2p_stop_roc(mac_vap_stru *mac_vap, oal_net_device_stru *netdev) in wal_p2p_stop_roc() 461 oal_net_device_stru *netdev = wdev->netdev; in wal_drv_remain_on_channel() 568 oal_net_device_stru *netdev = HI_NULL; in wal_cfg80211_cancel_remain_on_channel() 601 oal_net_device_stru *pst_net_dev 614 hi_u32 wal_cfg80211_register_netdev(oal_net_device_stru *netdev) in wal_cfg80211_register_netdev() 632 hi_void wal_cfg80211_unregister_netdev(oal_net_device_stru *netdev) in wal_cfg80211_unregister_netdev() 688 hi_u32 wal_cfg80211_open_wmm(oal_net_device_stru *netde [all...] |
H A D | wal_hipriv.c | 507 hi_u32 wal_hipriv_getcountry(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_getcountry() 540 hi_u32 wal_hipriv_set_vap_state(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_set_vap_state() 571 hi_u32 wal_hipriv_get_mesh_node_info(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_get_mesh_node_info() 616 hi_u32 wal_hipriv_addba_req(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_addba_req() 672 hi_u32 wal_hipriv_vap_info(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_vap_info() 700 static hi_u32 wal_hipriv_set_tx_dscr_param(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_set_tx_dscr_param() 764 static hi_u32 wal_hipriv_ampdu_start(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_ampdu_start() 814 static hi_u32 wal_hipriv_ampdu_amsdu_switch(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_ampdu_amsdu_switch() 851 static hi_u32 wal_hipriv_delba_req(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_delba_req() 909 hi_u32 wal_hipriv_user_info(oal_net_device_stru *netde [all...] |
H A D | hi_wifi_driver_api.c | 363 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_sta_get_ap_rssi() 426 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_set_country() 468 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_get_country() 505 oal_net_device_stru *net_dev = HI_NULL; in hi_wifi_set_pm_switch() 562 oal_net_device_stru *netdev = oal_get_netdev_by_name(ptr_ifname_cpy); in hi_wifi_set_bandwidth() 605 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_get_bandwidth() 660 oal_net_device_stru *netdev = oal_get_netdev_by_name(ifname); in hi_wifi_send_custom_pkt() 704 oal_net_device_stru *netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); in hi_wifi_set_plat_ps_mode() 740 hi_s32 wifi_promis_set(oal_net_device_stru *netdev, hi_u8 filter_value) in wifi_promis_set() 769 oal_net_device_stru *netde in hi_wifi_promis_enable() [all...] |
H A D | wal_linux_flowctl.h | 70 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf); 76 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv,
|
H A D | wal_linux_flowctl.c | 54 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv, in wal_netdev_select_queue() 116 oal_net_device_stru *netdev = hmac_vap_get_net_device(vap_id); in wal_flowctl_backp_event_handler() 183 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv, in wal_netdev_select_queue()
|
H A D | wal_event.c | 75 oal_net_device_stru *netdev = (oal_net_device_stru *)arg; in wal_scan_result_clean_timeout_fn() 112 oal_net_device_stru *netdev = hmac_vap_get_net_device(event->event_hdr.vap_id); in wal_scan_comp_proc_sta() 209 oal_net_device_stru *netdev = HI_NULL; in wal_asoc_comp_proc_sta() 280 oal_net_device_stru *netdev = HI_NULL; in wal_disasoc_comp_proc_sta() 364 oal_net_device_stru *netdev = hmac_vap_get_net_device(event->event_hdr.vap_id); in wal_connect_new_sta_proc_ap() 428 oal_net_device_stru *netdev = HI_NULL; in wal_disconnect_sta_proc_ap() 467 hi_void wal_set_tpc_mode(oal_net_device_stru *netdev, hi_u32 mode) in wal_set_tpc_mode() 509 oal_net_device_stru *netdev = HI_NULL; in wal_mic_failure_proc() 556 oal_net_device_stru *netde in wal_send_mgmt_to_host() [all...] |
H A D | wal_maintenance.c | 44 oal_net_device_stru *netdev = HI_NULL; in wal_data_acq_start_from_hso() 90 oal_net_device_stru *netdev = oal_get_netdev_by_name(puc_ifname); in wal_data_acq_status_to_hso() 148 oal_net_device_stru *netdev = oal_get_netdev_by_name(puc_ifname); in wal_data_acq_result_addr_to_hso()
|
H A D | wal_scan.c | 87 static hi_void wal_inform_bss_frame(const oal_net_device_stru *netdev, wal_scanned_bss_info_stru *scanned_bss_info, in wal_inform_bss_frame() 173 hi_void wal_inform_all_bss(const oal_net_device_stru *netdev, oal_wiphy_stru *wiphy, hmac_bss_mgmt_stru *bss_mgmt, in wal_inform_all_bss() 405 oal_net_device_stru *netdev = HI_NULL; in wal_wait_for_scan_timeout_fn() 511 hi_u32 wal_start_scan_req(oal_net_device_stru *netdev, hmac_scan_stru *scan_mgmt) in wal_start_scan_req() 592 输入参数 : oal_net_device_stru *pst_net_dev 604 hi_u32 wal_send_scan_abort_msg(oal_net_device_stru *netdev) in wal_send_scan_abort_msg() 635 输入参数 : oal_net_device_stru *pst_net_dev, 648 hi_u32 wal_force_scan_complete(oal_net_device_stru *netdev) in wal_force_scan_complete()
|
H A D | wal_event.h | 117 hi_s32 wal_any_global_config(wlan_cfgid_enum_uint16 wid, oal_net_device_stru *netdev); 121 hi_void wal_set_tpc_mode(oal_net_device_stru *netdev, hi_u32 mode);
|
H A D | wal_11d.h | 66 hi_u32 wal_regdomain_update(oal_net_device_stru *netdev, const hi_char *pc_country, hi_u8 country_code_len);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_cfg80211.h | 72 oal_net_device_stru *net_dev, 79 oal_net_device_stru *pst_net_dev, 83 hi_void oal_kobject_uevent_env_sta_join(oal_net_device_stru *net_device, const hi_u8 *mac_addr); 84 hi_void oal_kobject_uevent_env_sta_leave(oal_net_device_stru *net_device, const hi_u8 *mac_addr); 85 hi_void oal_cfg80211_mic_failure(oal_net_device_stru *net_device, const hi_u8 *mac_addr, 87 hi_u32 oal_cfg80211_rx_mgmt(oal_net_device_stru *pst_dev, hi_s32 l_freq, const hi_u8 *puc_buf, hi_u32 ul_len, 98 hi_u32 oal_cfg80211_new_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, 100 hi_u32 oal_cfg80211_del_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, 102 hi_u32 oal_cfg80211_connect_result(oal_net_device_stru *net_device, const oal_connet_result_stru *connect_result); 103 hi_u32 oal_cfg80211_disconnected(oal_net_device_stru *pst_net_devic [all...] |
H A D | oal_net.c | 54 oal_net_device_stru *g_past_net_device[WLAN_VAP_NUM_PER_BOARD] = {HI_NULL}; 353 oal_net_device_stru *oal_get_netdev_by_name(const hi_char *pc_name) in oal_get_netdev_by_name() 361 oal_net_device_stru *oal_get_netdevice_by_name(const hi_char *pc_name, hi_u32 len) in oal_get_netdevice_by_name() 375 oal_net_device_stru *oal_net_alloc_netdev(const hi_char *puc_name, hi_u8 max_name_len) in oal_net_alloc_netdev() 378 oal_net_device_stru *netdev = NetDeviceInit(puc_name, strlen(puc_name), WIFI_LINK, LITE_OS); in oal_net_alloc_netdev() 386 void OalInitSpecialProcPriv(oal_net_device_stru *netdev) in OalInitSpecialProcPriv() 405 void OalFreeSpecialProcPriv(oal_net_device_stru *netdev) in OalFreeSpecialProcPriv() 424 oal_net_device_stru *oal_net_alloc_netdev_mqs(const hi_char *puc_name) in oal_net_alloc_netdev_mqs() 427 oal_net_device_stru *netdev; in oal_net_alloc_netdev_mqs() 430 netdev = (oal_net_device_stru *)oal_memallo in oal_net_alloc_netdev_mqs() [all...] |
H A D | oal_net.h | 537 typedef struct NetDevice oal_net_device_stru; typedef 892 struct oal_net_device_stru* dev; 1015 void OalInitSpecialProcPriv(oal_net_device_stru *netdev); 1017 typedef hi_u32 (*oal_iw_handler)(oal_net_device_stru* dev, oal_iw_request_info_stru* info, 1114 oal_iw_statistics_stru* (*get_wireless_stats)(oal_net_device_stru* dev); 1147 oal_net_device_stru* netdev; 1377 oal_net_device_stru* dev; 1596 hi_s32 (*add_key)(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, 1598 hi_s32 (*get_key)(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, 1601 hi_s32 (*del_key)(oal_wiphy_stru *wiphy, oal_net_device_stru *netde [all...] |
H A D | oal_cfg80211.c | 61 oal_net_device_stru *net_dev, in oal_cfg80211_ready_on_channel() 82 hi_void oal_kobject_uevent_env_sta_join(oal_net_device_stru *net_device, const hi_u8 *mac_addr) in oal_kobject_uevent_env_sta_join() 99 hi_void oal_kobject_uevent_env_sta_leave(oal_net_device_stru *net_device, const hi_u8 *mac_addr) in oal_kobject_uevent_env_sta_leave() 116 oal_net_device_stru *pst_net_dev, in oal_cfg80211_mgmt_tx_status() 152 hi_u32 oal_cfg80211_connect_result(oal_net_device_stru *net_device, const oal_connet_result_stru *connect_result) in oal_cfg80211_connect_result() 168 hi_u32 oal_cfg80211_disconnected(oal_net_device_stru *pst_net_device, hi_u16 us_reason, const hi_u8 *puc_ie, in oal_cfg80211_disconnected() 183 hi_u32 oal_cfg80211_del_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, in oal_cfg80211_del_sta() 200 hi_u32 oal_cfg80211_new_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, in oal_cfg80211_new_sta() 221 hi_void oal_cfg80211_mic_failure(oal_net_device_stru *net_device, const hi_u8 *mac_addr, in oal_cfg80211_mic_failure() 239 hi_u32 oal_cfg80211_rx_mgmt(oal_net_device_stru *pst_de [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/ |
H A D | net_adpater.c | 60 extern hi_u8 wal_lwip_set_hwaddr(oal_net_device_stru *netDev, uint8_t *addr, uint8_t len); 114 oal_net_device_stru *netdev; in wal_get_efuse_mac_addr() 333 oal_net_device_stru *netdev = HI_NULL; in hwal_lwip_remove_user() 343 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_remove_user() 407 oal_net_device_stru *netdev = HI_NULL; in hwal_lwip_set_beacon_priority() 416 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_set_beacon_priority() 464 oal_net_device_stru *netdev = HI_NULL; in hwal_lwip_set_mnid() 473 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_set_mnid() 518 hi_void wal_report_sta_disassoc_to_lwip(oal_net_device_stru *netdev) in wal_report_sta_disassoc_to_lwip() 548 hi_u8 wal_lwip_set_hwaddr(oal_net_device_stru *netDe [all...] |
H A D | net_adpater.h | 71 hi_s32 wal_netdev_open(oal_net_device_stru *netdev); 72 hi_s32 wal_netdev_stop(oal_net_device_stru *netdev); 88 hi_s32 wal_init_drv_wlan_netdev(nl80211_iftype_uint8 type, wal_phy_mode mode, oal_net_device_stru *netdev); 89 hi_s32 wal_deinit_drv_wlan_netdev(oal_net_device_stru *netdev);
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_vap.h | 149 oal_net_device_stru *net_device; /* VAP对应的net_devices */ 169 oal_net_device_stru *p2p0_net_device; /* 指向p2p0 net device */ 170 oal_net_device_stru *del_net_device; /* 指向需要通过cfg80211 接口删除的 net device */ 265 oal_net_device_stru *hmac_vap_get_net_device(hi_u8 vap_id);
|