Home
last modified time | relevance | path

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

123

/Linux-v4.19/net/wireless/
Dutil.c424 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument
455 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr()
463 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
464 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
465 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
469 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr()
470 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr()
471 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
472 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr()
474 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr()
[all …]
Dchan.c332 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument
340 switch (iftype) { in cfg80211_chandef_dfs_required()
504 switch (wdev->iftype) { in cfg80211_beaconing_iface_active()
833 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument
846 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
847 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
848 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan()
870 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
881 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
882 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()
207 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid()
245 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap()
293 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap()
317 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie()
372 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
Dwext-compat.c61 if (type == wdev->iftype) in cfg80211_wext_siwmode()
78 switch (wdev->iftype) { in cfg80211_wext_giwmode()
424 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
425 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption()
448 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption()
524 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
576 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode()
577 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode()
639 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext()
640 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext()
[all …]
Dcore.c213 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device()
236 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan()
261 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
1037 switch (wdev->iftype) { in cfg80211_unregister_wdev()
1059 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
1064 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
1077 switch (wdev->iftype) { in __cfg80211_leave()
1169 WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); in cfg80211_netdev_notifier_call()
1219 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_netdev_notifier_call()
1220 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_netdev_notifier_call()
[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()
Docb.c29 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_join_ocb()
67 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
Dibss.c27 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined()
313 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq()
368 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq()
398 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid()
435 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid()
465 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap()
519 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
Dnl80211.c1076 switch (wdev->iftype) { in nl80211_key_allowed()
2045 capab->iftype) || in nl80211_send_wiphy()
2285 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
2286 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
2287 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
2288 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
2371 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
2379 iftype = wdev->iftype; in __nl80211_set_channel()
2385 switch (iftype) { in __nl80211_set_channel()
2389 iftype)) { in __nl80211_set_channel()
[all …]
Dmesh.c109 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh()
263 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
Dsme.c687 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result()
688 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) { in __cfg80211_connect_result()
879 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed()
880 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed()
1007 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in __cfg80211_port_authorized()
1059 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_disconnected()
1060 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_disconnected()
1278 switch (wdev->iftype) { in cfg80211_autodisconnect_wk()
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c93 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit()
197 ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, in qtnf_netdev_set_mac_address()
271 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif()
284 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif()
313 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler()
332 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf()
388 mac->iflist[i].wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc()
422 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_net_attach()
447 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_net_attach()
472 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach()
[all …]
Dcfg80211.c102 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations()
103 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations()
108 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations()
149 vif->wdev.iftype = type; in qtnf_change_virtual_intf()
179 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_del_virtual_intf()
222 vif->wdev.iftype = type; in qtnf_add_virtual_intf()
257 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_add_virtual_intf()
584 (vif->wdev.iftype == NL80211_IFTYPE_AP) && in qtnf_del_station()
624 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) in qtnf_connect()
660 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_disconnect()
[all …]
Dcommands.h28 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
31 enum nl80211_iftype iftype, u8 *mac_addr);
Devent.c51 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc()
137 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_deauth()
168 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_join()
208 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_leave()
396 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_event_handle_freq_change()
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c916 if (priv->wdev->iftype == NL80211_IFTYPE_AP) { in add_key()
943 if (priv->wdev->iftype == NL80211_IFTYPE_AP || in add_key()
944 priv->wdev->iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
1097 if (vif->iftype == AP_MODE || vif->iftype == GO_MODE) { in get_station()
1116 } else if (vif->iftype == STATION_MODE) { in get_station()
1304 u8 iftype) in wilc_wfi_cfg_parse_tx_action() argument
1479 if (wdev->iftype == NL80211_IFTYPE_AP) { in remain_on_channel()
1511 u8 iftype, u32 buf_len) in wilc_wfi_cfg_tx_vendor_spec() argument
1542 oper_ch, iftype); in wilc_wfi_cfg_tx_vendor_spec()
1621 vif->iftype, in mgmt_tx()
[all …]
Dlinux_wlan.c51 if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { in dev_state_ev_handler()
71 if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { in dev_state_ev_handler()
767 vif->iftype, vif->ifc_id); in wilc_mac_open()
768 wilc_set_operation_mode(vif, vif->iftype); in wilc_mac_open()
1120 vif->iftype = STATION_MODE; in wilc_netdev_init()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dtx.c115 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
151 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
183 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
Dcmdresp.c42 if (priv->wdev->iftype == NL80211_IFTYPE_STATION) in lbs_mac_event_disconnected()
144 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR && in lbs_process_command_response()
/Linux-v4.19/net/ieee802154/
Dcore.c262 int iftype, int num) in cfg802154_update_iface_num() argument
294 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call()
300 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c795 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2009 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument
2020 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if()
2153 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local
2163 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif()
2166 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif()
2181 iftype); in brcmf_p2p_add_vif()
2217 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif()
2240 enum nl80211_iftype iftype; in brcmf_p2p_del_vif() local
2247 iftype = vif->wdev.iftype; in brcmf_p2p_del_vif()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dnetdev.c307 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument
341 wdev->iftype = iftype; in wil_vif_alloc()
432 wdev->iftype); in wil_vif_add()
Dcfg80211.c436 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_add_iface()
459 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_change_iface()
499 p2p_wdev->iftype = type; in wil_cfg80211_add_iface()
555 if (wdev->iftype != NL80211_IFTYPE_AP) in wil_vif_prepare_stop()
582 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wil_cfg80211_del_iface()
604 vif->mid, wdev->iftype, wdev->address); in wil_cfg80211_del_iface()
673 wdev->iftype = type; in wil_cfg80211_change_iface()
690 wil_dbg_misc(wil, "scan: wdev=0x%p iftype=%d\n", wdev, wdev->iftype); in wil_cfg80211_scan()
693 switch (wdev->iftype) { in wil_cfg80211_scan()
720 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wil_cfg80211_scan()
[all …]
/Linux-v4.19/net/mac80211/
Diface.c246 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument
276 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface()
297 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface()
304 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
317 enum nl80211_iftype iftype) in ieee80211_check_queues() argument
322 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues()
325 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues()
336 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues()
337 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues()
338 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues()
[all …]
/Linux-v4.19/net/mac802154/
Diface.c274 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument
290 if (wpan_dev->iftype == NL802154_IFTYPE_NODE && in ieee802154_check_concurrent_iface()
291 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface()
313 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open()
572 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()

123