/kernel/linux/linux-5.10/net/wireless/ |
D | util.c | 543 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument 574 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr() 582 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr() 583 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 584 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr() 588 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr() 589 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 590 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 591 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr() 593 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr() [all …]
|
D | chan.c | 491 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument 499 switch (iftype) { in cfg80211_chandef_dfs_required() 664 switch (wdev->iftype) { in cfg80211_beaconing_iface_active() 1090 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument 1103 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1104 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1105 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan() 1127 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1138 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1139 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() 421 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 422 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 445 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 521 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 573 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode() 574 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode() 636 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext() 637 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext() [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 | 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() 277 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1119 switch (wdev->iftype) { in __cfg80211_unregister_wdev() 1155 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1160 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1175 switch (wdev->iftype) { in __cfg80211_leave() 1277 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev() 1278 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_init_wdev() 1279 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_init_wdev() [all …]
|
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 | 1395 switch (wdev->iftype) { in nl80211_key_allowed() 2607 capab->iftype) || in nl80211_send_wiphy() 2882 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 2883 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 2884 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 2885 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 3010 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 3018 iftype = wdev->iftype; in __nl80211_set_channel() 3024 switch (iftype) { in __nl80211_set_channel() 3028 iftype)) { in __nl80211_set_channel() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 418 if (vif->iftype != WILC_CLIENT_MODE) in connect() 434 if (vif->iftype != WILC_CLIENT_MODE) in connect() 473 if (vif->iftype != WILC_CLIENT_MODE) in disconnect() 557 if (priv->wdev.iftype == NL80211_IFTYPE_AP) { in add_key() 584 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key() 585 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key() 735 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station() 754 } else if (vif->iftype == WILC_STATION_MODE) { in get_station() [all …]
|
/kernel/linux/linux-5.10/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() 501 switch (vif->wdev.iftype) { in qtnf_dump_station() 521 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() 192 ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, in qtnf_netdev_set_mac_address() 280 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif() 293 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif() 335 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler() 354 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf() 399 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri() 445 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc() 528 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach() 588 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() 294 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_leave() 469 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_event_handle_freq_change() 472 if (vif->wdev.iftype == NL80211_IFTYPE_STATION && in qtnf_event_handle_freq_change() 612 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_mic_failure() 650 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,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
D | util.c | 1961 enum nl80211_iftype iftype = in ieee80211_build_preq_ies_band() local 1963 __le16 cap = ieee80211_get_he_6ghz_capa(sband, iftype); in ieee80211_build_preq_ies_band() 2870 u8 ieee80211_ie_len_he_cap(struct ieee80211_sub_if_data *sdata, u8 iftype) in ieee80211_ie_len_he_cap() argument 2880 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_ie_len_he_cap() 2962 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_ie_build_he_6ghz_cap() local 2970 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap() 3370 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_chandef_he_6ghz_oper() local 3383 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_chandef_he_6ghz_oper() 4011 WARN_ON((NUM_NL80211_IFTYPES / 8 + 1) > sizeof(cs[0].iftype)); in ieee80211_cs_list_valid() 4022 enum nl80211_iftype iftype) in ieee80211_cs_get() argument [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|