Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_iapsta.h76 void wl_ext_iapsta_update_iftype(struct net_device *net, int wl_iftype);
77 bool wl_ext_iapsta_iftype_enabled(struct net_device *net, int wl_iftype);
H A Dwl_cfgvif.c878 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype) in wl_release_vif_macaddr() argument
891 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_AP) || in wl_release_vif_macaddr()
892 (wl_iftype == WL_IF_TYPE_P2P_GO) || (wl_iftype == WL_IF_TYPE_P2P_GC)) { in wl_release_vif_macaddr()
924 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr) in wl_get_vif_macaddr() argument
938 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) && p2p_dev_addr && in wl_get_vif_macaddr()
955 if (wl_iftype == WL_IF_TYPE_P2P_DISC || wl_iftype == WL_IF_TYPE_AP) { in wl_get_vif_macaddr()
957 } else if ((wl_iftype == WL_IF_TYPE_P2P_GO) || (wl_iftype == WL_IF_TYPE_P2P_GC)) { in wl_get_vif_macaddr()
962 if (wl_iftype == WL_IF_TYPE_P2P_DISC) { in wl_get_vif_macaddr()
1019 u16 wl_iftype; in wl_cfg80211_add_virtual_iface() local
1042 if (cfg80211_to_wl_iftype(type, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_add_virtual_iface()
[all …]
H A Dwl_cfgvif.h128 extern s32 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr);
129 extern s32 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype);
H A Dwl_cfg80211.c1871 wl_iftype_t wl_iftype, in wl_cfg80211_p2p_if_add() argument
1891 if (wl_iftype == WL_IF_TYPE_P2P_DISC) { in wl_cfg80211_p2p_if_add()
1897 if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_cfg80211_p2p_if_add()
1907 if ((cfg->p2p->p2p_go_count > 0) && (wl_iftype == WL_IF_TYPE_P2P_GO)) { in wl_cfg80211_p2p_if_add()
1962 if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_cfg80211_p2p_if_add()
1972 dhd_mode = (wl_iftype == WL_IF_TYPE_P2P_GC) ? in wl_cfg80211_p2p_if_add()
1993 wl_iftype_t wl_iftype, u16 wl_mode) in wl_cfg80211_iface_state_ops() argument
2001 wl_if_state_strs[state], wl_iftype, wl_mode)); in wl_cfg80211_iface_state_ops()
2007 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_NAN_NMI)) { in wl_cfg80211_iface_state_ops()
2063 if (wl_iftype == WL_IF_TYPE_P2P_GC) { in wl_cfg80211_iface_state_ops()
[all …]
H A Dwl_cfg80211.h912 typedef enum wl_iftype { enum
2498 wl_iftype_to_str(int wl_iftype) in wl_iftype_to_str() argument
2500 switch (wl_iftype) { in wl_iftype_to_str()
2958 wl_iftype_t wl_iftype, const char *name, u8 *mac);
3071 wl_iftype_t wl_iftype, u16 wl_mode);
H A Dwl_iapsta.c2352 wl_ext_iftype_to_ifmode(struct net_device *net, int wl_iftype, ifmode_t *ifmode) in wl_ext_iftype_to_ifmode() argument
2354 switch (wl_iftype) { in wl_ext_iftype_to_ifmode()
2368 IAPSTA_ERROR(net->name, "Unknown interface wl_iftype:0x%x\n", wl_iftype); in wl_ext_iftype_to_ifmode()
2375 wl_ext_iapsta_update_iftype(struct net_device *net, int wl_iftype) in wl_ext_iapsta_update_iftype() argument
2382 IAPSTA_TRACE(net->name, "ifidx=%d, wl_iftype=%d\n", ifidx, wl_iftype); in wl_ext_iapsta_update_iftype()
2389 if (wl_iftype == WL_IF_TYPE_STA) { in wl_ext_iapsta_update_iftype()
2394 } else if (wl_iftype == WL_IF_TYPE_AP && cur_if->ifmode != IMESH_MODE) { in wl_ext_iapsta_update_iftype()
2399 } else if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_ext_iapsta_update_iftype()
2404 } else if (wl_iftype == WL_IF_TYPE_P2P_GC) { in wl_ext_iapsta_update_iftype()
2409 } else if (wl_iftype == WL_IF_TYPE_IBSS) { in wl_ext_iapsta_update_iftype()
[all …]
H A Dwl_android.c13349 u16 wl_iftype, wl_mode; in wl_cfg80211_static_if_open() local
13360 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
13368 wdev = wl_cfg80211_add_if(cfg, primary_ndev, wl_iftype, net->name, net->dev_addr); in wl_cfg80211_static_if_open()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_iapsta.h82 void wl_ext_iapsta_update_iftype(struct net_device *net, int wl_iftype);
83 bool wl_ext_iapsta_iftype_enabled(struct net_device *net, int wl_iftype);
H A Dwl_cfgvif.c878 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype) in wl_release_vif_macaddr() argument
892 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_AP) || in wl_release_vif_macaddr()
893 (wl_iftype == WL_IF_TYPE_P2P_GO) || (wl_iftype == WL_IF_TYPE_P2P_GC)) { in wl_release_vif_macaddr()
900 if (wl_iftype == WL_IF_TYPE_P2P_DISC) { in wl_release_vif_macaddr()
930 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr) in wl_get_vif_macaddr() argument
944 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) && p2p_dev_addr && in wl_get_vif_macaddr()
961 if (wl_iftype == WL_IF_TYPE_P2P_DISC || wl_iftype == WL_IF_TYPE_AP) { in wl_get_vif_macaddr()
963 } else if ((wl_iftype == WL_IF_TYPE_P2P_GO) || (wl_iftype == WL_IF_TYPE_P2P_GC)) { in wl_get_vif_macaddr()
968 if (wl_iftype == WL_IF_TYPE_P2P_DISC) { in wl_get_vif_macaddr()
1025 u16 wl_iftype; in wl_cfg80211_add_virtual_iface() local
[all …]
H A Dwl_cfgvif.h128 extern s32 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr);
129 extern s32 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype);
H A Dwl_cfg80211.c1885 wl_iftype_t wl_iftype, in wl_cfg80211_p2p_if_add() argument
1905 if (wl_iftype == WL_IF_TYPE_P2P_DISC) { in wl_cfg80211_p2p_if_add()
1911 if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_cfg80211_p2p_if_add()
1921 if ((cfg->p2p->p2p_go_count > 0) && (wl_iftype == WL_IF_TYPE_P2P_GO)) { in wl_cfg80211_p2p_if_add()
1976 if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_cfg80211_p2p_if_add()
1986 dhd_mode = (wl_iftype == WL_IF_TYPE_P2P_GC) ? in wl_cfg80211_p2p_if_add()
2007 wl_iftype_t wl_iftype, u16 wl_mode) in wl_cfg80211_iface_state_ops() argument
2015 wl_if_state_strs[state], wl_iftype, wl_mode)); in wl_cfg80211_iface_state_ops()
2021 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_NAN_NMI)) { in wl_cfg80211_iface_state_ops()
2077 if (wl_iftype == WL_IF_TYPE_P2P_GC) { in wl_cfg80211_iface_state_ops()
[all …]
H A Dwl_cfg80211.h912 typedef enum wl_iftype { enum
2501 wl_iftype_to_str(int wl_iftype) in wl_iftype_to_str() argument
2503 switch (wl_iftype) { in wl_iftype_to_str()
2961 wl_iftype_t wl_iftype, const char *name, u8 *mac);
3074 wl_iftype_t wl_iftype, u16 wl_mode);
H A Dwl_iapsta.c2529 wl_ext_iftype_to_ifmode(struct net_device *net, int wl_iftype, ifmode_t *ifmode) in wl_ext_iftype_to_ifmode() argument
2531 switch (wl_iftype) { in wl_ext_iftype_to_ifmode()
2545 IAPSTA_ERROR(net->name, "Unknown interface wl_iftype:0x%x\n", wl_iftype); in wl_ext_iftype_to_ifmode()
2552 wl_ext_iapsta_update_iftype(struct net_device *net, int wl_iftype) in wl_ext_iapsta_update_iftype() argument
2559 IAPSTA_TRACE(net->name, "ifidx=%d, wl_iftype=%d\n", ifidx, wl_iftype); in wl_ext_iapsta_update_iftype()
2566 if (wl_iftype == WL_IF_TYPE_STA) { in wl_ext_iapsta_update_iftype()
2574 } else if (wl_iftype == WL_IF_TYPE_AP && cur_if->ifmode != IMESH_MODE) { in wl_ext_iapsta_update_iftype()
2579 } else if (wl_iftype == WL_IF_TYPE_P2P_GO) { in wl_ext_iapsta_update_iftype()
2584 } else if (wl_iftype == WL_IF_TYPE_P2P_GC) { in wl_ext_iapsta_update_iftype()
2589 } else if (wl_iftype == WL_IF_TYPE_IBSS) { in wl_ext_iapsta_update_iftype()
[all …]
H A Dwl_android.c13505 u16 wl_iftype, wl_mode; in wl_cfg80211_static_if_open() local
13516 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
13524 wdev = wl_cfg80211_add_if(cfg, primary_ndev, wl_iftype, net->name, net->dev_addr); in wl_cfg80211_static_if_open()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android.h135 void wl_ext_iapsta_update_iftype(struct net_device *net, int ifidx, int wl_iftype);
136 bool wl_ext_iapsta_iftype_enabled(struct net_device *net, int wl_iftype);
H A Dwl_android_ext.c4439 wl_ext_iftype_to_ifmode(struct net_device *net, int wl_iftype, ifmode_t *ifmode) in wl_ext_iftype_to_ifmode() argument
4441 switch (wl_iftype) { in wl_ext_iftype_to_ifmode()
4455 AEXT_ERROR(net->name, "Unknown interface wl_iftype:0x%x\n", wl_iftype); in wl_ext_iftype_to_ifmode()
4462 wl_ext_iapsta_update_iftype(struct net_device *net, int ifidx, int wl_iftype) in wl_ext_iapsta_update_iftype() argument
4468 AEXT_TRACE(net->name, "ifidx=%d, wl_iftype=%d\n", ifidx, wl_iftype); in wl_ext_iapsta_update_iftype()
4475 if (wl_iftype == WLC_E_IF_ROLE_STA) { in wl_ext_iapsta_update_iftype()
4479 } else if (wl_iftype == WLC_E_IF_ROLE_AP && cur_if->ifmode != IMESH_MODE) { in wl_ext_iapsta_update_iftype()
4483 } else if (wl_iftype == WLC_E_IF_ROLE_P2P_GO) { in wl_ext_iapsta_update_iftype()
4488 } else if (wl_iftype == WLC_E_IF_ROLE_P2P_CLIENT) { in wl_ext_iapsta_update_iftype()
4513 wl_ext_iapsta_iftype_enabled(struct net_device *net, int wl_iftype) in wl_ext_iapsta_iftype_enabled() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfg80211.c2064 wl_iftype_t wl_iftype, argument
2087 if (wl_iftype == WL_IF_TYPE_P2P_DISC) {
2097 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
2111 ((cfg->p2p->p2p_go_count > 0) && (wl_iftype == WL_IF_TYPE_P2P_GO))) {
2165 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
2174 dhd_mode = (wl_iftype == WL_IF_TYPE_P2P_GC) ?
2216 wl_iftype_t wl_iftype, u16 wl_mode) argument
2226 wl_if_state_strs[state], wl_iftype, wl_mode));
2232 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_NAN_NMI)) {
2288 if (wl_iftype == WL_IF_TYPE_P2P_GC) {
[all …]
H A Dwl_cfg80211.h526 typedef enum wl_iftype { enum
2072 wl_iftype_to_str(int wl_iftype) in wl_iftype_to_str() argument
2074 switch (wl_iftype) { in wl_iftype_to_str()
2597 wl_iftype_t wl_iftype, const char *name, u8 *mac);
2618 extern s32 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr);
2619 extern s32 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype);
H A Dwl_android.c10156 u16 wl_iftype, wl_mode; in wl_cfg80211_static_if_open() local
10161 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
10165 wdev = wl_cfg80211_add_if(cfg, primary_ndev, wl_iftype, net->name, NULL); in wl_cfg80211_static_if_open()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfg80211.c2062 wl_iftype_t wl_iftype, argument
2085 if (wl_iftype == WL_IF_TYPE_P2P_DISC) {
2095 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
2109 ((cfg->p2p->p2p_go_count > 0) && (wl_iftype == WL_IF_TYPE_P2P_GO))) {
2163 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
2172 dhd_mode = (wl_iftype == WL_IF_TYPE_P2P_GC) ?
2214 wl_iftype_t wl_iftype, u16 wl_mode) argument
2224 wl_if_state_strs[state], wl_iftype, wl_mode));
2230 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_NAN_NMI)) {
2286 if (wl_iftype == WL_IF_TYPE_P2P_GC) {
[all …]
H A Dwl_cfg80211.h526 typedef enum wl_iftype { enum
2072 wl_iftype_to_str(int wl_iftype) in wl_iftype_to_str() argument
2074 switch (wl_iftype) { in wl_iftype_to_str()
2597 wl_iftype_t wl_iftype, const char *name, u8 *mac);
2618 extern s32 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr);
2619 extern s32 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype);
H A Dwl_android.c10562 u16 wl_iftype, wl_mode; in wl_cfg80211_static_if_open() local
10567 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
10571 wdev = wl_cfg80211_add_if(cfg, primary_ndev, wl_iftype, net->name, NULL); in wl_cfg80211_static_if_open()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfg80211.c1939 wl_iftype_t wl_iftype, argument
1962 if (wl_iftype == WL_IF_TYPE_P2P_DISC) {
1972 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
1986 ((cfg->p2p->p2p_go_count > 0) && (wl_iftype == WL_IF_TYPE_P2P_GO))) {
2040 if (wl_iftype == WL_IF_TYPE_P2P_GO) {
2049 dhd_mode = (wl_iftype == WL_IF_TYPE_P2P_GC) ?
2091 wl_iftype_t wl_iftype, u16 wl_mode) argument
2101 wl_if_state_strs[state], wl_iftype, wl_mode));
2107 if ((wl_iftype == WL_IF_TYPE_P2P_DISC) || (wl_iftype == WL_IF_TYPE_NAN_NMI)) {
2163 if (wl_iftype == WL_IF_TYPE_P2P_GC) {
[all …]
H A Dwl_cfg80211.h518 typedef enum wl_iftype { enum
2008 wl_iftype_to_str(int wl_iftype) in wl_iftype_to_str() argument
2010 switch (wl_iftype) { in wl_iftype_to_str()
2533 wl_iftype_t wl_iftype, const char *name, u8 *mac);
2554 extern s32 wl_get_vif_macaddr(struct bcm_cfg80211 *cfg, u16 wl_iftype, u8 *mac_addr);
2555 extern s32 wl_release_vif_macaddr(struct bcm_cfg80211 *cfg, u8 *mac_addr, u16 wl_iftype);
H A Dwl_android.c10464 u16 wl_iftype, wl_mode; in wl_cfg80211_static_if_open() local
10469 if (cfg80211_to_wl_iftype(iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_static_if_open()
10473 wdev = wl_cfg80211_add_if(cfg, primary_ndev, wl_iftype, net->name, NULL); in wl_cfg80211_static_if_open()