Home
last modified time | relevance | path

Searched refs:ifname (Results 1 – 25 of 92) sorted by relevance

1234

/device/soc/beken/bk7235/hals/communication/wifi_lite/wifiaware/source/
Dhal_wifiaware.c36 int bk_wifi_sdp_init(const char* ifname);
43 int bk_wifi_sdp_adjust_tx_power(const char *ifname, signed char power);
44 int bk_wifi_sdp_restore_tx_power(const char *ifname);
45 int bk_wifi_sdp_adjust_rx_param(const char *ifname, signed char rssi);
46 int bk_wifi_sdp_restore_rx_param(const char *ifname);
47 int bk_wifi_sdp_beacon_switch(const char *ifname, unsigned char enable);
52 int bk_wifi_sdp_init(const char* ifname) { return WIFI_FAIL; } in bk_wifi_sdp_init() argument
59 int bk_wifi_sdp_adjust_tx_power(const char *ifname, signed char power) { return WIFI_FAIL; } in bk_wifi_sdp_adjust_tx_power() argument
60 int bk_wifi_sdp_restore_tx_power(const char *ifname) { return WIFI_FAIL; } in bk_wifi_sdp_restore_tx_power() argument
61 int bk_wifi_sdp_adjust_rx_param(const char *ifname, signed char rssi) { return WIFI_FAIL; } in bk_wifi_sdp_adjust_rx_param() argument
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dif_api.h84 char *lwip_if_indextoname(unsigned int ifindex, char *ifname);
119 unsigned int lwip_if_nametoindex(const char *ifname);
180 #define if_indextoname(ifindex, ifname) lwip_if_indextoname(ifindex, ifname) argument
182 #define if_nametoindex(ifname) lwip_if_nametoindex(ifname) argument
187 #define lwip_if_indextoname(ifindex, ifname) if_indextoname(ifindex, ifname) argument
189 #define lwip_if_nametoindex(ifname) if_nametoindex(ifname) argument
Dapi_shell.h73 u32_t lwip_get_ipv4(char *localIp, unsigned char ipLen, unsigned char *ifname);
74 u32_t lwip_get_mac_addr(unsigned char *macAddr, unsigned int len, unsigned char *ifname);
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiaware/source/
Dhal_wifiaware.c21 int HalWifiSdpInit(const char* ifname) in HalWifiSdpInit() argument
23 if (hi_wifi_sdp_init(ifname) != HISI_OK) { in HalWifiSdpInit()
70 int HalWifiSdpAdjustTxPower(const char *ifname, signed char power) in HalWifiSdpAdjustTxPower() argument
72 if (hi_wifi_sdp_adjust_tx_power(ifname, power) != HISI_OK) { in HalWifiSdpAdjustTxPower()
78 int HalWifiSdpRestoreTxPower(const char *ifname) in HalWifiSdpRestoreTxPower() argument
80 if (hi_wifi_sdp_restore_tx_power(ifname) != HISI_OK) { in HalWifiSdpRestoreTxPower()
86 int HalWifiSdpBeaconSwitch(const char *ifname, unsigned char enable) in HalWifiSdpBeaconSwitch() argument
88 if (hi_wifi_sdp_beacon_switch(ifname, enable) != HISI_OK) { in HalWifiSdpBeaconSwitch()
/device/soc/asrmicro/asr582x/liteos_m/sdk/adapter/hals/communication/wifi_lite/wifiaware/source/
Dhal_wifiaware.c21 int HalWifiSdpInit(const char *ifname) in HalWifiSdpInit() argument
23 if (hi_wifi_sdp_init(ifname) != HISI_OK) { in HalWifiSdpInit()
70 int HalWifiSdpAdjustTxPower(const char *ifname, signed char power) in HalWifiSdpAdjustTxPower() argument
72 if (hi_wifi_sdp_adjust_tx_power(ifname, power) != HISI_OK) { in HalWifiSdpAdjustTxPower()
78 int HalWifiSdpRestoreTxPower(const char *ifname) in HalWifiSdpRestoreTxPower() argument
80 if (hi_wifi_sdp_restore_tx_power(ifname) != HISI_OK) { in HalWifiSdpRestoreTxPower()
86 int HalWifiSdpBeaconSwitch(const char *ifname, unsigned char enable) in HalWifiSdpBeaconSwitch() argument
88 if (hi_wifi_sdp_beacon_switch(ifname, enable) != HISI_OK) { in HalWifiSdpBeaconSwitch()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_wifi_api.h587 char ifname[WIFI_IFNAME_MAX_SIZE + 1]; /**< Iftype name. CNcomment: 接口名称.CNend */ member
598 char ifname[WIFI_IFNAME_MAX_SIZE + 1]; /**< Iftype name. CNcomment: 接口名称.CNend */ member
886 int hi_wifi_sta_start(char *ifname, int *len);
1505 int hi_wifi_softap_start(hi_wifi_softap_config *conf, char *ifname, int *len);
1672 int hi_wifi_set_bandwidth(const char *ifname, unsigned char ifname_len, hi_wifi_bw bw);
1690 hi_wifi_bw hi_wifi_get_bandwidth(const char *ifname, unsigned char ifname_len);
1710 int hi_wifi_set_channel(const char *ifname, unsigned char ifname_len, int channel);
1729 int hi_wifi_get_channel(const char *ifname, unsigned char ifname_len);
1749 int hi_wifi_promis_enable(const char *ifname, int enable, const hi_wifi_ptype_filter *filter);
1811 unsigned char hi_wifi_arp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);
[all …]
Dhi_wifi_sdp_api.h40 int hi_wifi_sdp_init(const char* ifname);
47 int hi_wifi_sdp_adjust_tx_power(const char *ifname, signed char power);
48 int hi_wifi_sdp_restore_tx_power(const char *ifname);
49 int hi_wifi_sdp_adjust_rx_param(const char *ifname, signed char rssi);
50 int hi_wifi_sdp_restore_rx_param(const char *ifname);
51 int hi_wifi_sdp_beacon_switch(const char *ifname, unsigned char enable);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
Dhi_wifi_api.h564 char ifname[WIFI_IFNAME_MAX_SIZE + 1]; /* *< Iftype name. CNcomment: 接口名称.CNend */ member
575 char ifname[WIFI_IFNAME_MAX_SIZE + 1]; /* *< Iftype name. CNcomment: 接口名称.CNend */ member
603 char ifname[WIFI_IFNAME_MAX_SIZE + 1]; /* *< Iftype name. CNcomment: 接口名称.CNend */ member
892 int hi_wifi_sta_start(char *ifname, int *len);
1393 int hi_wifi_softap_start(hi_wifi_softap_config *conf, char *ifname, int *len);
1568 int hi_wifi_set_bandwidth(const char *ifname, unsigned char ifname_len, hi_wifi_bw bw);
1587 hi_wifi_bw hi_wifi_get_bandwidth(const char *ifname, unsigned char ifname_len);
1608 int hi_wifi_set_channel(const char *ifname, unsigned char ifname_len, int channel);
1628 int hi_wifi_get_channel(const char *ifname, unsigned char ifname_len);
1649 int hi_wifi_promis_enable(const char *ifname, int enable, const hi_wifi_ptype_filter *filter);
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dhi_wifi_driver_api.c553 hi_s32 hi_wifi_set_bandwidth(const hi_char *ifname, unsigned char ifname_len, hi_wifi_bw bw) in hi_wifi_set_bandwidth() argument
559 if (memcpy_s(ifname_cpy, sizeof(ifname_cpy), ifname, ifname_len) != EOK) { in hi_wifi_set_bandwidth()
603 hi_wifi_bw hi_wifi_get_bandwidth(const hi_char *ifname, unsigned char ifname_len) in hi_wifi_get_bandwidth() argument
611 if (memcpy_s(ifname_cpy, sizeof(ifname_cpy), ifname, ifname_len) != EOK) { in hi_wifi_get_bandwidth()
644 hi_s32 hi_wifi_send_custom_pkt(const hi_char *ifname, const hi_u8 *buf, hi_u32 len) in hi_wifi_send_custom_pkt() argument
660 oal_net_device_stru *netdev = oal_get_netdev_by_name(ifname); in hi_wifi_send_custom_pkt()
765 hi_s32 hi_wifi_promis_enable(const hi_char *ifname, hi_s32 enable, const hi_wifi_ptype_filter *filt… in hi_wifi_promis_enable() argument
771 if ((ifname == HI_NULL) || (filter == HI_NULL)) { in hi_wifi_promis_enable()
777 netdev = oal_get_netdev_by_name(ifname); in hi_wifi_promis_enable()
849 hi_s32 hi_wifi_csi_set_config(const hi_char *ifname, hi_u32 report_min_interval, const hi_wifi_csi_… in hi_wifi_csi_set_config() argument
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_cfgvif.h109 int wl_set_ap_beacon_rate(struct net_device *dev, int val, char *ifname);
110 int wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len);
113 int wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len);
114 int wl_set_ap_rps(struct net_device *dev, bool enable, char *ifname);
115 int wl_update_ap_rps_params(struct net_device *dev, ap_rps_info_t* rps, char *ifname);
119 struct net_device* wl_get_ap_netdev(struct bcm_cfg80211 *cfg, char *ifname);
134 extern int wl_set_ap_suspend(struct net_device *dev, bool enable, char *ifname);
137 int wl_set_softap_elna_bypass(struct net_device *dev, char *ifname, int enable);
138 int wl_get_softap_elna_bypass(struct net_device *dev, char *ifname, void *param);
141 extern int wl_set_ap_bw(struct net_device *dev, u32 bw, char *ifname);
[all …]
Ddhd_linux_pktdump.c204 ifname, ## args, \
209 ifname, ## args, \
220 ifname, ## args, \
225 ifname, ## args, \
238 ifname, ## args, \
245 ifname, ## args, \
258 ifname, ## args, \
266 ifname, ## args, \
621 char *ifname; in dhd_dump_wsc_message() local
661 ifname = dhd_ifname(dhd, ifidx); in dhd_dump_wsc_message()
[all …]
Dwl_iapsta.c74 static int wl_ext_enable_iface(struct net_device *dev, char *ifname, int wait_up);
75 static int wl_ext_disable_iface(struct net_device *dev, char *ifname);
135 IAPSTA_TRACE(cur_if->ifname, "dhd is null or not up\n"); in wl_ext_pm_work_handler()
187 IAPSTA_ERROR(cur_if->ifname, "Can't schedule pm work handler\n"); in wl_ext_add_remove_pm_enable_work()
712 cur_if->ifname, cur_if->prefix); in wl_ext_mesh_peer_status()
1007 WL_MSG(mesh_if->ifname, "moving channel %d -> %d\n", in wl_mesh_update_mesh_info()
1009 wl_ext_disable_iface(mesh_if->dev, mesh_if->ifname); in wl_mesh_update_mesh_info()
1011 wl_ext_enable_iface(mesh_if->dev, mesh_if->ifname, 500); in wl_mesh_update_mesh_info()
1190 tmp_if->ifname, tmp_if->prefix, &mesh_info->master_bssid, in wl_ext_isam_peer_path()
1228 WL_MSG(cur_if->ifname, "[%c] Turning off...\n", cur_if->prefix); in wl_ext_if_down()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
Dapp_promis.c40 unsigned int hi_promis_start(const char *ifname) in hi_promis_start() argument
52 ret = hi_wifi_promis_enable(ifname, 1, &filter); in hi_promis_start()
64 unsigned int hi_promis_stop(const char *ifname) in hi_promis_stop() argument
69 ret = hi_wifi_promis_enable(ifname, 0, &filter); in hi_promis_stop()
Dwifi_softap.c49 char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in hi_wifi_start_softap() local
50 int len = sizeof(ifname); in hi_wifi_start_softap()
72 ret = hi_wifi_softap_start(&hapd_conf, ifname, &len); in hi_wifi_start_softap()
79 g_lwip_netif = netifapi_netif_find(ifname); in hi_wifi_start_softap()
Dwifi_sta.c103 char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in hi_wifi_start_sta() local
104 int len = sizeof(ifname); in hi_wifi_start_sta()
114 ret = hi_wifi_sta_start(ifname, &len); in hi_wifi_start_sta()
128 g_lwip_netif = netifapi_netif_find(ifname); in hi_wifi_start_sta()
Dapp_promis.h25 unsigned int hi_promis_start(const char *ifname);
26 unsigned int hi_promis_stop(const char *ifname);
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_linux_pktdump.c209 ifname, ##args, tx ? seabuf : deabuf, \
215 ifname, ##args, tx ? seabuf : deabuf, \
228 ifname, ##args, tx ? seabuf : deabuf, \
236 ifname, ##args, tx ? seabuf : deabuf, tx ? "->" : "<-", \
249 ifname, ##args, tx ? seabuf : deabuf, tx ? "->" : "<-", \
256 ifname, ##args, tx ? seabuf : deabuf, \
272 ifname, ##args, tx ? seabuf : deabuf, tx ? "->" : "<-", \
281 ifname, ##args, tx ? seabuf : deabuf, tx ? "->" : "<-", \
611 char *ifname; in dhd_dump_wsc_message() local
651 ifname = dhd_ifname(dhd, ifidx); in dhd_dump_wsc_message()
[all …]
Dwl_iapsta.c90 static int wl_ext_enable_iface(struct net_device *dev, char *ifname,
92 static int wl_ext_disable_iface(struct net_device *dev, char *ifname);
150 IAPSTA_TRACE(cur_if->ifname, "dhd is null or not up\n"); in wl_ext_pm_work_handler()
206 IAPSTA_ERROR(cur_if->ifname, in wl_ext_add_remove_pm_enable_work()
790 cur_if->ifname, cur_if->prefix); in wl_ext_mesh_peer_status()
1088 WL_MSG(mesh_if->ifname, "moving channel %d -> %d\n", cur_chan, in wl_mesh_update_mesh_info()
1090 wl_ext_disable_iface(mesh_if->dev, mesh_if->ifname); in wl_mesh_update_mesh_info()
1092 wl_ext_enable_iface(mesh_if->dev, mesh_if->ifname, 0x1F4, TRUE); in wl_mesh_update_mesh_info()
1285 tmp_if->ifname, tmp_if->prefix, in wl_ext_isam_peer_path()
1325 WL_MSG(cur_if->ifname, "[%c] Turning off...\n", cur_if->prefix); in wl_ext_if_down()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_linux_pktdump.c209 ifname, ## args, \
214 ifname, ## args, \
225 ifname, ## args, \
230 ifname, ## args, \
243 ifname, ## args, \
250 ifname, ## args, \
263 ifname, ## args, \
271 ifname, ## args, \
607 char *ifname; in dhd_dump_wsc_message() local
647 ifname = dhd_ifname(dhd, ifidx); in dhd_dump_wsc_message()
[all …]
Dwl_android_ext.c186 char ifname[IFNAMSIZ+1]; member
260 static int wl_ext_enable_iface(struct net_device *dev, char *ifname, int wait_up);
261 static int wl_ext_disable_iface(struct net_device *dev, char *ifname);
1438 AEXT_TRACE(cur_if->ifname, "dhd is null or not up\n"); in wl_ext_pm_work_handler()
1490 AEXT_ERROR(cur_if->ifname, "Can't schedule pm work handler\n"); in wl_ext_add_remove_pm_enable_work()
2142 if (i >= 1 && !strlen(cur_if->ifname)) in wl_ext_iapsta_preinit()
2143 snprintf(cur_if->ifname, IFNAMSIZ, "wlan%d", i); in wl_ext_iapsta_preinit()
2424 strcpy(apsta_params->if_info[i].ifname, pch); in wl_ext_isam_init()
2428 strcpy(apsta_params->if_info[IF_VIF].ifname, pick_tmp2); in wl_ext_isam_init()
2637 char ifname[IFNAMSIZ+1]; in wl_ext_iapsta_config() local
[all …]
/device/soc/esp/esp32/components/newlib/platform_include/net/
Dif.h36 unsigned int if_nametoindex(const char *ifname);
38 char *if_indextoname(unsigned int ifindex, char *ifname);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_android_ext.c246 char ifname[IFNAMSIZ+1]; member
275 static int wl_ext_enable_iface(struct net_device *dev, char *ifname);
1418 if (i == 1 && !strlen(cur_if->ifname)) in wl_ext_iapsta_preinit()
1419 strcpy(cur_if->ifname, "wlan1"); in wl_ext_iapsta_preinit()
1420 if (i == 2 && !strlen(cur_if->ifname)) in wl_ext_iapsta_preinit()
1421 strcpy(cur_if->ifname, "wlan2"); in wl_ext_iapsta_preinit()
1817 strcpy(apsta_params->if_info[i].ifname, pch); in wl_ext_isam_init()
1823 strcpy(apsta_params->if_info[IF_VIF].ifname, pch); in wl_ext_isam_init()
2035 char ifname[IFNAMSIZ+1]; in wl_ext_iapsta_config() local
2049 memset(ifname, 0, IFNAMSIZ+1); in wl_ext_iapsta_config()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/hdf/
Dhdf_mac80211_sta.c147 int get_scan_ifidx(const char *ifname) in get_scan_ifidx() argument
156 if (strcmp(p2p_hnetdev->name, ifname) == 0) { in get_scan_ifidx()
157 HDF_LOGE("get scan ifidx = %d, %s", i, ifname); in get_scan_ifidx()
161 HDF_LOGE("get scan ifidx error %d, %s", i, ifname); in get_scan_ifidx()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat_lowpower.c332 const char *ifname = "wlan0"; in at_set_arpoffload() local
359 if (hi_wifi_arp_offload_setting(ifname, enable, ip_addr) != HI_ERR_SUCCESS) { in at_set_arpoffload()
412 const char *ifname = "wlan0"; in at_set_ndoffload() local
439 if (hi_wifi_nd_offload_setting(ifname, enable, (unsigned char *)&ip6_addr) != HI_ERR_SUCCESS) { in at_set_ndoffload()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
Dhi_wifi_tmp_api.h58 unsigned char hi_wifi_dhcp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);

1234