Home
last modified time | relevance | path

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

1234

/Linux-v5.15/net/wireless/
Dutil.c544 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument
575 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr()
583 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
584 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
585 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
589 if (unlikely(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()
605 if ((iftype != NL80211_IFTYPE_STATION && 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()
1094 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument
1107 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
1108 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
1109 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan()
1131 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
1142 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
1143 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.c60 if (type == wdev->iftype) in cfg80211_wext_siwmode()
81 switch (wdev->iftype) { in cfg80211_wext_giwmode()
435 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
436 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption()
459 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption()
535 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
587 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode()
588 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode()
660 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext()
661 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()
281 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
1135 switch (wdev->iftype) { in _cfg80211_unregister_wdev()
1180 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1185 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1200 switch (wdev->iftype) { in __cfg80211_leave()
1300 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev()
1301 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_init_wdev()
1302 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_init_wdev()
[all …]
Dibss.c28 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined()
320 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq()
375 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq()
405 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid()
442 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid()
472 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap()
526 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.c1452 switch (wdev->iftype) { in nl80211_key_allowed()
2723 capab->iftype) || in nl80211_send_wiphy()
3003 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
3004 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
3005 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
3006 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
3131 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
3139 iftype = wdev->iftype; in __nl80211_set_channel()
3145 switch (iftype) { in __nl80211_set_channel()
3149 iftype)) { in __nl80211_set_channel()
[all …]
/Linux-v5.15/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.15/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()
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 …]
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()
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()
Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/Linux-v5.15/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.15/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.15/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()
Dnl802154.c788 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-v5.15/net/mac80211/
Diface.c241 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument
271 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface()
292 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface()
299 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
312 enum nl80211_iftype iftype) in ieee80211_check_queues() argument
317 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues()
320 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues()
331 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues()
332 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues()
333 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues()
[all …]
Dutil.c1972 enum nl80211_iftype iftype = in ieee80211_build_preq_ies_band() local
1974 __le16 cap = ieee80211_get_he_6ghz_capa(sband, iftype); in ieee80211_build_preq_ies_band()
2879 u8 ieee80211_ie_len_he_cap(struct ieee80211_sub_if_data *sdata, u8 iftype) in ieee80211_ie_len_he_cap() argument
2889 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_ie_len_he_cap()
2971 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_ie_build_he_6ghz_cap() local
2982 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap()
3382 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_chandef_he_6ghz_oper() local
3395 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_chandef_he_6ghz_oper()
4087 WARN_ON((NUM_NL80211_IFTYPES / 8 + 1) > sizeof(cs[0].iftype)); in ieee80211_cs_list_valid()
4098 enum nl80211_iftype iftype) in ieee80211_cs_get() argument
[all …]
/Linux-v5.15/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.15/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.15/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