Home
last modified time | relevance | path

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

1234

/Linux-v5.10/net/wireless/
Dutil.c508 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument
539 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr()
547 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
548 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
549 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
553 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr()
554 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr()
555 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
556 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr()
558 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr()
[all …]
Dchan.c491 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 …]
Dwext-sme.c75 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()
Dwext-compat.c62 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 …]
Dap.c21 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()
Dcore.c227 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()
1118 switch (wdev->iftype) { in __cfg80211_unregister_wdev()
1154 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1159 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1174 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 …]
Dibss.c27 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()
Docb.c26 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()
Dnl80211.c1391 switch (wdev->iftype) { in nl80211_key_allowed()
2603 capab->iftype) || in nl80211_send_wiphy()
2878 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
2879 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
2880 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
2881 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
3006 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
3014 iftype = wdev->iftype; in __nl80211_set_channel()
3020 switch (iftype) { in __nl80211_set_channel()
3024 iftype)) { in __nl80211_set_channel()
[all …]
Dmesh.c110 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh()
264 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c184 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
210 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
419 if (vif->iftype != WILC_CLIENT_MODE) in connect()
435 if (vif->iftype != WILC_CLIENT_MODE) in connect()
474 if (vif->iftype != WILC_CLIENT_MODE) in disconnect()
558 if (priv->wdev.iftype == NL80211_IFTYPE_AP) { in add_key()
585 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
586 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
736 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
755 } else if (vif->iftype == WILC_STATION_MODE) { in get_station()
[all …]
/Linux-v5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c92 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 …]
Dcore.c103 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 …]
Devent.c38 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()
610 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_mic_failure()
648 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_update_owe()
Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/Linux-v5.10/drivers/net/wireless/marvell/libertas/
Dtx.c116 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.10/drivers/char/ipmi/
Dipmi_plat_data.c24 if (p->iftype == IPMI_PLAT_IF_SI) { in ipmi_platform_add()
36 } else if (p->iftype == IPMI_PLAT_IF_SSIF) { in ipmi_platform_add()
Dipmi_dmi.c49 p.iftype = IPMI_PLAT_IF_SI; in dmi_add_platform_ipmi()
53 p.iftype = IPMI_PLAT_IF_SSIF; in dmi_add_platform_ipmi()
Dipmi_plat_data.h12 enum ipmi_plat_interface_type iftype; member
/Linux-v5.10/net/ieee802154/
Dcore.c248 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.10/net/mac80211/
Diface.c244 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 …]
Dutil.c1951 enum nl80211_iftype iftype = in ieee80211_build_preq_ies_band() local
1953 __le16 cap = ieee80211_get_he_6ghz_capa(sband, iftype); in ieee80211_build_preq_ies_band()
2860 u8 ieee80211_ie_len_he_cap(struct ieee80211_sub_if_data *sdata, u8 iftype) in ieee80211_ie_len_he_cap() argument
2870 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_ie_len_he_cap()
2952 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_ie_build_he_6ghz_cap() local
2960 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()
3360 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_chandef_he_6ghz_oper() local
3373 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_chandef_he_6ghz_oper()
4001 WARN_ON((NUM_NL80211_IFTYPES / 8 + 1) > sizeof(cs[0].iftype)); in ieee80211_cs_list_valid()
4012 enum nl80211_iftype iftype) in ieee80211_cs_get() argument
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c810 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-v5.10/drivers/net/wireless/ath/wil6210/
Dnetdev.c299 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-v5.10/net/mac802154/
Diface.c266 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()

1234