Home
last modified time | relevance | path

Searched refs:ifname (Results 1 - 25 of 39) sorted by relevance

12

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dif_api.h11 * @note: when passing the ifname pointer to the function lwip_if_indextoname:
12 * The ifname argument must point to a buffer of at least IF_NAMESIZE bytes into which the interface
56 * The ifname argument must point to a buffer of at least IF_NAMESIZE/IFNAMSIZ bytes into which the interface
61 * @param[out] char* ifname Specifies the output interface name which is retrieved based on ifindex
64 * char * ifname: On success \n
69 * - <b> [EFAULT] </b>: \n The ifname is a null pointer
76 * The caller of this function should ensure that the ifname point to a buffer of at least IF_NAMESIZE/IFNAMSIZ bytes.
84 char *lwip_if_indextoname(unsigned int ifindex, char *ifname);
93 * The ifname argument must point to a buffer of at least IF_NAMESIZE/IFNAMSIZ bytes which will contain the
95 * @param[in] const char *ifname Specifie
[all...]
H A 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/
H A 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/
H A 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);
H A 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
873 * 4. The memories of <ifname> and <len> should be requested by the caller,
874 * the input value of len must be the same as the length of ifname(the recommended length is 17Bytes).\n
875 * CNcomment:4. <ifname>和<len>由调用者申请内存,用户写入len的值必须与ifname长度一致(建议长度为17Bytes).CNend \n
877 * @param ifname [IN/OUT] Type #char *, device name.CNcomment:接口名.CNend
886 int hi_wifi_sta_start(char *ifname, int *len);
1489 * 6. The memories of <ifname> and <len> should be requested by the caller,
1490 * the input value of len must be the same as the length of ifname(th
[all...]
H A Dhi_btcoex_api.h42 * @param ifname [IN] Type #const char *, device name, e.g. wlan0.CNcomment:设备名称,如 wlan0。CNend
64 hi_u32 hi_wifi_btcoex_enable(const hi_char *ifname, hi_bool enable, hi_u8 mode, hi_u8 share_ant, hi_u8 preempt);
H A Dhi_wifi_csi_api.h115 * @param ifname [IN] Type #char *,interface which enable CSI, wlan0 or ap0.
127 int hi_wifi_csi_set_config(const char *ifname, unsigned int report_min_interval,
H A Dhi_any_api.h197 int hi_wifi_any_init(const char *ifname);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A 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
879 * 4. The memories of <ifname> and <len> should be requested by the caller,
880 * the input value of len must be the same as the length of ifname(the recommended length is 17Bytes).\n
881 * CNcomment:4. <ifname>和<len>由调用者申请内存,用户写入len的值必须与ifname长度一致(建议长度为17Bytes).CNend
882 * @param ifname [IN/OUT] Type #char *, device name.CNcomment:接口名.CNend
892 int hi_wifi_sta_start(char *ifname, int *len);
1377 * 6. The memories of <ifname> an
[all...]
H A Dhi_wifi_csi_api.h120 * @param ifname [IN] Type #char *,interface which enable CSI, wlan0 or ap0.
134 int hi_wifi_csi_set_config(const char *ifname, unsigned int report_min_interval, const hi_wifi_csi_entry *entry_list,
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dhi_wifi_driver_api.c549 输入参数 : [1]ifname
553 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()
600 输入参数 : [1]ifname
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()
639 输入参数 : [1]ifname
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()
761 输入参数 : [1]ifname
765 hi_wifi_promis_enable(const hi_char *ifname, hi_s32 enable, const hi_wifi_ptype_filter *filter) hi_wifi_promis_enable() argument
849 hi_wifi_csi_set_config(const hi_char *ifname, hi_u32 report_min_interval, const hi_wifi_csi_entry *entry_list, hi_s32 entry_num) hi_wifi_csi_set_config() argument
876 hi_wifi_set_channel(const hi_char *ifname, unsigned char ifname_len, hi_s32 channel) hi_wifi_set_channel() argument
922 hi_wifi_get_channel(const hi_char *ifname, unsigned char ifname_len) hi_wifi_get_channel() argument
980 hi_wifi_any_init(const hi_char *ifname) hi_wifi_any_init() argument
1303 hi_wifi_wow_set_pattern(const hi_char *ifname, hi_u32 type, hi_u8 index, hi_char *pattern) hi_wifi_wow_set_pattern() argument
1366 hi_wifi_wow_host_sleep_switch(const hi_char *ifname, hi_u8 en) hi_wifi_wow_host_sleep_switch() argument
1425 hi_wifi_arp_offload_setting(const hi_char *ifname, hi_u8 en, hi_u32 ip) hi_wifi_arp_offload_setting() argument
1485 hi_wifi_dhcp_offload_setting(const hi_char *ifname, hi_u8 en, hi_u32 ip) hi_wifi_dhcp_offload_setting() argument
1539 hi_wifi_btcoex_enable(const hi_char *ifname, hi_bool enable, hi_u8 mode, hi_u8 share_ant) hi_wifi_btcoex_enable() argument
1591 hi_wifi_set_retry_params(const hi_char *ifname, hi_u8 type, hi_u8 limit) hi_wifi_set_retry_params() argument
1644 hi_wifi_set_cca_threshold(const hi_char *ifname, hi_s8 threshold) hi_wifi_set_cca_threshold() argument
1684 hi_wifi_set_tpc(const char *ifname, unsigned char ifname_len, hi_u32 tpc_value) hi_wifi_set_tpc() argument
1718 hi_wifi_get_tx_params(const char *ifname, unsigned char ifname_len) hi_wifi_get_tx_params() argument
[all...]
H A Dwal_event.h131 hi_s32 wal_csi_set_config(const hi_char *ifname, hi_u32 report_min_interval, const hi_wifi_csi_entry *entry_list,
H A Dwal_event.c1105 hi_s32 wal_csi_set_config(const hi_char *ifname, hi_u32 report_min_interval, const hi_wifi_csi_entry *entry_list, in wal_csi_set_config() argument
1135 oal_net_device_stru *netdev = oal_get_netdev_by_name(ifname); in wal_csi_set_config()
1137 oam_warning_buf(0, OAM_SF_CSI, "{wal_csi_set_config::ifname [%s] len [%d]is not found.}", (hi_char *)ifname, in wal_csi_set_config()
1138 strlen(ifname)); in wal_csi_set_config()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A 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()
H A 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()
H A 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()
H A Dapp_promis.h25 unsigned int hi_promis_start(const char *ifname);
26 unsigned int hi_promis_stop(const char *ifname);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A 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 in dhd_dump_wsc_message()
722 char *ifname; dhd_dump_eap_packet() local
850 char *ifname; dhd_dump_eapol_4way_message() local
919 char *ifname; dhd_dump_eapol_message() local
1025 char *ifname = NULL, *typestr = NULL, *opstr = NULL; dhd_dhcp_dump() local
1132 char *ifname; dhd_icmp_dump() local
1231 char *ifname; dhd_arp_dump() local
1353 char *ifname; dhd_dns_dump() local
[all...]
H A 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()
2420 } else if (!strcmp(param, "ifname")) { in wl_ext_isam_init()
2424 strcpy(apsta_params->if_info[i].ifname, pch); in wl_ext_isam_init()
2428 strcpy(apsta_params->if_info[IF_VIF].ifname, pick_tmp in wl_ext_isam_init()
2637 char ifname[IFNAMSIZ+1]; wl_ext_iapsta_config() local
3496 wl_ext_disable_iface(struct net_device *dev, char *ifname) wl_ext_disable_iface() argument
3600 char ifname[IFNAMSIZ+1]; wl_ext_iapsta_disable() local
4031 wl_ext_enable_iface(struct net_device *dev, char *ifname, int wait_up) wl_ext_enable_iface() argument
4280 char ifname[IFNAMSIZ+1]; wl_ext_iapsta_enable() local
[all...]
H A Dwl_android.c4263 char *ifname = NULL; in wl_android_get_rssi_per_ant() local
4273 * STA I/F: DRIVER GET_RSSI_PER_ANT <ifname> <mimo> in wl_android_get_rssi_per_ant()
4274 * AP/GO I/F: DRIVER GET_RSSI_PER_ANT <ifname> <Peer MAC addr> <mimo> in wl_android_get_rssi_per_ant()
4287 ifname = token; in wl_android_get_rssi_per_ant()
4306 err = wl_get_rssi_per_ant(dev, ifname, peer_mac, &rssi_ant_mimo); in wl_android_get_rssi_per_ant()
4313 ANDROID_INFO(("ifname %s, version %d, count %d, mimo rssi %d\n", in wl_android_get_rssi_per_ant()
4314 ifname, rssi_ant_mimo.version, rssi_ant_mimo.count, mimo_rssi)); in wl_android_get_rssi_per_ant()
4519 char *ifname = NULL; in wl_android_set_ap_beaconrate() local
4523 * DRIVER SET_AP_BEACONRATE <rate> <ifname> in wl_android_set_ap_beaconrate()
4540 ifname in wl_android_set_ap_beaconrate()
4555 char *ifname = NULL; wl_android_get_ap_basicrate() local
4588 char *ifname = NULL; wl_android_get_ap_rps() local
4623 char *ifname = NULL; wl_android_set_ap_rps() local
4663 char *ifname = NULL; wl_android_set_ap_rps_params() local
4778 char *ifname = NULL; wl_android_set_ap_suspend() local
4822 char *ifname = NULL; wl_android_set_ap_bw() local
4866 char *ifname = NULL; wl_android_get_ap_bw() local
5432 char *ifname = NULL; wl_android_set_softap_elna_bypass() local
5478 char *ifname = NULL; wl_android_get_softap_elna_bypass() local
6463 wl_cfg80211_register_static_if(struct bcm_cfg80211 *cfg, u16 iftype, char *ifname) wl_cfg80211_register_static_if() argument
[all...]
H A Dwl_cfg80211.h1038 u8 ifname[IFNAMSIZ]; member
1996 WL_DBG(("wdev_ptr:%p ndev_ptr:%p ifname:%s iftype:%d\n", OSL_OBFUSCATE_BUF(wdev), \
2360 int wl_set_ap_beacon_rate(struct net_device *dev, int val, char *ifname);
2361 int wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len);
2364 int wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len);
2365 int wl_set_ap_rps(struct net_device *dev, bool enable, char *ifname);
2366 int wl_update_ap_rps_params(struct net_device *dev, ap_rps_info_t* rps, char *ifname);
2372 int wl_get_rssi_per_ant(struct net_device *dev, char *ifname, char *peer_mac, void *param);
2375 struct net_device* wl_get_ap_netdev(struct bcm_cfg80211 *cfg, char *ifname);
2393 struct wireless_dev *wdev, char *ifname);
[all...]
H A Dhdf_public_ap6275s.h34 int get_scan_ifidx(const char *ifname);
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A 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()
H A Dat_wifi.c264 hi_char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in cmd_sta_start() local
265 hi_s32 len = sizeof(ifname); in cmd_sta_start()
267 ret = hi_wifi_sta_start(ifname, &len); in cmd_sta_start()
342 hi_char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in cmd_sta_start_adv() local
343 hi_s32 len = sizeof(ifname); in cmd_sta_start_adv()
344 ret = hi_wifi_sta_start(ifname, &len); in cmd_sta_start_adv()
1031 hi_char ifname[WIFI_IFNAME_MAX_SIZE + 1] = {0}; in cmd_start_softap() local
1032 hi_s32 ifname_len = sizeof(ifname); in cmd_start_softap()
1078 if (hi_wifi_softap_start(&hapd_conf, ifname, &ifname_len) != HISI_OK) { in cmd_start_softap()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
H A Dhi_wifi_tmp_api.h48 * @param ifname [IN] Type #const char *, device name.
58 unsigned char hi_wifi_dhcp_offload_setting(const char *ifname, unsigned char en, unsigned int ip);

Completed in 34 milliseconds

12