Home
last modified time | relevance | path

Searched refs:netdev (Results 1 - 25 of 60) sorted by relevance

123

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_hipriv.h83 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 *netdev, hi_cha
[all...]
H A Dwal_ioctl.h105 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 *netdev);
121 hi_u32 wal_host_dev_exit(const oal_net_device_stru *netdev);
[all...]
H A Dwal_cfg80211_apt.h69 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 *netdev, hi_u3
[all...]
H A Dwal_cfg80211.c287 oal_net_device_stru *netdev = HI_NULL; in wal_del_p2p_group() local
304 netdev = hmac_vap->net_device; in wal_del_p2p_group()
305 if (oal_unlikely(netdev == HI_NULL)) { in wal_del_p2p_group()
306 oam_warning_log1(0, OAM_SF_P2P, "{wal_del_p2p_group::netdev Err! vap id = %u}", in wal_del_p2p_group()
318 del_vap_param.net_dev = netdev; in wal_del_p2p_group()
325 wal_force_scan_complete(netdev); in wal_del_p2p_group()
326 wal_stop_vap(netdev); in wal_del_p2p_group()
329 wal_cfg80211_unregister_netdev(netdev); in wal_del_p2p_group()
332 if (wal_deinit_wlan_vap(netdev) == HI_SUCCESS) { in wal_del_p2p_group()
333 /* 去注册netdev */ in wal_del_p2p_group()
360 wal_set_p2p_status(oal_net_device_stru *netdev, wlan_p2p_status_enum_uint32 status) wal_set_p2p_status() argument
425 wal_p2p_stop_roc(mac_vap_stru *mac_vap, oal_net_device_stru *netdev) wal_p2p_stop_roc() argument
461 oal_net_device_stru *netdev = wdev->netdev; wal_drv_remain_on_channel() local
568 oal_net_device_stru *netdev = HI_NULL; wal_cfg80211_cancel_remain_on_channel() local
614 wal_cfg80211_register_netdev(oal_net_device_stru *netdev) wal_cfg80211_register_netdev() argument
632 wal_cfg80211_unregister_netdev(oal_net_device_stru *netdev) wal_cfg80211_unregister_netdev() argument
688 wal_cfg80211_open_wmm(oal_net_device_stru *netdev, hi_u16 us_len, hi_u8 *puc_param) wal_cfg80211_open_wmm() argument
739 wal_parse_wmm_ie(oal_net_device_stru *netdev, mac_vap_stru *mac_vap, oal_beacon_parameters *beacon_info) wal_parse_wmm_ie() argument
801 wal_cfg80211_get_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, bool pairwise, const hi_u8 *puc_mac_addr, hi_void *cookie, hi_void (*callback)(hi_void *cookie, oal_key_params_stru *)) wal_cfg80211_get_key() argument
886 wal_cfg80211_set_default_mgmt_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index) wal_cfg80211_set_default_mgmt_key() argument
923 wal_cfg80211_change_bss(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, oal_bss_parameters *bss_params) wal_cfg80211_change_bss() argument
990 wal_cfg80211_sched_scan_start(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, oal_cfg80211_sched_scan_request_stru *request) wal_cfg80211_sched_scan_start() argument
1211 wal_cfg80211_send_query_station_event(oal_net_device_stru *netdev, mac_vap_stru *mac_vap, dmac_query_request_event *query_request, oal_station_info_stru *sta_info) wal_cfg80211_send_query_station_event() argument
1269 wal_cfg80211_get_station(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, const hi_u8 *mac_addr, oal_station_info_stru *sta_info) wal_cfg80211_get_station() argument
1398 wal_cfg80211_add_virtual_intf_get_netdev(const hi_char *puc_name, oal_net_device_stru **netdev) wal_cfg80211_add_virtual_intf_get_netdev() argument
1438 wal_cfg80211_add_virtual_intf_set_wireless_dev(oal_wireless_dev *wdev, mac_device_stru *mac_device, oal_net_device_stru *netdev, nl80211_iftype_uint8 type) wal_cfg80211_add_virtual_intf_set_wireless_dev() argument
1473 wal_cfg80211_add_virtual_intf_send_event(oal_net_device_stru *netdev, oal_wireless_dev *wdev, wlan_p2p_mode_enum_uint8 p2p_mode, wlan_vap_mode_enum_uint8 vap_mode) wal_cfg80211_add_virtual_intf_send_event() argument
1577 oal_net_device_stru *netdev = oal_get_netdev_by_name(puc_name); wal_cfg80211_add_virtual_intf() local
1634 wal_cfg80211_del_p2p_proc(wal_msg_write_stru *write_msg, oal_net_device_stru *netdev, mac_vap_stru *mac_vap) wal_cfg80211_del_p2p_proc() argument
1684 oal_net_device_stru *netdev = wdev->netdev; wal_cfg80211_del_virtual_intf() local
1740 wal_cfg80211_set_bitrate_mask(struct wiphy *wiphy, oal_net_device_stru *netdev, const hi_u8 *peer, const struct cfg80211_bitrate_mask *mask) wal_cfg80211_set_bitrate_mask() argument
1803 wal_cfg80211_set_power_mgmt(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, bool enabled, hi_s32 timeout) wal_cfg80211_set_power_mgmt() argument
1862 wal_cfg80211_start_sched_scan(oal_net_device_stru *netdev, mac_pno_scan_stru *pno_scan_info) wal_cfg80211_start_sched_scan() argument
1906 wal_cfg80211_sched_scan_stop(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev) wal_cfg80211_sched_scan_stop() argument
1983 wal_cfg80211_stop_ap(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev) wal_cfg80211_stop_ap() argument
2100 oal_net_device_stru *netdev = add_vap_param->net_dev; wal_cfg80211_add_vap() local
2175 oal_net_device_stru *netdev = HI_NULL; wal_cfg80211_del_vap() local
2230 wal_cfg80211_start_connect(oal_net_device_stru *netdev, const mac_cfg80211_connect_param_stru *mac_cfg80211_connect_param) wal_cfg80211_start_connect() argument
2252 wal_cfg80211_start_disconnect(oal_net_device_stru *netdev, const mac_cfg_kick_user_param_stru *disconnect_param) wal_cfg80211_start_disconnect() argument
2277 wal_cfg80211_unregister_netdev(oal_net_device_stru *netdev) wal_cfg80211_unregister_netdev() argument
2287 oal_net_device_stru *netdev = HI_NULL; wal_cfg80211_abort_scan() local
2840 oal_net_device_stru *netdev = HI_NULL; wal_cfg80211_scan() local
3065 wal_is_p2p_device(const oal_net_device_stru *netdev) wal_is_p2p_device() argument
3075 wal_cfg80211_start_connect_or_req(oal_net_device_stru *netdev, const mac_cfg80211_connect_param_stru *mac_cfg80211_connect_param) wal_cfg80211_start_connect_or_req() argument
3289 wal_cfg80211_add_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, bool pairwise, const hi_u8 *puc_mac_addr, oal_key_params_stru *params) wal_cfg80211_add_key() argument
3368 wal_cfg80211_remove_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, hi_bool pairwise, const hi_u8 *mac_addr) wal_cfg80211_remove_key() argument
3429 wal_cfg80211_set_default_key(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, hi_bool unicast, hi_bool multicast) wal_cfg80211_set_default_key() argument
3487 wal_cfg80211_set_ssid(oal_net_device_stru *netdev, const hi_u8 *puc_ssid_ie, hi_u8 ssid_len) wal_cfg80211_set_ssid() argument
3522 wal_cfg80211_set_meshid(oal_net_device_stru *netdev, const hi_u8 *puc_meshid_ie, hi_u8 meshid_len) wal_cfg80211_set_meshid() argument
3709 wal_cfg80211_change_beacon(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, oal_beacon_data_stru *beacon_info) wal_cfg80211_change_beacon() argument
3816 wal_cfg80211_set_channel_info(oal_net_device_stru *netdev) wal_cfg80211_set_channel_info() argument
3879 wal_wifi_set_bw(oal_net_device_stru *netdev, wal_wifi_bw_enum_int bw) wal_wifi_set_bw() argument
3920 wal_cfg80211_start_ap(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, oal_ap_settings_stru *ap_settings) wal_cfg80211_start_ap() argument
4191 wal_cfg80211_intf_mode_check(oal_net_device_stru *netdev, nl80211_iftype_uint8 type) wal_cfg80211_intf_mode_check() argument
4238 wal_cfg80211_change_virtual_intf(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, nl80211_iftype_uint8 type, hi_u32 *pul_flags, oal_vif_params_stru *params) wal_cfg80211_change_virtual_intf() argument
4320 wal_cfg80211_del_send_event(oal_net_device_stru *netdev, const hi_u8 *mac_addr, mac_vap_stru *mac_vap) wal_cfg80211_del_send_event() argument
4381 wal_cfg80211_del_station(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, oal_station_del_parameters_stru *params) wal_cfg80211_del_station() argument
4573 wal_mgmt_do_tx(oal_net_device_stru *netdev, const mac_mgmt_frame_stru *mgmt_tx_param, hi_bool en_offchan, hi_u32 wait) wal_check_cookie_timeout() argument
4636 oal_net_device_stru *netdev; wal_check_cookie_timeout() local
4825 oal_net_device_stru *netdev; wal_check_cookie_timeout() local
4983 wal_cfg80211_start_req(oal_net_device_stru *netdev, const hi_void *ps_param, hi_u16 us_len, wlan_cfgid_enum_uint16 wid, hi_u8 need_rsp) wal_check_cookie_timeout() argument
5050 wal_cfg80211_start_scan(oal_net_device_stru *netdev, const mac_cfg80211_scan_param_stru *scan_param) wal_check_cookie_timeout() argument
5294 wal_cfg80211_set_rekey_info(oal_net_device_stru *netdev, mac_rekey_offload_stru *rekey_offload) wal_check_cookie_timeout() argument
[all...]
H A Dwal_ioctl.c84 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 *netdev, oal_iw_request_info_str
488 wal_cfg_vap_h2d_event(oal_net_device_stru *netdev) wal_cfg_vap_h2d_event() argument
543 wal_host_dev_config(const oal_net_device_stru *netdev, wlan_cfgid_enum_uint16 wid) wal_host_dev_config() argument
609 wal_host_dev_init(const oal_net_device_stru *netdev) wal_host_dev_init() argument
629 wal_host_dev_exit(const oal_net_device_stru *netdev) wal_host_dev_exit() argument
636 wal_ioctl_get_mode(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_get_mode() argument
658 wal_ioctl_set_mode(oal_net_device_stru *netdev, hi_char *pc_param) wal_ioctl_set_mode() argument
721 wal_ioctl_get_essid(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_get_essid() argument
776 wal_ioctl_set_essid(oal_net_device_stru *netdev, hi_char *pc_param) wal_ioctl_set_essid() argument
839 wal_ioctl_get_bss_type(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_get_bss_type() argument
843 wal_ioctl_set_bss_type(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_set_bss_type() argument
847 wal_ioctl_get_freq(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_get_freq() argument
869 wal_ioctl_set_freq(oal_net_device_stru *netdev, hi_char *pc_param) wal_ioctl_set_freq() argument
921 wal_ioctl_get_txpower(oal_net_device_stru *netdev, hi_s8 *pc_param) wal_ioctl_get_txpower() argument
928 wal_ioctl_set_txpower(oal_net_device_stru *netdev, hi_char *pc_param) wal_ioctl_set_txpower() argument
1033 wal_ioctl_get_apaddr(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_sockaddr_stru *addr, hi_s8 *pc_extra) wal_ioctl_get_apaddr() argument
1075 wal_ioctl_get_iwrate(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_param_stru *param, hi_s8 *pc_extra) wal_ioctl_get_iwrate() argument
1097 wal_ioctl_get_iwsense(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_param_stru *param, hi_s8 *pc_extra) wal_ioctl_get_iwsense() argument
1119 wal_ioctl_get_rtsthres(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_param_stru *param, hi_s8 *pc_extra) wal_ioctl_get_rtsthres() argument
1152 wal_ioctl_get_fragthres(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_param_stru *param, hi_s8 *pc_extra) wal_ioctl_get_fragthres() argument
1185 wal_ioctl_get_iwencode(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_point_stru *param, hi_s8 *pc_extra) wal_ioctl_get_iwencode() argument
1207 wal_ioctl_get_iwrange(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, oal_iw_point_stru *param, hi_s8 *pc_extra) wal_ioctl_get_iwrange() argument
1228 wal_ioctl_get_param(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *iw, hi_s8 *pc_extra) wal_ioctl_get_param() argument
1276 wal_ioctl_set_param(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *iw, hi_s8 *pc_extra) wal_ioctl_set_param() argument
1444 wal_ioctl_set_wme_params(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *iw, hi_s8 *pc_extra) wal_ioctl_set_wme_params() argument
1515 wal_ioctl_get_wme_params(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *iw, hi_s8 *pc_extra) wal_ioctl_get_wme_params() argument
1577 wal_ioctl_setcountry(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *w, hi_s8 *pc_extra) wal_ioctl_setcountry() argument
1614 wal_ioctl_getcountry(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_void *w, hi_s8 *pc_extra) wal_ioctl_getcountry() argument
2194 wal_set_mac_to_mib(oal_net_device_stru *netdev) wal_set_mac_to_mib() argument
2240 wal_ioctl_get_iwname(oal_net_device_stru *netdev, oal_iw_request_info_stru *info, hi_s8 *pc_name, hi_s8 *pc_extra) wal_ioctl_get_iwname() argument
2263 wal_ioctl_set_wps_p2p_ie(oal_net_device_stru *netdev, const hi_u8 *puc_buf, hi_u32 len, en_app_ie_type_uint8 type) wal_ioctl_set_wps_p2p_ie() argument
2338 wal_ioctl_set_p2p_noa(oal_net_device_stru *netdev, const mac_cfg_p2p_noa_param_stru *p2p_noa_param) wal_ioctl_set_p2p_noa() argument
2390 wal_ioctl_set_p2p_ops(oal_net_device_stru *netdev, const mac_cfg_p2p_ops_param_stru *p2p_ops_param) wal_ioctl_set_p2p_ops() argument
2443 wal_ioctl_reduce_sar(oal_net_device_stru *netdev, hi_u8 tx_power) wal_ioctl_reduce_sar() argument
2489 wal_start_vap(oal_net_device_stru *netdev) wal_start_vap() argument
2563 wal_stop_vap(oal_net_device_stru *netdev) wal_stop_vap() argument
2671 wal_init_wlan_vap(oal_net_device_stru *netdev) wal_init_wlan_vap() argument
2756 wal_deinit_wlan_vap(oal_net_device_stru *netdev) wal_deinit_wlan_vap() argument
2854 wal_setup_vap(oal_net_device_stru *netdev) wal_setup_vap() argument
2919 wal_p2p_cmd_exec(oal_net_device_stru *netdev, hi_u8 *puc_command, hi_u32 len) wal_p2p_cmd_exec() argument
2959 wal_priv_cmd_exec(oal_net_device_stru *netdev, hi_u8 *puc_command, hi_u32 len) wal_priv_cmd_exec() argument
3003 wal_priv_cmd(oal_net_device_stru *netdev, oal_ifreq_stru *ifr, hi_s32 cmd) wal_priv_cmd() argument
[all...]
H A Dwal_cfg80211_apt.c69 hi_u32 cfg80211_new_sta(const oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len, in cfg80211_new_sta() argument
106 hi_u32 ret = (hi_u32)g_send_event_func(netdev->name, HISI_ELOOP_EVENT_NEW_STA, (hi_u8 *)&new_sta_info, in cfg80211_new_sta()
124 hi_u32 cfg80211_del_sta(oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len) in cfg80211_del_sta() argument
129 if ((netdev == HI_NULL) || (mac_addr == HI_NULL)) { in cfg80211_del_sta()
131 (uintptr_t)netdev, (uintptr_t)mac_addr); in cfg80211_del_sta()
140 l_ret = (hi_u32)g_send_event_func(netdev->name, HISI_ELOOP_EVENT_DEL_STA, (hi_u8 *)mac_addr, 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() argument
155 oal_wireless_dev *wdev = (oal_wireless_dev *)GET_NET_DEV_CFG80211_WIRELESS(netdev); in cfg80211_rx_mgmt()
193 l_ret = (hi_u32)g_send_event_func(netdev->name, HISI_ELOOP_EVENT_RX_MGMT, (hi_u8 *) &rx_mgmt, in cfg80211_rx_mgmt()
261 l_ret = (hi_u32)g_send_event_func(wdev->netdev in cfg80211_mgmt_tx_status()
290 cfg80211_inform_bss_frame(const oal_net_device_stru *netdev, oal_wiphy_stru *wiphy, const oal_ieee80211_channel_stru *ieee80211_channel, const wal_scanned_bss_info_stru *scanned_bss_info) cfg80211_inform_bss_frame() argument
350 cfg80211_connect_result_return(const oal_net_device_stru *netdev, const oal_connet_result_stru *connet_result, hisi_connect_result_stru *connect_result) cfg80211_connect_result_return() argument
399 cfg80211_connect_result(const oal_net_device_stru *netdev, const oal_connet_result_stru *connet_result) cfg80211_connect_result() argument
469 cfg80211_disconnected(const oal_net_device_stru *netdev, hi_u16 us_reason, const hi_u8 *ie, hi_u32 ie_len) cfg80211_disconnected() argument
513 cfg80211_timeout_disconnected(const oal_net_device_stru *netdev) cfg80211_timeout_disconnected() argument
546 cfg80211_scan_done(const oal_net_device_stru *netdev, hisi_scan_status_enum status) cfg80211_scan_done() argument
575 cfg80211_rx_exception(const oal_net_device_stru *netdev, hi_u8 *puc_data, hi_u32 data_len) cfg80211_rx_exception() argument
607 cfg80211_mic_failure(const oal_net_device_stru *netdev, const hmac_mic_event_stru *mic_event, const hi_u8 *puc_tsc, oal_gfp_enum_uint8 gfp) cfg80211_mic_failure() argument
636 cfg80211_csa_channel_switch(const oal_net_device_stru *netdev, hi_s32 freq) cfg80211_csa_channel_switch() argument
662 cfg80211_mesh_close(const oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len, hi_u16 us_reason) cfg80211_mesh_close() argument
698 cfg80211_mesh_new_peer_candidate(const oal_net_device_stru *netdev, const hmac_report_new_peer_candidate_stru *puc_new_peer) cfg80211_mesh_new_peer_candidate() argument
736 cfg80211_remain_on_channel(const oal_net_device_stru *netdev, hi_u32 freq, hi_u32 duration) cfg80211_remain_on_channel() argument
758 cfg80211_cancel_remain_on_channel(const oal_net_device_stru *netdev, hi_u32 freq) cfg80211_cancel_remain_on_channel() argument
784 cfg80211_rx_mgmt_ext(const oal_net_device_stru *netdev, hi_s32 freq, const hi_u8 *buf, hi_u32 len) cfg80211_rx_mgmt_ext() argument
799 cfg80211_kobject_uevent_env_sta_join(oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len) cfg80211_kobject_uevent_env_sta_join() argument
820 cfg80211_kobject_uevent_env_sta_leave(oal_net_device_stru *netdev, const hi_u8 *mac_addr, hi_u8 addr_len) cfg80211_kobject_uevent_env_sta_leave() argument
[all...]
H A Dhi_wifi_driver_api.c363 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_sta_get_ap_rssi() local
386 netdev = hmac_vap_get_net_device(mac_vap->vap_id); in hi_wifi_sta_get_ap_rssi()
387 if (netdev == HI_NULL) { in hi_wifi_sta_get_ap_rssi()
400 l_ret = (hi_s32)wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, in hi_wifi_sta_get_ap_rssi()
426 oal_net_device_stru *netdev = HI_NULL; in hi_wifi_set_country() local
444 netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); in hi_wifi_set_country()
445 if (netdev == HI_NULL) { in hi_wifi_set_country()
450 oal_dev_put(netdev); in hi_wifi_set_country()
452 if (wal_regdomain_update(netdev, cc, MAC_CONTRY_CODE_LEN) != HI_SUCCESS) { in hi_wifi_set_country()
468 oal_net_device_stru *netdev in hi_wifi_get_country() local
562 oal_net_device_stru *netdev = oal_get_netdev_by_name(ptr_ifname_cpy); hi_wifi_set_bandwidth() local
605 oal_net_device_stru *netdev = HI_NULL; hi_wifi_get_bandwidth() local
660 oal_net_device_stru *netdev = oal_get_netdev_by_name(ifname); hi_wifi_send_custom_pkt() local
704 oal_net_device_stru *netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); hi_wifi_set_plat_ps_mode() local
740 wifi_promis_set(oal_net_device_stru *netdev, hi_u8 filter_value) wifi_promis_set() argument
769 oal_net_device_stru *netdev = HI_NULL; hi_wifi_promis_enable() local
880 oal_net_device_stru *netdev = HI_NULL; hi_wifi_set_channel() local
924 oal_net_device_stru *netdev = HI_NULL; hi_wifi_get_channel() local
1307 oal_net_device_stru *netdev = HI_NULL; hi_wifi_wow_set_pattern() local
1369 oal_net_device_stru *netdev = HI_NULL; hi_wifi_wow_host_sleep_switch() local
1428 oal_net_device_stru *netdev = HI_NULL; hi_wifi_arp_offload_setting() local
1488 oal_net_device_stru *netdev = HI_NULL; hi_wifi_dhcp_offload_setting() local
1542 oal_net_device_stru *netdev = HI_NULL; hi_wifi_btcoex_enable() local
1593 oal_net_device_stru *netdev = HI_NULL; hi_wifi_set_retry_params() local
1648 oal_net_device_stru *netdev = HI_NULL; hi_wifi_set_cca_threshold() local
1686 oal_net_device_stru *netdev = HI_NULL; hi_wifi_set_tpc() local
1721 oal_net_device_stru *netdev = HI_NULL; hi_wifi_get_tx_params() local
[all...]
H A Dwal_cfg80211.h230 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,
268 hi_u32 wal_cfg80211_disconnect(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u16 us_reason_code);
269 hi_u32 wal_cfg80211_change_beacon(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev,
[all...]
H A Dwal_event.c75 oal_net_device_stru *netdev = (oal_net_device_stru *)arg; in wal_scan_result_clean_timeout_fn() local
77 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(hi_u32), 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() local
113 if (netdev == HI_NULL) { in wal_scan_comp_proc_sta()
151 wal_inform_all_bss(netdev, mac_dev->wiphy, bss_mgmt, event->event_hdr.vap_id); in wal_scan_comp_proc_sta()
161 HdfWifiEventScanDone(netdev, (WifiScanStatus)HISI_SCAN_SUCCESS); in wal_scan_comp_proc_sta()
186 WLAN_SCANRESULT_CLEAN_TIME, netdev, HI_FALSE); in wal_scan_comp_proc_sta()
209 oal_net_device_stru *netdev = HI_NULL; in wal_asoc_comp_proc_sta() local
221 netdev = hmac_vap_get_net_device(event->event_hdr.vap_id); in wal_asoc_comp_proc_sta()
222 if (netdev in wal_asoc_comp_proc_sta()
280 oal_net_device_stru *netdev = HI_NULL; wal_disasoc_comp_proc_sta() local
364 oal_net_device_stru *netdev = hmac_vap_get_net_device(event->event_hdr.vap_id); wal_connect_new_sta_proc_ap() local
428 oal_net_device_stru *netdev = HI_NULL; wal_disconnect_sta_proc_ap() local
467 wal_set_tpc_mode(oal_net_device_stru *netdev, hi_u32 mode) wal_set_tpc_mode() argument
509 oal_net_device_stru *netdev = HI_NULL; wal_mic_failure_proc() local
556 oal_net_device_stru *netdev = HI_NULL; wal_send_mgmt_to_host() local
680 oal_net_device_stru *netdev = HI_NULL; wal_mesh_close_peer_inform() local
740 oal_net_device_stru *netdev = HI_NULL; wal_mesh_new_peer_candidate() local
830 wal_any_global_config(wlan_cfgid_enum_uint16 wid, oal_net_device_stru *netdev) wal_any_global_config() argument
1059 oal_net_device_stru *netdev = HI_NULL; wal_csi_switch() local
1135 oal_net_device_stru *netdev = oal_get_netdev_by_name(ifname); wal_csi_set_config() local
1241 oal_net_device_stru *netdev = HI_NULL; wal_p2p_action_tx_status() local
1446 oal_net_device_stru *netdev = HI_NULL; wal_channel_switch_report() local
[all...]
H A Dwal_maintenance.c44 oal_net_device_stru *netdev = HI_NULL; in wal_data_acq_start_from_hso() local
53 netdev = oal_get_netdev_by_name(puc_ifname); in wal_data_acq_start_from_hso()
54 if (netdev == HI_NULL) { in wal_data_acq_start_from_hso()
67 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(wlan_data_acq_stru), 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() local
91 if (netdev == HI_NULL) { in wal_data_acq_status_to_hso()
96 mac_vap_stru *mac_vap = oal_net_dev_priv(netdev); in wal_data_acq_status_to_hso()
98 oam_error_log0(0, OAM_SF_ANY, "{wal_data_acq_status_to_hso::cann't acquire mac_vap from netdev!}"); in wal_data_acq_status_to_hso()
117 hi_u32 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, in wal_data_acq_status_to_hso()
148 oal_net_device_stru *netdev in wal_data_acq_result_addr_to_hso() local
[all...]
H A Dwal_linux_flowctl.c54 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_stru *netbuf, hi_void *accel_priv, in wal_netdev_select_queue() argument
68 mac_vap = (mac_vap_stru *)oal_net_dev_priv(netdev); in wal_netdev_select_queue()
116 oal_net_device_stru *netdev = hmac_vap_get_net_device(vap_id); in wal_flowctl_backp_event_handler() local
117 if (netdev == HI_NULL) { in wal_flowctl_backp_event_handler()
125 oal_net_tx_stop_all_queues(netdev); in wal_flowctl_backp_event_handler()
141 oal_net_stop_subqueue(netdev); in wal_flowctl_backp_event_handler()
143 oal_net_wake_subqueue(netdev); in wal_flowctl_backp_event_handler()
154 oal_net_stop_subqueue(netdev); in wal_flowctl_backp_event_handler()
156 oal_net_wake_subqueue(netdev); in wal_flowctl_backp_event_handler()
183 hi_u16 wal_netdev_select_queue(oal_net_device_stru *netdev, oal_netbuf_str argument
[all...]
H A Dwal_hipriv.c507 hi_u32 wal_hipriv_getcountry(oal_net_device_stru *netdev, hi_char *pc_param) in wal_hipriv_getcountry() argument
518 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); 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() argument
551 ret = wal_netdev_stop(netdev); in wal_hipriv_set_vap_state()
553 ret = wal_netdev_open(netdev); in wal_hipriv_set_vap_state()
560 oam_error_log1(0, 0, "wal_hipriv_set_vap_state netdev start/stop fail![%d]\r\n", state); 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() argument
584 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); 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() argument
659 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRIT in wal_hipriv_addba_req()
672 wal_hipriv_vap_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_vap_info() argument
700 wal_hipriv_set_tx_dscr_param(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_tx_dscr_param() argument
764 wal_hipriv_ampdu_start(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_ampdu_start() argument
814 wal_hipriv_ampdu_amsdu_switch(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_ampdu_amsdu_switch() argument
851 wal_hipriv_delba_req(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_delba_req() argument
909 wal_hipriv_user_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_user_info() argument
961 wal_hipriv_list_channel(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_list_channel() argument
994 wal_hipriv_set_regdomain_pwr(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_regdomain_pwr() argument
1041 wal_hipriv_set_regdomain_pwr_priv(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_regdomain_pwr_priv() argument
1084 wal_hipriv_start_scan(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_start_scan() argument
1122 wal_hipriv_start_join(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_start_join() argument
1165 wal_hipriv_start_deauth(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_start_deauth() argument
1198 wal_hipriv_kick_user(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_kick_user() argument
1250 wal_hipriv_send_bar(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_send_bar() argument
1309 wal_hipriv_wmm_switch(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_wmm_switch() argument
1372 wal_hipriv_hide_ssid(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_hide_ssid() argument
1419 wal_hipriv_set_ampdu_aggr_num(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_ampdu_aggr_num() argument
1482 wal_hipriv_packet_xmit_send_event(oal_net_device_stru *netdev, hi_u8 *ra_mac_addr, hi_u8 tid, hi_u8 packet_num, hi_u16 packet_len) wal_hipriv_packet_xmit_send_event() argument
1519 wal_hipriv_packet_xmit(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_packet_xmit() argument
1584 wal_hipriv_set_auto_protection(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_auto_protection() argument
1629 wal_hipriv_bgscan_enable(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_bgscan_enable() argument
1677 wal_hipriv_hiex_config_selfcts(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_hiex_config_selfcts() argument
1750 wal_hipriv_set_flowctl_param(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_flowctl_param() argument
1831 wal_hipriv_get_flowctl_stat(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_flowctl_stat() argument
1864 wal_hipriv_setcountry(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_setcountry() argument
1904 wal_hipriv_del_vap(oal_net_device_stru *netdev) wal_hipriv_del_vap() argument
1933 wal_hipriv_set_pm_switch(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_pm_switch() argument
1969 wal_hipriv_set_wlan_pm_enable(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_wlan_pm_enable() argument
1991 wal_hipriv_setwk_fail_process(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_setwk_fail_process() argument
2009 wal_hipriv_dump_pm_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_dump_pm_info() argument
2036 wal_hipriv_set_host_sleep_status(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_host_sleep_status() argument
2072 wal_hipriv_report_vap_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_report_vap_info() argument
2116 wal_hipriv_set_random_mac_addr_scan(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_random_mac_addr_scan() argument
2168 wal_hipriv_start_dpd(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_start_dpd() argument
2201 wal_hipriv_set_uapsd_cap(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_uapsd_cap() argument
2266 wal_hipriv_set_rate(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_rate() argument
2328 wal_hipriv_set_mcs(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_mcs() argument
2391 wal_hipriv_get_bw(oal_net_device_stru *netdev, hal_channel_assemble_enum_uint8 *pen_bw_index) wal_hipriv_get_bw() argument
2429 wal_hipriv_set_bw(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_bw() argument
2501 wal_hipriv_always_tx(oal_net_device_stru *netdev, hi_u8 tx_flag) wal_hipriv_always_tx() argument
2547 wal_hipriv_always_rx(oal_net_device_stru *netdev, hi_u8 rx_flag, hi_u8 mac_filter_flag) wal_hipriv_always_rx() argument
2709 wal_hipriv_reg_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_reg_info() argument
2749 wal_hipriv_host_sleep_switch(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_host_sleep_switch() argument
2810 wal_hipriv_set_wow(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_wow() argument
2968 wal_hipriv_set_wow_pattern(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_wow_pattern() argument
3047 wal_hipriv_set_monitor_switch(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_monitor_switch() argument
3105 wal_hipriv_ampdu_tx_on(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_ampdu_tx_on() argument
3152 wal_hipriv_set_stbc_cap(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_stbc_cap() argument
3216 wal_hipriv_frag_threshold(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_frag_threshold() argument
3265 wal_hipriv_rts_threshold(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_rts_threshold() argument
3315 wal_hipriv_reg_write(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_reg_write() argument
3357 wal_hipriv_show_vap_pkt_stat(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_show_vap_pkt_stat() argument
3384 wal_hipriv_set_cca_threshold(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_cca_threshold() argument
3439 wal_hipriv_cca_opt_log(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_cca_opt_log() argument
3519 wal_hipriv_alg_cfg(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_alg_cfg() argument
3657 wal_hipriv_tpc_log(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_tpc_log() argument
3787 wal_hipriv_ar_log(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_ar_log() argument
3864 wal_hipriv_ar_test(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_ar_test() argument
3973 wal_hipriv_set_edca_opt_switch_sta(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_edca_opt_switch_sta() argument
4033 wal_hipriv_set_edca_opt_switch_ap(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_edca_opt_switch_ap() argument
4097 wal_hipriv_set_edca_opt_cycle_ap(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_edca_opt_cycle_ap() argument
4159 wal_hipriv_set_mib(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_mib() argument
4218 wal_hipriv_get_mib(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_mib() argument
4265 wal_hipriv_sta_ps_mode(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_sta_ps_mode() argument
4333 wal_hipriv_sta_pm_on(oal_net_device_stru *netdev, const hi_char *pc_param) wal_hipriv_sta_pm_on() argument
4372 wal_hipriv_sta_set_psm_offset(oal_net_device_stru *netdev, hi_char *param) wal_hipriv_sta_set_psm_offset() argument
4436 wal_hipriv_sta_set_offload_param(oal_net_device_stru *netdev, hi_char *param) wal_hipriv_sta_set_offload_param() argument
4487 wal_hipriv_sta_set_hw_ps_mode(oal_net_device_stru *netdev, hi_char *param) wal_hipriv_sta_set_hw_ps_mode() argument
4529 wal_hipriv_set_uapsd_para(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_uapsd_para() argument
4612 wal_hipriv_set_shortgi20(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_shortgi20() argument
4661 wal_hipriv_set_retry_limit(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_retry_limit() argument
4722 wal_hipriv_set_report_times_limit(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_report_times_limit() argument
4768 wal_hipriv_set_report_cnt_limit(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_report_cnt_limit() argument
4814 wal_hipriv_set_en_mbr(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_en_mbr() argument
4861 wal_hipriv_set_mnid(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_mnid() argument
4902 wal_hipriv_set_beacon_priority(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_beacon_priority() argument
4948 wal_hipriv_set_mesh_accept_sta(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_mesh_accept_sta() argument
5080 wal_hipriv_arp_offload_setting(oal_net_device_stru *netdev, hi_char *param) wal_hipriv_arp_offload_setting() argument
5123 wal_hipriv_arp_offload_show_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_arp_offload_show_info() argument
5177 wal_hipriv_dhcp_offload_setting(oal_net_device_stru *netdev, hi_char *param) wal_hipriv_dhcp_offload_setting() argument
5279 wal_hipriv_set_wmm_param(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_wmm_param() argument
5366 wal_hipriv_rx_fcs_info(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_rx_fcs_info() argument
5383 wal_set_protocol(oal_net_device_stru *netdev, hi_char *protocol_param, hi_s32 len, hi_s32 *protocol_value) wal_set_protocol() argument
5421 wal_set_rate(oal_net_device_stru *netdev, hi_char *rate_param, hi_s32 protocol) wal_set_rate() argument
5495 wal_hipriv_set_rate_or_mcs(oal_net_device_stru *netdev, hi_char *ac_arg, hi_s32 protocol_value) wal_hipriv_set_rate_or_mcs() argument
5525 wal_hipriv_rx_proc(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_rx_proc() argument
5627 wal_hipriv_tx_proc(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_tx_proc() argument
5727 wal_hipriv_btcoex_enable(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_btcoex_enable() argument
5879 wal_hipriv_add_vap(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_add_vap() argument
5943 wal_hipriv_add_user(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_add_user() argument
5989 wal_hipriv_btcoex_status_print(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_btcoex_status_print() argument
6014 wal_hipriv_get_mpdu_num(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_mpdu_num() argument
6041 wal_hipriv_set_intrf_mode(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_intrf_mode() argument
6078 wal_hipriv_get_tx_params(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_tx_params() argument
6087 wal_hipriv_set_dev_soft_reset(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_dev_soft_reset() argument
6264 wal_hipriv_get_netdev(const hi_char *pc_cmd, oal_net_device_stru **netdev, hi_u32 *pul_off_set) wal_hipriv_get_netdev() argument
6294 wal_hipriv_process_cmd(oal_net_device_stru *netdev, hi_char *pc_cmd) wal_hipriv_process_cmd() argument
6347 oal_net_device_stru *netdev = HI_NULL; wal_hipriv_entry() local
6454 wal_at_set_tpc(oal_net_device_stru *netdev, const hi_char *pc_param) wal_at_set_tpc() argument
6508 wal_at_setcountry(oal_net_device_stru *netdev, hi_char *pc_param) wal_at_setcountry() argument
6518 wal_at_set_trc(oal_net_device_stru *netdev, const hi_char *pc_param) wal_at_set_trc() argument
6572 wal_get_protocol_mode(const oal_net_device_stru *netdev, hi_s32 *protocol_mode) wal_get_protocol_mode() argument
6631 wal_set_rate_sgi(oal_net_device_stru *netdev, hi_u8 frame_type, hi_s32 protocol_mode, hi_s32 rate_value, hi_s8 sgi_val) wal_set_rate_sgi() argument
6673 wal_at_set_rate(oal_net_device_stru *netdev, const hi_char *pc_param) wal_at_set_rate() argument
6738 wal_at_cmd(oal_net_device_stru *netdev, hi_char *cmd, hi_u32 cmd_type) wal_at_cmd() argument
6782 oal_net_device_stru *netdev = HI_NULL; wal_at_find_netif_by_mode() local
6817 oal_net_device_stru *netdev = HI_NULL; wal_at_entry() local
6924 oal_net_device_stru *netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); wal_set_cal_band_power() local
6959 wal_hipriv_set_cal_band_power(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_cal_band_power() argument
7005 oal_net_device_stru *netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); wal_set_cal_rate_power() local
7045 wal_hipriv_set_cal_rate_power(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_cal_rate_power() argument
7112 wal_hipriv_set_rate_power(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_rate_power() argument
7193 oal_net_device_stru *netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); wal_set_cal_freq() local
7221 wal_hipriv_set_cal_freq_power(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_cal_freq_power() argument
7255 oal_net_device_stru *netdev; wal_get_efuse_mac() local
7280 wal_hipriv_get_customer_mac(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_customer_mac() argument
7308 oal_net_device_stru *netdev; wal_set_efuse_mac() local
7340 wal_hipriv_set_customer_mac(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_customer_mac() argument
7396 oal_net_device_stru *netdev; wal_set_dataefuse() local
7425 wal_hipriv_set_dataefuse(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_set_dataefuse() argument
7452 oal_net_device_stru *netdev; wal_get_cal_data() local
7476 wal_hipriv_get_cal_data(oal_net_device_stru *netdev, hi_char *pc_param) wal_hipriv_get_cal_data() argument
7494 hi_hipriv_set_tx_pwr_offset(oal_net_device_stru *netdev, hi_char *pc_param) hi_hipriv_set_tx_pwr_offset() argument
[all...]
H A Dwal_scan.c87 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() argument
139 HdfWifiEventInformBssFrame(netdev, &channel, (struct ScannedBssInfo *)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() argument
237 wal_inform_bss_frame(netdev, &scanned_bss_info, wiphy); in wal_inform_all_bss()
240 wal_inform_bss_frame(netdev, &scanned_bss_info, wiphy); in wal_inform_all_bss()
405 oal_net_device_stru *netdev = HI_NULL; in wal_wait_for_scan_timeout_fn() local
422 netdev = hmac_vap_get_net_device(mac_vap->vap_id); in wal_wait_for_scan_timeout_fn()
423 if (netdev == HI_NULL) { in wal_wait_for_scan_timeout_fn()
445 wal_inform_all_bss(netdev, wiphy, bss_mgmt, mac_vap->vap_id); in wal_wait_for_scan_timeout_fn()
449 HdfWifiEventScanDone(netdev, (WifiScanStatu in wal_wait_for_scan_timeout_fn()
511 wal_start_scan_req(oal_net_device_stru *netdev, hmac_scan_stru *scan_mgmt) wal_start_scan_req() argument
604 wal_send_scan_abort_msg(oal_net_device_stru *netdev) wal_send_scan_abort_msg() argument
648 wal_force_scan_complete(oal_net_device_stru *netdev) wal_force_scan_complete() argument
[all...]
H A Dwal_net.h82 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 Dwal_customize.c522 功能描述: netdev open 调用的定制化总入口
599 功能描述: netdev open 调用的定制化总入口
681 static hi_u32 wal_customize_init_country(oal_net_device_stru *netdev) in wal_customize_init_country() argument
687 ret = wal_hipriv_setcountry(netdev, &country_code[0]); in wal_customize_init_country()
713 static hi_u32 wal_customize_init_log(oal_net_device_stru *netdev) in wal_customize_init_log() argument
730 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(hi_s32), in wal_customize_init_log()
756 static hi_u32 wal_customize_init_clock(oal_net_device_stru *netdev) in wal_customize_init_clock() argument
777 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_pm_param), in wal_customize_init_clock()
805 static hi_u32 wal_customize_init_rf(oal_net_device_stru *netdev) in wal_customize_init_rf() argument
871 hi_u32 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRIT in wal_customize_init_rf()
950 wal_customize_init_cali(oal_net_device_stru *netdev) wal_customize_init_cali() argument
1021 wal_customize_init_dbb(oal_net_device_stru *netdev) wal_customize_init_dbb() argument
1067 wal_customize_init_fcc_tx_pwr(oal_net_device_stru *netdev) wal_customize_init_fcc_tx_pwr() argument
1106 wal_customize_init_freq_comp(oal_net_device_stru *netdev) wal_customize_init_freq_comp() argument
1232 oal_net_device_stru *netdev = HI_NULL; wal_customize_set_config() local
1474 wal_print_init_params(oal_net_device_stru *netdev, hi_char *pc_param) wal_print_init_params() argument
1514 oal_net_device_stru *netdev = HI_NULL; wal_sync_boot_current_to_dev() local
[all...]
H A Dwal_scan.h62 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);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/
H A Dnet_adpater.c114 oal_net_device_stru *netdev; in wal_get_efuse_mac_addr() local
118 netdev = oal_get_netdev_by_name(WLAN_CFG_VAP_NAME); in wal_get_efuse_mac_addr()
119 if (netdev == HI_NULL) { in wal_get_efuse_mac_addr()
124 oal_dev_put(netdev); in wal_get_efuse_mac_addr()
131 ret = wal_send_cfg_event(netdev, WAL_MSG_TYPE_WRITE, WAL_MSG_WRITE_MSG_HDR_LENGTH + sizeof(hi_s32), in wal_get_efuse_mac_addr()
333 oal_net_device_stru *netdev = HI_NULL; in hwal_lwip_remove_user() local
343 netdev = (oal_net_device_stru *)netif->state; in hwal_lwip_remove_user()
344 if (oal_unlikely((netdev == HI_NULL) || (mac_addr == HI_NULL))) { in hwal_lwip_remove_user()
350 mac_vap = (mac_vap_stru *)oal_net_dev_priv(netdev); in hwal_lwip_remove_user()
382 hi_u32 ret = wal_send_cfg_event(netdev, in hwal_lwip_remove_user()
407 oal_net_device_stru *netdev = HI_NULL; hwal_lwip_set_beacon_priority() local
464 oal_net_device_stru *netdev = HI_NULL; hwal_lwip_set_mnid() local
518 wal_report_sta_disassoc_to_lwip(oal_net_device_stru *netdev) wal_report_sta_disassoc_to_lwip() argument
550 oal_net_device_stru *netdev = HI_NULL; wal_lwip_set_hwaddr() local
599 oal_net_device_stru *netdev = netDev; wal_lwip_status_callback() local
614 wal_report_sta_assoc(oal_net_device_stru *netdev) wal_report_sta_assoc() argument
648 oal_net_device_stru *netdev = HI_NULL; wal_report_sta_assoc_info() local
709 oal_net_device_stru *netdev = HI_NULL; wal_mesh_inform_tx_data_info() local
761 wal_mesh_report_assoc_info(const mac_user_assoc_info_stru *assoc_info, oal_net_device_stru *netdev) wal_mesh_report_assoc_info() argument
815 oal_net_device_stru *netdev = hmac_vap_get_net_device(event->event_hdr.vap_id); wal_mesh_report_mesh_user_info() local
901 wal_netdev_open_send_event(oal_net_device_stru *netdev) wal_netdev_open_send_event() argument
960 wal_netdev_open(oal_net_device_stru *netdev) wal_netdev_open() argument
1026 wal_netdev_stop_del_vap(const oal_net_device_stru *netdev) wal_netdev_stop_del_vap() argument
1072 wal_netdev_stop(oal_net_device_stru *netdev) wal_netdev_stop() argument
1144 wal_netdev_get_stats(oal_net_device_stru *netdev) wal_netdev_get_stats() argument
1166 wal_net_device_ioctl(oal_net_device_stru *netdev, oal_ifreq_stru *ifr, hi_s32 cmd) wal_net_device_ioctl() argument
1204 oal_net_device_change_mtu(oal_net_device_stru *netdev, hi_s32 mtu) oal_net_device_change_mtu() argument
1228 wal_netdev_set_mac_addr(oal_net_device_stru *netdev, void *addr) wal_netdev_set_mac_addr() argument
1341 wal_init_netdev(nl80211_iftype_uint8 type, oal_net_device_stru *netdev) wal_init_netdev() argument
1413 wal_init_netif(nl80211_iftype_uint8 type, oal_net_device_stru *netdev) wal_init_netif() argument
1440 wal_init_drv_wlan_netdev(nl80211_iftype_uint8 type, wal_phy_mode mode, oal_net_device_stru *netdev) wal_init_drv_wlan_netdev() argument
1523 struct NetDevice *netdev = NULL; InitNetdev() local
1598 wal_deinit_drv_wlan_netdev(oal_net_device_stru *netdev) wal_deinit_drv_wlan_netdev() argument
[all...]
H A Dnet_adpater.h71 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/oal/
H A Doal_net.c378 oal_net_device_stru *netdev = NetDeviceInit(puc_name, strlen(puc_name), WIFI_LINK, LITE_OS); in oal_net_alloc_netdev() local
379 if (netdev != NULL) { in oal_net_alloc_netdev()
380 netdev->funType.wlanType = PROTOCOL_80211_IFTYPE_STATION; in oal_net_alloc_netdev()
382 return netdev; in oal_net_alloc_netdev()
386 void OalInitSpecialProcPriv(oal_net_device_stru *netdev) in OalInitSpecialProcPriv() argument
388 if (netdev == NULL) { in OalInitSpecialProcPriv()
391 netdev->specialProcPriv = NULL; in OalInitSpecialProcPriv()
401 netdev->specialProcPriv = hisi_eapol; in OalInitSpecialProcPriv()
405 void OalFreeSpecialProcPriv(oal_net_device_stru *netdev) in OalFreeSpecialProcPriv() argument
407 if (netdev in OalFreeSpecialProcPriv()
427 oal_net_device_stru *netdev; oal_net_alloc_netdev_mqs() local
447 oal_net_clear_netdev(oal_net_device_stru *netdev) oal_net_clear_netdev() argument
472 oal_net_free_netdev(oal_net_device_stru *netdev) oal_net_free_netdev() argument
494 oal_net_register_netdev(oal_net_device_stru *netdev, nl80211_iftype_uint8 type) oal_net_register_netdev() argument
526 oal_net_unregister_netdev(oal_net_device_stru *netdev) oal_net_unregister_netdev() argument
560 oal_eth_header(oal_netbuf_stru *netbuf, oal_net_device_stru *netdev, oal_eth_header_info_stru *eth_header_info) oal_eth_header() argument
597 oal_arp_create(const oal_arp_create_info_stru *p_arp_create_info, oal_net_device_stru *netdev) oal_arp_create() argument
[all...]
H A Doal_net.h1015 void OalInitSpecialProcPriv(oal_net_device_stru *netdev);
1147 oal_net_device_stru* netdev; member
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 *netdev, hi_u8 key_index, hi_bool en_pairwise,
1603 hi_s32 (*set_default_key)(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index, hi_bool en_unicast,
1605 hi_s32 (*set_default_mgmt_key)(oal_wiphy_stru *wiphy, oal_net_device_stru *netdev, hi_u8 key_index);
1607 hi_s32 (*connect)(oal_wiphy_stru *pst_wiphy, oal_net_device_stru *netdev,
1609 hi_s32 (*disconnect)(oal_wiphy_stru *pst_wiphy, oal_net_device_stru *netdev, hi_u16 us_reason_code);
1613 hi_s32 (*add_beacon)(oal_wiphy_stru *pst_wiphy, oal_net_device_stru *netdev, oal_beacon_parameter
1907 oal_net_wake_subqueue(oal_net_device_stru *netdev, hi_u16 queue_idx) oal_net_wake_subqueue() argument
1926 oal_net_stop_subqueue(oal_net_device_stru *netdev, hi_u16 queue_idx) oal_net_stop_subqueue() argument
1942 oal_net_device_stru *netdev = NetDeviceInit(netdev_name, strlen(netdev_name), WIFI_LINK, FULL_OS); oal_net_alloc_netdev() local
1975 oal_net_wake_subqueue(const oal_net_device_stru *netdev) oal_net_wake_subqueue() argument
1994 oal_net_stop_subqueue(const oal_net_device_stru *netdev) oal_net_stop_subqueue() argument
2015 oal_net_device_open(oal_net_device_stru *netdev) oal_net_device_open() argument
2035 oal_net_device_close(oal_net_device_stru *netdev) oal_net_device_close() argument
2055 oal_net_device_init(oal_net_device_stru *netdev) oal_net_device_init() argument
2209 oal_arp_hdr_len(const oal_net_device_stru *netdev) oal_arp_hdr_len() argument
[all...]
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dnet_bdh_adpater.c43 void set_krn_netdev(struct NetDevice *hnetdev, struct net_device *netdev, int ifidx) in set_krn_netdev() argument
46 g_hdf_infmap[ifidx].netdev = netdev; in set_krn_netdev()
56 return g_hdf_infmap[ifidx].netdev; in get_krn_netdev()
100 struct net_device *netdev = get_krn_netdev(0); in wal_get_dev_addr() local
113 us_addr[tmp] = netdev->dev_addr[tmp]; in wal_get_dev_addr()
146 struct net_device *netdev = NULL; in P2pInitNetdev() local
164 HDF_LOGE("%s:netdev is null!", __func__); in P2pInitNetdev()
175 netdev = GetLinuxInfByNetDevice(hnetdev); in P2pInitNetdev()
176 if (netdev in P2pInitNetdev()
259 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_open() local
301 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_stop() local
331 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_xmit() local
361 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_ioctl() local
396 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_setmacaddr() local
423 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_p2p_netdev_setmacaddr() local
442 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_getstats() local
472 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_p2p_netdev_getstats() local
511 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_bdh6_netdev_changemtu() local
528 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); hdf_p2p_netdev_changemtu() local
[all...]
H A Dhdf_bdh_mac80211.c83 struct net_device *netdev = NULL; in BDH6WalSetMode() local
89 netdev = GetLinuxInfByNetDevice(netDev); in BDH6WalSetMode()
90 if (!netdev) { in BDH6WalSetMode()
95 wiphy = get_linux_wiphy_ndev(netdev); in BDH6WalSetMode()
100 old_iftype = netdev->ieee80211_ptr->iftype; in BDH6WalSetMode()
113 retVal = (int32_t)wl_cfg80211_ops.change_virtual_intf(wiphy, netdev, in BDH6WalSetMode()
128 struct net_device *netdev = NULL; in BDH6WalAddKey() local
136 netdev = GetLinuxInfByNetDevice(netDev); in BDH6WalAddKey()
137 if (!netdev) { in BDH6WalAddKey()
142 wiphy = get_linux_wiphy_ndev(netdev); in BDH6WalAddKey()
177 struct net_device *netdev = NULL; BDH6WalDelKey() local
211 struct net_device *netdev = NULL; BDH6WalSetDefaultKey() local
242 struct net_device *netdev = NULL; BDH6WalGetDeviceMacAddr() local
264 struct net_device *netdev = NULL; BDH6WalSetMacAddr() local
542 struct net_device *netdev = NULL; Bdh6SActionEntry() local
783 WifiScanSetRequest(struct NetDevice *netdev, const struct WlanScanRequest *params, struct cfg80211_scan_request *request) WifiScanSetRequest() argument
1251 struct net_device *netdev = NULL; WalConfigApEntry() local
1362 struct net_device *netdev = NULL; WalStartAp() local
1408 struct net_device *netdev = NULL; WalChangeBeacon() local
1453 struct net_device *netdev = NULL; WalSetCountryCode() local
1474 struct net_device *netdev = NULL; WalStopAp() local
1502 struct net_device *netdev = NULL; WalDelStation() local
1532 struct net_device *netdev = NULL; WalGetAssociatedStasCount() local
1552 struct net_device *netdev = NULL; WalGetAssociatedStasInfo() local
1633 struct net_device *netdev = NULL; WalRemainOnChannel() local
1670 struct net_device *netdev = NULL; WalCancelRemainOnChannel() local
1829 struct net_device *netdev = NULL; WalSetApWpsP2pIe() local
1861 struct net_device *netdev = get_krn_netdev(HDF_INF_WLAN0); hdf_start_p2p_device() local
[all...]
H A Dhdfinit_bdh.c110 static int32_t InitPrimaryInterface(struct NetDevice *netDevice, struct net_device *netdev) in InitPrimaryInterface() argument
132 set_krn_netdev(netDevice, netdev, g_hdf_ifidx); in InitPrimaryInterface()
137 static int32_t InitP2pInterface(struct NetDevice *netDevice, struct net_device *netdev) in InitP2pInterface() argument
159 wiphy = get_linux_wiphy_ndev(netdev); in InitP2pInterface()
172 hdf_cfgp2p_register_ndev(p2p_netdev, netdev, wiphy); in InitP2pInterface()
181 struct net_device *netdev = NULL; in BDH6Init() local
195 netdev = GetLinuxInfByNetDevice(netDevice); in BDH6Init()
196 if (netdev == NULL) { in BDH6Init()
201 ret = InitPrimaryInterface(netDevice, netdev); in BDH6Init()
206 ret = InitP2pInterface(netDevice, netdev); in BDH6Init()
[all...]
/device/soc/hisilicon/common/platform/hieth-sf/adapter/
H A Dnet_adapter.c54 int32_t EthernetInitNetdev(NetDevice *netdev) in EthernetInitNetdev() argument
58 if (netdev == NULL) { in EthernetInitNetdev()
59 HDF_LOGE("%s netdev is null!", __func__); in EthernetInitNetdev()
62 netdev->netDeviceIf = &g_ethNetDevOps; in EthernetInitNetdev()
64 ret = NetDeviceAdd(netdev); in EthernetInitNetdev()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_vap.c316 oal_net_device_stru *netdev = HI_NULL; in hmac_vap_creat_netdev() local
328 netdev = NetDeviceInit(puc_netdev_name, strlen(puc_netdev_name), WIFI_LINK, LITE_OS); in hmac_vap_creat_netdev()
330 netdev = NetDeviceInit(puc_netdev_name, strlen(puc_netdev_name), WIFI_LINK, FULL_OS); in hmac_vap_creat_netdev()
332 if (oal_unlikely(netdev == HI_NULL)) { in hmac_vap_creat_netdev()
337 netdev->funType.wlanType = PROTOCOL_80211_IFTYPE_STATION; in hmac_vap_creat_netdev()
341 oal_netdevice_ops(netdev) = &g_vap_net_dev_cfg_vap_ops; in hmac_vap_creat_netdev()
343 oal_netdevice_master(netdev) = HI_NULL; in hmac_vap_creat_netdev()
344 oal_netdevice_ops(netdev) = HI_NULL; in hmac_vap_creat_netdev()
347 oal_netdevice_watchdog_timeo(netdev) = HMAC_NETDEVICE_WDT_TIMEOUT; in hmac_vap_creat_netdev()
348 oal_netdevice_specical_proc_priv(netdev) in hmac_vap_creat_netdev()
757 oal_net_device_stru *netdev = HI_NULL; hmac_del_virtual_inf_worker() local
[all...]

Completed in 53 milliseconds

123