Home
last modified time | relevance | path

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

/linux-4.4.14/net/wireless/
Dutil.c413 enum nl80211_iftype iftype) in ieee80211_data_to_8023() argument
441 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023()
442 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023()
443 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023()
447 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023()
448 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023()
449 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023()
450 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023()
452 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023()
472 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023()
[all …]
Dchan.c331 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument
339 switch (iftype) { in cfg80211_chandef_dfs_required()
710 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument
723 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
724 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
725 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan()
747 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan()
758 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
759 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan()
802 enum nl80211_iftype iftype, in _cfg80211_reg_can_beacon() argument
[all …]
Dwext-sme.c75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq()
147 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq()
177 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid()
230 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid()
268 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap()
316 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap()
340 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie()
395 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
Dwext-compat.c95 if (type == wdev->iftype) in cfg80211_wext_siwmode()
112 switch (wdev->iftype) { in cfg80211_wext_giwmode()
454 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
455 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption()
478 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption()
545 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption()
597 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode()
598 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode()
660 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext()
661 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext()
[all …]
Dcore.c208 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device()
239 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces()
864 switch (wdev->iftype) { in cfg80211_unregister_wdev()
881 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument
886 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num()
899 switch (wdev->iftype) { in __cfg80211_leave()
988 WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); in cfg80211_netdev_notifier_call()
1030 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_netdev_notifier_call()
1031 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_netdev_notifier_call()
1032 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_netdev_notifier_call()
[all …]
Dap.c20 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in __cfg80211_stop_ap()
21 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()
64 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
Dibss.c26 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined()
319 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq()
374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq()
404 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid()
441 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid()
471 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap()
525 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
Dnl80211.c888 switch (wdev->iftype) { in nl80211_key_allowed()
1925 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
1926 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
1927 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
1928 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
2002 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
2010 iftype = wdev->iftype; in __nl80211_set_channel()
2016 switch (iftype) { in __nl80211_set_channel()
2020 iftype)) { in __nl80211_set_channel()
2081 if (wdev->iftype != NL80211_IFTYPE_WDS) in nl80211_set_wds_peer()
[all …]
Dmesh.c108 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh()
249 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
Dmlme.c464 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) in cfg80211_mlme_register_mgmt()
578 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx()
587 switch (wdev->iftype) { in cfg80211_mlme_mgmt_tx()
606 if (wdev->iftype == NL80211_IFTYPE_ADHOC) in cfg80211_mlme_mgmt_tx()
661 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt()
Dsme.c650 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result()
651 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) { in __cfg80211_connect_result()
791 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed()
792 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed()
906 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_disconnected()
907 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_disconnected()
Dcore.h421 enum nl80211_iftype iftype,
476 enum nl80211_iftype iftype, int num);
Dreg.c1609 enum nl80211_iftype iftype; in reg_wdev_chan_valid() local
1612 iftype = wdev->iftype; in reg_wdev_chan_valid()
1618 switch (iftype) { in reg_wdev_chan_valid()
1655 switch (iftype) { in reg_wdev_chan_valid()
1659 return cfg80211_reg_can_beacon_relax(wiphy, &chandef, iftype); in reg_wdev_chan_valid()
Dtrace.h2361 enum nl80211_iftype iftype, bool check_no_ir),
2362 TP_ARGS(wiphy, chandef, iftype, check_no_ir),
2366 __field(enum nl80211_iftype, iftype)
2372 __entry->iftype = iftype;
2376 WIPHY_PR_ARG, CHAN_DEF_PR_ARG, __entry->iftype,
/linux-4.4.14/drivers/net/wireless/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()
186 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
Dcmdresp.c41 if (priv->wdev->iftype == NL80211_IFTYPE_STATION) in lbs_mac_event_disconnected()
141 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR && in lbs_process_command_response()
Dmain.c111 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type()
117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type()
149 ret = lbs_set_iface_type(priv, priv->wdev->iftype); in lbs_start_iface()
975 wdev->iftype = NL80211_IFTYPE_STATION; in lbs_add_card()
Drx.c74 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_process_rxed_packet()
Dmesh.c951 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_mesh_dev_open()
1009 mesh_wdev->iftype = NL80211_IFTYPE_MESH_POINT; in lbs_add_mesh()
Dcfg.c1678 priv->wdev->iftype = type; in lbs_change_intf()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1107 if (priv->wdev->iftype == NL80211_IFTYPE_AP) { in add_key()
1147 if (priv->wdev->iftype == NL80211_IFTYPE_AP || priv->wdev->iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
1531 if (nic->iftype == AP_MODE || nic->iftype == GO_MODE) { in get_station()
1558 if (nic->iftype == STATION_MODE) { in get_station()
1860 void WILC_WFI_CfgParseTxAction(u8 *buf, u32 len, bool bOperChan, u8 iftype) in WILC_WFI_CfgParseTxAction() argument
2130 if (wdev->iftype == NL80211_IFTYPE_AP) { in remain_on_channel()
2293 WILC_WFI_CfgParseTxAction(&mgmt_tx->buff[i + 6], len - (i + 6), true, nic->iftype); in mgmt_tx()
2298 WILC_WFI_CfgParseTxAction(&mgmt_tx->buff[i + 6], len - (i + 6), false, nic->iftype); in mgmt_tx()
2565 dev->ieee80211_ptr->iftype = type; in change_virtual_intf()
2566 priv->wdev->iftype = type; in change_virtual_intf()
[all …]
Dlinux_wlan.c176 if (nic->iftype == STATION_MODE || nic->iftype == CLIENT_MODE) { in dev_state_ev_handler()
198 if (nic->iftype == STATION_MODE || nic->iftype == CLIENT_MODE) { in dev_state_ev_handler()
529 if (nic->iftype == AP_MODE) in linux_wlan_get_firmware()
531 else if (nic->iftype == STATION_MODE) in linux_wlan_get_firmware()
1762 nic->iftype = STATION_MODE; in wilc_netdev_init()
Dwilc_wfi_netdevice.h196 u8 iftype; member
/linux-4.4.14/net/ieee802154/
Dcore.c217 int iftype, int num) in cfg802154_update_iface_num() argument
249 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call()
255 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
Dnl802154.c813 nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || in nl802154_send_iface()
1078 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id()
1109 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_short_addr()
/linux-4.4.14/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()
574 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
Drx.c209 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_NODE) in __ieee802154_rx_handle_packet()
236 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_monitors_rx()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfg80211.c804 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_deinit_priv_params()
822 priv->wdev.iftype = type; in mwifiex_init_new_priv_params()
930 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_p2p()
990 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_sta_adhoc()
1044 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_ap()
1057 enum nl80211_iftype curr_iftype = dev->ieee80211_ptr->iftype; in mwifiex_cfg80211_change_virtual_intf()
1066 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf()
1096 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf()
1152 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf()
1182 dev->name, dev->ieee80211_ptr->iftype); in mwifiex_cfg80211_change_virtual_intf()
[all …]
Dutil.c393 priv->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in mwifiex_process_mgmt_packet()
D11n_rxreorder.c48 priv->wdev.iftype, 0, false); in mwifiex_11n_dispatch_amsdu_pkt()
Dmain.c1474 priv->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in mwifiex_remove_card()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c805 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2013 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument
2024 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if()
2154 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif() local
2164 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif()
2167 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif()
2182 iftype); in brcmf_p2p_add_vif()
2217 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif()
2248 switch (vif->wdev.iftype) { in brcmf_p2p_del_vif()
2276 if (vif->wdev.iftype != NL80211_IFTYPE_P2P_DEVICE) { in brcmf_p2p_del_vif()
[all …]
Dcfg80211.c401 iftype_num[pos->wdev.iftype]++; in brcmf_vif_change_validate()
414 iftype_num[pos->wdev.iftype]++; in brcmf_vif_add_validate()
493 if ((wdev->iftype == NL80211_IFTYPE_ADHOC) || in brcmf_cfg80211_update_proto_addr_mode()
494 (wdev->iftype == NL80211_IFTYPE_AP) || in brcmf_cfg80211_update_proto_addr_mode()
495 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) in brcmf_cfg80211_update_proto_addr_mode()
594 enum nl80211_iftype iftype; in brcmf_is_apmode() local
596 iftype = vif->wdev.iftype; in brcmf_is_apmode()
597 return iftype == NL80211_IFTYPE_AP || iftype == NL80211_IFTYPE_P2P_GO; in brcmf_is_apmode()
602 return vif->wdev.iftype == NL80211_IFTYPE_ADHOC; in brcmf_is_ibssmode()
747 switch (wdev->iftype) { in brcmf_cfg80211_del_iface()
[all …]
/linux-4.4.14/net/mac80211/
Diface.c252 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument
282 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface()
303 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface()
310 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
323 enum nl80211_iftype iftype) in ieee80211_check_queues() argument
328 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues()
339 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues()
340 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues()
341 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues()
414 sdata->wdev.iftype = NL80211_IFTYPE_MONITOR; in ieee80211_add_virtual_monitor()
[all …]
Dutil.c2922 WARN_ON((NUM_NL80211_IFTYPES / 8 + 1) > sizeof(cs[0].iftype)); in ieee80211_cs_list_valid()
2933 enum nl80211_iftype iftype) in ieee80211_cs_get() argument
2947 if (!cs || !(cs->iftype & BIT(iftype))) in ieee80211_cs_get()
2955 enum nl80211_iftype iftype) in ieee80211_cs_headroom() argument
2963 iftype); in ieee80211_cs_headroom()
2969 cs = ieee80211_cs_get(local, crypto->cipher_group, iftype); in ieee80211_cs_headroom()
3200 enum nl80211_iftype iftype = sdata->wdev.iftype; in ieee80211_check_combinations() local
3218 if (WARN_ON(iftype >= NUM_NL80211_IFTYPES)) in ieee80211_check_combinations()
3222 if (local->hw.wiphy->software_iftypes & BIT(iftype)) { in ieee80211_check_combinations()
3230 if (iftype != NL80211_IFTYPE_UNSPECIFIED) in ieee80211_check_combinations()
[all …]
Dtdls.c87 sdata->wdev.iftype)) { in ieee80211_tdls_add_subband()
337 sdata->wdev.iftype)) in ieee80211_tdls_chandef_vht_upgrade()
1833 sdata->wdev.iftype)) { in ieee80211_process_tdls_channel_switch_req()
Dieee80211_i.h2031 enum nl80211_iftype iftype);
2034 enum nl80211_iftype iftype);
Dchan.c1568 sdata->wdev.iftype); in ieee80211_vif_use_channel()
Dibss.c1761 sdata->wdev.iftype); in ieee80211_ibss_join()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dpm.c27 switch (wdev->iftype) { in wil_can_suspend()
Dethtool.c74 if (wil->wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_ethtoolops_set_coalesce()
Dmain.c160 switch (wdev->iftype) { in wil_disconnect_cid()
225 switch (wdev->iftype) { in _wil6210_disconnect()
334 switch (wdev->iftype) { in wil_fw_error_worker()
355 wdev->iftype); in wil_fw_error_worker()
885 switch (wdev->iftype) { in __wil_up()
Dwmi.c467 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect()
468 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { in wmi_evt_connect()
479 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect()
480 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect()
1117 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wmi_rx_chain_add()
Dnetdev.c160 wdev->iftype = NL80211_IFTYPE_STATION; /* TODO */ in wil_if_alloc()
Dcfg80211.c254 wdev->iftype = type; in wil_cfg80211_change_iface()
277 switch (wdev->iftype) { in wil_cfg80211_scan()
606 switch (wdev->iftype) { in wil_detect_key_usage()
771 u8 wmi_nettype = wil_iftype_nl2wmi(wdev->iftype); in _wil_cfg80211_start_ap()
Dtxrx.c588 if (wdev->iftype == NL80211_IFTYPE_AP && !wil->ap_isolate) { in wil_netif_rx_any()
663 if (wil->wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_rx_handle()
1072 if (wdev->iftype != NL80211_IFTYPE_AP) in wil_find_tx_bcast()
1673 if (unlikely(wil->wdev->iftype == NL80211_IFTYPE_MONITOR)) { in wil_start_xmit()
1680 if (wil->wdev->iftype == NL80211_IFTYPE_STATION) { in wil_start_xmit()
Dinterrupt.c165 if (wil->wdev->iftype == NL80211_IFTYPE_MONITOR) in wil_configure_interrupt_moderation()
/linux-4.4.14/drivers/net/can/
Djanz-ican3.c231 unsigned int iftype; member
614 if (mod->iftype == 0) in ican3_send_msg()
630 if (mod->iftype == 0) in ican3_recv_msg()
675 WARN_ON(mod->iftype != 0); in ican3_msg_newhostif()
682 mod->iftype = 1; in ican3_msg_newhostif()
710 WARN_ON(mod->iftype != 1); in ican3_msg_fasthostif()
/linux-4.4.14/include/net/
Dcfg80211.h499 enum nl80211_iftype iftype);
3497 enum nl80211_iftype iftype; member
3778 enum nl80211_iftype iftype);
3790 enum nl80211_iftype iftype, const u8 *bssid,
3809 const u8 *addr, enum nl80211_iftype iftype,
4968 enum nl80211_iftype iftype);
4985 enum nl80211_iftype iftype);
Dcfg802154.h323 int iftype; member
Dmac80211.h1572 u16 iftype; member
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c309 if (pwdev->iftype != NL80211_IFTYPE_STATION && in rtw_cfg80211_indicate_connect()
310 pwdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in rtw_cfg80211_indicate_connect()
367 if (pwdev->iftype != NL80211_IFTYPE_STATION && in rtw_cfg80211_indicate_disconnect()
368 pwdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in rtw_cfg80211_indicate_disconnect()
928 pmlmepriv->fw_state, rtw_wdev->iftype); in cfg80211_rtw_add_key()
1216 old_type = rtw_wdev->iftype; in cfg80211_rtw_change_iface()
1237 rtw_wdev->iftype = type; in cfg80211_rtw_change_iface()
1240 rtw_wdev->iftype = old_type; in cfg80211_rtw_change_iface()
2626 mon_wdev->iftype = NL80211_IFTYPE_MONITOR; in rtw_cfg80211_add_monitor_if()
3293 wdev->iftype = NL80211_IFTYPE_MONITOR; in rtw_wdev_alloc()
/linux-4.4.14/drivers/net/wireless/p54/
Dfwio.c64 char *iftype = (char *)bootrec->data; in p54_parse_firmware() local
67 iftype[2], iftype[3]); in p54_parse_firmware()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dlibipw_module.c154 ieee->wdev.iftype = NL80211_IFTYPE_STATION; in alloc_libipw()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c607 if (vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) in ath6kl_cfg80211_connect()
768 if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) { in ath6kl_cfg80211_connect_event()
776 if (vif->wdev.iftype != NL80211_IFTYPE_STATION && in ath6kl_cfg80211_connect_event()
777 vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { in ath6kl_cfg80211_connect_event()
867 if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) in ath6kl_cfg80211_disconnect_event()
874 if (vif->wdev.iftype != NL80211_IFTYPE_STATION && in ath6kl_cfg80211_disconnect_event()
875 vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { in ath6kl_cfg80211_disconnect_event()
1604 vif->wdev.iftype = type; in ath6kl_cfg80211_change_iface()
2893 if (vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in ath6kl_start_ap()
3787 vif->wdev.iftype = type; in ath6kl_interface_add()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dsta.c72 enum nl80211_iftype iftype) in iwl_mvm_find_free_sta_id() argument
83 if (iftype != NL80211_IFTYPE_STATION) in iwl_mvm_find_free_sta_id()
585 u32 qmask, enum nl80211_iftype iftype) in iwl_mvm_allocate_int_sta() argument
588 sta->sta_id = iwl_mvm_find_free_sta_id(mvm, iftype); in iwl_mvm_allocate_int_sta()
/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211netdev.c757 wdev->iftype = NL80211_IFTYPE_STATION; in wlan_setup()
Dcfg80211.c137 dev->ieee80211_ptr->iftype = type; in prism2_change_virtual_intf()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dhw.c684 wdev->iftype = priv->iw_mode; in orinoco_hw_program_rids()
Dmain.c2264 wdev->iftype = NL80211_IFTYPE_STATION; in orinoco_if_add()
/linux-4.4.14/drivers/tty/
Dmxser.c219 int iftype[32]; member
1627 me->iftype[p] = opmode; in mxser_ioctl_special()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-drv.c362 cs->iftype = BIT(NL80211_IFTYPE_STATION); in iwl_store_cscheme()
/linux-4.4.14/drivers/net/wireless/
Drndis_wlan.c1878 priv->wdev.iftype = type; in rndis_change_virtual_intf()
3416 priv->wdev.iftype = NL80211_IFTYPE_STATION; in rndis_wlan_bind()