Home
last modified time | relevance | path

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

1234

/linux/net/wireless/
H A Dutil.c292 switch (wdev->iftype) { in cfg80211_valid_key_idx()
403 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA && in cfg80211_validate_key_settings()
649 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument
682 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
683 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
684 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
688 if (unlikely(iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr()
689 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
690 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr()
694 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr()
[all …]
H A Dwext-compat.c60 if (type == wdev->iftype) in cfg80211_wext_siwmode()
79 switch (wdev->iftype) { in cfg80211_wext_giwmode()
426 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
427 wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_set_encryption()
445 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
452 wdev->iftype == NL80211_IFTYPE_ADHOC) { in cfg80211_set_encryption()
498 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
525 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
532 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
551 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
[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()
363 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
H A Dcore.c234 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device()
262 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan()
295 if (wdev->iftype != NL80211_IFTYPE_NAN || !wdev_running(wdev)) in cfg80211_nan_set_local_schedule()
333 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_PD)) in cfg80211_stop_pd()
372 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
449 if (wdev->iftype != NL80211_IFTYPE_NAN) in cfg80211_close_dependents()
454 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA) in cfg80211_close_dependents()
1435 switch (wdev->iftype) { in _cfg80211_unregister_wdev()
1465 if (wdev->iftype == NL80211_IFTYPE_STATION || in _cfg80211_unregister_wdev()
1466 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in _cfg80211_unregister_wdev()
[all …]
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 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.c1863 switch (wdev->iftype) { in nl80211_key_allowed()
3595 capab->iftype) || in nl80211_send_wiphy()
3920 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
3921 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
3922 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
3923 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
4112 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
4122 iftype = wdev->iftype; in __nl80211_set_channel()
4131 permit_npca = iftype == NL80211_IFTYPE_AP || in __nl80211_set_channel()
4132 iftype == NL80211_IFTYPE_P2P_GO; in __nl80211_set_channel()
[all …]
H A Dsme.c753 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result()
754 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_connect_result()
1090 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed()
1091 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed()
1294 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_port_authorized()
1295 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT && in __cfg80211_port_authorized()
1296 wdev->iftype != NL80211_IFTYPE_AP && in __cfg80211_port_authorized()
1297 wdev->iftype != NL80211_IFTYPE_P2P_GO)) in __cfg80211_port_authorized()
1300 if (wdev->iftype == NL80211_IFTYPE_STATION || in __cfg80211_port_authorized()
1301 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) { in __cfg80211_port_authorized()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
406 if (vif->iftype != WILC_CLIENT_MODE) in connect()
428 if (vif->iftype != WILC_CLIENT_MODE) in connect()
467 if (vif->iftype != WILC_CLIENT_MODE) in disconnect()
554 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
555 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
623 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
624 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) in add_key()
747 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
[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/drivers/net/wireless/quantenna/qtnfmac/
H A 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 (wdev->iftype) { in qtnf_dump_station()
521 if (wdev->iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station()
[all …]
H A Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/linux/drivers/net/wireless/marvell/libertas/
H A Dtx.c117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
160 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
192 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
/linux/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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-event.c788 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event() local
797 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event()
815 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event()
834 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event()
1265 int iftype = vif->type; in iwl_mvm_stop_roc() local
1269 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc()
1279 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc()
1303 iftype = te_data->vif->type; in iwl_mvm_stop_roc()
1304 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
1315 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
/linux/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()
H A Diface.c254 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument
269 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR && in ieee802154_check_concurrent_iface()
270 nsdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_check_concurrent_iface()
291 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open()
558 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
/linux/net/ieee802154/
H A Dcore.c277 int iftype, int num) in cfg802154_update_iface_num() argument
312 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call()
318 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
H A 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()
1574 if (wpan_dev->iftype != NL802154_IFTYPE_COORD) { in nl802154_send_beacons()
1923 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params()
2032 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_key()
2091 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_key()
2143 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_key()
[all …]
/linux/include/net/
H A Dcfg80211.h647 u8 iftype) in ieee80211_get_sband_iftype_data() argument
652 if (WARN_ON(iftype >= NUM_NL80211_IFTYPES)) in ieee80211_get_sband_iftype_data()
655 if (iftype == NL80211_IFTYPE_AP_VLAN) in ieee80211_get_sband_iftype_data()
656 iftype = NL80211_IFTYPE_AP; in ieee80211_get_sband_iftype_data()
659 if (data->types_mask & BIT(iftype)) in ieee80211_get_sband_iftype_data()
675 u8 iftype) in ieee80211_get_he_iftype_cap() argument
678 ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_get_he_iftype_cap()
695 enum nl80211_iftype iftype) in ieee80211_get_he_6ghz_capa() argument
698 ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_get_he_6ghz_capa()
715 enum nl80211_iftype iftype) in ieee80211_get_eht_iftype_cap() argument
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c836 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2126 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument
2137 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if()
2293 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local
2305 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif()
2308 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif()
2333 p2p_intf_addr, iftype); in brcmf_p2p_add_vif()
2371 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif()
2394 enum nl80211_iftype iftype; in brcmf_p2p_del_vif() local
2401 iftype = vif->wdev.iftype; in brcmf_p2p_del_vif()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c300 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument
334 wdev->iftype = iftype; in wil_vif_alloc()
424 wdev->iftype); in wil_vif_add()

1234