| /linux/net/wireless/ |
| H A D | wext-compat.c | 59 if (type == wdev->iftype) in cfg80211_wext_siwmode() 78 switch (wdev->iftype) { in cfg80211_wext_giwmode() 426 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 427 wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_set_encryption() 445 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 452 wdev->iftype == NL80211_IFTYPE_ADHOC) { in cfg80211_set_encryption() 498 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 525 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 532 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 551 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() [all …]
|
| H A D | core.c | 234 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 259 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 288 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1308 switch (wdev->iftype) { in _cfg80211_unregister_wdev() 1335 if (wdev->iftype == NL80211_IFTYPE_STATION || in _cfg80211_unregister_wdev() 1336 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in _cfg80211_unregister_wdev() 1364 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1369 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1386 switch (wdev->iftype) { in cfg80211_leave() 1481 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev() [all …]
|
| H A D | ibss.c | 28 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 297 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 346 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 405 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 433 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 481 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
| H A D | ocb.c | 27 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in cfg80211_join_ocb() 51 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in cfg80211_leave_ocb()
|
| H A D | ap.c | 26 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in ___cfg80211_stop_ap() 27 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in ___cfg80211_stop_ap()
|
| H A D | nl80211.c | 1666 switch (wdev->iftype) { in nl80211_key_allowed() 3188 capab->iftype) || in nl80211_send_wiphy() 3507 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 3508 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 3509 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 3510 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 3663 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 3672 iftype = wdev->iftype; in __nl80211_set_channel() 3681 iftype == NL80211_IFTYPE_MONITOR, in __nl80211_set_channel() 3686 switch (iftype) { in __nl80211_set_channel() [all …]
|
| H A D | sme.c | 753 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result() 754 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_connect_result() 1089 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed() 1090 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed() 1293 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_port_authorized() 1294 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT && in __cfg80211_port_authorized() 1295 wdev->iftype != NL80211_IFTYPE_AP && in __cfg80211_port_authorized() 1296 wdev->iftype != NL80211_IFTYPE_P2P_GO)) in __cfg80211_port_authorized() 1299 if (wdev->iftype == NL80211_IFTYPE_STATION || in __cfg80211_port_authorized() 1300 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in __cfg80211_port_authorized() [all …]
|
| H A D | mesh.c | 114 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh() 268 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in cfg80211_leave_mesh()
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 92 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations() 93 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations() 98 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations() 113 if (vif && vif->wdev.iftype == NL80211_IFTYPE_AP && in qtnf_validate_iface_combinations() 155 vif->wdev.iftype = type; in qtnf_change_virtual_intf() 191 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_del_virtual_intf() 234 vif->wdev.iftype = type; in qtnf_add_virtual_intf() 282 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_add_virtual_intf() 503 switch (vif->wdev.iftype) { in qtnf_dump_station() 523 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station() [all …]
|
| H A D | event.c | 38 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc() 116 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_deauth() 159 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_join() 295 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_leave() 470 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_event_handle_freq_change() 473 if (vif->wdev.iftype == NL80211_IFTYPE_STATION && in qtnf_event_handle_freq_change() 613 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_mic_failure() 651 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_update_owe()
|
| H A D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 19 enum nl80211_iftype iftype,
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | tx.c | 117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 153 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 185 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
|
| H A D | cmdresp.c | 42 if (priv->wdev->iftype == NL80211_IFTYPE_STATION) in lbs_mac_event_disconnected() 144 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR && in lbs_process_command_response()
|
| /linux/drivers/char/ipmi/ |
| H A 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()
|
| H A 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()
|
| H A D | ipmi_plat_data.h | 12 enum ipmi_plat_interface_type iftype; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | time-event.c | 793 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event() local 803 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event() 822 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event() 842 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event() 1271 int iftype = vif->type; in iwl_mvm_stop_roc() local 1275 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc() 1285 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc() 1310 iftype = te_data->vif->type; in iwl_mvm_stop_roc() 1311 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc() 1322 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
|
| /linux/net/mac802154/ |
| H A D | rx.c | 107 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd_worker() 115 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd_worker() 350 if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR) in __ieee802154_rx_handle_packet() 383 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_monitors_rx()
|
| H A D | iface.c | 254 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument 269 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR && in ieee802154_check_concurrent_iface() 270 nsdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_check_concurrent_iface() 291 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open() 556 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
|
| /linux/net/ieee802154/ |
| H A D | core.c | 270 int iftype, int num) in cfg802154_update_iface_num() argument 305 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call() 311 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | p2p.c | 810 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan() 2094 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument 2105 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if() 2261 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local 2273 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif() 2276 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif() 2301 p2p_intf_addr, iftype); in brcmf_p2p_add_vif() 2339 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif() 2362 enum nl80211_iftype iftype; in brcmf_p2p_del_vif() local 2369 iftype = vif->wdev.iftype; in brcmf_p2p_del_vif() [all …]
|
| /linux/include/net/ |
| H A D | cfg80211.h | 628 u8 iftype) in ieee80211_get_sband_iftype_data() argument 633 if (WARN_ON(iftype >= NUM_NL80211_IFTYPES)) in ieee80211_get_sband_iftype_data() 636 if (iftype == NL80211_IFTYPE_AP_VLAN) in ieee80211_get_sband_iftype_data() 637 iftype = NL80211_IFTYPE_AP; in ieee80211_get_sband_iftype_data() 640 if (data->types_mask & BIT(iftype)) in ieee80211_get_sband_iftype_data() 656 u8 iftype) in ieee80211_get_he_iftype_cap() argument 659 ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_get_he_iftype_cap() 676 enum nl80211_iftype iftype) in ieee80211_get_he_6ghz_capa() argument 679 ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_get_he_6ghz_capa() 696 enum nl80211_iftype iftype) in ieee80211_get_eht_iftype_cap() argument [all …]
|
| /linux/net/mac80211/ |
| H A D | iface.c | 342 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument 372 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface() 393 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface() 398 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 407 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 417 enum nl80211_iftype iftype) in ieee80211_check_queues() argument 422 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues() 425 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues() 436 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues() 437 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues() [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | netdev.c | 300 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument 334 wdev->iftype = iftype; in wil_vif_alloc() 424 wdev->iftype); in wil_vif_add()
|
| H A D | wmi.c | 1019 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect() 1020 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { in wmi_evt_connect() 1027 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect() 1028 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect() 1051 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect() 1052 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { in wmi_evt_connect() 1073 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect() 1074 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect() 1100 wil_err(wil, "unhandled iftype %d for CID %d\n", wdev->iftype, in wmi_evt_connect() 1146 switch (wdev->iftype) { in wmi_evt_disconnect() [all …]
|