Home
last modified time | relevance | path

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

1234

/linux-6.12.1/net/wireless/
Dchan.c656 enum nl80211_iftype iftype, in cfg80211_dfs_permissive_check_wdev() argument
668 if (wdev->iftype != NL80211_IFTYPE_STATION || in cfg80211_dfs_permissive_check_wdev()
697 enum nl80211_iftype iftype, in cfg80211_dfs_permissive_chan() argument
711 if (iftype != NL80211_IFTYPE_P2P_GO) in cfg80211_dfs_permissive_chan()
718 bool ret = cfg80211_dfs_permissive_check_wdev(rdev, iftype, in cfg80211_dfs_permissive_chan()
730 enum nl80211_iftype iftype) in cfg80211_get_chans_dfs_required() argument
744 !cfg80211_dfs_permissive_chan(wiphy, iftype, c)) in cfg80211_get_chans_dfs_required()
754 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument
762 switch (iftype) { in cfg80211_chandef_dfs_required()
773 width, iftype); in cfg80211_chandef_dfs_required()
[all …]
Dutil.c600 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument
633 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
634 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
635 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
639 if (unlikely(iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr()
640 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
641 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr()
645 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr()
646 iftype != NL80211_IFTYPE_P2P_CLIENT && in ieee80211_data_to_8023_exthdr()
647 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_data_to_8023_exthdr()
[all …]
Dwext-compat.c61 if (type == wdev->iftype) in cfg80211_wext_siwmode()
83 switch (wdev->iftype) { in cfg80211_wext_giwmode()
447 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
448 wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_set_encryption()
466 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
473 wdev->iftype == NL80211_IFTYPE_ADHOC) { in cfg80211_set_encryption()
519 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
546 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
553 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
572 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
[all …]
Dwext-sme.c75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq()
117 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq()
148 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid()
195 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid()
238 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap()
280 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap()
308 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie()
363 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
Docb.c27 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()
Dcore.c234 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()
1220 switch (wdev->iftype) { in _cfg80211_unregister_wdev()
1247 if (wdev->iftype == NL80211_IFTYPE_STATION || in _cfg80211_unregister_wdev()
1248 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in _cfg80211_unregister_wdev()
1276 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1281 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1297 switch (wdev->iftype) { in cfg80211_leave()
1390 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev()
[all …]
Dibss.c28 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()
Dap.c26 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()
Dnl80211.c1568 switch (wdev->iftype) { in nl80211_key_allowed()
3009 capab->iftype) || in nl80211_send_wiphy()
3322 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
3323 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
3324 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
3325 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
3483 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
3492 iftype = wdev->iftype; in __nl80211_set_channel()
3501 iftype == NL80211_IFTYPE_MONITOR, in __nl80211_set_channel()
3506 switch (iftype) { in __nl80211_set_channel()
[all …]
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
405 if (vif->iftype != WILC_CLIENT_MODE) in connect()
427 if (vif->iftype != WILC_CLIENT_MODE) in connect()
466 if (vif->iftype != WILC_CLIENT_MODE) in disconnect()
556 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
557 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
625 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
626 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) in add_key()
748 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
[all …]
Dnetdev.c100 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()
272 w = vif->iftype; in wilc_init_fw_config()
621 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open()
866 vif->iftype == WILC_STATION_MODE && is_auth) { in wilc_wfi_mgmt_rx()
966 vif->priv.wdev.iftype = type; in wilc_netdev_ifc_init()
970 vif->iftype = vif_type; in wilc_netdev_ifc_init()
/linux-6.12.1/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()
502 switch (vif->wdev.iftype) { in qtnf_dump_station()
522 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()
264 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif()
277 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif()
319 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler()
338 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf()
383 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri()
429 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc()
509 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach()
568 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()
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()
Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dtx.c117 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.12.1/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-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c794 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event() local
804 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event()
823 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event()
843 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event()
1289 int iftype = vif->type; in iwl_mvm_stop_roc() local
1293 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc()
1303 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc()
1328 iftype = te_data->vif->type; in iwl_mvm_stop_roc()
1329 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
1340 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
/linux-6.12.1/net/mac802154/
Drx.c107 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()
/linux-6.12.1/net/ieee802154/
Dcore.c270 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()
Dnl802154.c807 nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || in nl802154_send_iface()
842 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_send_iface()
1084 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id()
1119 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_short_addr()
1406 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_trigger_scan()
1578 if (wpan_dev->iftype != NL802154_IFTYPE_COORD) { in nl802154_send_beacons()
1929 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params()
2038 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_key()
2097 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_key()
2149 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_key()
[all …]
/linux-6.12.1/include/net/
Dcfg80211.h628 u8 iftype) in ieee80211_get_sband_iftype_data() argument
633 if (WARN_ON(iftype >= NL80211_IFTYPE_MAX)) 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-6.12.1/net/mac80211/
Diface.c329 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument
359 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface()
380 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface()
385 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
394 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
404 enum nl80211_iftype iftype) in ieee80211_check_queues() argument
409 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues()
412 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues()
423 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues()
424 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues()
[all …]

1234