Home
last modified time | relevance | path

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

1234

/linux-6.15/net/wireless/
H A Dchan.c651 enum nl80211_iftype iftype, in cfg80211_dfs_permissive_check_wdev() argument
692 enum nl80211_iftype iftype, in cfg80211_dfs_permissive_chan() argument
706 if (iftype != NL80211_IFTYPE_P2P_GO) in cfg80211_dfs_permissive_chan()
724 enum nl80211_iftype iftype) in cfg80211_get_chans_dfs_required() argument
744 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument
752 switch (iftype) { in cfg80211_chandef_dfs_required()
871 switch (wdev->iftype) { in cfg80211_beaconing_iface_active()
911 switch (wdev->iftype) { in cfg80211_wdev_on_sub_chan()
1389 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument
1434 enum nl80211_iftype iftype, in _cfg80211_reg_can_beacon() argument
[all …]
H A Dutil.c635 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
653 if (iftype != NL80211_IFTYPE_ADHOC && in ieee80211_data_to_8023_exthdr()
654 iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr()
655 iftype != NL80211_IFTYPE_OCB) in ieee80211_data_to_8023_exthdr()
2294 switch (wdev->iftype) { in cfg80211_wdev_bi()
2385 int i, j, n, iftype; in cfg80211_iter_combinations() local
2416 for (iftype = 0; iftype < NUM_NL80211_IFTYPES; iftype++) { in cfg80211_iter_combinations()
2418 if (params->iftype_num[iftype] > 0 && in cfg80211_iter_combinations()
2420 used_iftypes |= BIT(iftype); in cfg80211_iter_combinations()
2445 for (iftype = 0; iftype < NUM_NL80211_IFTYPES; iftype++) { in cfg80211_iter_combinations()
[all …]
H A Dwext-compat.c59 if (type == wdev->iftype) in cfg80211_wext_siwmode()
78 switch (wdev->iftype) { in cfg80211_wext_giwmode()
574 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode()
644 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext()
734 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_giwencode()
777 switch (wdev->iftype) { in cfg80211_wext_siwfreq()
822 switch (wdev->iftype) { in cfg80211_wext_giwfreq()
1368 switch (wdev->iftype) { in cfg80211_wext_siwap()
1388 switch (wdev->iftype) { in cfg80211_wext_giwap()
1408 switch (wdev->iftype) { in cfg80211_wext_siwessid()
[all …]
H A 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()
354 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
H A 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()
H A Dcore.c256 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan()
285 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
1265 switch (wdev->iftype) { in _cfg80211_unregister_wdev()
1292 if (wdev->iftype == NL80211_IFTYPE_STATION || in _cfg80211_unregister_wdev()
1293 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in _cfg80211_unregister_wdev()
1321 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1326 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1342 switch (wdev->iftype) { in cfg80211_leave()
1437 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev()
1579 switch (wdev->iftype) { in cfg80211_netdev_notifier_call()
[all …]
H A 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()
H A 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()
H A Dnl80211.c1591 switch (wdev->iftype) { in nl80211_key_allowed()
3038 capab->iftype) || in nl80211_send_wiphy()
3519 iftype = wdev->iftype; in __nl80211_set_channel()
3533 switch (iftype) { in __nl80211_set_channel()
3537 iftype)) in __nl80211_set_channel()
4316 switch (iftype) { in nl80211_valid_4addr()
6260 beacon_check.iftype = wdev->iftype; in nl80211_start_ap()
6423 beacon_check.iftype = wdev->iftype; in nl80211_set_beacon()
6519 switch (iftype) { in parse_station_flags()
10420 wdev->iftype); in nl80211_channel_switch()
[all …]
H A Dsme.c754 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result()
755 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_connect_result()
1087 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed()
1088 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed()
1292 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT && in __cfg80211_port_authorized()
1293 wdev->iftype != NL80211_IFTYPE_AP && in __cfg80211_port_authorized()
1294 wdev->iftype != NL80211_IFTYPE_P2P_GO)) in __cfg80211_port_authorized()
1297 if (wdev->iftype == NL80211_IFTYPE_STATION || in __cfg80211_port_authorized()
1298 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in __cfg80211_port_authorized()
1353 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_disconnected()
[all …]
/linux-6.15/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c749 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
1368 priv->wdev.iftype = type; in change_virtual_intf()
1370 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) in change_virtual_intf()
1385 priv->wdev.iftype = type; in change_virtual_intf()
1396 priv->wdev.iftype = type; in change_virtual_intf()
1469 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in add_station()
1490 if (!(vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE)) in del_station()
1510 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in change_station()
1523 if (vif->iftype == type) in wilc_get_vif_from_type()
1539 int iftype; in add_virtual_intf() local
[all …]
H A Dnetdev.c106 if (vif->iftype == WILC_STATION_MODE) in get_if_handler()
111 if (vif->iftype == WILC_AP_MODE) in get_if_handler()
131 vif->iftype = mode; in wilc_wlan_set_bssid()
282 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()
876 vif->iftype == WILC_STATION_MODE && is_auth) { in wilc_wfi_mgmt_rx()
974 vif->priv.wdev.iftype = type; in wilc_netdev_ifc_init()
978 vif->iftype = vif_type; in wilc_netdev_ifc_init()
/linux-6.15/drivers/net/wireless/quantenna/qtnfmac/
H A Dcfg80211.c93 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations()
98 params.iftype_num[change_vif->wdev.iftype]--; 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()
626 (vif->wdev.iftype == NL80211_IFTYPE_AP) && in qtnf_del_station()
671 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) in qtnf_connect()
[all …]
H A 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 …]
H A 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()
H A Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/linux-6.15/drivers/net/wireless/marvell/libertas/
H A 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.15/drivers/char/ipmi/
H A 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()
H A 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()
H A Dipmi_plat_data.h12 enum ipmi_plat_interface_type iftype; member
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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()
1291 int iftype = vif->type; in iwl_mvm_stop_roc() local
1295 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc()
1305 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc()
1330 iftype = te_data->vif->type; in iwl_mvm_stop_roc()
1331 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
1342 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
/linux-6.15/net/mac802154/
H A 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.15/net/ieee802154/
H A 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()
/linux-6.15/include/net/
H A Dcfg80211.h631 u8 iftype) in ieee80211_get_sband_iftype_data() argument
640 iftype = NL80211_IFTYPE_AP; in ieee80211_get_sband_iftype_data()
659 u8 iftype) in ieee80211_get_he_iftype_cap() argument
679 enum nl80211_iftype iftype) in ieee80211_get_he_6ghz_capa() argument
1050 enum nl80211_iftype iftype);
5401 enum nl80211_iftype iftype; member
6341 enum nl80211_iftype iftype; member
9000 enum nl80211_iftype iftype; member
9030 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon() argument
9033 .iftype = iftype, in cfg80211_reg_can_beacon()
[all …]
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c2103 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument
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()
2381 switch (iftype) { in brcmf_p2p_del_vif()
2411 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in brcmf_p2p_del_vif()
[all …]

1234