/linux-6.1.9/net/wireless/ |
D | util.c | 546 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument 577 if (iftype == NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 586 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr() 587 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 588 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr() 592 if (unlikely(iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 593 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 594 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr() 596 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr() 609 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr() [all …]
|
D | chan.c | 541 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument 549 switch (iftype) { in cfg80211_chandef_dfs_required() 718 switch (wdev->iftype) { in cfg80211_beaconing_iface_active() 758 switch (wdev->iftype) { in cfg80211_wdev_on_sub_chan() 1217 static bool cfg80211_ir_permissive_check_wdev(enum nl80211_iftype iftype, in cfg80211_ir_permissive_check_wdev() argument 1226 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_check_wdev() 1237 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_check_wdev() 1238 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_check_wdev() 1289 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument 1302 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() [all …]
|
D | wext-compat.c | 60 if (type == wdev->iftype) in cfg80211_wext_siwmode() 81 switch (wdev->iftype) { in cfg80211_wext_giwmode() 438 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 439 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 457 (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 464 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 510 (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 537 (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 544 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 563 (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() [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() 157 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid() 211 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid() 256 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap() 304 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap() 334 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie() 389 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
|
D | core.c | 227 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 252 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 281 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1166 switch (wdev->iftype) { in _cfg80211_unregister_wdev() 1193 if (wdev->iftype == NL80211_IFTYPE_STATION || in _cfg80211_unregister_wdev() 1194 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in _cfg80211_unregister_wdev() 1222 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1227 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1244 switch (wdev->iftype) { in __cfg80211_leave() 1344 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev() [all …]
|
D | ocb.c | 27 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_join_ocb() 65 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
|
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()
|
D | ibss.c | 28 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 318 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 373 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 403 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 440 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 470 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 524 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
D | nl80211.c | 1536 switch (wdev->iftype) { in nl80211_key_allowed() 2871 capab->iftype) || in nl80211_send_wiphy() 3170 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 3171 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 3172 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 3173 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 3308 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 3317 iftype = wdev->iftype; in __nl80211_set_channel() 3329 switch (iftype) { in __nl80211_set_channel() 3333 iftype)) in __nl80211_set_channel() [all …]
|
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 185 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 211 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 408 if (vif->iftype != WILC_CLIENT_MODE) in connect() 431 if (vif->iftype != WILC_CLIENT_MODE) in connect() 470 if (vif->iftype != WILC_CLIENT_MODE) in disconnect() 560 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key() 561 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key() 629 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key() 630 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) in add_key() 752 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station() [all …]
|
D | netdev.c | 100 if (vif->iftype == WILC_STATION_MODE) in get_if_handler() 105 if (vif->iftype == WILC_AP_MODE) in get_if_handler() 125 vif->iftype = mode; in wilc_wlan_set_bssid() 257 w = vif->iftype; in wilc_init_fw_config() 597 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open() 853 vif->iftype == WILC_STATION_MODE && is_auth) { in wilc_wfi_mgmt_rx() 966 vif->priv.wdev.iftype = type; in wilc_netdev_ifc_init() 987 vif->iftype = vif_type; in wilc_netdev_ifc_init()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
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() 502 switch (vif->wdev.iftype) { in qtnf_dump_station() 522 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station() [all …]
|
D | core.c | 103 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 177 ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, in qtnf_netdev_set_mac_address() 279 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif() 292 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif() 334 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler() 353 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf() 398 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri() 444 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc() 523 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach() 582 ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, in qtnf_core_mac_attach() [all …]
|
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()
|
D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 19 enum nl80211_iftype iftype,
|
/linux-6.1.9/drivers/net/wireless/marvell/libertas/ |
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()
|
/linux-6.1.9/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-6.1.9/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()
|
D | nl802154.c | 788 nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || in nl802154_send_iface() 823 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_send_iface() 1066 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id() 1102 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_short_addr() 1393 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params() 1502 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_key() 1561 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_key() 1613 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_key() 1681 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_dev() 1772 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_dev() [all …]
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 810 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan() 2103 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument 2114 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if() 2271 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local 2283 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif() 2286 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif() 2311 p2p_intf_addr, iftype); in brcmf_p2p_add_vif() 2349 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif() 2372 enum nl80211_iftype iftype; in brcmf_p2p_del_vif() local 2379 iftype = vif->wdev.iftype; in brcmf_p2p_del_vif() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 299 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument 333 wdev->iftype = iftype; in wil_vif_alloc() 423 wdev->iftype); in wil_vif_add()
|
/linux-6.1.9/net/mac80211/ |
D | iface.c | 310 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument 340 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface() 361 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface() 366 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 375 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 388 enum nl80211_iftype iftype) in ieee80211_check_queues() argument 393 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues() 396 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues() 407 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues() 408 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues() [all …]
|
/linux-6.1.9/net/mac802154/ |
D | iface.c | 265 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument 281 if (wpan_dev->iftype == NL802154_IFTYPE_NODE && in ieee802154_check_concurrent_iface() 282 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface() 304 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open() 563 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
|