Home
last modified time | relevance | path

Searched refs:iftype (Results 1 - 24 of 24) sorted by relevance

/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dhdf_bdh_mac80211.c80 static int32_t BDH6WalSetMode(NetDevice *hnetDev, enum WlanWorkMode iftype) in BDH6WalSetMode() argument
100 old_iftype = netdev->ieee80211_ptr->iftype; in BDH6WalSetMode()
102 HDF_LOGI("%s: start... iftype=%d, oldiftype=%d", __func__, iftype, old_iftype); in BDH6WalSetMode()
103 if (old_iftype == NL80211_IFTYPE_AP && (int32_t)iftype != (int32_t)old_iftype) { in BDH6WalSetMode()
107 if ((int32_t)iftype == (int32_t)NL80211_IFTYPE_P2P_GO && old_iftype == NL80211_IFTYPE_P2P_GO) { in BDH6WalSetMode()
114 (enum nl80211_iftype)iftype, NULL); in BDH6WalSetMode()
608 int32_t BDH6WalGetIftype(struct NetDevice *hnetDev, uint8_t *iftype) in BDH6WalGetIftype() argument
612 iftype = (uint8_t *)(&(GET_NET_DEV_CFG80211_WIRELESS(netDev)->iftype)); in BDH6WalGetIftype()
1897 int iftype = 0; WalGetDriverFlag() local
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
H A Dwal_mac80211.c439 wlan_p2p_mode_enum_uint8 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(wdev->iftype); in WalStopAp()
557 int32_t WalSetMode(NetDevice *netDev, enum WlanWorkMode iftype) in WalSetMode() argument
565 oam_info_log1(0, OAM_SF_ANY, "{WalSetMode enter iftype:%d!}", iftype); in WalSetMode()
566 if (iftype == WLAN_WORKMODE_STA || iftype == WLAN_WORKMODE_AP) { in WalSetMode()
573 ret = wal_init_drv_wlan_netdev(iftype, WAL_PHY_MODE_11N, netDev); in WalSetMode()
588 if (iftype == WLAN_WORKMODE_STA) in WalSetMode()
590 return wal_cfg80211_change_virtual_intf(NULL, netDev, iftype, &flags, &params); in WalSetMode()
934 switch (wdev->iftype) { in WalGetDriverFlag()
1027 WalGetIftype(struct NetDevice *netDev, uint8_t *iftype) WalGetIftype() argument
[all...]
H A Dwal_cfg80211.c1458 wdev->iftype = type; in wal_cfg80211_add_virtual_intf_set_wireless_dev()
1638 wal_wireless_iftype_to_mac_p2p_mode(GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype); in wal_cfg80211_del_p2p_proc()
1688 GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype); in wal_cfg80211_del_virtual_intf()
2027 wlan_p2p_mode_enum_uint8 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(wdev->iftype); in wal_cfg80211_stop_ap()
2060 wdev->iftype = NL80211_IFTYPE_AP; in wal_cfg80211_set_iftype()
2062 wdev->iftype = NL80211_IFTYPE_STATION; in wal_cfg80211_set_iftype()
2065 wdev->iftype = NL80211_IFTYPE_MESH_POINT; in wal_cfg80211_set_iftype()
2071 wdev->iftype = NL80211_IFTYPE_P2P_DEVICE; in wal_cfg80211_set_iftype()
2073 wdev->iftype = NL80211_IFTYPE_P2P_CLIENT; in wal_cfg80211_set_iftype()
2075 wdev->iftype in wal_cfg80211_set_iftype()
[all...]
H A Dwal_ioctl.c452 wlan_p2p_mode_enum_uint8 wal_wireless_iftype_to_mac_p2p_mode(nl80211_iftype_uint8 iftype) in wal_wireless_iftype_to_mac_p2p_mode() argument
456 switch (iftype) { in wal_wireless_iftype_to_mac_p2p_mode()
2512 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(wdev->iftype); in wal_start_vap()
2591 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(wdev->iftype); in wal_stop_vap()
2622 switch (wdev->iftype) { in wal_get_vap_p2p_mode()
2649 oam_warning_log1(0, 0, "{wal_get_vap_p2p_mode::iftype[%d] is not supported!}", wdev->iftype); in wal_get_vap_p2p_mode()
2765 wlan_p2p_mode_enum_uint8 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(wdev->iftype); in wal_deinit_wlan_vap()
2843 功能描述 : wal侧通过change virtual iftype创建vap的接口
2850 修改内容 : 修改函数名为wal_setup_vap,将iftype赋值移到函数外
[all...]
H A Dwal_ioctl.h117 wlan_p2p_mode_enum_uint8 wal_wireless_iftype_to_mac_p2p_mode(nl80211_iftype_uint8 iftype);
H A Dhi_wifi_driver_wpa_if.h450 hisi_iftype_enum_uint8 iftype; member
H A Dwal_hipriv.c5837 wdev->iftype = NL80211_IFTYPE_AP; in wal_hipriv_add_vap_wireless_dev_set()
5839 wdev->iftype = NL80211_IFTYPE_STATION; in wal_hipriv_add_vap_wireless_dev_set()
5843 wdev->iftype = NL80211_IFTYPE_MESH_POINT; in wal_hipriv_add_vap_wireless_dev_set()
5848 wdev->iftype = NL80211_IFTYPE_P2P_DEVICE; in wal_hipriv_add_vap_wireless_dev_set()
5850 wdev->iftype = NL80211_IFTYPE_P2P_CLIENT; in wal_hipriv_add_vap_wireless_dev_set()
5852 wdev->iftype = NL80211_IFTYPE_P2P_GO; in wal_hipriv_add_vap_wireless_dev_set()
5859 if (wal_get_dev_addr(netdev_tmp->dev_addr, ETH_ADDR_LEN, wdev->iftype) != HI_SUCCESS) { in wal_hipriv_add_vap_wireless_dev_set()
H A Dwal_event.c594 ieee80211_mgmt->frame_control, GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype); in wal_send_mgmt_to_host()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/
H A Dnet_adpater.c913 p2p_mode = wal_wireless_iftype_to_mac_p2p_mode(GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype); in wal_netdev_open_send_event()
974 oam_warning_log1(0, OAM_SF_ANY, "{wal_netdev_open::iftype:%d.!}", GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype); in wal_netdev_open()
978 if (GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_AP in wal_netdev_open()
980 || (GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_MESH_POINT) in wal_netdev_open()
1032 if (GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_AP || in wal_netdev_stop_del_vap()
1033 GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_STATION || in wal_netdev_stop_del_vap()
1034 GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_P2P_DEVICE in wal_netdev_stop_del_vap()
1036 || GET_NET_DEV_CFG80211_WIRELESS(netdev)->iftype == NL80211_IFTYPE_MESH_POINT in wal_netdev_stop_del_vap()
1089 oam_warning_log1(0, OAM_SF_ANY, "{wal_netdev_stop::iftype in wal_netdev_stop()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_cfg80211.h753 wl_iftype_t iftype; member
1433 s32 wl_iftype_to_mode(wl_iftype_t iftype);
1528 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo()
1559 _net_info->iftype = iftype; in wl_alloc_netinfo()
1785 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev()
1923 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \
1924 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0)
1935 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \
1936 (wdev->iftype
1527 wl_alloc_netinfo(struct bcm_cfg80211 *cfg, struct net_device *ndev, struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) wl_alloc_netinfo() argument
[all...]
H A Dwl_cfg80211.c639 wl_iftype_t iftype, s32 del, u8 *addr);
852 static s32 wl_config_infra(struct bcm_cfg80211 *cfg, struct net_device *ndev, u16 iftype);
2112 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wl_cfg80211_p2p_if_del()
2125 /* Couldn't find matching iftype */ in wl_cfg80211_p2p_if_del()
2355 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO) { in wl_cfg80211_get_sec_iface()
2359 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_CLIENT) { in wl_cfg80211_get_sec_iface()
2721 wdev->iftype = NL80211_IFTYPE_MONITOR; in wl_cfg80211_add_monitor_if()
3074 wdev->iftype, cfg->vif_count)); in wl_cfg80211_add_if()
3128 WL_DBG(("Enter iftype: %d\n", type)); in wl_cfg80211_add_virtual_iface()
3213 WL_INFORM_MEM(("del vif. wdev cfg_iftype:%d\n", wdev->iftype)); in _wl_cfg80211_del_if()
4022 wl_cfg80211_to_fw_iftype(wl_iftype_t iftype) wl_cfg80211_to_fw_iftype() argument
4070 s32 iftype; wl_cfg80211_interface_ops() local
4271 wl_iftype_to_mode(wl_iftype_t iftype) wl_iftype_to_mode() argument
18481 wl_config_infra(struct bcm_cfg80211 *cfg, struct net_device *ndev, u16 iftype) wl_config_infra() argument
22739 int iftype = 0; wl_get_rssi_per_ant() local
24583 int iftype = 0; wl_set_softap_elna_bypass() local
24617 int iftype = 0; wl_get_softap_elna_bypass() local
[all...]
H A Ddhd_wlfc.c638 int iftype = ctx->destination_entries.interfaces[ifid].iftype; in _dhd_wlfc_find_table_entry() local
648 if ((iftype == WLC_E_IF_ROLE_STA || ETHER_ISMULTI(dstn) || in _dhd_wlfc_find_table_entry()
649 iftype == WLC_E_IF_ROLE_P2P_CLIENT) && in _dhd_wlfc_find_table_entry()
1257 if (interfaces[entry->interface_id].iftype == in _dhd_wlfc_is_destination_open()
1816 uint8 action, uint8 ifid, uint8 iftype, uint8* ea, in _dhd_wlfc_mac_entry_update()
1826 entry->iftype = iftype; in _dhd_wlfc_mac_entry_update()
1963 uint8 action, uint8 ifid, uint8 iftype, uint8* ea) in _dhd_wlfc_interface_entry_update()
1973 return _dhd_wlfc_mac_entry_update(ctx, entry, action, ifid, iftype, e in _dhd_wlfc_interface_entry_update()
1815 _dhd_wlfc_mac_entry_update(athost_wl_status_info_t* ctx, wlfc_mac_descriptor_t* entry, uint8 action, uint8 ifid, uint8 iftype, uint8* ea, f_processpkt_t fn, void *arg) _dhd_wlfc_mac_entry_update() argument
1962 _dhd_wlfc_interface_entry_update(void* state, uint8 action, uint8 ifid, uint8 iftype, uint8* ea) _dhd_wlfc_interface_entry_update() argument
3833 dhd_wlfc_interface_event(dhd_pub_t *dhdp, uint8 action, uint8 ifid, uint8 iftype, uint8* ea) dhd_wlfc_interface_event() argument
[all...]
H A Ddhd_wlfc.h361 uint8 iftype; /**< eg WLC_E_IF_ROLE_STA */ member
766 int dhd_wlfc_interface_event(dhd_pub_t *dhdp, uint8 action, uint8 ifid, uint8 iftype, uint8* ea);
H A Dwl_android_ext.c1900 int iftype, s32 del, u8 *addr) in wl_ext_add_del_bss()
1911 AEXT_TRACE(ndev->name, "wl_iftype:%d del:%d \n", iftype, del); in wl_ext_add_del_bss()
1918 } else if (iftype == WL_INTERFACE_TYPE_AP) { in wl_ext_add_del_bss()
1922 } else if (iftype == WL_INTERFACE_TYPE_STA) { in wl_ext_add_del_bss()
1927 AEXT_ERROR(ndev->name, "add_del_bss NOT supported for IFACE type:0x%x", iftype); in wl_ext_add_del_bss()
1953 struct wl_apsta_params *apsta_params, int iftype, u8 *addr) in wl_ext_interface_ops()
1982 iface_v3.iftype = iftype; in wl_ext_interface_ops()
2004 iface.iftype = iftype; in wl_ext_interface_ops()
1899 wl_ext_add_del_bss(struct net_device *ndev, s32 bsscfg_idx, int iftype, s32 del, u8 *addr) wl_ext_add_del_bss() argument
1952 wl_ext_interface_ops(struct net_device *dev, struct wl_apsta_params *apsta_params, int iftype, u8 *addr) wl_ext_interface_ops() argument
2034 wl_ext_interface_create(struct net_device *dev, struct wl_apsta_params *apsta_params, struct wl_if_info *cur_if, int iftype, u8 *addr) wl_ext_interface_create() argument
[all...]
H A Dwl_android.c6463 wl_cfg80211_register_static_if(struct bcm_cfg80211 *cfg, u16 iftype, char *ifname) in wl_cfg80211_register_static_if() argument
6478 WL_INFORM_MEM(("[STATIC_IF] Enter (%s) iftype:%d\n", ifname, iftype)); in wl_cfg80211_register_static_if()
6516 wdev->iftype = iftype; in wl_cfg80211_register_static_if()
6561 u16 iftype = net->ieee80211_ptr ? net->ieee80211_ptr->iftype : 0; in wl_cfg80211_static_if_open() local
6571 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
6625 wdev->iftype = iface_type; in wl_cfg80211_post_static_ifcreate()
H A Dwl_cfgp2p.c2422 wdev->iftype = wl_mode_to_nl80211_iftype(WL_MODE_BSS); in wl_cfgp2p_register_ndev()
2616 wdev->iftype = NL80211_IFTYPE_P2P_DEVICE; in wl_cfgp2p_add_p2p_disc_if()
2722 printk(KERN_INFO"Enter wl_cfgp2p_del_p2p_disc_if wdev->netdev=%p %d\n", wdev->netdev, wdev->iftype); in wl_cfgp2p_del_p2p_disc_if()
H A Dwl_cfgscan.c1895 WL_DBG(("Enter request wdev netdev=%s, wdev iftype=%d\n", ndev->name, request->wdev->iftype)); in wl_cfg80211_scan()
2072 if (cfg->scan_request->wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in wl_notify_escan_complete()
H A Ddhd_linux.c3192 WL_MSG(dev->name, "iftype = %d macaddr = %pM\n", in dhd_set_mac_address()
3193 dev->ieee80211_ptr->iftype, dhdif->mac_addr); in dhd_set_mac_address()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_wifi_api.h1971 * @param iftype [IN] Type #hi_wifi_iftype, interface type. CNcomment:接口类型。CNend
1972 * fram_type [IN] Type #hi_wifi_frame_type, frame type,HI_WIFI_IFTYPE_STATION iftype only supports
1984 int hi_wifi_add_usr_app_ie(hi_wifi_iftype iftype, hi_wifi_frame_type fram_type,
1995 * @param iftype [IN] Type #hi_wifi_iftype, interface type. CNcomment:接口类型。CNend
1996 * fram_type [IN] Type #hi_wifi_frame_type, frame type,HI_WIFI_IFTYPE_STATION iftype only supports
2006 int hi_wifi_delete_usr_app_ie(hi_wifi_iftype iftype, hi_wifi_frame_type fram_type, hi_wifi_usr_ie_type usr_ie_type);
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/
H A Dboot_rom.h98 hi_u32 iftype : 3; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/wifi/include/
H A Dhi_wifi_driver_wpa_if.h438 hisi_iftype_enum_uint8 iftype; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/flash/
H A Dflash_prv.h115 hi_u32 iftype : 3; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_net.h1149 nl80211_iftype_uint8 iftype; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dwlioctl.h15211 * "iftype" field shall be used for identifying the interface type.
15276 uint8 iftype; /**< Type of interface created */ member
15285 uint8 iftype; /**< Type of interface created */ member

Completed in 172 milliseconds