/Linux-v5.4/net/wireless/ |
D | util.c | 451 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument 482 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr() 490 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr() 491 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 492 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr() 496 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr() 497 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 498 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 499 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr() 501 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr() [all …]
|
D | chan.c | 434 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument 442 switch (iftype) { in cfg80211_chandef_dfs_required() 606 switch (wdev->iftype) { in cfg80211_beaconing_iface_active() 1000 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument 1013 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1014 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1015 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan() 1037 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1048 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1049 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() [all …]
|
D | wext-sme.c | 75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq() 124 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq() 154 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid() 208 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid() 249 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap() 297 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap() 321 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie() 376 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
|
D | wext-compat.c | 62 if (type == wdev->iftype) in cfg80211_wext_siwmode() 79 switch (wdev->iftype) { in cfg80211_wext_giwmode() 422 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 423 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 446 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 522 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 574 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode() 575 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode() 637 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext() 638 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext() [all …]
|
D | core.c | 227 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 250 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 275 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1092 switch (wdev->iftype) { in __cfg80211_unregister_wdev() 1127 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1132 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1147 switch (wdev->iftype) { in __cfg80211_leave() 1266 WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); in cfg80211_netdev_notifier_call() 1299 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_netdev_notifier_call() 1300 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_netdev_notifier_call() [all …]
|
D | ap.c | 21 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in __cfg80211_stop_ap() 22 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in __cfg80211_stop_ap()
|
D | ibss.c | 27 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 319 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 404 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 441 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 471 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 525 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
D | ocb.c | 26 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_join_ocb() 64 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
|
D | nl80211.c | 1277 switch (wdev->iftype) { in nl80211_key_allowed() 2384 capab->iftype) || in nl80211_send_wiphy() 2653 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 2654 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 2655 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 2656 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 2771 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 2779 iftype = wdev->iftype; in __nl80211_set_channel() 2785 switch (iftype) { in __nl80211_set_channel() 2789 iftype)) { in __nl80211_set_channel() [all …]
|
D | mesh.c | 109 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh() 263 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
|
/Linux-v5.4/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 151 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 176 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 384 if (vif->iftype != WILC_CLIENT_MODE) in connect() 400 if (vif->iftype != WILC_CLIENT_MODE) in connect() 438 if (vif->iftype != WILC_CLIENT_MODE) in disconnect() 523 if (priv->wdev.iftype == NL80211_IFTYPE_AP) { in add_key() 550 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key() 551 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key() 704 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station() 723 } else if (vif->iftype == WILC_STATION_MODE) { in get_station() [all …]
|
/Linux-v5.4/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 86 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 190 ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, in qtnf_netdev_set_mac_address() 265 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif() 278 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif() 320 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler() 339 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf() 384 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri() 417 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc() 455 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_net_attach() 480 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_net_attach() [all …]
|
D | cfg80211.c | 91 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations() 92 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations() 97 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations() 139 vif->wdev.iftype = type; in qtnf_change_virtual_intf() 175 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_del_virtual_intf() 218 vif->wdev.iftype = type; in qtnf_add_virtual_intf() 259 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_add_virtual_intf() 476 switch (vif->wdev.iftype) { in qtnf_dump_station() 496 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station() 598 (vif->wdev.iftype == NL80211_IFTYPE_AP) && in qtnf_del_station() [all …]
|
D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 19 enum nl80211_iftype iftype,
|
D | event.c | 38 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc() 124 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_deauth() 168 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_join() 314 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_leave() 497 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_event_handle_freq_change() 500 if (vif->wdev.iftype == NL80211_IFTYPE_STATION && in qtnf_event_handle_freq_change()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | tx.c | 116 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 152 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 184 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
|
/Linux-v5.4/drivers/char/ipmi/ |
D | ipmi_plat_data.c | 24 if (p->iftype == IPMI_PLAT_IF_SI) { in ipmi_platform_add() 36 } else if (p->iftype == IPMI_PLAT_IF_SSIF) { in ipmi_platform_add()
|
D | ipmi_dmi.c | 49 p.iftype = IPMI_PLAT_IF_SI; in dmi_add_platform_ipmi() 53 p.iftype = IPMI_PLAT_IF_SSIF; in dmi_add_platform_ipmi()
|
D | ipmi_plat_data.h | 12 enum ipmi_plat_interface_type iftype; member
|
/Linux-v5.4/net/ieee802154/ |
D | core.c | 248 int iftype, int num) in cfg802154_update_iface_num() argument 280 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call() 286 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 788 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan() 2023 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument 2034 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if() 2169 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local 2179 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif() 2182 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif() 2197 iftype); in brcmf_p2p_add_vif() 2233 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif() 2256 enum nl80211_iftype iftype; in brcmf_p2p_del_vif() local 2263 iftype = vif->wdev.iftype; in brcmf_p2p_del_vif() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 310 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument 344 wdev->iftype = iftype; in wil_vif_alloc() 434 wdev->iftype); in wil_vif_add()
|
D | cfg80211.c | 624 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_add_iface() 647 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_change_iface() 687 p2p_wdev->iftype = type; in wil_cfg80211_add_iface() 743 if (wdev->iftype != NL80211_IFTYPE_AP) in wil_vif_prepare_stop() 770 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wil_cfg80211_del_iface() 792 vif->mid, wdev->iftype, wdev->address); in wil_cfg80211_del_iface() 835 !wil_is_safe_switch(wdev->iftype, type)) { in wil_cfg80211_change_iface() 872 wdev->iftype = type; in wil_cfg80211_change_iface() 889 wil_dbg_misc(wil, "scan: wdev=0x%p iftype=%d\n", wdev, wdev->iftype); in wil_cfg80211_scan() 892 switch (wdev->iftype) { in wil_cfg80211_scan() [all …]
|
/Linux-v5.4/net/mac80211/ |
D | iface.c | 244 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument 274 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface() 295 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface() 302 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 315 enum nl80211_iftype iftype) in ieee80211_check_queues() argument 320 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues() 323 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues() 334 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues() 335 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues() 336 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues() [all …]
|
/Linux-v5.4/net/mac802154/ |
D | iface.c | 266 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument 282 if (wpan_dev->iftype == NL802154_IFTYPE_NODE && in ieee802154_check_concurrent_iface() 283 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface() 305 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open() 564 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
|