Home
last modified time | relevance | path

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

123

/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
418 if (vif->iftype != WILC_CLIENT_MODE) in connect()
434 if (vif->iftype != WILC_CLIENT_MODE) in connect()
473 if (vif->iftype != WILC_CLIENT_MODE) in disconnect()
558 if (priv->wdev.iftype == NL80211_IFTYPE_AP) { in add_key()
585 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
586 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
738 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station()
757 } else if (vif->iftype == WILC_STATION_MODE) { in get_station()
[all …]
Dnetdev.c255 w = vif->iftype; in wilc_init_fw_config()
594 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open()
952 vif->priv.wdev.iftype = type; in wilc_netdev_ifc_init()
966 vif->iftype = vif_type; in wilc_netdev_ifc_init()
/drivers/net/wireless/quantenna/qtnfmac/
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()
502 switch (vif->wdev.iftype) { in qtnf_dump_station()
522 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station()
[all …]
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 …]
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()
Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
Dcommands.c746 enum nl80211_iftype iftype, in qtnf_cmd_send_add_change_intf() argument
767 switch (iftype) { in qtnf_cmd_send_add_change_intf()
776 vif->vifid, iftype); in qtnf_cmd_send_add_change_intf()
801 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, in qtnf_cmd_send_add_intf() argument
804 return qtnf_cmd_send_add_change_intf(vif, iftype, use4addr, mac_addr, in qtnf_cmd_send_add_intf()
809 enum nl80211_iftype iftype, in qtnf_cmd_send_change_intf_type() argument
815 ret = qtnf_cmd_send_add_change_intf(vif, iftype, use4addr, mac_addr, in qtnf_cmd_send_change_intf_type()
819 if (ret == 0 && vif->wdev.iftype != iftype) { in qtnf_cmd_send_change_intf_type()
850 switch (vif->wdev.iftype) { in qtnf_cmd_send_del_intf()
859 vif->vifid, vif->wdev.iftype); in qtnf_cmd_send_del_intf()
[all …]
/drivers/net/wireless/marvell/libertas/
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()
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()
Dmain.c112 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type()
118 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type()
150 ret = lbs_set_iface_type(priv, priv->wdev->iftype); in lbs_start_iface()
922 wdev->iftype = NL80211_IFTYPE_STATION; in lbs_add_card()
/drivers/char/ipmi/
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()
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()
Dipmi_plat_data.h12 enum ipmi_plat_interface_type iftype; member
Dipmi_si_hardcode.c69 p.iftype = IPMI_PLAT_IF_SI; in ipmi_hardcode_init_one()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c810 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2103 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if() argument
2114 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if()
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()
[all …]
/drivers/net/wireless/ath/wil6210/
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()
Dcfg80211.c635 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_add_iface()
658 params.iftype_num[wdev->iftype]++; in wil_cfg80211_validate_change_iface()
698 p2p_wdev->iftype = type; in wil_cfg80211_add_iface()
754 if (wdev->iftype != NL80211_IFTYPE_AP) in wil_vif_prepare_stop()
781 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wil_cfg80211_del_iface()
803 vif->mid, wdev->iftype, wdev->address); in wil_cfg80211_del_iface()
846 !wil_is_safe_switch(wdev->iftype, type)) { in wil_cfg80211_change_iface()
883 wdev->iftype = type; in wil_cfg80211_change_iface()
900 wil_dbg_misc(wil, "scan: wdev=0x%p iftype=%d\n", wdev, wdev->iftype); in wil_cfg80211_scan()
903 switch (wdev->iftype) { in wil_cfg80211_scan()
[all …]
Dwmi.c1020 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect()
1021 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { in wmi_evt_connect()
1028 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect()
1029 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect()
1052 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect()
1053 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) { in wmi_evt_connect()
1074 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect()
1075 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect()
1101 wil_err(wil, "unhandled iftype %d for CID %d\n", wdev->iftype, in wmi_evt_connect()
1147 switch (wdev->iftype) { in wmi_evt_disconnect()
[all …]
Dtxrx.c380 if (vif->wdev.iftype == NL80211_IFTYPE_MONITOR) in wil_rx_get_cid_by_skb()
409 if (vif->wdev.iftype != NL80211_IFTYPE_P2P_GO && in wil_rx_get_cid_by_skb()
410 vif->wdev.iftype != NL80211_IFTYPE_AP) in wil_rx_get_cid_by_skb()
426 ta, vif->wdev.iftype, ftype, skb->len); in wil_rx_get_cid_by_skb()
840 if (wdev->iftype != NL80211_IFTYPE_STATION || in wil_tx_complete_handle_eapol()
877 if (wdev->iftype != NL80211_IFTYPE_STATION || in wil_rx_handle_eapol()
907 if (wdev->iftype == NL80211_IFTYPE_STATION) { in wil_netif_rx()
917 } else if (wdev->iftype == NL80211_IFTYPE_AP && !vif->ap_isolate) { in wil_netif_rx()
1021 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_rx_handle()
2333 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) { in wil_start_xmit()
[all …]
Dmain.c264 switch (wdev->iftype) { in wil_disconnect_cid_complete()
341 switch (wdev->iftype) { in _wil6210_disconnect_complete()
405 if (wdev->iftype == NL80211_IFTYPE_AP && disable_ap_sme) in wil_disconnect_cid()
571 switch (wdev->iftype) { in wil_fw_error_worker()
593 wdev->iftype); in wil_fw_error_worker()
1562 wdev->iftype); in wil_restore_vifs()
1565 i, wdev->iftype, rc); in wil_restore_vifs()
1838 switch (wdev->iftype) { in __wil_up()
Dethtool.c65 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_ethtoolops_set_coalesce()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c369 if (pwdev->iftype != NL80211_IFTYPE_ADHOC) in rtw_cfg80211_ibss_indicate_connect()
409 if (pwdev->iftype != NL80211_IFTYPE_STATION in rtw_cfg80211_indicate_connect()
410 && pwdev->iftype != NL80211_IFTYPE_P2P_CLIENT in rtw_cfg80211_indicate_connect()
478 if (pwdev->iftype != NL80211_IFTYPE_STATION in rtw_cfg80211_indicate_disconnect()
479 && pwdev->iftype != NL80211_IFTYPE_P2P_CLIENT in rtw_cfg80211_indicate_disconnect()
1078 old_type = rtw_wdev->iftype; in cfg80211_rtw_change_iface()
1100 rtw_wdev->iftype = type; in cfg80211_rtw_change_iface()
1103 rtw_wdev->iftype = old_type; in cfg80211_rtw_change_iface()
1640 old_type = rtw_wdev->iftype; in cfg80211_rtw_leave_ibss()
1648 rtw_wdev->iftype = NL80211_IFTYPE_STATION; in cfg80211_rtw_leave_ibss()
[all …]
/drivers/staging/wfx/
Dkey.c73 enum nl80211_iftype iftype) in fill_tkip_group() argument
86 if (iftype == NL80211_IFTYPE_AP) in fill_tkip_group()
/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c887 priv->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in mwifiex_deinit_priv_params()
905 priv->wdev.iftype = type; in mwifiex_init_new_priv_params()
1015 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_p2p()
1075 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_sta_adhoc()
1129 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_ap()
1142 enum nl80211_iftype curr_iftype = dev->ieee80211_ptr->iftype; in mwifiex_cfg80211_change_virtual_intf()
1157 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf()
1188 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf()
1266 dev->name, dev->ieee80211_ptr->iftype); in mwifiex_cfg80211_change_virtual_intf()
2927 priv->wdev.iftype = NL80211_IFTYPE_STATION; in mwifiex_add_virtual_intf()
[all …]
/drivers/net/can/
Djanz-ican3.c244 unsigned int iftype; member
627 if (mod->iftype == 0) in ican3_send_msg()
643 if (mod->iftype == 0) in ican3_recv_msg()
688 WARN_ON(mod->iftype != 0); in ican3_msg_newhostif()
695 mod->iftype = 1; in ican3_msg_newhostif()
723 WARN_ON(mod->iftype != 1); in ican3_msg_fasthostif()

123