Home
last modified time | relevance | path

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

1234

/linux/net/wireless/
A Dutil.c577 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr()
587 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
593 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr()
624 if (iftype != NL80211_IFTYPE_ADHOC && in ieee80211_data_to_8023_exthdr()
625 iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr()
626 iftype != NL80211_IFTYPE_OCB) in ieee80211_data_to_8023_exthdr()
1857 int i, j, iftype; in cfg80211_iter_combinations() local
1884 for (iftype = 0; iftype < NUM_NL80211_IFTYPES; iftype++) { in cfg80211_iter_combinations()
1886 if (params->iftype_num[iftype] > 0 && in cfg80211_iter_combinations()
1888 used_iftypes |= BIT(iftype); in cfg80211_iter_combinations()
[all …]
A 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()
1187 enum nl80211_iftype iftype, in _cfg80211_reg_can_beacon() argument
1213 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon() argument
1221 enum nl80211_iftype iftype) in cfg80211_reg_can_beacon_relax() argument
1268 switch (wdev->iftype) { in cfg80211_get_chan_state()
1304 wdev->iftype); in cfg80211_get_chan_state()
[all …]
A 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()
A Dwext-compat.c60 if (type == wdev->iftype) in cfg80211_wext_siwmode()
81 switch (wdev->iftype) { in cfg80211_wext_giwmode()
588 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode()
661 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext()
750 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_giwencode()
792 switch (wdev->iftype) { in cfg80211_wext_siwfreq()
855 switch (wdev->iftype) { in cfg80211_wext_giwfreq()
1410 switch (wdev->iftype) { in cfg80211_wext_siwap()
1435 switch (wdev->iftype) { in cfg80211_wext_giwap()
1460 switch (wdev->iftype) { in cfg80211_wext_siwessid()
[all …]
A Dcore.c252 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan()
281 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
1145 switch (wdev->iftype) { in _cfg80211_unregister_wdev()
1190 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1195 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1210 switch (wdev->iftype) { in __cfg80211_leave()
1310 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev()
1311 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_init_wdev()
1447 cfg80211_update_iface_num(rdev, wdev->iftype, 1); in cfg80211_netdev_notifier_call()
1449 switch (wdev->iftype) { in cfg80211_netdev_notifier_call()
[all …]
A 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()
A 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()
A 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()
A Dnl80211.c1470 switch (wdev->iftype) { in nl80211_key_allowed()
2770 capab->iftype) || in nl80211_send_wiphy()
3189 iftype = wdev->iftype; in __nl80211_set_channel()
3195 switch (iftype) { in __nl80211_set_channel()
3199 iftype)) { in __nl80211_set_channel()
3663 switch (wdev->iftype) { in nl80211_send_iface()
3910 switch (iftype) { in nl80211_valid_4addr()
5604 wdev->iftype)) { in nl80211_start_ap()
5832 switch (iftype) { in parse_station_flags()
9551 wdev->iftype); in nl80211_channel_switch()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
A Dcfg80211.c736 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
1303 priv->wdev.iftype = type; in change_virtual_intf()
1305 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) in change_virtual_intf()
1320 priv->wdev.iftype = type; in change_virtual_intf()
1331 priv->wdev.iftype = type; in change_virtual_intf()
1403 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in add_station()
1424 if (!(vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE)) in del_station()
1444 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in change_station()
1457 if (vif->iftype == type) in wilc_get_vif_from_type()
1473 int iftype; in add_virtual_intf() local
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/
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()
501 switch (vif->wdev.iftype) { in qtnf_dump_station()
521 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station()
623 (vif->wdev.iftype == NL80211_IFTYPE_AP) && in qtnf_del_station()
668 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) in qtnf_connect()
[all …]
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()
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 …]
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()
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()
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/
A 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/net/ieee802154/
A Dnl802154.c823 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_send_iface()
1066 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id()
1393 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params()
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()
1772 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_dev()
1790 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_dev()
1924 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_devkey()
1958 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_devkey()
2124 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_seclevel()
[all …]
A 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/drivers/char/ipmi/
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()
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()
A Dipmi_plat_data.h12 enum ipmi_plat_interface_type iftype; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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 …]
/linux/net/mac80211/
A 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()
805 switch (iftype) { in ieee80211_iftype_supports_hdr_offload()
[all …]
A Dutil.c1979 enum nl80211_iftype iftype = in ieee80211_build_preq_ies_band() local
4120 enum nl80211_iftype iftype) in ieee80211_cs_get() argument
4134 if (!cs || !(cs->iftype & BIT(iftype))) in ieee80211_cs_get()
4142 enum nl80211_iftype iftype) in ieee80211_cs_headroom() argument
4150 iftype); in ieee80211_cs_headroom()
4387 enum nl80211_iftype iftype = sdata->wdev.iftype; in ieee80211_check_combinations() local
4426 if (iftype != NL80211_IFTYPE_UNSPECIFIED) in ieee80211_check_combinations()
4427 params.iftype_num[iftype] = 1; in ieee80211_check_combinations()
4453 wdev_iter->iftype, 0, 1)) in ieee80211_check_combinations()
4456 params.iftype_num[wdev_iter->iftype]++; in ieee80211_check_combinations()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
A 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/net/mac802154/
A Diface.c265 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument
281 if (wpan_dev->iftype == NL802154_IFTYPE_NODE && in ieee802154_check_concurrent_iface()
282 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface()
304 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open()
563 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()

Completed in 104 milliseconds

1234