| /drivers/net/wireless/microchip/wilc1000/ |
| A D | cfg80211.c | 749 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station() 1368 priv->wdev.iftype = type; in change_virtual_intf() 1370 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) in change_virtual_intf() 1385 priv->wdev.iftype = type; in change_virtual_intf() 1396 priv->wdev.iftype = type; in change_virtual_intf() 1469 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in add_station() 1490 if (!(vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE)) in del_station() 1510 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in change_station() 1523 if (vif->iftype == type) in wilc_get_vif_from_type() 1539 int iftype; in add_virtual_intf() local [all …]
|
| A D | netdev.c | 106 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()
|
| /drivers/net/wireless/quantenna/qtnfmac/ |
| A D | cfg80211.c | 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() 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() 503 switch (vif->wdev.iftype) { in qtnf_dump_station() 523 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station() 627 (vif->wdev.iftype == NL80211_IFTYPE_AP) && in qtnf_del_station() 672 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) in qtnf_connect() [all …]
|
| A D | core.c | 103 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() 264 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif() 277 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif() 319 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler() 338 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf() 383 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri() 429 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc() 509 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach() 568 ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, in qtnf_core_mac_attach() [all …]
|
| A D | event.c | 38 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()
|
| A D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 19 enum nl80211_iftype iftype,
|
| A D | commands.c | 746 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() 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() 1894 switch (vif->wdev.iftype) { in qtnf_cmd_send_change_sta() 1902 pr_err("unsupported iftype %d\n", vif->wdev.iftype); in qtnf_cmd_send_change_sta() [all …]
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | tx.c | 117 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() 185 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
|
| A D | cmdresp.c | 42 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()
|
| A D | main.c | 91 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type() 97 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) in lbs_set_iface_type() 129 ret = lbs_set_iface_type(priv, priv->wdev->iftype); in lbs_start_iface() 838 wdev->iftype = NL80211_IFTYPE_STATION; in lbs_add_card()
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | time-event.c | 796 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event() local 806 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event() 825 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event() 845 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event() 1274 int iftype = vif->type; in iwl_mvm_stop_roc() local 1278 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc() 1288 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc() 1313 iftype = te_data->vif->type; in iwl_mvm_stop_roc() 1314 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc() 1325 if (p2p_aux || iftype != NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
|
| /drivers/char/ipmi/ |
| A D | ipmi_plat_data.c | 24 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 D | ipmi_dmi.c | 49 p.iftype = IPMI_PLAT_IF_SI; in dmi_add_platform_ipmi() 53 p.iftype = IPMI_PLAT_IF_SSIF; in dmi_add_platform_ipmi()
|
| A D | ipmi_plat_data.h | 12 enum ipmi_plat_interface_type iftype; member
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | p2p.c | 2103 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 …]
|
| A D | cfg80211.c | 508 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_change_validate() 526 params.iftype_num[pos->wdev.iftype]++; in brcmf_vif_add_validate() 575 (wdev->iftype == NL80211_IFTYPE_AP) || in brcmf_cfg80211_update_proto_addr_mode() 740 iface_v2.iftype = WL_INTERFACE_CREATE_AP; in brcmf_cfg80211_request_ap_if() 888 enum nl80211_iftype iftype; in brcmf_is_apmode() local 890 iftype = vif->wdev.iftype; in brcmf_is_apmode() 891 return iftype == NL80211_IFTYPE_AP || iftype == NL80211_IFTYPE_P2P_GO; in brcmf_is_apmode() 1319 switch (wdev->iftype) { in brcmf_cfg80211_del_iface() 1431 ndev->ieee80211_ptr->iftype = type; in brcmf_cfg80211_change_iface() 5150 dev_role = ifp->vif->wdev.iftype; in brcmf_cfg80211_start_ap() [all …]
|
| /drivers/net/wireless/ath/wil6210/ |
| A D | netdev.c | 300 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()
|
| A D | wmi.c | 1019 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect() 1027 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect() 1028 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect() 1051 if ((wdev->iftype == NL80211_IFTYPE_STATION) || in wmi_evt_connect() 1073 } else if ((wdev->iftype == NL80211_IFTYPE_AP) || in wmi_evt_connect() 1074 (wdev->iftype == NL80211_IFTYPE_P2P_GO)) { in wmi_evt_connect() 1146 switch (wdev->iftype) { in wmi_evt_disconnect() 1255 if (wdev->iftype != NL80211_IFTYPE_AP) in wmi_evt_ring_en() 2635 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wmi_rx_chain_add() 3230 mid, iftype, mac); in wmi_port_allocate() [all …]
|
| A D | cfg80211.c | 635 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() 756 if (wdev->iftype != NL80211_IFTYPE_AP) in wil_vif_prepare_stop() 783 if (wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) { in wil_cfg80211_del_iface() 805 vif->mid, wdev->iftype, wdev->address); in wil_cfg80211_del_iface() 848 !wil_is_safe_switch(wdev->iftype, type)) { in wil_cfg80211_change_iface() 885 wdev->iftype = type; in wil_cfg80211_change_iface() 903 switch (wdev->iftype) { in wil_cfg80211_scan() 1458 if (wdev->iftype != NL80211_IFTYPE_AP) { in wil_cfg80211_mgmt_tx() [all …]
|
| A D | txrx.c | 380 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() 1021 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_rx_handle() 2331 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) { in wil_start_xmit() 2338 if (vif->wdev.iftype == NL80211_IFTYPE_STATION && !vif->pbss) { in wil_start_xmit() [all …]
|
| A D | main.c | 264 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()
|
| A D | ethtool.c | 65 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_ethtoolops_set_coalesce()
|
| /drivers/staging/rtl8723bs/os_dep/ |
| A D | ioctl_cfg80211.c | 365 if (pwdev->iftype != NL80211_IFTYPE_ADHOC) in rtw_cfg80211_ibss_indicate_connect() 404 if (pwdev->iftype != NL80211_IFTYPE_STATION in rtw_cfg80211_indicate_connect() 405 && pwdev->iftype != NL80211_IFTYPE_P2P_CLIENT in rtw_cfg80211_indicate_connect() 473 if (pwdev->iftype != NL80211_IFTYPE_STATION in rtw_cfg80211_indicate_disconnect() 1050 old_type = rtw_wdev->iftype; in cfg80211_rtw_change_iface() 1072 rtw_wdev->iftype = type; in cfg80211_rtw_change_iface() 1075 rtw_wdev->iftype = old_type; in cfg80211_rtw_change_iface() 1603 old_type = rtw_wdev->iftype; in cfg80211_rtw_leave_ibss() 1611 rtw_wdev->iftype = NL80211_IFTYPE_STATION; in cfg80211_rtw_leave_ibss() 1614 rtw_wdev->iftype = old_type; in cfg80211_rtw_leave_ibss() [all …]
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | cfg80211.c | 928 priv->wdev.iftype = type; in mwifiex_init_new_priv_params() 1060 enum nl80211_iftype iftype, in update_vif_type_counter() argument 1063 switch (iftype) { in update_vif_type_counter() 1079 __func__, iftype); in update_vif_type_counter() 1110 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_p2p() 1168 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_sta_adhoc() 1205 dev->ieee80211_ptr->iftype = type; in mwifiex_change_vif_to_ap() 1261 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf() 1283 dev->ieee80211_ptr->iftype = type; in mwifiex_cfg80211_change_virtual_intf() 3042 priv->wdev.iftype = NL80211_IFTYPE_AP; in mwifiex_add_virtual_intf() [all …]
|
| /drivers/net/wireless/silabs/wfx/ |
| A D | key.c | 70 struct ieee80211_key_seq *seq, enum nl80211_iftype iftype) in fill_tkip_group() argument 81 if (iftype == NL80211_IFTYPE_AP) in fill_tkip_group()
|