vif 97 arch/sh/boards/board-sh7785lcr.c .vif = 1, vif 35 arch/sh/boards/mach-highlander/setup.c .vif = 1, vif 65 arch/sh/boards/mach-highlander/setup.c .vif = 1, vif 68 arch/sh/boards/mach-x3proto/setup.c .vif = 1, vif 97 arch/sh/boards/mach-x3proto/setup.c .vif = 1, vif 326 drivers/media/tuners/tda9887.c static char *vif[8] = { vif 385 drivers/media/tuners/tda9887.c vif[(buf[3] & 0x1c) >> 2]); vif 3550 drivers/net/ethernet/broadcom/cnic_defs.h u16 vif; vif 22 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c bool (*is_regular)(const struct mlxsw_sp_mr_vif *vif); vif 97 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c static bool mlxsw_sp_mr_vif_valid(const struct mlxsw_sp_mr_vif *vif) vif 99 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return vif->ops->is_regular(vif) && vif->dev && vif->rif; vif 102 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c static bool mlxsw_sp_mr_vif_exists(const struct mlxsw_sp_mr_vif *vif) vif 104 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return vif->dev; vif 808 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c static bool mlxsw_sp_mr_vif4_is_regular(const struct mlxsw_sp_mr_vif *vif) vif 810 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return !(vif->vif_flags & (VIFF_TUNNEL | VIFF_REGISTER)); vif 854 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c static bool mlxsw_sp_mr_vif6_is_regular(const struct mlxsw_sp_mr_vif *vif) vif 856 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c return !(vif->vif_flags & MIFF_REGISTER); vif 10424 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 vif; vif 1260 drivers/net/wireless/admtek/adm8211.c struct ieee80211_vif *vif) vif 1314 drivers/net/wireless/admtek/adm8211.c struct ieee80211_vif *vif, vif 1394 drivers/net/wireless/admtek/adm8211.c struct ieee80211_vif *vif) vif 1400 drivers/net/wireless/admtek/adm8211.c switch (vif->type) { vif 1402 drivers/net/wireless/admtek/adm8211.c priv->mode = vif->type; vif 1410 drivers/net/wireless/admtek/adm8211.c ADM8211_CSR_WRITE(PAR0, le32_to_cpu(*(__le32 *)vif->addr)); vif 1411 drivers/net/wireless/admtek/adm8211.c ADM8211_CSR_WRITE(PAR1, le16_to_cpu(*(__le16 *)(vif->addr + 4))); vif 1421 drivers/net/wireless/admtek/adm8211.c struct ieee80211_vif *vif) vif 1090 drivers/net/wireless/ath/ar5523/ar5523.c static void ar5523_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1100 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_vif *vif) vif 1106 drivers/net/wireless/ath/ar5523/ar5523.c if (ar->vif) { vif 1111 drivers/net/wireless/ath/ar5523/ar5523.c switch (vif->type) { vif 1113 drivers/net/wireless/ath/ar5523/ar5523.c ar->vif = vif; vif 1122 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_vif *vif) vif 1127 drivers/net/wireless/ath/ar5523/ar5523.c ar->vif = NULL; vif 1154 drivers/net/wireless/ath/ar5523/ar5523.c sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); vif 1191 drivers/net/wireless/ath/ar5523/ar5523.c sta = ieee80211_find_sta(ar->vif, bss_conf->bssid); vif 1234 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_vif *vif, vif 1270 drivers/net/wireless/ath/ar5523/ar5523.c struct ieee80211_vif *vif, vif 1284 drivers/net/wireless/ath/ar5523/ar5523.c error = ar5523_create_connection(ar, vif, bss); vif 1679 drivers/net/wireless/ath/ar5523/ar5523.c ar->vif = NULL; vif 130 drivers/net/wireless/ath/ar5523/ar5523.h struct ieee80211_vif *vif; vif 202 drivers/net/wireless/ath/ath.h struct ieee80211_vif *vif, vif 120 drivers/net/wireless/ath/ath10k/core.h struct ieee80211_vif *vif; vif 393 drivers/net/wireless/ath/ath10k/core.h struct ieee80211_vif *vif; vif 543 drivers/net/wireless/ath/ath10k/core.h struct ieee80211_vif *vif; vif 1137 drivers/net/wireless/ath/ath10k/debug.c struct ieee80211_vif *vif, vif 1146 drivers/net/wireless/ath/ath10k/debug.c struct ieee80211_vif *vif, int sset) vif 1155 drivers/net/wireless/ath/ath10k/debug.c struct ieee80211_vif *vif, vif 106 drivers/net/wireless/ath/ath10k/debug.h struct ieee80211_vif *vif, vif 109 drivers/net/wireless/ath/ath10k/debug.h struct ieee80211_vif *vif, int sset); vif 111 drivers/net/wireless/ath/ath10k/debug.h struct ieee80211_vif *vif, vif 203 drivers/net/wireless/ath/ath10k/debug.h void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 757 drivers/net/wireless/ath/ath10k/debugfs_sta.c void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1077 drivers/net/wireless/ath/ath10k/htt_rx.c if (ath10k_mac_vif_chan(arvif->vif, &def)) vif 1093 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_mac_vif_chan(arvif->vif, &def) == 0) vif 2781 drivers/net/wireless/ath/ath10k/htt_rx.c ieee80211_start_rx_ba_session_offl(arvif->vif, peer->addr, tid); vif 2821 drivers/net/wireless/ath/ath10k/htt_rx.c ieee80211_stop_rx_ba_session_offl(arvif->vif, peer->addr, tid); vif 3511 drivers/net/wireless/ath/ath10k/htt_rx.c if (arsta->arvif && arsta->arvif->vif) vif 3512 drivers/net/wireless/ath/ath10k/htt_rx.c conf = rcu_dereference(arsta->arvif->vif->chanctx_conf); vif 42 drivers/net/wireless/ath/ath10k/htt_tx.c struct ath10k_vif *arvif = (void *)txq->vif->drv_priv; vif 1132 drivers/net/wireless/ath/ath10k/htt_tx.c } else if (cb->vif) { vif 1133 drivers/net/wireless/ath/ath10k/htt_tx.c arvif = (void *)cb->vif->drv_priv; vif 321 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(arvif->vif->type != NL80211_IFTYPE_AP && vif 322 drivers/net/wireless/ath/ath10k/mac.c arvif->vif->type != NL80211_IFTYPE_ADHOC && vif 323 drivers/net/wireless/ath/ath10k/mac.c arvif->vif->type != NL80211_IFTYPE_MESH_POINT)) vif 337 drivers/net/wireless/ath/ath10k/mac.c switch (arvif->vif->type) { vif 379 drivers/net/wireless/ath/ath10k/mac.c if (arvif->vif->type != NL80211_IFTYPE_ADHOC) vif 522 drivers/net/wireless/ath/ath10k/mac.c if (ether_addr_equal(peer->addr, arvif->vif->addr)) vif 648 drivers/net/wireless/ath/ath10k/mac.c int ath10k_mac_vif_chan(struct ieee80211_vif *vif, vif 654 drivers/net/wireless/ath/ath10k/mac.c conf = rcu_dereference(vif->chanctx_conf); vif 717 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 764 drivers/net/wireless/ath/ath10k/mac.c peer->vif = vif; vif 1500 drivers/net/wireless/ath/ath10k/mac.c arg.ssid = arvif->vif->bss_conf.ssid; vif 1501 drivers/net/wireless/ath/ath10k/mac.c arg.ssid_len = arvif->vif->bss_conf.ssid_len; vif 1554 drivers/net/wireless/ath/ath10k/mac.c if (arvif->vif->type != NL80211_IFTYPE_AP || !arvif->vif->p2p) vif 1609 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = arvif->vif; vif 1621 drivers/net/wireless/ath/ath10k/mac.c bcn = ieee80211_beacon_get_template(hw, vif, &offs); vif 1659 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = arvif->vif; vif 1670 drivers/net/wireless/ath/ath10k/mac.c if (ieee80211_vif_is_mesh(vif)) vif 1673 drivers/net/wireless/ath/ath10k/mac.c prb = ieee80211_proberesp_get(hw, vif); vif 1721 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(arvif->vif, &def))) vif 1908 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = arvif->vif; vif 1918 drivers/net/wireless/ath/ath10k/mac.c if (arvif->vif->type != NL80211_IFTYPE_STATION) vif 1946 drivers/net/wireless/ath/ath10k/mac.c vif->bss_conf.beacon_int) / 1000; vif 2008 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = arvif->vif; vif 2019 drivers/net/wireless/ath/ath10k/mac.c if (!vif->csa_active) vif 2025 drivers/net/wireless/ath/ath10k/mac.c if (!ieee80211_csa_is_complete(vif)) { vif 2026 drivers/net/wireless/ath/ath10k/mac.c ieee80211_csa_update_counter(vif); vif 2038 drivers/net/wireless/ath/ath10k/mac.c ieee80211_csa_finish(vif); vif 2054 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 2058 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2060 drivers/net/wireless/ath/ath10k/mac.c if (vif->type != NL80211_IFTYPE_STATION) vif 2063 drivers/net/wireless/ath/ath10k/mac.c if (!ether_addr_equal(mgmt->bssid, vif->bss_conf.bssid)) vif 2078 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 2081 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2091 drivers/net/wireless/ath/ath10k/mac.c ieee80211_beacon_loss(vif); vif 2114 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = arvif->vif; vif 2119 drivers/net/wireless/ath/ath10k/mac.c ieee80211_connection_loss(vif); vif 2127 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 2137 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_STATION) vif 2144 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2148 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2153 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_STATION) vif 2154 drivers/net/wireless/ath/ath10k/mac.c aid = vif->bss_conf.aid; vif 2162 drivers/net/wireless/ath/ath10k/mac.c arg->peer_listen_intval = ath10k_peer_assoc_h_listen_intval(ar, vif); vif 2164 drivers/net/wireless/ath/ath10k/mac.c arg->peer_caps = vif->bss_conf.assoc_capability; vif 2168 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2172 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_bss_conf *info = &vif->bss_conf; vif 2180 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(vif, &def))) vif 2220 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2224 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2236 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(vif, &def))) vif 2282 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2287 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2298 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(vif, &def))) vif 2507 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2512 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2520 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(vif, &def))) vif 2598 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2602 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2665 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2669 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2676 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(vif, &def))) vif 2734 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2742 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_basic(ar, vif, sta, arg); vif 2743 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_crypto(ar, vif, sta, arg); vif 2744 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_rates(ar, vif, sta, arg); vif 2745 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_ht(ar, vif, sta, arg); vif 2746 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_vht(ar, vif, sta, arg); vif 2747 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_qos(ar, vif, sta, arg); vif 2748 drivers/net/wireless/ath/ath10k/mac.c ath10k_peer_assoc_h_phymode(ar, vif, sta, arg); vif 2781 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2784 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2847 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2851 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2865 drivers/net/wireless/ath/ath10k/mac.c ap_sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 2879 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_peer_assoc_prepare(ar, vif, ap_sta, &peer_arg); vif 2903 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); vif 2942 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 2945 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2961 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap); vif 2974 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 2978 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 2984 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_peer_assoc_prepare(ar, vif, sta, &peer_arg); vif 3042 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 3045 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 3305 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 3308 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 3393 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 3395 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 3424 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 3432 drivers/net/wireless/ath/ath10k/mac.c if (!vif || vif->type == NL80211_IFTYPE_MONITOR) vif 3478 drivers/net/wireless/ath/ath10k/mac.c static bool ath10k_tx_h_use_hwcrypto(struct ieee80211_vif *vif, vif 3492 drivers/net/wireless/ath/ath10k/mac.c if (vif) vif 3493 drivers/net/wireless/ath/ath10k/mac.c return !((struct ath10k_vif *)vif->drv_priv)->nohwcrypt; vif 3554 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 3558 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 3561 drivers/net/wireless/ath/ath10k/mac.c if (vif->type != NL80211_IFTYPE_AP || !vif->p2p) vif 3576 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 3587 drivers/net/wireless/ath/ath10k/mac.c if (!ath10k_tx_h_use_hwcrypto(vif, skb)) vif 3606 drivers/net/wireless/ath/ath10k/mac.c cb->vif = vif; vif 3708 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 3726 drivers/net/wireless/ath/ath10k/mac.c ath10k_tx_h_add_p2p_noa_ie(ar, vif, skb); vif 3727 drivers/net/wireless/ath/ath10k/mac.c ath10k_tx_h_seq_no(vif, skb); vif 3782 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif; vif 3843 drivers/net/wireless/ath/ath10k/mac.c vif = arvif->vif; vif 3844 drivers/net/wireless/ath/ath10k/mac.c sta = ieee80211_find_sta(vif, peer_addr); vif 3846 drivers/net/wireless/ath/ath10k/mac.c vif = NULL; vif 3850 drivers/net/wireless/ath/ath10k/mac.c txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb); vif 3853 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_tx(ar, vif, txmode, txpath, skb, true); vif 3975 drivers/net/wireless/ath/ath10k/mac.c else if (peer->vif) vif 3976 drivers/net/wireless/ath/ath10k/mac.c return peer->vif->txq; vif 4052 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = txq->vif; vif 4080 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_tx_h_fill_cb(ar, vif, txq, skb, airtime); vif 4083 drivers/net/wireless/ath/ath10k/mac.c txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb); vif 4102 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_tx(ar, vif, txmode, txpath, skb, false); vif 4337 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif = info->control.vif; vif 4350 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_tx_h_fill_cb(ar, vif, txq, skb, airtime); vif 4352 drivers/net/wireless/ath/ath10k/mac.c txmode = ath10k_mac_tx_h_get_txmode(ar, vif, sta, skb); vif 4383 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_tx(ar, vif, txmode, txpath, skb, false); vif 5133 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 5136 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 5145 drivers/net/wireless/ath/ath10k/mac.c vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; vif 5150 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_txq_init(vif->txq); vif 5153 drivers/net/wireless/ath/ath10k/mac.c arvif->vif = vif; vif 5188 drivers/net/wireless/ath/ath10k/mac.c switch (vif->type) { vif 5197 drivers/net/wireless/ath/ath10k/mac.c if (vif->p2p) vif 5218 drivers/net/wireless/ath/ath10k/mac.c if (vif->p2p) vif 5235 drivers/net/wireless/ath/ath10k/mac.c vif->cab_queue = arvif->vdev_id % (IEEE80211_MAX_QUEUES - 1); vif 5236 drivers/net/wireless/ath/ath10k/mac.c for (i = 0; i < ARRAY_SIZE(vif->hw_queue); i++) vif 5237 drivers/net/wireless/ath/ath10k/mac.c vif->hw_queue[i] = arvif->vdev_id % (IEEE80211_MAX_QUEUES - 1); vif 5255 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_ADHOC || vif 5256 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_MESH_POINT || vif 5257 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_AP) { vif 5283 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_subtype, vif->addr); vif 5331 drivers/net/wireless/ath/ath10k/mac.c if (ar->cfg_tx_chainmask && (vif->type != NL80211_IFTYPE_MONITOR)) { vif 5347 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_peer_create(ar, vif, NULL, arvif->vdev_id, vif 5348 drivers/net/wireless/ath/ath10k/mac.c vif->addr, WMI_PEER_TYPE_DEFAULT); vif 5357 drivers/net/wireless/ath/ath10k/mac.c peer = ath10k_peer_find(ar, arvif->vdev_id, vif->addr); vif 5360 drivers/net/wireless/ath/ath10k/mac.c vif->addr, arvif->vdev_id); vif 5423 drivers/net/wireless/ath/ath10k/mac.c arvif->txpower = vif->bss_conf.txpower; vif 5441 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 5461 drivers/net/wireless/ath/ath10k/mac.c ath10k_wmi_peer_delete(ar, arvif->vdev_id, vif->addr); vif 5463 drivers/net/wireless/ath/ath10k/mac.c vif->addr); vif 5494 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 5497 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 5521 drivers/net/wireless/ath/ath10k/mac.c vif->addr); vif 5527 drivers/net/wireless/ath/ath10k/mac.c vif->addr); vif 5554 drivers/net/wireless/ath/ath10k/mac.c vif->addr); vif 5570 drivers/net/wireless/ath/ath10k/mac.c if (peer->vif == vif) { vif 5572 drivers/net/wireless/ath/ath10k/mac.c vif->addr, arvif->vdev_id); vif 5573 drivers/net/wireless/ath/ath10k/mac.c peer->vif = NULL; vif 5584 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_txq_unref(ar, vif->txq); vif 5586 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 5601 drivers/net/wireless/ath/ath10k/mac.c ath10k_mac_txq_unref(ar, vif->txq); vif 5641 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 5646 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 5658 drivers/net/wireless/ath/ath10k/mac.c ath10k_control_ibss(arvif, info, vif->addr); vif 5691 drivers/net/wireless/ath/ath10k/mac.c if (ieee80211_vif_is_mesh(vif)) { vif 5722 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_AP) { vif 5809 drivers/net/wireless/ath/ath10k/mac.c ath10k_bss_assoc(hw, vif, info); vif 5812 drivers/net/wireless/ath/ath10k/mac.c ath10k_bss_disassoc(hw, vif); vif 5827 drivers/net/wireless/ath/ath10k/mac.c arvif->ps = vif->bss_conf.ps; vif 5836 drivers/net/wireless/ath/ath10k/mac.c !ath10k_mac_vif_chan(arvif->vif, &def)) { vif 5838 drivers/net/wireless/ath/ath10k/mac.c mcast_rate = vif->bss_conf.mcast_rate[band]; vif 5842 drivers/net/wireless/ath/ath10k/mac.c rateidx = ffs(vif->bss_conf.basic_rates) - 1; vif 5878 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_vif_chan(vif, &def)) { vif 5884 drivers/net/wireless/ath/ath10k/mac.c basic_rate_idx = ffs(vif->bss_conf.basic_rates) - 1; vif 5928 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *sta_vif = arsta->arvif->vif; vif 5935 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 5939 drivers/net/wireless/ath/ath10k/mac.c data.curr_vif = vif; vif 5948 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 5952 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 5961 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_tdls_vif_stations_count(hw, vif) > 0) { vif 6052 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 6106 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 6110 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6138 drivers/net/wireless/ath/ath10k/mac.c peer_addr = vif->bss_conf.bssid; vif 6140 drivers/net/wireless/ath/ath10k/mac.c peer_addr = vif->addr; vif 6183 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 6208 drivers/net/wireless/ath/ath10k/mac.c if (is_wep && !sta && vif->type == NL80211_IFTYPE_STATION) { vif 6252 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 6256 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6303 drivers/net/wireless/ath/ath10k/mac.c if (WARN_ON(ath10k_mac_vif_chan(arvif->vif, &def))) vif 6375 drivers/net/wireless/ath/ath10k/mac.c err = ath10k_station_assoc(ar, arvif->vif, sta, true); vif 6417 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 6421 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6452 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 6458 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6496 drivers/net/wireless/ath/ath10k/mac.c num_tdls_stations = ath10k_mac_tdls_vif_stations_count(hw, vif); vif 6525 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_peer_create(ar, vif, sta, arvif->vdev_id, vif 6540 drivers/net/wireless/ath/ath10k/mac.c vif->addr, arvif->vdev_id); vif 6643 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_tdls_vif_stations_count(hw, vif)) vif 6655 drivers/net/wireless/ath/ath10k/mac.c (vif->type == NL80211_IFTYPE_AP || vif 6656 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_MESH_POINT || vif 6657 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_ADHOC)) { vif 6664 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_station_assoc(ar, vif, sta, false); vif 6677 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_station_assoc(ar, vif, sta, false); vif 6691 drivers/net/wireless/ath/ath10k/mac.c (vif->type == NL80211_IFTYPE_AP || vif 6692 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_MESH_POINT || vif 6693 drivers/net/wireless/ath/ath10k/mac.c vif->type == NL80211_IFTYPE_ADHOC)) { vif 6700 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_station_disassoc(ar, vif, sta); vif 6710 drivers/net/wireless/ath/ath10k/mac.c static int ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, vif 6713 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6817 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, u16 ac, vif 6821 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6877 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_conf_tx_uapsd(ar, vif, ac, params->uapsd); vif 6889 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 6895 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 6902 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_tdls_vif_stations_count(hw, vif) > 0) { vif 6977 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 7070 drivers/net/wireless/ath/ath10k/mac.c static void ath10k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 7078 drivers/net/wireless/ath/ath10k/mac.c if (vif && vif->type == NL80211_IFTYPE_STATION) { vif 7471 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 7474 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 7490 drivers/net/wireless/ath/ath10k/mac.c if (ath10k_mac_vif_chan(vif, &def)) vif 7581 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 7587 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 7667 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, s64 tsf_offset) vif 7670 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 7691 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 7695 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 7793 drivers/net/wireless/ath/ath10k/mac.c arvif = (void *)vifs[i].vif->drv_priv; vif 7826 drivers/net/wireless/ath/ath10k/mac.c arvif = (void *)vifs[i].vif->drv_priv; vif 7918 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 7922 drivers/net/wireless/ath/ath10k/mac.c if (rcu_access_pointer(vif->chanctx_conf) != arg->ctx) vif 7930 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 7935 drivers/net/wireless/ath/ath10k/mac.c ctx = rcu_access_pointer(vif->chanctx_conf); vif 7942 drivers/net/wireless/ath/ath10k/mac.c arg->vifs[arg->next_vif].vif = vif; vif 8007 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 8011 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 8028 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, vif->addr, vif 8042 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 8043 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_up(ar, arvif->vdev_id, 0, vif->addr); vif 8086 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 8090 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 8101 drivers/net/wireless/ath/ath10k/mac.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 8142 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 8156 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif, vif 8544 drivers/net/wireless/ath/ath10k/mac.c struct ieee80211_vif *vif) vif 8547 drivers/net/wireless/ath/ath10k/mac.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 48 drivers/net/wireless/ath/ath10k/mac.h int ath10k_mac_vif_chan(struct ieee80211_vif *vif, vif 76 drivers/net/wireless/ath/ath10k/mac.h static inline void ath10k_tx_h_seq_no(struct ieee80211_vif *vif, vif 81 drivers/net/wireless/ath/ath10k/mac.h struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 122 drivers/net/wireless/ath/ath10k/p2p.c struct ieee80211_vif *vif) vif 124 drivers/net/wireless/ath/ath10k/p2p.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 427 drivers/net/wireless/ath/ath10k/testmode.c int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 13 drivers/net/wireless/ath/ath10k/testmode.h int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 29 drivers/net/wireless/ath/ath10k/testmode.h struct ieee80211_vif *vif, vif 208 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (arvif && arvif->is_up && arvif->vif->csa_active) vif 458 drivers/net/wireless/ath/ath10k/wmi-tlv.c arvif->vif, station->addr, vif 2879 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!cb->vif) vif 2883 drivers/net/wireless/ath/ath10k/wmi-tlv.c arvif = (void *)cb->vif->drv_priv; vif 1845 drivers/net/wireless/ath/ath10k/wmi.c struct ieee80211_vif *vif) vif 1847 drivers/net/wireless/ath/ath10k/wmi.c struct ath10k_vif *arvif = (void *)vif->drv_priv; vif 1920 drivers/net/wireless/ath/ath10k/wmi.c if (cb->vif) { vif 1921 drivers/net/wireless/ath/ath10k/wmi.c arvif = (void *)cb->vif->drv_priv; vif 3575 drivers/net/wireless/ath/ath10k/wmi.c if (!arvif->vif->p2p) vif 3812 drivers/net/wireless/ath/ath10k/wmi.c if (arvif->vif->csa_active && vif 3813 drivers/net/wireless/ath/ath10k/wmi.c ieee80211_csa_is_complete(arvif->vif)) { vif 3814 drivers/net/wireless/ath/ath10k/wmi.c ieee80211_csa_finish(arvif->vif); vif 3818 drivers/net/wireless/ath/ath10k/wmi.c bcn = ieee80211_beacon_get(ar->hw, arvif->vif); vif 3824 drivers/net/wireless/ath/ath10k/wmi.c ath10k_tx_h_seq_no(arvif->vif, bcn); vif 5153 drivers/net/wireless/ath/ath10k/wmi.c ieee80211_tdls_oper_request(arvif->vif, ev->peer_macaddr.addr, vif 478 drivers/net/wireless/ath/ath5k/base.c void ath5k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 482 drivers/net/wireless/ath/ath5k/base.c struct ath5k_vif *avf = (void *)vif->drv_priv; vif 520 drivers/net/wireless/ath/ath5k/base.c struct ieee80211_vif *vif) vif 537 drivers/net/wireless/ath/ath5k/base.c if (vif) vif 538 drivers/net/wireless/ath/ath5k/base.c ath5k_vif_iter(&iter_data, vif->addr, vif); vif 757 drivers/net/wireless/ath/ath5k/base.c ieee80211_get_tx_rates(info->control.vif, (control) ? control->sta : NULL, skb, bf->rates, vif 787 drivers/net/wireless/ath/ath5k/base.c info->control.vif, pktlen, info)); vif 793 drivers/net/wireless/ath/ath5k/base.c info->control.vif, pktlen, info)); vif 1892 drivers/net/wireless/ath/ath5k/base.c ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1899 drivers/net/wireless/ath/ath5k/base.c if (WARN_ON(!vif)) { vif 1904 drivers/net/wireless/ath/ath5k/base.c skb = ieee80211_beacon_get(hw, vif); vif 1911 drivers/net/wireless/ath/ath5k/base.c avf = (void *)vif->drv_priv; vif 1930 drivers/net/wireless/ath/ath5k/base.c struct ieee80211_vif *vif; vif 1972 drivers/net/wireless/ath/ath5k/base.c vif = ah->bslot[(slot + 1) % ATH_BCBUF]; vif 1975 drivers/net/wireless/ath/ath5k/base.c (unsigned long long)tsf, tsftu, ah->bintval, slot, vif); vif 1977 drivers/net/wireless/ath/ath5k/base.c vif = ah->bslot[0]; vif 1979 drivers/net/wireless/ath/ath5k/base.c if (!vif) vif 1982 drivers/net/wireless/ath/ath5k/base.c avf = (void *)vif->drv_priv; vif 1998 drivers/net/wireless/ath/ath5k/base.c err = ath5k_beacon_update(ah->hw, vif); vif 2016 drivers/net/wireless/ath/ath5k/base.c skb = ieee80211_get_buffered_bc(ah->hw, vif); vif 2023 drivers/net/wireless/ath/ath5k/base.c skb = ieee80211_get_buffered_bc(ah->hw, vif); vif 91 drivers/net/wireless/ath/ath5k/base.h void ath5k_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif); vif 98 drivers/net/wireless/ath/ath5k/base.h int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 103 drivers/net/wireless/ath/ath5k/base.h struct ieee80211_vif *vif); vif 74 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 78 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ath5k_vif *avf = (void *)vif->drv_priv; vif 82 drivers/net/wireless/ath/ath5k/mac80211-ops.c if ((vif->type == NL80211_IFTYPE_AP || vif 83 drivers/net/wireless/ath/ath5k/mac80211-ops.c vif->type == NL80211_IFTYPE_ADHOC) vif 95 drivers/net/wireless/ath/ath5k/mac80211-ops.c (ah->nvifs && vif->type == NL80211_IFTYPE_ADHOC)) { vif 101 drivers/net/wireless/ath/ath5k/mac80211-ops.c switch (vif->type) { vif 106 drivers/net/wireless/ath/ath5k/mac80211-ops.c avf->opmode = vif->type; vif 135 drivers/net/wireless/ath/ath5k/mac80211-ops.c ah->bslot[avf->bslot] = vif; vif 147 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_hw_set_lladdr(ah, vif->addr); vif 149 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_update_bssid_mask_and_opmode(ah, vif); vif 159 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ieee80211_vif *vif) vif 162 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ath5k_vif *avf = (void *)vif->drv_priv; vif 172 drivers/net/wireless/ath/ath5k/mac80211-ops.c if (ah->bslot[i] == vif) { vif 252 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 255 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ath5k_vif *avf = (void *)vif->drv_priv; vif 303 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_beacon_update(hw, vif); vif 473 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 486 drivers/net/wireless/ath/ath5k/mac80211-ops.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 511 drivers/net/wireless/ath/ath5k/mac80211-ops.c ret = ath_key_config(common, vif, sta, key); vif 537 drivers/net/wireless/ath/ath5k/mac80211-ops.c struct ieee80211_vif *vif, vif 547 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 574 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, vif 613 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 622 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) vif 631 drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 145 drivers/net/wireless/ath/ath6kl/cfg80211.c static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) vif 147 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 149 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) vif 152 drivers/net/wireless/ath/ath6kl/cfg80211.c del_timer_sync(&vif->sched_scan_timer); vif 157 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); vif 162 drivers/net/wireless/ath/ath6kl/cfg80211.c static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) vif 164 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 167 drivers/net/wireless/ath/ath6kl/cfg80211.c stopped = __ath6kl_cfg80211_sscan_stop(vif); vif 175 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, vif 181 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = NONE_AUTH; vif 183 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA2_AUTH; vif 185 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA_AUTH; vif 194 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_auth_type(struct ath6kl_vif *vif, vif 201 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode = OPEN_AUTH; vif 204 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode = SHARED_AUTH; vif 207 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode = LEAP_AUTH; vif 211 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode = OPEN_AUTH | SHARED_AUTH; vif 222 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_cipher(struct ath6kl_vif *vif, u32 cipher, bool ucast) vif 224 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 *ar_cipher = ucast ? &vif->prwise_crypto : &vif->grp_crypto; vif 225 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 *ar_cipher_len = ucast ? &vif->prwise_crypto_len : vif 226 drivers/net/wireless/ath/ath6kl/cfg80211.c &vif->grp_crypto_len; vif 265 drivers/net/wireless/ath/ath6kl/cfg80211.c static void ath6kl_set_key_mgmt(struct ath6kl_vif *vif, u32 key_mgmt) vif 270 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->auth_mode == WPA_AUTH) vif 271 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA_PSK_AUTH; vif 272 drivers/net/wireless/ath/ath6kl/cfg80211.c else if (vif->auth_mode == WPA2_AUTH) vif 273 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA2_PSK_AUTH; vif 275 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->auth_mode == WPA_AUTH) vif 276 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA_AUTH_CCKM; vif 277 drivers/net/wireless/ath/ath6kl/cfg80211.c else if (vif->auth_mode == WPA2_AUTH) vif 278 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = WPA2_AUTH_CCKM; vif 280 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = NONE_AUTH; vif 284 drivers/net/wireless/ath/ath6kl/cfg80211.c static bool ath6kl_cfg80211_ready(struct ath6kl_vif *vif) vif 286 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 293 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(WLAN_ENABLED, &vif->flags)) { vif 321 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_assoc_req_ies(struct ath6kl_vif *vif, const u8 *ies, vif 324 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 361 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 429 drivers/net/wireless/ath/ath6kl/cfg80211.c static void ath6kl_cfg80211_sta_bmiss_enhance(struct ath6kl_vif *vif, vif 434 drivers/net/wireless/ath/ath6kl/cfg80211.c if (WARN_ON(!test_bit(WMI_READY, &vif->ar->flag))) vif 437 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != INFRA_NETWORK) vif 441 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ar->fw_capabilities)) vif 447 drivers/net/wireless/ath/ath6kl/cfg80211.c err = ath6kl_wmi_sta_bmiss_enhance_cmd(vif->ar->wmi, vif 448 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, enable); vif 458 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 463 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sscan_disable(vif); vif 465 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->sme_state = SME_CONNECTING; vif 467 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 507 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len); vif 516 drivers/net/wireless/ath/ath6kl/cfg80211.c if (test_bit(CONNECTED, &vif->flags) && vif 517 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len == sme->ssid_len && vif 518 drivers/net/wireless/ath/ath6kl/cfg80211.c !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { vif 519 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->reconnect_flag = true; vif 520 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_wmi_reconnect_cmd(ar->wmi, vif->fw_vif_idx, vif 521 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->req_bssid, vif 522 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ch_hint); vif 530 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (vif->ssid_len == sme->ssid_len && vif 531 drivers/net/wireless/ath/ath6kl/cfg80211.c !memcmp(vif->ssid, sme->ssid, vif->ssid_len)) { vif 532 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_disconnect(vif); vif 535 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->ssid, 0, sizeof(vif->ssid)); vif 536 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = sme->ssid_len; vif 537 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->ssid, sme->ssid, sme->ssid_len); vif 540 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ch_hint = sme->channel->center_freq; vif 542 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->req_bssid, 0, sizeof(vif->req_bssid)); vif 544 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->req_bssid, sme->bssid, sizeof(vif->req_bssid)); vif 546 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_wpa_version(vif, sme->crypto.wpa_versions); vif 548 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_set_auth_type(vif, sme->auth_type); vif 555 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, sme->crypto.ciphers_pairwise[0], true); vif 557 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, 0, true); vif 559 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, sme->crypto.cipher_group, false); vif 562 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_key_mgmt(vif, sme->crypto.akm_suites[0]); vif 565 drivers/net/wireless/ath/ath6kl/cfg80211.c (vif->auth_mode == NONE_AUTH) && vif 566 drivers/net/wireless/ath/ath6kl/cfg80211.c (vif->prwise_crypto == WEP_CRYPT)) { vif 576 drivers/net/wireless/ath/ath6kl/cfg80211.c key = &vif->keys[sme->key_idx]; vif 579 drivers/net/wireless/ath/ath6kl/cfg80211.c key->cipher = vif->prwise_crypto; vif 580 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->def_txkey_index = sme->key_idx; vif 582 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, sme->key_idx, vif 583 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto, vif 592 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags); vif 593 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 601 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type = vif->next_mode; vif 604 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sta_bmiss_enhance(vif, true); vif 606 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) vif 614 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode, vif->dot11_auth_mode, vif->prwise_crypto, vif 615 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto_len, vif->grp_crypto, vif 616 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->grp_crypto_len, vif->ch_hint); vif 618 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->reconnect_flag = 0; vif 620 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type == INFRA_NETWORK) { vif 621 drivers/net/wireless/ath/ath6kl/cfg80211.c interval = max_t(u16, vif->listen_intvl_t, vif 623 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif 633 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type, vif 634 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode, vif->auth_mode, vif 635 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto, vif 636 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto_len, vif 637 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->grp_crypto, vif->grp_crypto_len, vif 638 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len, vif->ssid, vif 639 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->req_bssid, vif->ch_hint, vif 650 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0, 0, vif 656 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->ssid, 0, sizeof(vif->ssid)); vif 657 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = 0; vif 666 drivers/net/wireless/ath/ath6kl/cfg80211.c ((vif->auth_mode == WPA_PSK_AUTH) || vif 667 drivers/net/wireless/ath/ath6kl/cfg80211.c (vif->auth_mode == WPA2_PSK_AUTH))) { vif 668 drivers/net/wireless/ath/ath6kl/cfg80211.c mod_timer(&vif->disconnect_timer, vif 673 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(CONNECT_PEND, &vif->flags); vif 679 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_add_bss_if_needed(struct ath6kl_vif *vif, vif 686 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 701 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid, vif->ssid_len, vif 712 drivers/net/wireless/ath/ath6kl/cfg80211.c ie = kmalloc(2 + vif->ssid_len + beacon_ie_len, GFP_KERNEL); vif 716 drivers/net/wireless/ath/ath6kl/cfg80211.c ie[1] = vif->ssid_len; vif 717 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(ie + 2, vif->ssid, vif->ssid_len); vif 718 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(ie + 2 + vif->ssid_len, beacon_ie, beacon_ie_len); vif 722 drivers/net/wireless/ath/ath6kl/cfg80211.c ie, 2 + vif->ssid_len + beacon_ie_len, vif 735 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, vif 743 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 763 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->assoc_bss_beacon_int = beacon_intvl; vif 764 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(DTIM_PERIOD_AVAIL, &vif->flags); vif 767 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) { vif 775 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION && vif 776 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { vif 785 drivers/net/wireless/ath/ath6kl/cfg80211.c bss = ath6kl_add_bss_if_needed(vif, nw_type, bssid, chan, vif 795 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_ibss_joined(vif->ndev, bssid, chan, GFP_KERNEL); vif 800 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->sme_state == SME_CONNECTING) { vif 802 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->sme_state = SME_CONNECTED; vif 803 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_connect_result(vif->ndev, bssid, vif 808 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (vif->sme_state == SME_CONNECTED) { vif 817 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_roamed(vif->ndev, &roam_info, GFP_KERNEL); vif 825 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 830 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sscan_disable(vif); vif 832 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 845 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->reconnect_flag = 0; vif 846 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_disconnect(vif); vif 847 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->ssid, 0, sizeof(vif->ssid)); vif 848 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = 0; vif 851 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->req_bssid, 0, sizeof(vif->req_bssid)); vif 858 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason, vif 862 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 864 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->scan_req) { vif 869 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_scan_done(vif->scan_req, &info); vif 870 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->scan_req = NULL; vif 873 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type & ADHOC_NETWORK) { vif 874 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC) vif 880 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type & INFRA_NETWORK) { vif 881 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION && vif 882 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype != NL80211_IFTYPE_P2P_CLIENT) { vif 889 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CONNECT_PEND, &vif->flags); vif 891 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->sme_state == SME_CONNECTING) { vif 892 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_connect_result(vif->ndev, vif 897 drivers/net/wireless/ath/ath6kl/cfg80211.c } else if (vif->sme_state == SME_CONNECTED) { vif 898 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_disconnected(vif->ndev, proto_reason, vif 902 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->sme_state = SME_DISCONNECTED; vif 913 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx); vif 917 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif, vif 979 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, i, vif 987 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, i, vif 997 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(request->wdev); vif 998 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = ath6kl_priv(vif->ndev); vif 1004 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1007 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sscan_disable(vif); vif 1010 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags); vif 1011 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 1019 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_set_probed_ssids(ar, vif, request->ssids, vif 1025 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 1054 drivers/net/wireless/ath/ath6kl/cfg80211.c if (test_bit(CONNECTED, &vif->flags)) vif 1057 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->scan_req = request; vif 1059 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_beginscan_cmd(ar->wmi, vif->fw_vif_idx, vif 1068 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->scan_req = NULL; vif 1076 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, bool aborted) vif 1078 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 1087 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif->scan_req) vif 1093 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->scan_req->n_ssids && vif->scan_req->ssids[0].ssid_len) { vif 1094 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = 0; i < vif->scan_req->n_ssids; i++) { vif 1095 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, vif 1102 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_scan_done(vif->scan_req, &info); vif 1103 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->scan_req = NULL; vif 1106 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq, vif 1113 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type, freq, mode); vif 1116 drivers/net/wireless/ath/ath6kl/cfg80211.c ieee80211_get_channel(vif->ar->wiphy, freq), vif 1121 drivers/net/wireless/ath/ath6kl/cfg80211.c mutex_lock(&vif->wdev.mtx); vif 1122 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_ch_switch_notify(vif->ndev, &chandef); vif 1123 drivers/net/wireless/ath/ath6kl/cfg80211.c mutex_unlock(&vif->wdev.mtx); vif 1132 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1138 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1144 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_add_krk_cmd(ar->wmi, vif->fw_vif_idx, vif 1155 drivers/net/wireless/ath/ath6kl/cfg80211.c key = &vif->keys[key_index]; vif 1200 drivers/net/wireless/ath/ath6kl/cfg80211.c if (((vif->auth_mode == WPA_PSK_AUTH) || vif 1201 drivers/net/wireless/ath/ath6kl/cfg80211.c (vif->auth_mode == WPA2_PSK_AUTH)) && vif 1203 drivers/net/wireless/ath/ath6kl/cfg80211.c del_timer(&vif->disconnect_timer); vif 1210 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type == AP_NETWORK && !pairwise && vif 1218 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(CONNECTED, &vif->flags)) { vif 1229 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->next_mode == AP_NETWORK && key_type == WEP_CRYPT && vif 1230 drivers/net/wireless/ath/ath6kl/cfg80211.c !test_bit(CONNECTED, &vif->flags)) { vif 1238 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wep_key_list[key_index].key_len = key->key_len; vif 1239 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->wep_key_list[key_index].key, key->key, vif 1244 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, key_index, vif 1256 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1260 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1270 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif->keys[key_index].key_len) { vif 1276 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->keys[key_index].key_len = 0; vif 1278 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_deletekey_cmd(ar->wmi, vif->fw_vif_idx, key_index); vif 1287 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1293 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1303 drivers/net/wireless/ath/ath6kl/cfg80211.c key = &vif->keys[key_index]; vif 1322 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1329 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1339 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif->keys[key_index].key_len) { vif 1345 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->def_txkey_index = key_index; vif 1346 drivers/net/wireless/ath/ath6kl/cfg80211.c key = &vif->keys[vif->def_txkey_index]; vif 1348 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->prwise_crypto == WEP_CRYPT) vif 1351 drivers/net/wireless/ath/ath6kl/cfg80211.c key_type = vif->prwise_crypto; vif 1353 drivers/net/wireless/ath/ath6kl/cfg80211.c key_type = vif->grp_crypto; vif 1355 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->next_mode == AP_NETWORK && !test_bit(CONNECTED, &vif->flags)) vif 1358 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, vif 1359 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->def_txkey_index, vif 1367 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, vif 1373 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_michael_mic_failure(vif->ndev, vif->bssid, vif 1382 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 1388 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 1389 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif) vif 1392 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1412 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 1418 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 1419 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif) vif 1422 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1437 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_set_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx, dbm); vif 1447 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 1449 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 1450 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif) vif 1453 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1456 drivers/net/wireless/ath/ath6kl/cfg80211.c if (test_bit(CONNECTED, &vif->flags)) { vif 1459 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_wmi_get_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx) != 0) { vif 1483 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1488 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1499 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_wmi_powermode_cmd(ar->wmi, vif->fw_vif_idx, vif 1541 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(wdev->netdev); vif 1544 drivers/net/wireless/ath/ath6kl/cfg80211.c list_del(&vif->list); vif 1547 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_vif_stop(vif, test_bit(WMI_READY, &ar->flag)); vif 1550 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_vif_cleanup(vif); vif 1561 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1572 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ar->fw_capabilities) && vif 1575 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->ar->vif_max == 1) { vif 1576 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->fw_vif_idx != 0) vif 1582 drivers/net/wireless/ath/ath6kl/cfg80211.c for (i = vif->ar->max_norm_iface; i < vif->ar->vif_max; i++) { vif 1583 drivers/net/wireless/ath/ath6kl/cfg80211.c if (i == vif->fw_vif_idx) vif 1587 drivers/net/wireless/ath/ath6kl/cfg80211.c if (i == vif->ar->vif_max) { vif 1594 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sta_bmiss_enhance(vif, false); vif 1600 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->next_mode = INFRA_NETWORK; vif 1603 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->next_mode = ADHOC_NETWORK; vif 1607 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->next_mode = AP_NETWORK; vif 1614 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype = type; vif 1624 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1627 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1630 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = ibss_param->ssid_len; vif 1631 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->ssid, ibss_param->ssid, vif->ssid_len); vif 1634 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ch_hint = ibss_param->chandef.chan->center_freq; vif 1646 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->req_bssid, 0, sizeof(vif->req_bssid)); vif 1648 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->req_bssid, ibss_param->bssid, vif 1649 drivers/net/wireless/ath/ath6kl/cfg80211.c sizeof(vif->req_bssid)); vif 1651 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_wpa_version(vif, 0); vif 1653 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_set_auth_type(vif, NL80211_AUTHTYPE_OPEN_SYSTEM); vif 1658 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, WLAN_CIPHER_SUITE_WEP40, true); vif 1659 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, WLAN_CIPHER_SUITE_WEP40, false); vif 1661 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, 0, true); vif 1662 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, 0, false); vif 1665 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type = vif->next_mode; vif 1672 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode, vif->dot11_auth_mode, vif->prwise_crypto, vif 1673 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto_len, vif->grp_crypto, vif 1674 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->grp_crypto_len, vif->ch_hint); vif 1676 drivers/net/wireless/ath/ath6kl/cfg80211.c status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type, vif 1677 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->dot11_auth_mode, vif->auth_mode, vif 1678 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto, vif 1679 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->prwise_crypto_len, vif 1680 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->grp_crypto, vif->grp_crypto_len, vif 1681 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len, vif->ssid, vif 1682 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->req_bssid, vif->ch_hint, vif 1684 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(CONNECT_PEND, &vif->flags); vif 1692 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1694 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 1697 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_disconnect(vif); vif 1698 drivers/net/wireless/ath/ath6kl/cfg80211.c memset(vif->ssid, 0, sizeof(vif->ssid)); vif 1699 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = 0; vif 1778 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1785 drivers/net/wireless/ath/ath6kl/cfg80211.c if (memcmp(mac, vif->bssid, ETH_ALEN) != 0) vif 1791 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(STATS_UPDATE_PEND, &vif->flags); vif 1793 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_get_stats_cmd(ar->wmi, vif->fw_vif_idx); vif 1802 drivers/net/wireless/ath/ath6kl/cfg80211.c &vif->flags), vif 1812 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->target_stats.rx_byte) { vif 1813 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->rx_bytes = vif->target_stats.rx_byte; vif 1815 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->rx_packets = vif->target_stats.rx_pkt; vif 1819 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->target_stats.tx_byte) { vif 1820 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->tx_bytes = vif->target_stats.tx_byte; vif 1822 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->tx_packets = vif->target_stats.tx_pkt; vif 1826 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->signal = vif->target_stats.cs_rssi; vif 1829 drivers/net/wireless/ath/ath6kl/cfg80211.c rate = vif->target_stats.tx_ucast_rate; vif 1862 drivers/net/wireless/ath/ath6kl/cfg80211.c if (test_bit(CONNECTED, &vif->flags) && vif 1863 drivers/net/wireless/ath/ath6kl/cfg80211.c test_bit(DTIM_PERIOD_AVAIL, &vif->flags) && vif 1864 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type == INFRA_NETWORK) { vif 1867 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->bss_param.dtim_period = vif->assoc_bss_dtim_period; vif 1868 drivers/net/wireless/ath/ath6kl/cfg80211.c sinfo->bss_param.beacon_interval = vif->assoc_bss_beacon_int; vif 1878 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(netdev); vif 1880 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx, pmksa->bssid, vif 1888 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(netdev); vif 1890 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx, pmksa->bssid, vif 1897 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(netdev); vif 1899 drivers/net/wireless/ath/ath6kl/cfg80211.c if (test_bit(CONNECTED, &vif->flags)) vif 1900 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx, vif 1901 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->bssid, NULL, false); vif 1905 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_wow_usr(struct ath6kl *ar, struct ath6kl_vif *vif, vif 1934 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 1960 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_wow_ap(struct ath6kl *ar, struct ath6kl_vif *vif) vif 1994 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2004 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2017 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2027 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2038 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_wow_sta(struct ath6kl *ar, struct ath6kl_vif *vif) vif 2040 drivers/net/wireless/ath/ath6kl/cfg80211.c struct net_device *ndev = vif->ndev; vif 2050 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2065 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, WOW_LIST_ID, vif 2077 drivers/net/wireless/ath/ath6kl/cfg80211.c static int is_hsleep_mode_procsed(struct ath6kl_vif *vif) vif 2079 drivers/net/wireless/ath/ath6kl/cfg80211.c return test_bit(HOST_SLEEP_MODE_CMD_PROCESSED, &vif->flags); vif 2087 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_cfg80211_host_sleep(struct ath6kl *ar, struct ath6kl_vif *vif) vif 2091 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(HOST_SLEEP_MODE_CMD_PROCESSED, &vif->flags); vif 2093 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx, vif 2099 drivers/net/wireless/ath/ath6kl/cfg80211.c is_hsleep_mode_procsed(vif), vif 2126 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_wow_suspend_vif(struct ath6kl_vif *vif, vif 2129 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 2137 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(NETDEV_MCAST_ALL_ON, &vif->flags) && vif 2140 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi, vif 2141 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, false); vif 2148 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_del_wow_pattern_cmd(ar->wmi, vif->fw_vif_idx, vif 2157 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_usr(ar, vif, wow, filter); vif 2158 drivers/net/wireless/ath/ath6kl/cfg80211.c else if (vif->nw_type == AP_NETWORK) vif 2159 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_ap(ar, vif); vif 2161 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_sta(ar, vif); vif 2166 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_stop_queue(vif->ndev); vif 2168 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != AP_NETWORK) { vif 2169 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif 2180 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_bmisstime_cmd(ar->wmi, vif->fw_vif_idx, vif 2185 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, vif 2193 drivers/net/wireless/ath/ath6kl/cfg80211.c in_dev = __in_dev_get_rtnl(vif->ndev); vif 2212 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_ip_cmd(ar->wmi, vif->fw_vif_idx, ips[0], ips[1]); vif 2223 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *first_vif, *vif; vif 2239 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry(vif, &ar->vif_list, list) { vif 2240 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(CONNECTED, &vif->flags) || vif 2241 drivers/net/wireless/ath/ath6kl/cfg80211.c !ath6kl_cfg80211_ready(vif)) vif 2245 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_suspend_vif(vif, wow, &filter); vif 2268 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_wow_resume_vif(struct ath6kl_vif *vif) vif 2270 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 2273 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != AP_NETWORK) { vif 2274 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, vif 2279 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif 2280 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->listen_intvl_t, 0); vif 2284 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_bmisstime_cmd(ar->wmi, vif->fw_vif_idx, vif 2285 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->bmiss_time_t, 0); vif 2290 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(NETDEV_MCAST_ALL_OFF, &vif->flags) && vif 2293 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi, vif 2294 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx, true); vif 2299 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_wake_queue(vif->ndev); vif 2306 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 2309 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 2310 drivers/net/wireless/ath/ath6kl/cfg80211.c if (WARN_ON(!vif) || vif 2311 drivers/net/wireless/ath/ath6kl/cfg80211.c !ath6kl_cfg80211_ready(vif)) vif 2316 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx, vif 2325 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry(vif, &ar->vif_list, list) { vif 2326 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(CONNECTED, &vif->flags) || vif 2327 drivers/net/wireless/ath/ath6kl/cfg80211.c !ath6kl_cfg80211_ready(vif)) vif 2329 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wow_resume_vif(vif); vif 2348 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 2351 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 2352 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif) vif 2370 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_wow_mode_cmd(ar->wmi, vif->fw_vif_idx, vif 2379 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_cfg80211_host_sleep(ar, vif); vif 2388 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 2391 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 2393 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif) vif 2403 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx, vif 2411 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, vif 2423 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 2486 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry(vif, &ar->vif_list, list) vif 2487 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_scan_complete_event(vif, true); vif 2596 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_htcap(struct ath6kl_vif *vif, enum nl80211_band band, vif 2599 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_htcap *htcap = &vif->htcap[band]; vif 2613 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_set_htcap_cmd(vif->ar->wmi, vif->fw_vif_idx, vif 2617 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_restore_htcap(struct ath6kl_vif *vif) vif 2619 drivers/net/wireless/ath/ath6kl/cfg80211.c struct wiphy *wiphy = vif->ar->wiphy; vif 2626 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_set_htcap(vif, band, vif 2642 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_ap_probe_resp_ies(struct ath6kl_vif *vif, vif 2645 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 2672 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 2678 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_set_ies(struct ath6kl_vif *vif, vif 2681 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 2685 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 2693 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_set_ap_probe_resp_ies(vif, info->proberesp_ies, vif 2699 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 2765 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 2777 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 2780 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->next_mode != AP_NETWORK) vif 2783 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_set_ies(vif, &info->beacon); vif 2787 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_ap_set_beacon_intvl_cmd(ar->wmi, vif->fw_vif_idx, vif 2793 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_ap_set_dtim_cmd(ar->wmi, vif->fw_vif_idx, vif 2809 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(vif->ssid, info->ssid, info->ssid_len); vif 2810 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ssid_len = info->ssid_len; vif 2814 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_ap_hidden_ssid(ar->wmi, vif->fw_vif_idx, hidden); vif 2818 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_set_auth_type(vif, info->auth_type); vif 2842 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->auth_mode = p.auth_mode; vif 2863 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, 0, true); vif 2865 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, info->crypto.ciphers_pairwise[0], true); vif 2886 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_set_cipher(vif, info->crypto.cipher_group, false); vif 2889 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type = vif->next_mode; vif 2891 drivers/net/wireless/ath/ath6kl/cfg80211.c p.ssid_len = vif->ssid_len; vif 2892 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(p.ssid, vif->ssid, vif->ssid_len); vif 2893 drivers/net/wireless/ath/ath6kl/cfg80211.c p.dot11_auth_mode = vif->dot11_auth_mode; vif 2897 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_ap_set_apsd(ar->wmi, vif->fw_vif_idx, true); vif 2901 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { vif 2919 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_set_inact_period(ar->wmi, vif->fw_vif_idx, vif 2925 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_set_htcap(vif, info->chandef.chan->band, vif 2939 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx, vif 2943 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->rsn_capab = rsn_capab; vif 2948 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(&vif->profile, &p, sizeof(p)); vif 2949 drivers/net/wireless/ath/ath6kl/cfg80211.c res = ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, &p); vif 2959 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 2961 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!ath6kl_cfg80211_ready(vif)) vif 2964 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->next_mode != AP_NETWORK) vif 2967 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_set_ies(vif, beacon); vif 2973 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 2975 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != AP_NETWORK) vif 2977 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!test_bit(CONNECTED, &vif->flags)) vif 2980 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx); vif 2981 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CONNECTED, &vif->flags); vif 2982 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_carrier_off(vif->ndev); vif 2985 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_restore_htcap(vif); vif 2994 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 2997 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx, WMI_AP_DEAUTH, vif 3006 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3009 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != AP_NETWORK) vif 3018 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx, vif 3020 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx, vif 3030 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); vif 3031 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = ath6kl_priv(vif->ndev); vif 3036 drivers/net/wireless/ath/ath6kl/cfg80211.c id = ++vif->last_roc_id; vif 3039 drivers/net/wireless/ath/ath6kl/cfg80211.c id = ++vif->last_roc_id; vif 3043 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_remain_on_chnl_cmd(ar->wmi, vif->fw_vif_idx, vif 3051 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); vif 3052 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = ath6kl_priv(vif->ndev); vif 3054 drivers/net/wireless/ath/ath6kl/cfg80211.c if (cookie != vif->last_roc_id) vif 3056 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->last_cancel_roc_id = cookie; vif 3058 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_cancel_remain_on_chnl_cmd(ar->wmi, vif->fw_vif_idx); vif 3061 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_send_go_probe_resp(struct ath6kl_vif *vif, vif 3065 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 3092 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_send_probe_response_cmd(ar->wmi, vif->fw_vif_idx, freq, vif 3098 drivers/net/wireless/ath/ath6kl/cfg80211.c static bool ath6kl_mgmt_powersave_ap(struct ath6kl_vif *vif, vif 3112 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 3118 drivers/net/wireless/ath/ath6kl/cfg80211.c conn = ath6kl_find_sta(vif, mgmt->da); vif 3150 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, vif 3186 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); vif 3187 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = ath6kl_priv(vif->ndev); vif 3200 drivers/net/wireless/ath/ath6kl/cfg80211.c freq = vif->ch_hint; vif 3209 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type == AP_NETWORK && test_bit(CONNECTED, &vif->flags) && vif 3217 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_send_go_probe_resp(vif, buf, len, freq); vif 3220 drivers/net/wireless/ath/ath6kl/cfg80211.c id = vif->send_action_id++; vif 3226 drivers/net/wireless/ath/ath6kl/cfg80211.c id = vif->send_action_id++; vif 3232 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type == AP_NETWORK) { vif 3233 drivers/net/wireless/ath/ath6kl/cfg80211.c queued = ath6kl_mgmt_powersave_ap(vif, id, freq, wait, buf, len, vif 3239 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx, id, freq, vif 3256 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = ath6kl_vif_from_wdev(wdev); vif 3266 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->probe_req_report = reg; vif 3275 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3291 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->sme_state != SME_DISCONNECTED) vif 3294 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_scan_complete_event(vif, true); vif 3296 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_set_probed_ssids(ar, vif, request->ssids, vif 3304 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 3309 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 3324 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_rssi_filter_cmd(ar->wmi, vif->fw_vif_idx, vif 3335 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, vif 3337 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->bg_scan_period, 0, 0, 0, 3, 0, 0, 0); vif 3340 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, vif 3349 drivers/net/wireless/ath/ath6kl/cfg80211.c ret = ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, true); vif 3353 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(SCHED_SCANNING, &vif->flags); vif 3361 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3364 drivers/net/wireless/ath/ath6kl/cfg80211.c stopped = __ath6kl_cfg80211_sscan_stop(vif); vif 3378 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3380 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_set_bitrate_mask(ar->wmi, vif->fw_vif_idx, vif 3389 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3391 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type != INFRA_NETWORK || vif 3395 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->sme_state != SME_CONNECTED) vif 3399 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->txe_intvl = intvl; vif 3401 drivers/net/wireless/ath/ath6kl/cfg80211.c return ath6kl_wmi_set_txe_notify(ar->wmi, vif->fw_vif_idx, vif 3475 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_stop(struct ath6kl_vif *vif) vif 3477 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sscan_disable(vif); vif 3479 drivers/net/wireless/ath/ath6kl/cfg80211.c switch (vif->sme_state) { vif 3483 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_connect_result(vif->ndev, vif->bssid, NULL, 0, vif 3489 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_disconnected(vif->ndev, 0, NULL, 0, true, GFP_KERNEL); vif 3493 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->ar->state != ATH6KL_STATE_RECOVERY && vif 3494 drivers/net/wireless/ath/ath6kl/cfg80211.c (test_bit(CONNECTED, &vif->flags) || vif 3495 drivers/net/wireless/ath/ath6kl/cfg80211.c test_bit(CONNECT_PEND, &vif->flags))) vif 3496 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx); vif 3498 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->sme_state = SME_DISCONNECTED; vif 3499 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CONNECTED, &vif->flags); vif 3500 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(CONNECT_PEND, &vif->flags); vif 3503 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_stop_queue(vif->ndev); vif 3504 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_carrier_off(vif->ndev); vif 3507 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->ar->state != ATH6KL_STATE_RECOVERY && vif 3508 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_wmi_scanparams_cmd(vif->ar->wmi, vif->fw_vif_idx, 0xFFFF, vif 3512 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_scan_complete_event(vif, true); vif 3517 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 3519 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = ath6kl_vif_first(ar); vif 3520 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif && ar->state != ATH6KL_STATE_RECOVERY) { vif 3534 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry(vif, &ar->vif_list, list) vif 3535 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_stop(vif); vif 3582 drivers/net/wireless/ath/ath6kl/cfg80211.c static int ath6kl_cfg80211_vif_init(struct ath6kl_vif *vif) vif 3584 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->aggr_cntxt = aggr_init(vif); vif 3585 drivers/net/wireless/ath/ath6kl/cfg80211.c if (!vif->aggr_cntxt) { vif 3590 drivers/net/wireless/ath/ath6kl/cfg80211.c timer_setup(&vif->disconnect_timer, disconnect_timer_handler, 0); vif 3591 drivers/net/wireless/ath/ath6kl/cfg80211.c timer_setup(&vif->sched_scan_timer, ath6kl_wmi_sscan_timer, 0); vif 3593 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(WMM_ENABLED, &vif->flags); vif 3594 drivers/net/wireless/ath/ath6kl/cfg80211.c spin_lock_init(&vif->if_lock); vif 3596 drivers/net/wireless/ath/ath6kl/cfg80211.c INIT_LIST_HEAD(&vif->mc_filter); vif 3601 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_vif_stop(struct ath6kl_vif *vif, bool wmi_ready) vif 3606 drivers/net/wireless/ath/ath6kl/cfg80211.c netif_stop_queue(vif->ndev); vif 3608 drivers/net/wireless/ath/ath6kl/cfg80211.c clear_bit(WLAN_ENABLED, &vif->flags); vif 3611 drivers/net/wireless/ath/ath6kl/cfg80211.c discon_issued = test_bit(CONNECTED, &vif->flags) || vif 3612 drivers/net/wireless/ath/ath6kl/cfg80211.c test_bit(CONNECT_PEND, &vif->flags); vif 3613 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_disconnect(vif); vif 3614 drivers/net/wireless/ath/ath6kl/cfg80211.c del_timer(&vif->disconnect_timer); vif 3617 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_disconnect_event(vif, DISCONNECT_CMD, vif 3618 drivers/net/wireless/ath/ath6kl/cfg80211.c (vif->nw_type & AP_NETWORK) ? vif 3619 drivers/net/wireless/ath/ath6kl/cfg80211.c bcast_mac : vif->bssid, vif 3623 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->scan_req) { vif 3628 drivers/net/wireless/ath/ath6kl/cfg80211.c cfg80211_scan_done(vif->scan_req, &info); vif 3629 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->scan_req = NULL; vif 3633 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_sta_bmiss_enhance(vif, false); vif 3636 drivers/net/wireless/ath/ath6kl/cfg80211.c void ath6kl_cfg80211_vif_cleanup(struct ath6kl_vif *vif) vif 3638 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 3641 drivers/net/wireless/ath/ath6kl/cfg80211.c aggr_module_destroy(vif->aggr_cntxt); vif 3643 drivers/net/wireless/ath/ath6kl/cfg80211.c ar->avail_idx_map |= BIT(vif->fw_vif_idx); vif 3645 drivers/net/wireless/ath/ath6kl/cfg80211.c if (vif->nw_type == ADHOC_NETWORK) vif 3648 drivers/net/wireless/ath/ath6kl/cfg80211.c list_for_each_entry_safe(mc_filter, tmp, &vif->mc_filter, list) { vif 3653 drivers/net/wireless/ath/ath6kl/cfg80211.c unregister_netdevice(vif->ndev); vif 3701 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif = netdev_priv(dev); vif 3702 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl *ar = vif->ar; vif 3708 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_read_tgt_stats(ar, vif); vif 3710 drivers/net/wireless/ath/ath6kl/cfg80211.c tgt_stats = &vif->target_stats; vif 3785 drivers/net/wireless/ath/ath6kl/cfg80211.c struct ath6kl_vif *vif; vif 3787 drivers/net/wireless/ath/ath6kl/cfg80211.c ndev = alloc_netdev(sizeof(*vif), name, name_assign_type, ether_setup); vif 3791 drivers/net/wireless/ath/ath6kl/cfg80211.c vif = netdev_priv(ndev); vif 3792 drivers/net/wireless/ath/ath6kl/cfg80211.c ndev->ieee80211_ptr = &vif->wdev; vif 3793 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.wiphy = ar->wiphy; vif 3794 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ar = ar; vif 3795 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->ndev = ndev; vif 3796 drivers/net/wireless/ath/ath6kl/cfg80211.c SET_NETDEV_DEV(ndev, wiphy_dev(vif->wdev.wiphy)); vif 3797 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.netdev = ndev; vif 3798 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->wdev.iftype = type; vif 3799 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->fw_vif_idx = fw_vif_idx; vif 3800 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->nw_type = nw_type; vif 3801 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->next_mode = nw_type; vif 3802 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->listen_intvl_t = ATH6KL_DEFAULT_LISTEN_INTVAL; vif 3803 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->bmiss_time_t = ATH6KL_DEFAULT_BMISS_TIME; vif 3804 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->bg_scan_period = 0; vif 3805 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->htcap[NL80211_BAND_2GHZ].ht_enable = true; vif 3806 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->htcap[NL80211_BAND_5GHZ].ht_enable = true; vif 3819 drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_init_control_info(vif); vif 3821 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ath6kl_cfg80211_vif_init(vif)) vif 3830 drivers/net/wireless/ath/ath6kl/cfg80211.c vif->sme_state = SME_DISCONNECTED; vif 3831 drivers/net/wireless/ath/ath6kl/cfg80211.c set_bit(WLAN_ENABLED, &vif->flags); vif 3838 drivers/net/wireless/ath/ath6kl/cfg80211.c list_add_tail(&vif->list, &ar->vif_list); vif 3841 drivers/net/wireless/ath/ath6kl/cfg80211.c return &vif->wdev; vif 3844 drivers/net/wireless/ath/ath6kl/cfg80211.c aggr_module_destroy(vif->aggr_cntxt); vif 31 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_ch_switch_notify(struct ath6kl_vif *vif, int freq, vif 33 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_scan_complete_event(struct ath6kl_vif *vif, bool aborted); vif 35 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_connect_event(struct ath6kl_vif *vif, u16 channel, vif 42 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason, vif 46 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, vif 55 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_vif_cleanup(struct ath6kl_vif *vif); vif 57 drivers/net/wireless/ath/ath6kl/cfg80211.h void ath6kl_cfg80211_stop(struct ath6kl_vif *vif); vif 912 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_init_profile_info(struct ath6kl_vif *vif); vif 919 drivers/net/wireless/ath/ath6kl/core.h struct aggr_info *aggr_init(struct ath6kl_vif *vif); vif 920 drivers/net/wireless/ath/ath6kl/core.h void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info, vif 931 drivers/net/wireless/ath/ath6kl/core.h struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr); vif 938 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, vif 943 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel); vif 944 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr, vif 947 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, vif 950 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast); vif 952 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_scan_complete_evt(struct ath6kl_vif *vif, int status); vif 953 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len); vif 957 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_pspoll_event(struct ath6kl_vif *vif, u8 aid); vif 959 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_dtimexpiry_event(struct ath6kl_vif *vif); vif 960 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_disconnect(struct ath6kl_vif *vif); vif 961 drivers/net/wireless/ath/ath6kl/core.h void aggr_recv_delba_req_evt(struct ath6kl_vif *vif, u8 tid); vif 962 drivers/net/wireless/ath/ath6kl/core.h void aggr_recv_addba_req_evt(struct ath6kl_vif *vif, u8 tid, u16 seq_no, vif 966 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_init_control_info(struct ath6kl_vif *vif); vif 968 drivers/net/wireless/ath/ath6kl/core.h void ath6kl_cfg80211_vif_stop(struct ath6kl_vif *vif, bool wmi_ready); vif 101 drivers/net/wireless/ath/ath6kl/debug.c int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif) vif 108 drivers/net/wireless/ath/ath6kl/debug.c set_bit(STATS_UPDATE_PEND, &vif->flags); vif 117 drivers/net/wireless/ath/ath6kl/debug.c &vif->flags), WMI_TIMEOUT); vif 569 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 577 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 578 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 585 drivers/net/wireless/ath/ath6kl/debug.c rv = ath6kl_read_tgt_stats(ar, vif); vif 591 drivers/net/wireless/ath/ath6kl/debug.c tgt_stats = &vif->target_stats; vif 1394 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 1402 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 1403 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 1555 drivers/net/wireless/ath/ath6kl/debug.c ath6kl_wmi_create_pstream_cmd(ar->wmi, vif->fw_vif_idx, &pstream); vif 1572 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 1579 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 1580 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 1601 drivers/net/wireless/ath/ath6kl/debug.c ath6kl_wmi_delete_pstream_cmd(ar->wmi, vif->fw_vif_idx, vif 1619 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 1624 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 1625 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 1639 drivers/net/wireless/ath/ath6kl/debug.c vif->bg_scan_period = bgscan_int; vif 1659 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 1664 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 1665 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 1679 drivers/net/wireless/ath/ath6kl/debug.c vif->listen_intvl_t = listen_interval; vif 1680 drivers/net/wireless/ath/ath6kl/debug.c ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif 1681 drivers/net/wireless/ath/ath6kl/debug.c vif->listen_intvl_t, 0); vif 1691 drivers/net/wireless/ath/ath6kl/debug.c struct ath6kl_vif *vif; vif 1695 drivers/net/wireless/ath/ath6kl/debug.c vif = ath6kl_vif_first(ar); vif 1696 drivers/net/wireless/ath/ath6kl/debug.c if (!vif) vif 1699 drivers/net/wireless/ath/ath6kl/debug.c len = scnprintf(buf, sizeof(buf), "%u\n", vif->listen_intvl_t); vif 62 drivers/net/wireless/ath/ath6kl/debug.h int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif); vif 234 drivers/net/wireless/ath/ath6kl/init.c void ath6kl_init_profile_info(struct ath6kl_vif *vif) vif 236 drivers/net/wireless/ath/ath6kl/init.c vif->ssid_len = 0; vif 237 drivers/net/wireless/ath/ath6kl/init.c memset(vif->ssid, 0, sizeof(vif->ssid)); vif 239 drivers/net/wireless/ath/ath6kl/init.c vif->dot11_auth_mode = OPEN_AUTH; vif 240 drivers/net/wireless/ath/ath6kl/init.c vif->auth_mode = NONE_AUTH; vif 241 drivers/net/wireless/ath/ath6kl/init.c vif->prwise_crypto = NONE_CRYPT; vif 242 drivers/net/wireless/ath/ath6kl/init.c vif->prwise_crypto_len = 0; vif 243 drivers/net/wireless/ath/ath6kl/init.c vif->grp_crypto = NONE_CRYPT; vif 244 drivers/net/wireless/ath/ath6kl/init.c vif->grp_crypto_len = 0; vif 245 drivers/net/wireless/ath/ath6kl/init.c memset(vif->wep_key_list, 0, sizeof(vif->wep_key_list)); vif 246 drivers/net/wireless/ath/ath6kl/init.c memset(vif->req_bssid, 0, sizeof(vif->req_bssid)); vif 247 drivers/net/wireless/ath/ath6kl/init.c memset(vif->bssid, 0, sizeof(vif->bssid)); vif 248 drivers/net/wireless/ath/ath6kl/init.c vif->bss_ch = 0; vif 404 drivers/net/wireless/ath/ath6kl/init.c void ath6kl_init_control_info(struct ath6kl_vif *vif) vif 406 drivers/net/wireless/ath/ath6kl/init.c ath6kl_init_profile_info(vif); vif 407 drivers/net/wireless/ath/ath6kl/init.c vif->def_txkey_index = 0; vif 408 drivers/net/wireless/ath/ath6kl/init.c memset(vif->wep_key_list, 0, sizeof(vif->wep_key_list)); vif 409 drivers/net/wireless/ath/ath6kl/init.c vif->ch_hint = 0; vif 1888 drivers/net/wireless/ath/ath6kl/init.c struct ath6kl_vif *vif, *tmp_vif; vif 1902 drivers/net/wireless/ath/ath6kl/init.c list_for_each_entry_safe(vif, tmp_vif, &ar->vif_list, list) { vif 1903 drivers/net/wireless/ath/ath6kl/init.c list_del(&vif->list); vif 1905 drivers/net/wireless/ath/ath6kl/init.c ath6kl_cfg80211_vif_stop(vif, test_bit(WMI_READY, &ar->flag)); vif 1907 drivers/net/wireless/ath/ath6kl/init.c ath6kl_cfg80211_vif_cleanup(vif); vif 26 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr) vif 28 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 35 drivers/net/wireless/ath/ath6kl/main.c max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; vif 61 drivers/net/wireless/ath/ath6kl/main.c static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, vif 65 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 83 drivers/net/wireless/ath/ath6kl/main.c aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn); vif 350 drivers/net/wireless/ath/ath6kl/main.c static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif) vif 356 drivers/net/wireless/ath/ath6kl/main.c if (vif->wep_key_list[index].key_len) { vif 358 drivers/net/wireless/ath/ath6kl/main.c if (index == vif->def_txkey_index) vif 361 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, vif 365 drivers/net/wireless/ath/ath6kl/main.c vif->wep_key_list[index].key_len, vif 367 drivers/net/wireless/ath/ath6kl/main.c vif->wep_key_list[index].key, vif 374 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel) vif 376 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 385 drivers/net/wireless/ath/ath6kl/main.c switch (vif->auth_mode) { vif 387 drivers/net/wireless/ath/ath6kl/main.c if (vif->prwise_crypto == WEP_CRYPT) vif 388 drivers/net/wireless/ath/ath6kl/main.c ath6kl_install_static_wep_keys(vif); vif 403 drivers/net/wireless/ath/ath6kl/main.c ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type, vif 416 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_ch_switch_notify(vif, channel, WMI_11G_HT20); vif 418 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, NONE_BSS_FILTER, 0); vif 419 drivers/net/wireless/ath/ath6kl/main.c set_bit(CONNECTED, &vif->flags); vif 420 drivers/net/wireless/ath/ath6kl/main.c netif_carrier_on(vif->ndev); vif 423 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr, vif 480 drivers/net/wireless/ath/ath6kl/main.c ath6kl_add_new_sta(vif, mac_addr, aid, wpa_ie, vif 494 drivers/net/wireless/ath/ath6kl/main.c cfg80211_new_sta(vif->ndev, mac_addr, sinfo, GFP_KERNEL); vif 496 drivers/net/wireless/ath/ath6kl/main.c netif_wake_queue(vif->ndev); vif 503 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif = from_timer(vif, t, disconnect_timer); vif 505 drivers/net/wireless/ath/ath6kl/main.c ath6kl_init_profile_info(vif); vif 506 drivers/net/wireless/ath/ath6kl/main.c ath6kl_disconnect(vif); vif 509 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_disconnect(struct ath6kl_vif *vif) vif 511 drivers/net/wireless/ath/ath6kl/main.c if (test_bit(CONNECTED, &vif->flags) || vif 512 drivers/net/wireless/ath/ath6kl/main.c test_bit(CONNECT_PEND, &vif->flags)) { vif 513 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx); vif 519 drivers/net/wireless/ath/ath6kl/main.c clear_bit(CONNECT_PEND, &vif->flags); vif 555 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_scan_complete_evt(struct ath6kl_vif *vif, int status) vif 557 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 563 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_scan_complete_event(vif, aborted); vif 566 drivers/net/wireless/ath/ath6kl/main.c clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags); vif 567 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 574 drivers/net/wireless/ath/ath6kl/main.c static int ath6kl_commit_ch_switch(struct ath6kl_vif *vif, u16 channel) vif 576 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 578 drivers/net/wireless/ath/ath6kl/main.c vif->profile.ch = cpu_to_le16(channel); vif 580 drivers/net/wireless/ath/ath6kl/main.c switch (vif->nw_type) { vif 586 drivers/net/wireless/ath/ath6kl/main.c if (vif->rsn_capab && vif 589 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx, vif 591 drivers/net/wireless/ath/ath6kl/main.c (const u8 *) &vif->rsn_capab, vif 592 drivers/net/wireless/ath/ath6kl/main.c sizeof(vif->rsn_capab)); vif 594 drivers/net/wireless/ath/ath6kl/main.c return ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, vif 595 drivers/net/wireless/ath/ath6kl/main.c &vif->profile); vif 597 drivers/net/wireless/ath/ath6kl/main.c ath6kl_err("won't switch channels nw_type=%d\n", vif->nw_type); vif 604 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif; vif 611 drivers/net/wireless/ath/ath6kl/main.c list_for_each_entry(vif, &ar->vif_list, list) { vif 612 drivers/net/wireless/ath/ath6kl/main.c if (ar->want_ch_switch & (1 << vif->fw_vif_idx)) vif 613 drivers/net/wireless/ath/ath6kl/main.c res = ath6kl_commit_ch_switch(vif, channel); vif 616 drivers/net/wireless/ath/ath6kl/main.c ar->want_ch_switch &= ~(1 << vif->fw_vif_idx); vif 620 drivers/net/wireless/ath/ath6kl/main.c vif->nw_type, res); vif 625 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid, vif 631 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 633 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_connect_event(vif, channel, bssid, vif 639 drivers/net/wireless/ath/ath6kl/main.c memcpy(vif->bssid, bssid, sizeof(vif->bssid)); vif 640 drivers/net/wireless/ath/ath6kl/main.c vif->bss_ch = channel; vif 642 drivers/net/wireless/ath/ath6kl/main.c if (vif->nw_type == INFRA_NETWORK) { vif 643 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, vif 644 drivers/net/wireless/ath/ath6kl/main.c vif->listen_intvl_t, 0); vif 648 drivers/net/wireless/ath/ath6kl/main.c netif_wake_queue(vif->ndev); vif 651 drivers/net/wireless/ath/ath6kl/main.c spin_lock_bh(&vif->if_lock); vif 652 drivers/net/wireless/ath/ath6kl/main.c set_bit(CONNECTED, &vif->flags); vif 653 drivers/net/wireless/ath/ath6kl/main.c clear_bit(CONNECT_PEND, &vif->flags); vif 654 drivers/net/wireless/ath/ath6kl/main.c netif_carrier_on(vif->ndev); vif 655 drivers/net/wireless/ath/ath6kl/main.c spin_unlock_bh(&vif->if_lock); vif 657 drivers/net/wireless/ath/ath6kl/main.c aggr_reset_state(vif->aggr_cntxt->aggr_conn); vif 658 drivers/net/wireless/ath/ath6kl/main.c vif->reconnect_flag = 0; vif 660 drivers/net/wireless/ath/ath6kl/main.c if ((vif->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) { vif 667 drivers/net/wireless/ath/ath6kl/main.c set_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags); vif 668 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 673 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast) vif 676 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 683 drivers/net/wireless/ath/ath6kl/main.c if (vif->nw_type == AP_NETWORK) { vif 692 drivers/net/wireless/ath/ath6kl/main.c cfg80211_michael_mic_failure(vif->ndev, sta->mac, vif 696 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_tkip_micerr_event(vif, keyid, ismcast); vif 700 drivers/net/wireless/ath/ath6kl/main.c static void ath6kl_update_target_stats(struct ath6kl_vif *vif, u8 *ptr, u32 len) vif 704 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 705 drivers/net/wireless/ath/ath6kl/main.c struct target_stats *stats = &vif->target_stats; vif 808 drivers/net/wireless/ath/ath6kl/main.c if (test_bit(STATS_UPDATE_PEND, &vif->flags)) { vif 809 drivers/net/wireless/ath/ath6kl/main.c clear_bit(STATS_UPDATE_PEND, &vif->flags); vif 819 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len) vif 822 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 827 drivers/net/wireless/ath/ath6kl/main.c if (vif->nw_type == AP_NETWORK) { vif 846 drivers/net/wireless/ath/ath6kl/main.c ath6kl_update_target_stats(vif, ptr, len); vif 865 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_pspoll_event(struct ath6kl_vif *vif, u8 aid) vif 870 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 898 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx, vif 909 drivers/net/wireless/ath/ath6kl/main.c ath6kl_data_tx(skb, vif->ndev); vif 918 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, conn->aid, 0); vif 921 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_dtimexpiry_event(struct ath6kl_vif *vif) vif 925 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 947 drivers/net/wireless/ath/ath6kl/main.c set_bit(DTIM_EXPIRED, &vif->flags); vif 953 drivers/net/wireless/ath/ath6kl/main.c ath6kl_data_tx(skb, vif->ndev); vif 959 drivers/net/wireless/ath/ath6kl/main.c clear_bit(DTIM_EXPIRED, &vif->flags); vif 962 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, MCAST_AID, 0); vif 965 drivers/net/wireless/ath/ath6kl/main.c void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid, vif 969 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 971 drivers/net/wireless/ath/ath6kl/main.c if (vif->nw_type == AP_NETWORK) { vif 975 drivers/net/wireless/ath/ath6kl/main.c ar->want_ch_switch |= 1 << vif->fw_vif_idx; vif 977 drivers/net/wireless/ath/ath6kl/main.c ar->last_ch = le16_to_cpu(vif->profile.ch); vif 982 drivers/net/wireless/ath/ath6kl/main.c cfg80211_conn_failed(vif->ndev, bssid, vif 989 drivers/net/wireless/ath/ath6kl/main.c cfg80211_conn_failed(vif->ndev, bssid, vif 1005 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, vif 1011 drivers/net/wireless/ath/ath6kl/main.c cfg80211_del_sta(vif->ndev, bssid, GFP_KERNEL); vif 1014 drivers/net/wireless/ath/ath6kl/main.c if (memcmp(vif->ndev->dev_addr, bssid, ETH_ALEN) == 0) { vif 1015 drivers/net/wireless/ath/ath6kl/main.c memset(vif->wep_key_list, 0, sizeof(vif->wep_key_list)); vif 1016 drivers/net/wireless/ath/ath6kl/main.c clear_bit(CONNECTED, &vif->flags); vif 1021 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_disconnect_event(vif, reason, bssid, vif 1025 drivers/net/wireless/ath/ath6kl/main.c aggr_reset_state(vif->aggr_cntxt->aggr_conn); vif 1027 drivers/net/wireless/ath/ath6kl/main.c del_timer(&vif->disconnect_timer); vif 1038 drivers/net/wireless/ath/ath6kl/main.c ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 1041 drivers/net/wireless/ath/ath6kl/main.c set_bit(CONNECT_PEND, &vif->flags); vif 1045 drivers/net/wireless/ath/ath6kl/main.c (vif->reconnect_flag == 1))) { vif 1046 drivers/net/wireless/ath/ath6kl/main.c set_bit(CONNECTED, &vif->flags); vif 1055 drivers/net/wireless/ath/ath6kl/main.c spin_lock_bh(&vif->if_lock); vif 1056 drivers/net/wireless/ath/ath6kl/main.c clear_bit(CONNECTED, &vif->flags); vif 1057 drivers/net/wireless/ath/ath6kl/main.c netif_carrier_off(vif->ndev); vif 1058 drivers/net/wireless/ath/ath6kl/main.c spin_unlock_bh(&vif->if_lock); vif 1060 drivers/net/wireless/ath/ath6kl/main.c if ((reason != CSERV_DISCONNECT) || (vif->reconnect_flag != 1)) vif 1061 drivers/net/wireless/ath/ath6kl/main.c vif->reconnect_flag = 0; vif 1066 drivers/net/wireless/ath/ath6kl/main.c netif_stop_queue(vif->ndev); vif 1067 drivers/net/wireless/ath/ath6kl/main.c memset(vif->bssid, 0, sizeof(vif->bssid)); vif 1068 drivers/net/wireless/ath/ath6kl/main.c vif->bss_ch = 0; vif 1075 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif; vif 1083 drivers/net/wireless/ath/ath6kl/main.c vif = list_first_entry(&ar->vif_list, struct ath6kl_vif, list); vif 1087 drivers/net/wireless/ath/ath6kl/main.c return vif; vif 1092 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1094 drivers/net/wireless/ath/ath6kl/main.c set_bit(WLAN_ENABLED, &vif->flags); vif 1096 drivers/net/wireless/ath/ath6kl/main.c if (test_bit(CONNECTED, &vif->flags)) { vif 1108 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1112 drivers/net/wireless/ath/ath6kl/main.c ath6kl_cfg80211_stop(vif); vif 1114 drivers/net/wireless/ath/ath6kl/main.c clear_bit(WLAN_ENABLED, &vif->flags); vif 1122 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif = netdev_priv(dev); vif 1123 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl *ar = vif->ar; vif 1130 drivers/net/wireless/ath/ath6kl/main.c vif->fw_vif_idx, vif 1140 drivers/net/wireless/ath/ath6kl/main.c vif->fw_vif_idx, vif 1153 drivers/net/wireless/ath/ath6kl/main.c struct ath6kl_vif *vif = netdev_priv(ndev); vif 1162 drivers/net/wireless/ath/ath6kl/main.c if (!test_bit(WMI_READY, &vif->ar->flag) || vif 1163 drivers/net/wireless/ath/ath6kl/main.c !test_bit(WLAN_ENABLED, &vif->flags)) vif 1172 drivers/net/wireless/ath/ath6kl/main.c set_bit(NETDEV_MCAST_ALL_ON, &vif->flags); vif 1174 drivers/net/wireless/ath/ath6kl/main.c clear_bit(NETDEV_MCAST_ALL_ON, &vif->flags); vif 1177 drivers/net/wireless/ath/ath6kl/main.c vif->ar->fw_capabilities)) { vif 1178 drivers/net/wireless/ath/ath6kl/main.c mc_all_on = mc_all_on || (vif->ar->state == ATH6KL_STATE_ON); vif 1183 drivers/net/wireless/ath/ath6kl/main.c set_bit(NETDEV_MCAST_ALL_OFF, &vif->flags); vif 1185 drivers/net/wireless/ath/ath6kl/main.c clear_bit(NETDEV_MCAST_ALL_OFF, &vif->flags); vif 1192 drivers/net/wireless/ath/ath6kl/main.c ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi, vif->fw_vif_idx, vif 1200 drivers/net/wireless/ath/ath6kl/main.c if (test_bit(NETDEV_MCAST_ALL_ON, &vif->flags)) vif 1204 drivers/net/wireless/ath/ath6kl/main.c list_for_each_entry_safe(mc_filter, tmp, &vif->mc_filter, list) { vif 1222 drivers/net/wireless/ath/ath6kl/main.c ret = ath6kl_wmi_add_del_mcast_filter_cmd(vif->ar->wmi, vif 1223 drivers/net/wireless/ath/ath6kl/main.c vif->fw_vif_idx, mc_filter->hw_addr, vif 1240 drivers/net/wireless/ath/ath6kl/main.c list_for_each_entry(mc_filter, &vif->mc_filter, list) { vif 1262 drivers/net/wireless/ath/ath6kl/main.c ret = ath6kl_wmi_add_del_mcast_filter_cmd(vif->ar->wmi, vif 1263 drivers/net/wireless/ath/ath6kl/main.c vif->fw_vif_idx, mc_filter->hw_addr, vif 1277 drivers/net/wireless/ath/ath6kl/main.c list_splice_tail(&mc_filter_new, &vif->mc_filter); vif 103 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif, vif 107 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl *ar = vif->ar; vif 132 drivers/net/wireless/ath/ath6kl/txrx.c if (test_bit(WMM_ENABLED, &vif->flags)) { vif 167 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, vif 176 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif, vif 181 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl *ar = vif->ar; vif 204 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, vif 209 drivers/net/wireless/ath/ath6kl/txrx.c static bool ath6kl_powersave_ap(struct ath6kl_vif *vif, struct sk_buff *skb, vif 215 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl *ar = vif->ar; vif 233 drivers/net/wireless/ath/ath6kl/txrx.c if (!test_bit(DTIM_EXPIRED, &vif->flags)) { vif 249 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, vif 265 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_dest); vif 275 drivers/net/wireless/ath/ath6kl/txrx.c vif, skb, flags); vif 278 drivers/net/wireless/ath/ath6kl/txrx.c vif, skb, flags); vif 361 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif = netdev_priv(dev); vif 378 drivers/net/wireless/ath/ath6kl/txrx.c if (!test_bit(CONNECTED, &vif->flags)) vif 388 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 389 drivers/net/wireless/ath/ath6kl/txrx.c if (ath6kl_powersave_ap(vif, skb, &flags)) vif 430 drivers/net/wireless/ath/ath6kl/txrx.c meta, vif->fw_vif_idx); vif 438 drivers/net/wireless/ath/ath6kl/txrx.c if ((vif->nw_type == ADHOC_NETWORK) && vif 439 drivers/net/wireless/ath/ath6kl/txrx.c ar->ibss_ps_enable && test_bit(CONNECTED, &vif->flags)) vif 444 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, skb, vif 445 drivers/net/wireless/ath/ath6kl/txrx.c 0, test_bit(WMM_ENABLED, &vif->flags), &ac); vif 590 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif; vif 626 drivers/net/wireless/ath/ath6kl/txrx.c list_for_each_entry(vif, &ar->vif_list, list) { vif 627 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == ADHOC_NETWORK || vif 631 drivers/net/wireless/ath/ath6kl/txrx.c set_bit(NETQ_STOPPED, &vif->flags); vif 632 drivers/net/wireless/ath/ath6kl/txrx.c netif_stop_queue(vif->ndev); vif 643 drivers/net/wireless/ath/ath6kl/txrx.c static void ath6kl_tx_clear_node_map(struct ath6kl_vif *vif, vif 646 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl *ar = vif->ar; vif 649 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type != ADHOC_NETWORK) vif 694 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif; vif 754 drivers/net/wireless/ath/ath6kl/txrx.c vif = ath6kl_get_vif_by_index(ar, if_idx); vif 755 drivers/net/wireless/ath/ath6kl/txrx.c if (!vif) { vif 765 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.tx_errors++; vif 781 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.tx_packets++; vif 782 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.tx_bytes += skb->len; vif 785 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_tx_clear_node_map(vif, eid, map_no); vif 789 drivers/net/wireless/ath/ath6kl/txrx.c if (test_bit(NETQ_STOPPED, &vif->flags)) vif 790 drivers/net/wireless/ath/ath6kl/txrx.c clear_bit(NETQ_STOPPED, &vif->flags); vif 799 drivers/net/wireless/ath/ath6kl/txrx.c list_for_each_entry(vif, &ar->vif_list, list) { vif 800 drivers/net/wireless/ath/ath6kl/txrx.c if (test_bit(CONNECTED, &vif->flags) && vif 801 drivers/net/wireless/ath/ath6kl/txrx.c !flushing[vif->fw_vif_idx]) { vif 803 drivers/net/wireless/ath/ath6kl/txrx.c netif_wake_queue(vif->ndev); vif 1232 drivers/net/wireless/ath/ath6kl/txrx.c static void ath6kl_uapsd_trigger_frame_rx(struct ath6kl_vif *vif, vif 1235 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl *ar = vif->ar; vif 1282 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_data_tx(skb, vif->ndev); vif 1294 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, vif 1317 drivers/net/wireless/ath/ath6kl/txrx.c struct ath6kl_vif *vif; vif 1351 drivers/net/wireless/ath/ath6kl/txrx.c vif = ath6kl_get_vif_by_index(ar, if_idx); vif 1352 drivers/net/wireless/ath/ath6kl/txrx.c if (!vif) { vif 1361 drivers/net/wireless/ath/ath6kl/txrx.c spin_lock_bh(&vif->if_lock); vif 1363 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.rx_packets++; vif 1364 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.rx_bytes += packet->act_len; vif 1366 drivers/net/wireless/ath/ath6kl/txrx.c spin_unlock_bh(&vif->if_lock); vif 1368 drivers/net/wireless/ath/ath6kl/txrx.c skb->dev = vif->ndev; vif 1373 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_deliver_frames_to_nw_stack(vif->ndev, skb); vif 1389 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type != AP_NETWORK && vif 1393 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.rx_errors++; vif 1394 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.rx_length_errors++; vif 1404 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 1427 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_source); vif 1452 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_uapsd_trigger_frame_rx(vif, conn); vif 1470 drivers/net/wireless/ath/ath6kl/txrx.c idx = vif->fw_vif_idx; vif 1487 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_data_tx(skbuff, vif->ndev); vif 1494 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_data_tx(skbuff, vif->ndev); vif 1502 drivers/net/wireless/ath/ath6kl/txrx.c vif->fw_vif_idx, vif 1506 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, vif 1560 drivers/net/wireless/ath/ath6kl/txrx.c if (!(vif->ndev->flags & IFF_UP)) { vif 1565 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 1580 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_dest); vif 1591 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_data_tx(skb1, vif->ndev); vif 1602 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 1603 drivers/net/wireless/ath/ath6kl/txrx.c conn = ath6kl_find_sta(vif, datap->h_source); vif 1608 drivers/net/wireless/ath/ath6kl/txrx.c aggr_conn = vif->aggr_cntxt->aggr_conn; vif 1617 drivers/net/wireless/ath/ath6kl/txrx.c vif->ndev->stats.multicast++; vif 1620 drivers/net/wireless/ath/ath6kl/txrx.c ath6kl_deliver_frames_to_nw_stack(vif->ndev, skb); vif 1698 drivers/net/wireless/ath/ath6kl/txrx.c void aggr_recv_addba_req_evt(struct ath6kl_vif *vif, u8 tid_mux, u16 seq_no, vif 1707 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 1709 drivers/net/wireless/ath/ath6kl/txrx.c sta = ath6kl_find_sta_by_aid(vif->ar, aid); vif 1713 drivers/net/wireless/ath/ath6kl/txrx.c aggr_conn = vif->aggr_cntxt->aggr_conn; vif 1746 drivers/net/wireless/ath/ath6kl/txrx.c void aggr_conn_init(struct ath6kl_vif *vif, struct aggr_info *aggr_info, vif 1753 drivers/net/wireless/ath/ath6kl/txrx.c aggr_conn->dev = vif->ndev; vif 1768 drivers/net/wireless/ath/ath6kl/txrx.c struct aggr_info *aggr_init(struct ath6kl_vif *vif) vif 1785 drivers/net/wireless/ath/ath6kl/txrx.c aggr_conn_init(vif, p_aggr, p_aggr->aggr_conn); vif 1793 drivers/net/wireless/ath/ath6kl/txrx.c void aggr_recv_delba_req_evt(struct ath6kl_vif *vif, u8 tid_mux) vif 1800 drivers/net/wireless/ath/ath6kl/txrx.c if (vif->nw_type == AP_NETWORK) { vif 1802 drivers/net/wireless/ath/ath6kl/txrx.c sta = ath6kl_find_sta_by_aid(vif->ar, aid); vif 1806 drivers/net/wireless/ath/ath6kl/txrx.c aggr_conn = vif->aggr_cntxt->aggr_conn; vif 138 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif, *found = NULL; vif 145 drivers/net/wireless/ath/ath6kl/wmi.c list_for_each_entry(vif, &ar->vif_list, list) { vif 146 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->fw_vif_idx == if_idx) { vif 147 drivers/net/wireless/ath/ath6kl/wmi.c found = vif; vif 504 drivers/net/wireless/ath/ath6kl/wmi.c int len, struct ath6kl_vif *vif) vif 528 drivers/net/wireless/ath/ath6kl/wmi.c id = vif->last_roc_id; vif 529 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_ready_on_channel(&vif->wdev, id, chan, vif 537 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 562 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->last_cancel_roc_id && vif 563 drivers/net/wireless/ath/ath6kl/wmi.c vif->last_cancel_roc_id + 1 == vif->last_roc_id) vif 564 drivers/net/wireless/ath/ath6kl/wmi.c id = vif->last_cancel_roc_id; /* event for cancel command */ vif 566 drivers/net/wireless/ath/ath6kl/wmi.c id = vif->last_roc_id; /* timeout on uncanceled r-o-c */ vif 567 drivers/net/wireless/ath/ath6kl/wmi.c vif->last_cancel_roc_id = 0; vif 568 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_remain_on_channel_expired(&vif->wdev, id, chan, GFP_ATOMIC); vif 574 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 587 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_mgmt_tx_status(&vif->wdev, id, vif 600 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 619 drivers/net/wireless/ath/ath6kl/wmi.c dlen, freq, vif->probe_req_report); vif 621 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->probe_req_report || vif->nw_type == AP_NETWORK) vif 622 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); vif 643 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 661 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); vif 855 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 865 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->nw_type == AP_NETWORK) { vif 867 drivers/net/wireless/ath/ath6kl/wmi.c struct net_device *dev = vif->ndev; vif 874 drivers/net/wireless/ath/ath6kl/wmi.c vif, le16_to_cpu(ev->u.ap_bss.ch)); vif 886 drivers/net/wireless/ath/ath6kl/wmi.c vif, ev->u.ap_sta.aid, ev->u.ap_sta.mac_addr, vif 932 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_connect_event(vif, le16_to_cpu(ev->u.sta.ch), vif 1021 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1038 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_disconnect_event(vif, ev->disconn_reason, vif 1065 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1074 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_tkip_micerr_event(vif, ev->key_id, ev->is_mcast); vif 1081 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif = from_timer(vif, t, sched_scan_timer); vif 1083 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_sched_scan_results(vif->ar->wiphy, 0); vif 1087 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1113 drivers/net/wireless/ath/ath6kl/wmi.c test_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags)) { vif 1114 drivers/net/wireless/ath/ath6kl/wmi.c clear_bit(CLEAR_BSSFILTER_ON_BEACON, &vif->flags); vif 1115 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, vif 1127 drivers/net/wireless/ath/ath6kl/wmi.c test_bit(CONNECTED, &vif->flags) && vif 1128 drivers/net/wireless/ath/ath6kl/wmi.c memcmp(bih->bssid, vif->bssid, ETH_ALEN) == 0) { vif 1133 drivers/net/wireless/ath/ath6kl/wmi.c vif->assoc_bss_dtim_period = tim[3]; vif 1134 drivers/net/wireless/ath/ath6kl/wmi.c set_bit(DTIM_PERIOD_AVAIL, &vif->flags); vif 1160 drivers/net/wireless/ath/ath6kl/wmi.c if (test_bit(SCHED_SCANNING, &vif->flags) && vif 1161 drivers/net/wireless/ath/ath6kl/wmi.c !timer_pending(&vif->sched_scan_timer)) { vif 1162 drivers/net/wireless/ath/ath6kl/wmi.c mod_timer(&vif->sched_scan_timer, jiffies + vif 1281 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1287 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_scan_complete_evt(vif, a_sle32_to_cpu(ev->status)); vif 1294 drivers/net/wireless/ath/ath6kl/wmi.c int len, struct ath6kl_vif *vif) vif 1312 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_pmksa_candidate_notify(vif->ndev, i, vif 1354 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1356 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_tgt_stats_event(vif, datap, len); vif 1511 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1535 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx, vif 1551 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx, vif 1584 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 1592 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->nw_type != INFRA_NETWORK || vif 1594 drivers/net/wireless/ath/ath6kl/wmi.c vif->ar->fw_capabilities)) vif 1597 drivers/net/wireless/ath/ath6kl/wmi.c if (vif->sme_state != SME_CONNECTED) vif 1605 drivers/net/wireless/ath/ath6kl/wmi.c vif->bssid, rate, pkts, vif->txe_intvl); vif 1607 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_cqm_txe_notify(vif->ndev, vif->bssid, pkts, vif 1608 drivers/net/wireless/ath/ath6kl/wmi.c rate, vif->txe_intvl, GFP_KERNEL); vif 2914 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 2918 drivers/net/wireless/ath/ath6kl/wmi.c set_bit(HOST_SLEEP_MODE_CMD_PROCESSED, &vif->flags); vif 3366 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 3370 drivers/net/wireless/ath/ath6kl/wmi.c aggr_recv_addba_req_evt(vif, cmd->tid, vif 3377 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 3381 drivers/net/wireless/ath/ath6kl/wmi.c aggr_recv_delba_req_evt(vif, cmd->tid); vif 3487 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 3496 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_pspoll_event(vif, le16_to_cpu(ev->aid)); vif 3502 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif) vif 3504 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_dtimexpiry_event(vif); vif 3894 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_vif *vif; vif 3896 drivers/net/wireless/ath/ath6kl/wmi.c vif = ath6kl_get_vif_by_index(wmi->parent_dev, if_idx); vif 3897 drivers/net/wireless/ath/ath6kl/wmi.c if (!vif) { vif 3907 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_connect_event_rx(wmi, datap, len, vif); vif 3910 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_disconnect_event_rx(wmi, datap, len, vif); vif 3913 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_tkip_micerr_event_rx(wmi, datap, len, vif); vif 3916 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_bssinfo_event_rx(wmi, datap, len, vif); vif 3920 drivers/net/wireless/ath/ath6kl/wmi.c vif); vif 3923 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_scan_complete_rx(wmi, datap, len, vif); vif 3926 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_stats_event_rx(wmi, datap, len, vif); vif 3929 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_cac_event_rx(wmi, datap, len, vif); vif 3932 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_pspoll_event_rx(wmi, datap, len, vif); vif 3935 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_dtimexpiry_event_rx(wmi, datap, len, vif); vif 3938 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_addba_req_event_rx(wmi, datap, len, vif); vif 3941 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_delba_req_event_rx(wmi, datap, len, vif); vif 3945 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx(wmi, vif); vif 3948 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_remain_on_chnl_event_rx(wmi, datap, len, vif); vif 3953 drivers/net/wireless/ath/ath6kl/wmi.c len, vif); vif 3956 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_tx_status_event_rx(wmi, datap, len, vif); vif 3959 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_rx_probe_req_event_rx(wmi, datap, len, vif); vif 3962 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_rx_action_event_rx(wmi, datap, len, vif); vif 3965 drivers/net/wireless/ath/ath6kl/wmi.c return ath6kl_wmi_txe_notify_event_rx(wmi, datap, len, vif); vif 254 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif; /* interface with which we're associated */ vif 430 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif = an->vif; vif 433 drivers/net/wireless/ath/ath9k/ath9k.h BUG_ON(!vif); vif 437 drivers/net/wireless/ath/ath9k/ath9k.h txq = vif->txq; vif 470 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif); vif 473 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif); vif 485 drivers/net/wireless/ath/ath9k/ath9k.h void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, vif 521 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif, vif 533 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif) vif 540 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif) vif 598 drivers/net/wireless/ath/ath9k/ath9k.h void ath_tx_cabq(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 632 drivers/net/wireless/ath/ath9k/ath9k.h struct ieee80211_vif *vif; vif 677 drivers/net/wireless/ath/ath9k/ath9k.h void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif); vif 719 drivers/net/wireless/ath/ath9k/ath9k.h void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif); vif 720 drivers/net/wireless/ath/ath9k/ath9k.h void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif); vif 723 drivers/net/wireless/ath/ath9k/ath9k.h bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif); vif 72 drivers/net/wireless/ath/ath9k/beacon.c static void ath9k_beacon_setup(struct ath_softc *sc, struct ieee80211_vif *vif, vif 85 drivers/net/wireless/ath/ath9k/beacon.c if (vif->bss_conf.use_short_preamble) vif 113 drivers/net/wireless/ath/ath9k/beacon.c struct ieee80211_vif *vif) vif 118 drivers/net/wireless/ath/ath9k/beacon.c struct ath_vif *avp = (void *)vif->drv_priv; vif 138 drivers/net/wireless/ath/ath9k/beacon.c skb = ieee80211_beacon_get(hw, vif); vif 165 drivers/net/wireless/ath/ath9k/beacon.c skb = ieee80211_get_buffered_bc(hw, vif); vif 187 drivers/net/wireless/ath/ath9k/beacon.c ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx); vif 190 drivers/net/wireless/ath/ath9k/beacon.c ath_tx_cabq(hw, vif, skb); vif 195 drivers/net/wireless/ath/ath9k/beacon.c void ath9k_beacon_assign_slot(struct ath_softc *sc, struct ieee80211_vif *vif) vif 198 drivers/net/wireless/ath/ath9k/beacon.c struct ath_vif *avp = (void *)vif->drv_priv; vif 211 drivers/net/wireless/ath/ath9k/beacon.c sc->beacon.bslot[avp->av_bslot] = vif; vif 217 drivers/net/wireless/ath/ath9k/beacon.c void ath9k_beacon_remove_slot(struct ath_softc *sc, struct ieee80211_vif *vif) vif 220 drivers/net/wireless/ath/ath9k/beacon.c struct ath_vif *avp = (void *)vif->drv_priv; vif 247 drivers/net/wireless/ath/ath9k/beacon.c struct ieee80211_vif *vif; vif 269 drivers/net/wireless/ath/ath9k/beacon.c vif = sc->beacon.bslot[slot + first_slot]; vif 270 drivers/net/wireless/ath/ath9k/beacon.c sc->beacon.bslot[slot] = vif; vif 272 drivers/net/wireless/ath/ath9k/beacon.c if (vif) { vif 273 drivers/net/wireless/ath/ath9k/beacon.c avp = (void *)vif->drv_priv; vif 281 drivers/net/wireless/ath/ath9k/beacon.c vif = sc->beacon.bslot[0]; vif 282 drivers/net/wireless/ath/ath9k/beacon.c if (WARN_ON(!vif)) vif 286 drivers/net/wireless/ath/ath9k/beacon.c avp = (void *)vif->drv_priv; vif 363 drivers/net/wireless/ath/ath9k/beacon.c bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif) vif 365 drivers/net/wireless/ath/ath9k/beacon.c if (!vif || !vif->csa_active) vif 368 drivers/net/wireless/ath/ath9k/beacon.c if (!ieee80211_csa_is_complete(vif)) vif 371 drivers/net/wireless/ath/ath9k/beacon.c ieee80211_csa_finish(vif); vif 375 drivers/net/wireless/ath/ath9k/beacon.c static void ath9k_csa_update_vif(void *data, u8 *mac, struct ieee80211_vif *vif) vif 378 drivers/net/wireless/ath/ath9k/beacon.c ath9k_csa_is_finished(sc, vif); vif 394 drivers/net/wireless/ath/ath9k/beacon.c struct ieee80211_vif *vif; vif 442 drivers/net/wireless/ath/ath9k/beacon.c vif = sc->beacon.bslot[slot]; vif 451 drivers/net/wireless/ath/ath9k/beacon.c if (ath9k_csa_is_finished(sc, vif)) vif 455 drivers/net/wireless/ath/ath9k/beacon.c if (!vif || !vif->bss_conf.enable_beacon) vif 459 drivers/net/wireless/ath/ath9k/beacon.c ath_chanctx_event(sc, vif, ATH_CHANCTX_EVENT_BEACON_PREPARE); vif 462 drivers/net/wireless/ath/ath9k/beacon.c bf = ath9k_beacon_generate(sc->hw, vif); vif 161 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif; vif 170 drivers/net/wireless/ath/ath9k/channel.c vif = avp->vif; vif 172 drivers/net/wireless/ath/ath9k/channel.c if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_P2P_GO) { vif 281 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif = avp->vif; vif 283 drivers/net/wireless/ath/ath9k/channel.c switch (vif->type) { vif 494 drivers/net/wireless/ath/ath9k/channel.c void ath_chanctx_event(struct ath_softc *sc, struct ieee80211_vif *vif, vif 505 drivers/net/wireless/ath/ath9k/channel.c if (vif) vif 506 drivers/net/wireless/ath/ath9k/channel.c avp = (struct ath_vif *) vif->drv_priv; vif 579 drivers/net/wireless/ath/ath9k/channel.c ath_dbg(common, CHAN_CTX, "Preparing beacon for vif: %pM\n", vif->addr); vif 912 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif; vif 915 drivers/net/wireless/ath/ath9k/channel.c vif = sc->offchannel.scan_vif; vif 916 drivers/net/wireless/ath/ath9k/channel.c sc->offchannel.chan.txpower = vif->bss_conf.txpower; vif 919 drivers/net/wireless/ath/ath9k/channel.c vif = sc->offchannel.roc_vif; vif 920 drivers/net/wireless/ath/ath9k/channel.c sc->offchannel.chan.txpower = vif->bss_conf.txpower; vif 993 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif = sc->offchannel.scan_vif; vif 999 drivers/net/wireless/ath/ath9k/channel.c skb = ieee80211_probereq_get(sc->hw, vif->addr, vif 1013 drivers/net/wireless/ath/ath9k/channel.c if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, NULL)) vif 1104 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif = avp->vif; vif 1111 drivers/net/wireless/ath/ath9k/channel.c switch (vif->type) { vif 1116 drivers/net/wireless/ath/ath9k/channel.c skb = ieee80211_nullfunc_get(sc->hw, vif, false); vif 1127 drivers/net/wireless/ath/ath9k/channel.c if (!ieee80211_tx_prepare_skb(sc->hw, vif, skb, band, &sta)) { vif 1455 drivers/net/wireless/ath/ath9k/channel.c static void ath9k_update_p2p_ps(struct ath_softc *sc, struct ieee80211_vif *vif) vif 1457 drivers/net/wireless/ath/ath9k/channel.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1463 drivers/net/wireless/ath/ath9k/channel.c if (vif->type != NL80211_IFTYPE_STATION) vif 1472 drivers/net/wireless/ath/ath9k/channel.c ieee80211_parse_p2p_noa(&vif->bss_conf.p2p_noa_attr, &avp->noa, tsf); vif 1490 drivers/net/wireless/ath/ath9k/channel.c ctwin = avp->vif->bss_conf.p2p_noa_attr.oppps_ctwindow; vif 1559 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif; vif 1585 drivers/net/wireless/ath/ath9k/channel.c vif = avp->vif; vif 1586 drivers/net/wireless/ath/ath9k/channel.c sta = ieee80211_find_sta(vif, avp->bssid); vif 1605 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif) vif 1611 drivers/net/wireless/ath/ath9k/channel.c ath9k_update_p2p_ps(sc, vif); vif 1619 drivers/net/wireless/ath/ath9k/channel.c ath9k_update_p2p_ps(sc, sc->p2p_ps_vif->vif); vif 1623 drivers/net/wireless/ath/ath9k/channel.c struct ieee80211_vif *vif) vif 1625 drivers/net/wireless/ath/ath9k/channel.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1280 drivers/net/wireless/ath/ath9k/debug.c struct ieee80211_vif *vif, vif 1289 drivers/net/wireless/ath/ath9k/debug.c struct ieee80211_vif *vif, int sset) vif 1310 drivers/net/wireless/ath/ath9k/debug.c struct ieee80211_vif *vif, vif 263 drivers/net/wireless/ath/ath9k/debug.h struct ieee80211_vif *vif, int sset); vif 265 drivers/net/wireless/ath/ath9k/debug.h struct ieee80211_vif *vif, vif 268 drivers/net/wireless/ath/ath9k/debug.h struct ieee80211_vif *vif, vif 271 drivers/net/wireless/ath/ath9k/debug.h struct ieee80211_vif *vif, vif 246 drivers/net/wireless/ath/ath9k/debug_sta.c struct ieee80211_vif *vif, vif 366 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif, vif 369 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif, int sset); vif 371 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif, vif 545 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif); vif 547 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif); vif 549 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif); vif 552 drivers/net/wireless/ath/ath9k/htc.h struct ieee80211_vif *vif); vif 141 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif; vif 148 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c vif = priv->beacon.bslot[slot]; vif 150 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c skb = ieee80211_get_buffered_bc(priv->hw, vif); vif 185 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c skb = ieee80211_get_buffered_bc(priv->hw, vif); vif 195 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif; vif 209 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c vif = priv->beacon.bslot[slot]; vif 210 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c avp = (struct ath9k_htc_vif *)vif->drv_priv; vif 218 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c beacon = ieee80211_beacon_get(priv->hw, vif); vif 323 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif) vif 326 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv; vif 337 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c priv->beacon.bslot[avp->bslot] = vif; vif 345 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif) vif 348 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv; vif 363 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif) vif 366 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *)vif->drv_priv; vif 385 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c static void ath9k_htc_beacon_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 388 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; vif 390 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c if (vif->type == NL80211_IFTYPE_STATION && vif 396 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif) vif 400 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 410 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c (vif->type == NL80211_IFTYPE_AP) && vif 422 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c (vif->type != NL80211_IFTYPE_AP)) { vif 434 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c (vif->type == NL80211_IFTYPE_STATION)) { vif 451 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif) vif 455 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 456 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; vif 458 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c if (!ath9k_htc_check_beacon_config(priv, vif)) vif 469 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c switch (vif->type) { vif 511 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c struct ieee80211_vif *vif; vif 513 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c vif = priv->csa_vif; vif 514 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c if (!vif || !vif->csa_active) vif 517 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c if (!ieee80211_csa_is_complete(vif)) vif 520 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c ieee80211_csa_finish(vif); vif 427 drivers/net/wireless/ath/ath9k/htc_drv_debug.c struct ieee80211_vif *vif, vif 436 drivers/net/wireless/ath/ath9k/htc_drv_debug.c struct ieee80211_vif *vif, int sset) vif 454 drivers/net/wireless/ath/ath9k/htc_drv_debug.c struct ieee80211_vif *vif, vif 91 drivers/net/wireless/ath/ath9k/htc_drv_main.c static void ath9k_htc_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 94 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 96 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_AP || vif 97 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 127 drivers/net/wireless/ath/ath9k/htc_drv_main.c static void ath9k_htc_bssid_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 141 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 154 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (vif) vif 155 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_bssid_iter(&iter_data, vif->addr, vif); vif 467 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 472 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; vif 497 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&tsta.macaddr, vif->addr, ETH_ALEN); vif 533 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 537 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ath9k_htc_vif *avp = (struct ath9k_htc_vif *) vif->drv_priv; vif 676 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 687 drivers/net/wireless/ath/ath9k/htc_drv_main.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 703 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1035 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 1038 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ath9k_htc_vif *avp = (void *)vif->drv_priv; vif 1048 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&hvif.myaddr, vif->addr, ETH_ALEN); vif 1050 drivers/net/wireless/ath/ath9k/htc_drv_main.c switch (vif->type) { vif 1065 drivers/net/wireless/ath/ath9k/htc_drv_main.c "Interface type %d not yet supported\n", vif->type); vif 1081 drivers/net/wireless/ath/ath9k/htc_drv_main.c ret = ath9k_htc_add_station(priv, vif, NULL); vif 1087 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_set_mac_bssid_mask(priv, vif); vif 1092 drivers/net/wireless/ath/ath9k/htc_drv_main.c INC_VIF(priv, vif->type); vif 1094 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1095 drivers/net/wireless/ath/ath9k/htc_drv_main.c (vif->type == NL80211_IFTYPE_MESH_POINT) || vif 1096 drivers/net/wireless/ath/ath9k/htc_drv_main.c (vif->type == NL80211_IFTYPE_ADHOC)) vif 1097 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_assign_bslot(priv, vif); vif 1108 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type, avp->index); vif 1118 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 1122 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ath9k_htc_vif *avp = (void *)vif->drv_priv; vif 1131 drivers/net/wireless/ath/ath9k/htc_drv_main.c memcpy(&hvif.myaddr, vif->addr, ETH_ALEN); vif 1141 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (priv->csa_vif == vif) vif 1144 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_remove_station(priv, vif, NULL); vif 1146 drivers/net/wireless/ath/ath9k/htc_drv_main.c DEC_VIF(priv, vif->type); vif 1148 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1149 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type == NL80211_IFTYPE_MESH_POINT || vif 1150 drivers/net/wireless/ath/ath9k/htc_drv_main.c (vif->type == NL80211_IFTYPE_ADHOC)) vif 1151 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_remove_bslot(priv, vif); vif 1155 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_set_mac_bssid_mask(priv, vif); vif 1160 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_AP) && (priv->num_ap_vif == 0)) { vif 1317 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1326 drivers/net/wireless/ath/ath9k/htc_drv_main.c ret = ath9k_htc_add_station(priv, vif, sta); vif 1339 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1351 drivers/net/wireless/ath/ath9k/htc_drv_main.c ret = ath9k_htc_remove_station(priv, vif, sta); vif 1359 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1371 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, u16 queue, vif 1417 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1428 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 1429 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 1449 drivers/net/wireless/ath/ath9k/htc_drv_main.c ret = ath_key_config(common, vif, sta, key); vif 1484 drivers/net/wireless/ath/ath9k/htc_drv_main.c static void ath9k_htc_bss_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 1488 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 1490 drivers/net/wireless/ath/ath9k/htc_drv_main.c if ((vif->type == NL80211_IFTYPE_STATION) && bss_conf->assoc) { vif 1509 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1551 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_set_tsfadjust(priv, vif); vif 1553 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_beacon_config(priv, vif); vif 1567 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_beacon_config(priv, vif); vif 1577 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type == NL80211_IFTYPE_AP && vif 1580 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type == NL80211_IFTYPE_MESH_POINT && vif 1587 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_beacon_config(priv, vif); vif 1595 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (vif->type == NL80211_IFTYPE_AP) { vif 1610 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_update_rate(priv, vif, bss_conf); vif 1617 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 1632 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, u64 tsf) vif 1644 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 1656 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1675 drivers/net/wireless/ath/ath9k/htc_drv_main.c ret = ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid); vif 1677 drivers/net/wireless/ath/ath9k/htc_drv_main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1682 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid); vif 1683 drivers/net/wireless/ath/ath9k/htc_drv_main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1706 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1722 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif) vif 1761 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1767 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ath9k_htc_vif *avp = (void *)vif->drv_priv; vif 1857 drivers/net/wireless/ath/ath9k/htc_drv_main.c struct ieee80211_vif *vif, vif 1866 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->csa_vif = vif; vif 261 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ieee80211_vif *vif, vif 312 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c (vif && vif->bss_conf.use_cts_prot)) vif 342 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ieee80211_vif *vif = tx_info->control.vif; vif 353 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c if (vif) { vif 354 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c avp = (struct ath9k_htc_vif *) vif->drv_priv; vif 377 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c ath9k_htc_tx_data(priv, vif, skb, vif 401 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ieee80211_vif *vif, vif 413 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c sta = ieee80211_find_sta(vif, hdr->addr1); vif 444 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c struct ieee80211_vif *vif; vif 462 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c vif = tx_info->control.vif; vif 471 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c if (!txok || !vif || !txs) vif 501 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c ath9k_htc_check_tx_aggr(priv, vif, skb); vif 348 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 355 drivers/net/wireless/ath/ath9k/main.c an->vif = vif; vif 916 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 920 drivers/net/wireless/ath/ath9k/main.c iter_data->primary_beacon_vif = vif; vif 923 drivers/net/wireless/ath/ath9k/main.c vif->type == NL80211_IFTYPE_AP) vif 924 drivers/net/wireless/ath/ath9k/main.c iter_data->primary_beacon_vif = vif; vif 932 drivers/net/wireless/ath/ath9k/main.c u8 *mac, struct ieee80211_vif *vif) vif 934 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; vif 946 drivers/net/wireless/ath/ath9k/main.c if (!vif->bss_conf.use_short_slot) vif 949 drivers/net/wireless/ath/ath9k/main.c switch (vif->type) { vif 952 drivers/net/wireless/ath/ath9k/main.c if (vif->bss_conf.enable_beacon) vif 953 drivers/net/wireless/ath/ath9k/main.c ath9k_vif_iter_set_beacon(iter_data, vif); vif 958 drivers/net/wireless/ath/ath9k/main.c iter_data->primary_sta = vif; vif 965 drivers/net/wireless/ath/ath9k/main.c if (vif->bss_conf.enable_beacon) vif 966 drivers/net/wireless/ath/ath9k/main.c ath9k_vif_iter_set_beacon(iter_data, vif); vif 970 drivers/net/wireless/ath/ath9k/main.c if (vif->bss_conf.enable_beacon) vif 971 drivers/net/wireless/ath/ath9k/main.c ath9k_vif_iter_set_beacon(iter_data, vif); vif 1025 drivers/net/wireless/ath/ath9k/main.c ath9k_vif_iter(iter_data, avp->vif->addr, avp->vif); vif 1031 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, bool changed) vif 1034 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (struct ath_vif *)vif->drv_priv; vif 1057 drivers/net/wireless/ath/ath9k/main.c vif->addr, common->curbssid); vif 1065 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif = NULL; vif 1070 drivers/net/wireless/ath/ath9k/main.c vif = sc->offchannel.scan_vif; vif 1072 drivers/net/wireless/ath/ath9k/main.c vif = sc->offchannel.roc_vif; vif 1074 drivers/net/wireless/ath/ath9k/main.c if (WARN_ON(!vif)) vif 1079 drivers/net/wireless/ath/ath9k/main.c memcpy(common->macaddr, vif->addr, ETH_ALEN); vif 1081 drivers/net/wireless/ath/ath9k/main.c ah->opmode = vif->type; vif 1195 drivers/net/wireless/ath/ath9k/main.c static void ath9k_tpc_vif_iter(void *data, u8 *mac, struct ieee80211_vif *vif) vif 1199 drivers/net/wireless/ath/ath9k/main.c if (*power < vif->bss_conf.txpower) vif 1200 drivers/net/wireless/ath/ath9k/main.c *power = vif->bss_conf.txpower; vif 1204 drivers/net/wireless/ath/ath9k/main.c void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif) vif 1212 drivers/net/wireless/ath/ath9k/main.c power = (vif) ? vif->bss_conf.txpower : -1; vif 1228 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 1236 drivers/net/wireless/ath/ath9k/main.c vif->hw_queue[i] = i; vif 1238 drivers/net/wireless/ath/ath9k/main.c if (vif->type == NL80211_IFTYPE_AP || vif 1239 drivers/net/wireless/ath/ath9k/main.c vif->type == NL80211_IFTYPE_MESH_POINT) vif 1240 drivers/net/wireless/ath/ath9k/main.c vif->cab_queue = hw->queues - 2; vif 1242 drivers/net/wireless/ath/ath9k/main.c vif->cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 1246 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 1251 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1260 drivers/net/wireless/ath/ath9k/main.c sc->tx99_vif = vif; vif 1263 drivers/net/wireless/ath/ath9k/main.c ath_dbg(common, CONFIG, "Attach a VIF of type: %d\n", vif->type); vif 1266 drivers/net/wireless/ath/ath9k/main.c if (vif->type == NL80211_IFTYPE_STATION && ath9k_is_chanctx_enabled()) vif 1267 drivers/net/wireless/ath/ath9k/main.c vif->driver_flags |= IEEE80211_VIF_GET_NOA_UPDATE; vif 1269 drivers/net/wireless/ath/ath9k/main.c if (ath9k_uses_beacons(vif->type)) vif 1270 drivers/net/wireless/ath/ath9k/main.c ath9k_beacon_assign_slot(sc, vif); vif 1272 drivers/net/wireless/ath/ath9k/main.c avp->vif = vif; vif 1280 drivers/net/wireless/ath/ath9k/main.c ath9k_assign_hw_queues(hw, vif); vif 1282 drivers/net/wireless/ath/ath9k/main.c ath9k_set_txpower(sc, vif); vif 1286 drivers/net/wireless/ath/ath9k/main.c an->vif = vif; vif 1295 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1301 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1312 drivers/net/wireless/ath/ath9k/main.c if (ath9k_uses_beacons(vif->type)) vif 1313 drivers/net/wireless/ath/ath9k/main.c ath9k_beacon_remove_slot(sc, vif); vif 1315 drivers/net/wireless/ath/ath9k/main.c vif->type = new_type; vif 1316 drivers/net/wireless/ath/ath9k/main.c vif->p2p = p2p; vif 1318 drivers/net/wireless/ath/ath9k/main.c if (ath9k_uses_beacons(vif->type)) vif 1319 drivers/net/wireless/ath/ath9k/main.c ath9k_beacon_assign_slot(sc, vif); vif 1321 drivers/net/wireless/ath/ath9k/main.c ath9k_assign_hw_queues(hw, vif); vif 1324 drivers/net/wireless/ath/ath9k/main.c ath9k_set_txpower(sc, vif); vif 1331 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 1335 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1341 drivers/net/wireless/ath/ath9k/main.c ath9k_p2p_remove_vif(sc, vif); vif 1348 drivers/net/wireless/ath/ath9k/main.c if (ath9k_uses_beacons(vif->type)) vif 1349 drivers/net/wireless/ath/ath9k/main.c ath9k_beacon_remove_slot(sc, vif); vif 1509 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1518 drivers/net/wireless/ath/ath9k/main.c ath_node_attach(sc, sta, vif); vif 1520 drivers/net/wireless/ath/ath9k/main.c if (vif->type != NL80211_IFTYPE_AP && vif 1521 drivers/net/wireless/ath/ath9k/main.c vif->type != NL80211_IFTYPE_AP_VLAN) vif 1524 drivers/net/wireless/ath/ath9k/main.c key = ath_key_config(common, vif, sta, &ps_key); vif 1534 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1550 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1555 drivers/net/wireless/ath/ath9k/main.c ath9k_del_ps_key(sc, vif, sta); vif 1562 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1573 drivers/net/wireless/ath/ath9k/main.c ret = ath9k_sta_add(hw, vif, sta); vif 1578 drivers/net/wireless/ath/ath9k/main.c ret = ath9k_sta_remove(hw, vif, sta); vif 1584 drivers/net/wireless/ath/ath9k/main.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1587 drivers/net/wireless/ath/ath9k/main.c ath_chanctx_event(sc, vif, vif 1609 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1631 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, u16 queue, vif 1673 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1685 drivers/net/wireless/ath/ath9k/main.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 1686 drivers/net/wireless/ath/ath9k/main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 1709 drivers/net/wireless/ath/ath9k/main.c ath9k_del_ps_key(sc, vif, sta); vif 1712 drivers/net/wireless/ath/ath9k/main.c ret = ath_key_config(common, vif, sta, key); vif 1757 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1769 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1806 drivers/net/wireless/ath/ath9k/main.c if (vif->type == NL80211_IFTYPE_AP) { vif 1821 drivers/net/wireless/ath/ath9k/main.c ath9k_p2p_bss_info_changed(sc, vif); vif 1828 drivers/net/wireless/ath/ath9k/main.c vif->addr, bss_conf->txpower, bss_conf->txpower_type); vif 1829 drivers/net/wireless/ath/ath9k/main.c ath9k_set_txpower(sc, vif); vif 1838 drivers/net/wireless/ath/ath9k/main.c static u64 ath9k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1841 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1861 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1865 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1878 drivers/net/wireless/ath/ath9k/main.c static void ath9k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1881 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 1896 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 1927 drivers/net/wireless/ath/ath9k/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1938 drivers/net/wireless/ath/ath9k/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2057 drivers/net/wireless/ath/ath9k/main.c static void ath9k_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2148 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif; vif 2155 drivers/net/wireless/ath/ath9k/main.c vif = sc->beacon.bslot[0]; vif 2156 drivers/net/wireless/ath/ath9k/main.c if (!vif) vif 2159 drivers/net/wireless/ath/ath9k/main.c if (!vif->bss_conf.enable_beacon) vif 2162 drivers/net/wireless/ath/ath9k/main.c avp = (void *)vif->drv_priv; vif 2273 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 2282 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 2313 drivers/net/wireless/ath/ath9k/main.c static int ath9k_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2330 drivers/net/wireless/ath/ath9k/main.c sc->offchannel.scan_vif = vif; vif 2335 drivers/net/wireless/ath/ath9k/main.c vif->addr); vif 2349 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 2354 drivers/net/wireless/ath/ath9k/main.c ath_dbg(common, CHAN_CTX, "Cancel HW scan on vif: %pM\n", vif->addr); vif 2363 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 2379 drivers/net/wireless/ath/ath9k/main.c sc->offchannel.roc_vif = vif; vif 2385 drivers/net/wireless/ath/ath9k/main.c vif->addr, type, duration); vif 2399 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif) vif 2491 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 2496 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 2506 drivers/net/wireless/ath/ath9k/main.c vif->addr, vif->type, vif->p2p, vif 2514 drivers/net/wireless/ath/ath9k/main.c vif->hw_queue[i] = ctx->hw_queue_base + i; vif 2522 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 2527 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 2537 drivers/net/wireless/ath/ath9k/main.c vif->addr, vif->type, vif->p2p, vif 2545 drivers/net/wireless/ath/ath9k/main.c vif->hw_queue[ac] = IEEE80211_INVAL_HW_QUEUE; vif 2551 drivers/net/wireless/ath/ath9k/main.c struct ieee80211_vif *vif, vif 2556 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (struct ath_vif *) vif->drv_priv; vif 2614 drivers/net/wireless/ath/ath9k/main.c __func__, vif->addr); vif 2645 drivers/net/wireless/ath/ath9k/main.c static int ath9k_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2649 drivers/net/wireless/ath/ath9k/main.c struct ath_vif *avp = (void *)vif->drv_priv; vif 85 drivers/net/wireless/ath/ath9k/tx99.c tx_info->control.vif = sc->tx99_vif; vif 132 drivers/net/wireless/ath/ath9k/xmit.c queue->sta ? queue->sta->addr : queue->vif->addr, vif 153 drivers/net/wireless/ath/ath9k/xmit.c ieee80211_send_bar(tid->an->vif, tid->an->sta->addr, tid->tidno, vif 157 drivers/net/wireless/ath/ath9k/xmit.c static void ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 160 drivers/net/wireless/ath/ath9k/xmit.c ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, vif 1464 drivers/net/wireless/ath/ath9k/xmit.c ath_set_rates(tid->an->vif, tid->an->sta, bf); vif 1491 drivers/net/wireless/ath/ath9k/xmit.c ath_set_rates(tid->an->vif, tid->an->sta, bf); vif 1656 drivers/net/wireless/ath/ath9k/xmit.c ath_set_rates(tid->an->vif, tid->an->sta, bf); vif 2086 drivers/net/wireless/ath/ath9k/xmit.c if (tx_info->control.vif && vif 2087 drivers/net/wireless/ath/ath9k/xmit.c tx_info->control.vif->bss_conf.use_short_preamble) vif 2096 drivers/net/wireless/ath/ath9k/xmit.c if (tx_info->control.vif) { vif 2097 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_vif *vif = tx_info->control.vif; vif 2099 drivers/net/wireless/ath/ath9k/xmit.c txpower = 2 * vif->bss_conf.txpower; vif 2200 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_vif *vif = info->control.vif; vif 2206 drivers/net/wireless/ath/ath9k/xmit.c if (!vif) vif 2209 drivers/net/wireless/ath/ath9k/xmit.c avp = (struct ath_vif *)vif->drv_priv; vif 2224 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_vif *vif = info->control.vif; vif 2233 drivers/net/wireless/ath/ath9k/xmit.c else if (vif && ieee80211_is_data(hdr->frame_control)) { vif 2234 drivers/net/wireless/ath/ath9k/xmit.c avp = (void *)vif->drv_priv; vif 2243 drivers/net/wireless/ath/ath9k/xmit.c if ((vif && vif->type != NL80211_IFTYPE_AP && vif 2244 drivers/net/wireless/ath/ath9k/xmit.c vif->type != NL80211_IFTYPE_AP_VLAN) || vif 2270 drivers/net/wireless/ath/ath9k/xmit.c struct ieee80211_vif *vif = info->control.vif; vif 2322 drivers/net/wireless/ath/ath9k/xmit.c ath_set_rates(vif, sta, bf); vif 2331 drivers/net/wireless/ath/ath9k/xmit.c void ath_tx_cabq(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2360 drivers/net/wireless/ath/ath9k/xmit.c ath_set_rates(vif, NULL, bf); vif 2373 drivers/net/wireless/ath/ath9k/xmit.c skb = ieee80211_get_buffered_bc(hw, vif); vif 138 drivers/net/wireless/ath/carl9170/carl9170.h struct ieee80211_vif *vif; vif 173 drivers/net/wireless/ath/carl9170/carl9170.h struct ieee80211_vif __rcu *vif; vif 660 drivers/net/wireless/ath/carl9170/carl9170.h static inline bool is_main_vif(struct ar9170 *ar, struct ieee80211_vif *vif) vif 665 drivers/net/wireless/ath/carl9170/carl9170.h ret = (carl9170_get_main_vif(ar) == vif); vif 450 drivers/net/wireless/ath/carl9170/debug.c struct ieee80211_vif *vif = carl9170_get_vif(iter); vif 452 drivers/net/wireless/ath/carl9170/debug.c " mac:%pM %s]\n", i, (carl9170_get_main_vif(ar) == vif ? vif 453 drivers/net/wireless/ath/carl9170/debug.c "Master" : " Slave"), iter->id, vif->type, vif->addr, vif 86 drivers/net/wireless/ath/carl9170/mac.c struct ieee80211_vif *vif; vif 90 drivers/net/wireless/ath/carl9170/mac.c vif = carl9170_get_main_vif(ar); vif 91 drivers/net/wireless/ath/carl9170/mac.c if (!vif) { vif 97 drivers/net/wireless/ath/carl9170/mac.c vif->bss_conf.use_short_slot) vif 108 drivers/net/wireless/ath/carl9170/mac.c struct ieee80211_vif *vif; vif 112 drivers/net/wireless/ath/carl9170/mac.c vif = carl9170_get_main_vif(ar); vif 114 drivers/net/wireless/ath/carl9170/mac.c if (!vif) { vif 119 drivers/net/wireless/ath/carl9170/mac.c basic = (vif->bss_conf.basic_rates & 0xf); vif 120 drivers/net/wireless/ath/carl9170/mac.c basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; vif 303 drivers/net/wireless/ath/carl9170/mac.c struct ieee80211_vif *vif; vif 315 drivers/net/wireless/ath/carl9170/mac.c vif = carl9170_get_main_vif(ar); vif 317 drivers/net/wireless/ath/carl9170/mac.c if (vif) { vif 321 drivers/net/wireless/ath/carl9170/mac.c switch (vif->type) { vif 341 drivers/net/wireless/ath/carl9170/mac.c WARN(1, "Unsupported operation mode %x\n", vif->type); vif 405 drivers/net/wireless/ath/carl9170/mac.c struct ieee80211_vif *vif; vif 410 drivers/net/wireless/ath/carl9170/mac.c vif = carl9170_get_main_vif(ar); vif 412 drivers/net/wireless/ath/carl9170/mac.c if (vif) { vif 414 drivers/net/wireless/ath/carl9170/mac.c mvif = (void *) vif->drv_priv; vif 417 drivers/net/wireless/ath/carl9170/mac.c ar->global_beacon_int = vif->bss_conf.beacon_int / vif 421 drivers/net/wireless/ath/carl9170/mac.c vif->bss_conf.dtim_period); vif 423 drivers/net/wireless/ath/carl9170/mac.c switch (vif->type) { vif 435 drivers/net/wireless/ath/carl9170/mac.c } else if (vif->type == NL80211_IFTYPE_STATION) { vif 436 drivers/net/wireless/ath/carl9170/mac.c ar->global_beacon_int = vif->bss_conf.beacon_int; vif 560 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif) vif 565 drivers/net/wireless/ath/carl9170/main.c if (!vif) { vif 570 drivers/net/wireless/ath/carl9170/main.c memcpy(common->macaddr, vif->addr, ETH_ALEN); vif 582 drivers/net/wireless/ath/carl9170/main.c ar->disable_offload |= ((vif->type != NL80211_IFTYPE_STATION) && vif 583 drivers/net/wireless/ath/carl9170/main.c (vif->type != NL80211_IFTYPE_AP)); vif 591 drivers/net/wireless/ath/carl9170/main.c ar->disable_offload |= vif->p2p; vif 600 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif) vif 602 drivers/net/wireless/ath/carl9170/main.c struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; vif 639 drivers/net/wireless/ath/carl9170/main.c if (vif->type == NL80211_IFTYPE_STATION) vif 648 drivers/net/wireless/ath/carl9170/main.c if (main_vif->p2p && vif->p2p && vif 649 drivers/net/wireless/ath/carl9170/main.c vif->type == NL80211_IFTYPE_AP) { vif 661 drivers/net/wireless/ath/carl9170/main.c if ((vif->type == NL80211_IFTYPE_STATION) || vif 662 drivers/net/wireless/ath/carl9170/main.c (vif->type == NL80211_IFTYPE_WDS) || vif 663 drivers/net/wireless/ath/carl9170/main.c (vif->type == NL80211_IFTYPE_AP) || vif 664 drivers/net/wireless/ath/carl9170/main.c (vif->type == NL80211_IFTYPE_MESH_POINT)) vif 704 drivers/net/wireless/ath/carl9170/main.c rcu_assign_pointer(ar->vif_priv[vif_id].vif, vif); vif 709 drivers/net/wireless/ath/carl9170/main.c if (main_vif == vif) { vif 727 drivers/net/wireless/ath/carl9170/main.c err = carl9170_init_interface(ar, vif); vif 732 drivers/net/wireless/ath/carl9170/main.c err = carl9170_mod_virtual_mac(ar, vif_id, vif->addr); vif 750 drivers/net/wireless/ath/carl9170/main.c RCU_INIT_POINTER(ar->vif_priv[vif_id].vif, NULL); vif 765 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif) vif 767 drivers/net/wireless/ath/carl9170/main.c struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; vif 788 drivers/net/wireless/ath/carl9170/main.c RCU_INIT_POINTER(ar->vif_priv[id].vif, NULL); vif 790 drivers/net/wireless/ath/carl9170/main.c if (vif == main_vif) { vif 1048 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1059 drivers/net/wireless/ath/carl9170/main.c vif_priv = (void *) vif->drv_priv; vif 1089 drivers/net/wireless/ath/carl9170/main.c if (main_vif != vif) { vif 1098 drivers/net/wireless/ath/carl9170/main.c if (vif->type != NL80211_IFTYPE_STATION && vif 1117 drivers/net/wireless/ath/carl9170/main.c if (main_vif != vif) vif 1157 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif) vif 1174 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1182 drivers/net/wireless/ath/carl9170/main.c if (ar->disable_offload || !vif) vif 1192 drivers/net/wireless/ath/carl9170/main.c if (!is_main_vif(ar, vif)) { vif 1202 drivers/net/wireless/ath/carl9170/main.c if ((vif->type != NL80211_IFTYPE_STATION && vif 1203 drivers/net/wireless/ath/carl9170/main.c vif->type != NL80211_IFTYPE_ADHOC) && vif 1316 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1345 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1383 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, u16 queue, vif 1410 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1439 drivers/net/wireless/ath/carl9170/main.c tid_info->vif = vif; vif 1452 drivers/net/wireless/ath/carl9170/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1470 drivers/net/wireless/ath/carl9170/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1698 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 1724 drivers/net/wireless/ath/carl9170/main.c struct ieee80211_vif *vif, vif 2014 drivers/net/wireless/ath/carl9170/main.c ar->vif_priv[i].vif = NULL; vif 164 drivers/net/wireless/ath/carl9170/rx.c struct ieee80211_vif *vif; vif 191 drivers/net/wireless/ath/carl9170/rx.c vif = carl9170_get_main_vif(ar); vif 193 drivers/net/wireless/ath/carl9170/rx.c if (!vif) { vif 198 drivers/net/wireless/ath/carl9170/rx.c switch (vif->type) { vif 112 drivers/net/wireless/ath/carl9170/tx.c struct ieee80211_vif *vif; vif 121 drivers/net/wireless/ath/carl9170/tx.c vif = rcu_dereference(ar->vif_priv[vif_id].vif); vif 122 drivers/net/wireless/ath/carl9170/tx.c if (unlikely(!vif)) vif 135 drivers/net/wireless/ath/carl9170/tx.c return ieee80211_find_sta(vif, hdr->addr1); vif 872 drivers/net/wireless/ath/carl9170/tx.c struct ieee80211_vif *vif, vif 883 drivers/net/wireless/ath/carl9170/tx.c ieee80211_get_tx_rates(vif, sta, skb, vif 992 drivers/net/wireless/ath/carl9170/tx.c if (likely(info->control.vif)) vif 993 drivers/net/wireless/ath/carl9170/tx.c cvif = (void *) info->control.vif->drv_priv; vif 1190 drivers/net/wireless/ath/carl9170/tx.c carl9170_tx_get_rates(ar, tid_info->vif, vif 1477 drivers/net/wireless/ath/carl9170/tx.c struct ieee80211_vif *vif; vif 1484 drivers/net/wireless/ath/carl9170/tx.c vif = info->control.vif; vif 1515 drivers/net/wireless/ath/carl9170/tx.c carl9170_tx_get_rates(ar, vif, sta, skb); vif 474 drivers/net/wireless/ath/key.c struct ieee80211_vif *vif, vif 509 drivers/net/wireless/ath/key.c switch (vif->type) { vif 511 drivers/net/wireless/ath/key.c memcpy(gmac, vif->addr, ETH_ALEN); vif 535 drivers/net/wireless/ath/key.c if (vif->type != NL80211_IFTYPE_AP) { vif 554 drivers/net/wireless/ath/key.c vif->type == NL80211_IFTYPE_AP); vif 32 drivers/net/wireless/ath/wcn36xx/debug.c struct ieee80211_vif *vif = NULL; vif 36 drivers/net/wireless/ath/wcn36xx/debug.c vif = wcn36xx_priv_to_vif(vif_priv); vif 37 drivers/net/wireless/ath/wcn36xx/debug.c if (NL80211_IFTYPE_STATION == vif->type) { vif 57 drivers/net/wireless/ath/wcn36xx/debug.c struct ieee80211_vif *vif = NULL; vif 71 drivers/net/wireless/ath/wcn36xx/debug.c vif = wcn36xx_priv_to_vif(vif_priv); vif 72 drivers/net/wireless/ath/wcn36xx/debug.c if (NL80211_IFTYPE_STATION == vif->type) { vif 73 drivers/net/wireless/ath/wcn36xx/debug.c wcn36xx_enable_keep_alive_null_packet(wcn, vif); vif 74 drivers/net/wireless/ath/wcn36xx/debug.c wcn36xx_pmc_enter_bmps_state(wcn, vif); vif 82 drivers/net/wireless/ath/wcn36xx/debug.c vif = wcn36xx_priv_to_vif(vif_priv); vif 83 drivers/net/wireless/ath/wcn36xx/debug.c if (NL80211_IFTYPE_STATION == vif->type) vif 84 drivers/net/wireless/ath/wcn36xx/debug.c wcn36xx_pmc_exit_bmps_state(wcn, vif); vif 180 drivers/net/wireless/ath/wcn36xx/main.c static inline u8 get_sta_index(struct ieee80211_vif *vif, vif 183 drivers/net/wireless/ath/wcn36xx/main.c return NL80211_IFTYPE_STATION == vif->type ? vif 384 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif = NULL; vif 396 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); vif 397 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_switch_channel(wcn, vif, ch); vif 403 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); vif 405 drivers/net/wireless/ath/wcn36xx/main.c if (vif->bss_conf.ps) /* ps allowed ? */ vif 406 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_pmc_enter_bmps_state(wcn, vif); vif 408 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_pmc_exit_bmps_state(wcn, vif); vif 425 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif = NULL; vif 435 drivers/net/wireless/ath/wcn36xx/main.c vif = wcn36xx_priv_to_vif(tmp); vif 439 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_mc_list(wcn, vif, NULL); vif 440 drivers/net/wireless/ath/wcn36xx/main.c else if (NL80211_IFTYPE_STATION == vif->type && tmp->sta_assoc) vif 441 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_mc_list(wcn, vif, fp); vif 490 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif, vif 495 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 550 drivers/net/wireless/ath/wcn36xx/main.c if (NL80211_IFTYPE_STATION == vif->type) vif 552 drivers/net/wireless/ath/wcn36xx/main.c vif, vif 562 drivers/net/wireless/ath/wcn36xx/main.c get_sta_index(vif, sta_priv)); vif 581 drivers/net/wireless/ath/wcn36xx/main.c get_sta_index(vif, sta_priv)); vif 602 drivers/net/wireless/ath/wcn36xx/main.c get_sta_index(vif, sta_priv)); vif 662 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif, vif 683 drivers/net/wireless/ath/wcn36xx/main.c return wcn36xx_smd_start_hw_scan(wcn, vif, &hw_req->req); vif 687 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif) vif 776 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif, vif 784 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 787 drivers/net/wireless/ath/wcn36xx/main.c vif, changed); vif 806 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_link_st(wcn, bss_conf->bssid, vif->addr, vif 809 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, WCN36XX_HW_CHANNEL(wcn)); vif 810 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_config_bss(wcn, vif, NULL, vif 814 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_delete_bss(wcn, vif); vif 815 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_link_st(wcn, bss_conf->bssid, vif->addr, vif 842 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, vif 853 drivers/net/wireless/ath/wcn36xx/main.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 864 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, vif 866 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_config_bss(wcn, vif, sta, vif 874 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_config_sta(wcn, vif, sta); vif 879 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, vif 884 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, vif 891 drivers/net/wireless/ath/wcn36xx/main.c skb = ieee80211_proberesp_get(hw, vif); vif 897 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_update_proberesp_tmpl(wcn, vif, skb); vif 910 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_config_bss(wcn, vif, NULL, vif 911 drivers/net/wireless/ath/wcn36xx/main.c vif->addr, false); vif 912 drivers/net/wireless/ath/wcn36xx/main.c skb = ieee80211_beacon_get_tim(hw, vif, &tim_off, vif 918 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_send_beacon(wcn, vif, skb, tim_off, 0); vif 921 drivers/net/wireless/ath/wcn36xx/main.c if (vif->type == NL80211_IFTYPE_ADHOC || vif 922 drivers/net/wireless/ath/wcn36xx/main.c vif->type == NL80211_IFTYPE_MESH_POINT) vif 927 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, vif 930 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_delete_bss(wcn, vif); vif 931 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, vif 956 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif) vif 959 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 960 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_dbg(WCN36XX_DBG_MAC, "mac remove interface vif %p\n", vif); vif 965 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_delete_sta_self(wcn, vif->addr); vif 971 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif) vif 974 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 977 drivers/net/wireless/ath/wcn36xx/main.c vif, vif->type); vif 979 drivers/net/wireless/ath/wcn36xx/main.c if (!(NL80211_IFTYPE_STATION == vif->type || vif 980 drivers/net/wireless/ath/wcn36xx/main.c NL80211_IFTYPE_AP == vif->type || vif 981 drivers/net/wireless/ath/wcn36xx/main.c NL80211_IFTYPE_ADHOC == vif->type || vif 982 drivers/net/wireless/ath/wcn36xx/main.c NL80211_IFTYPE_MESH_POINT == vif->type)) { vif 984 drivers/net/wireless/ath/wcn36xx/main.c vif->type); vif 993 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_add_sta_self(wcn, vif); vif 1000 drivers/net/wireless/ath/wcn36xx/main.c static int wcn36xx_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1004 drivers/net/wireless/ath/wcn36xx/main.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1007 drivers/net/wireless/ath/wcn36xx/main.c vif, sta->addr); vif 1012 drivers/net/wireless/ath/wcn36xx/main.c sta_priv->vif = vif_priv; vif 1019 drivers/net/wireless/ath/wcn36xx/main.c if (NL80211_IFTYPE_STATION != vif->type) { vif 1022 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_config_sta(wcn, vif, sta); vif 1031 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif, vif 1038 drivers/net/wireless/ath/wcn36xx/main.c vif, sta->addr, sta_priv->sta_index); vif 1044 drivers/net/wireless/ath/wcn36xx/main.c sta_priv->vif = NULL; vif 1078 drivers/net/wireless/ath/wcn36xx/main.c struct ieee80211_vif *vif, vif 1097 drivers/net/wireless/ath/wcn36xx/main.c get_sta_index(vif, sta_priv)); vif 1099 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_trigger_ba(wcn, get_sta_index(vif, sta_priv)); vif 1102 drivers/net/wireless/ath/wcn36xx/main.c wcn36xx_smd_del_ba(wcn, tid, get_sta_index(vif, sta_priv)); vif 1109 drivers/net/wireless/ath/wcn36xx/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1117 drivers/net/wireless/ath/wcn36xx/main.c get_sta_index(vif, sta_priv)); vif 1126 drivers/net/wireless/ath/wcn36xx/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 22 drivers/net/wireless/ath/wcn36xx/pmc.c struct ieee80211_vif *vif) vif 25 drivers/net/wireless/ath/wcn36xx/pmc.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 27 drivers/net/wireless/ath/wcn36xx/pmc.c ret = wcn36xx_smd_enter_bmps(wcn, vif); vif 43 drivers/net/wireless/ath/wcn36xx/pmc.c struct ieee80211_vif *vif) vif 45 drivers/net/wireless/ath/wcn36xx/pmc.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 53 drivers/net/wireless/ath/wcn36xx/pmc.c wcn36xx_smd_exit_bmps(wcn, vif); vif 59 drivers/net/wireless/ath/wcn36xx/pmc.c struct ieee80211_vif *vif) vif 62 drivers/net/wireless/ath/wcn36xx/pmc.c return wcn36xx_smd_keep_alive_req(wcn, vif, vif 28 drivers/net/wireless/ath/wcn36xx/pmc.h struct ieee80211_vif *vif); vif 30 drivers/net/wireless/ath/wcn36xx/pmc.h struct ieee80211_vif *vif); vif 32 drivers/net/wireless/ath/wcn36xx/pmc.h struct ieee80211_vif *vif); vif 124 drivers/net/wireless/ath/wcn36xx/smd.c static void wcn36xx_smd_set_bss_ht_params(struct ieee80211_vif *vif, vif 137 drivers/net/wireless/ath/wcn36xx/smd.c bss_params->ht_oper_mode = vif->bss_conf.ht_operation_mode; vif 139 drivers/net/wireless/ath/wcn36xx/smd.c !!(vif->bss_conf.ht_operation_mode & vif 193 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 197 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 199 drivers/net/wireless/ath/wcn36xx/smd.c if (vif->type == NL80211_IFTYPE_ADHOC || vif 200 drivers/net/wireless/ath/wcn36xx/smd.c vif->type == NL80211_IFTYPE_AP || vif 201 drivers/net/wireless/ath/wcn36xx/smd.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 216 drivers/net/wireless/ath/wcn36xx/smd.c if (NL80211_IFTYPE_STATION == vif->type) vif 217 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(&sta_params->mac, vif->addr, ETH_ALEN); vif 219 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(&sta_params->bssid, vif->addr, ETH_ALEN); vif 235 drivers/net/wireless/ath/wcn36xx/smd.c if (NL80211_IFTYPE_STATION == vif->type) vif 640 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_start_hw_scan(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 643 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 663 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(msg_body->mac, vif->addr, ETH_ALEN); vif 665 drivers/net/wireless/ath/wcn36xx/smd.c msg_body->p2p_search = vif->p2p; vif 754 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, int ch) vif 765 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(msg_body.self_sta_mac_addr, vif->addr, ETH_ALEN); vif 811 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, void *ptt_msg, size_t len, vif 910 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 915 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 938 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_add_sta_self(struct wcn36xx *wcn, struct ieee80211_vif *vif) vif 946 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(&msg_body.self_addr, vif->addr, ETH_ALEN); vif 960 drivers/net/wireless/ath/wcn36xx/smd.c vif, vif 1047 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_join(struct wcn36xx *wcn, const u8 *bssid, u8 *vif, u8 ch) vif 1056 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(&msg_body.self_sta_mac_addr, vif, ETH_ALEN); vif 1220 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_config_sta(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 1232 drivers/net/wireless/ath/wcn36xx/smd.c wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params); vif 1384 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 1391 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1427 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 1434 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1452 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(bss->self_mac_addr, vif->addr, ETH_ALEN); vif 1454 drivers/net/wireless/ath/wcn36xx/smd.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1460 drivers/net/wireless/ath/wcn36xx/smd.c } else if (vif->type == NL80211_IFTYPE_AP || vif 1461 drivers/net/wireless/ath/wcn36xx/smd.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 1467 drivers/net/wireless/ath/wcn36xx/smd.c } else if (vif->type == NL80211_IFTYPE_ADHOC) { vif 1473 drivers/net/wireless/ath/wcn36xx/smd.c wcn36xx_warn("Unknown type for bss config: %d\n", vif->type); vif 1476 drivers/net/wireless/ath/wcn36xx/smd.c if (vif->type == NL80211_IFTYPE_STATION) vif 1481 drivers/net/wireless/ath/wcn36xx/smd.c bss->short_slot_time_supported = vif->bss_conf.use_short_slot; vif 1486 drivers/net/wireless/ath/wcn36xx/smd.c bss->beacon_interval = vif->bss_conf.beacon_int; vif 1489 drivers/net/wireless/ath/wcn36xx/smd.c wcn36xx_smd_set_bss_ht_params(vif, sta, bss); vif 1501 drivers/net/wireless/ath/wcn36xx/smd.c wcn36xx_smd_set_sta_params(wcn, vif, sta, sta_params); vif 1510 drivers/net/wireless/ath/wcn36xx/smd.c bss->hidden_ssid = vif->bss_conf.hidden_ssid; vif 1551 drivers/net/wireless/ath/wcn36xx/smd.c vif, vif 1565 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_delete_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif) vif 1568 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1601 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_send_beacon(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 1615 drivers/net/wireless/ath/wcn36xx/smd.c if (vif->type == NL80211_IFTYPE_MESH_POINT) vif 1629 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(msg_body.bssid, vif->addr, ETH_ALEN); vif 1648 drivers/net/wireless/ath/wcn36xx/smd.c if (vif->type == NL80211_IFTYPE_MESH_POINT) vif 1676 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 1695 drivers/net/wireless/ath/wcn36xx/smd.c memcpy(msg.bssid, vif->addr, ETH_ALEN); vif 1870 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_enter_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif) vif 1873 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1880 drivers/net/wireless/ath/wcn36xx/smd.c msg_body.tbtt = vif->bss_conf.sync_tsf; vif 1900 drivers/net/wireless/ath/wcn36xx/smd.c int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif) vif 1903 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 1960 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 1964 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 2305 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif = NULL; vif 2313 drivers/net/wireless/ath/wcn36xx/smd.c vif = wcn36xx_priv_to_vif(tmp); vif 2314 drivers/net/wireless/ath/wcn36xx/smd.c ieee80211_connection_loss(vif); vif 2328 drivers/net/wireless/ath/wcn36xx/smd.c vif = wcn36xx_priv_to_vif(tmp); vif 2329 drivers/net/wireless/ath/wcn36xx/smd.c ieee80211_connection_loss(vif); vif 2428 drivers/net/wireless/ath/wcn36xx/smd.c struct ieee80211_vif *vif, vif 2431 drivers/net/wireless/ath/wcn36xx/smd.c struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); vif 68 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_start_hw_scan(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 71 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_add_sta_self(struct wcn36xx *wcn, struct ieee80211_vif *vif); vif 74 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_join(struct wcn36xx *wcn, const u8 *bssid, u8 *vif, u8 ch); vif 78 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 81 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_delete_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif); vif 82 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_config_sta(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 84 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_send_beacon(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 88 drivers/net/wireless/ath/wcn36xx/smd.h struct ieee80211_vif *vif, int ch); vif 90 drivers/net/wireless/ath/wcn36xx/smd.h struct ieee80211_vif *vif, vif 94 drivers/net/wireless/ath/wcn36xx/smd.h struct ieee80211_vif *vif, vif 116 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_enter_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif); vif 117 drivers/net/wireless/ath/wcn36xx/smd.h int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif); vif 120 drivers/net/wireless/ath/wcn36xx/smd.h struct ieee80211_vif *vif, vif 145 drivers/net/wireless/ath/wcn36xx/smd.h struct ieee80211_vif *vif, vif 43 drivers/net/wireless/ath/wcn36xx/testmode.c static int wcn36xx_tm_cmd_ptt(struct wcn36xx *wcn, struct ieee80211_vif *vif, vif 84 drivers/net/wireless/ath/wcn36xx/testmode.c msg->resp_status = wcn36xx_smd_process_ptt_msg(wcn, vif, msg, vif 126 drivers/net/wireless/ath/wcn36xx/testmode.c int wcn36xx_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 148 drivers/net/wireless/ath/wcn36xx/testmode.c return wcn36xx_tm_cmd_ptt(wcn, vif, tb); vif 35 drivers/net/wireless/ath/wcn36xx/testmode.h int wcn36xx_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 40 drivers/net/wireless/ath/wcn36xx/testmode.h struct ieee80211_vif *vif, vif 110 drivers/net/wireless/ath/wcn36xx/txrx.c struct ieee80211_vif *vif = NULL; vif 112 drivers/net/wireless/ath/wcn36xx/txrx.c vif = wcn36xx_priv_to_vif(vif_priv); vif 113 drivers/net/wireless/ath/wcn36xx/txrx.c if (memcmp(vif->addr, addr, ETH_ALEN) == 0) vif 163 drivers/net/wireless/ath/wcn36xx/txrx.c struct ieee80211_vif *vif = NULL; vif 174 drivers/net/wireless/ath/wcn36xx/txrx.c __vif_priv = sta_priv->vif; vif 175 drivers/net/wireless/ath/wcn36xx/txrx.c vif = wcn36xx_priv_to_vif(__vif_priv); vif 178 drivers/net/wireless/ath/wcn36xx/txrx.c if (vif->type == NL80211_IFTYPE_STATION) { vif 181 drivers/net/wireless/ath/wcn36xx/txrx.c } else if (vif->type == NL80211_IFTYPE_AP || vif 182 drivers/net/wireless/ath/wcn36xx/txrx.c vif->type == NL80211_IFTYPE_ADHOC || vif 183 drivers/net/wireless/ath/wcn36xx/txrx.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 160 drivers/net/wireless/ath/wcn36xx/wcn36xx.h struct wcn36xx_vif *vif; vif 279 drivers/net/wireless/ath/wcn36xx/wcn36xx.h struct wcn36xx_vif *wcn36xx_vif_to_priv(struct ieee80211_vif *vif) vif 281 drivers/net/wireless/ath/wcn36xx/wcn36xx.h return (struct wcn36xx_vif *) vif->drv_priv; vif 441 drivers/net/wireless/ath/wil6210/cfg80211.c int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, vif 444 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = vif_to_wil(vif); vif 459 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), vif 471 drivers/net/wireless/ath/wil6210/cfg80211.c cid, vif->mid, le16_to_cpu(reply.evt.bf_mcs), vif 512 drivers/net/wireless/ath/wil6210/cfg80211.c if (test_bit(wil_vif_fwconnected, vif->status)) { vif 528 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 532 drivers/net/wireless/ath/wil6210/cfg80211.c int cid = wil_find_cid(wil, vif->mid, mac); vif 535 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid); vif 539 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_cid_fill_sinfo(vif, cid, sinfo); vif 568 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 571 drivers/net/wireless/ath/wil6210/cfg80211.c int cid = wil_find_cid_by_idx(wil, vif->mid, idx); vif 578 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid); vif 580 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_cid_fill_sinfo(vif, cid, sinfo); vif 632 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif, vif 645 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif_pos && vif != vif_pos) { vif 667 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif; vif 708 drivers/net/wireless/ath/wil6210/cfg80211.c vif = wil_vif_alloc(wil, name, name_assign_type, type); vif 709 drivers/net/wireless/ath/wil6210/cfg80211.c if (IS_ERR(vif)) vif 710 drivers/net/wireless/ath/wil6210/cfg80211.c return ERR_CAST(vif); vif 712 drivers/net/wireless/ath/wil6210/cfg80211.c ndev = vif_to_ndev(vif); vif 718 drivers/net/wireless/ath/wil6210/cfg80211.c ndev->dev_addr[0] = (ndev->dev_addr[0] ^ (1 << vif->mid)) | vif 721 drivers/net/wireless/ath/wil6210/cfg80211.c wdev = vif_to_wdev(vif); vif 724 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_vif_add(wil, vif); vif 729 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid, type, wdev->address); vif 732 drivers/net/wireless/ath/wil6210/cfg80211.c wil_vif_free(vif); vif 736 drivers/net/wireless/ath/wil6210/cfg80211.c int wil_vif_prepare_stop(struct wil6210_vif *vif) vif 738 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = vif_to_wil(vif); vif 739 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 746 drivers/net/wireless/ath/wil6210/cfg80211.c ndev = vif_to_ndev(vif); vif 748 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_pcp_stop(vif); vif 754 drivers/net/wireless/ath/wil6210/cfg80211.c wil_bcast_fini(vif); vif 765 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 782 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid == 0) { vif 787 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_vif_prepare_stop(vif); vif 792 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid, wdev->iftype, wdev->address); vif 794 drivers/net/wireless/ath/wil6210/cfg80211.c wil_vif_remove(wil, vif->mid); vif 815 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 816 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 823 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_cfg80211_validate_change_iface(wil, vif, type); vif 861 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid != 0 && wil_has_active_ifaces(wil, true, false)) { vif 863 drivers/net/wireless/ath/wil6210/cfg80211.c wil_vif_prepare_stop(vif); vif 864 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_port_delete(wil, vif->mid); vif 867 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_port_allocate(wil, vif->mid, ndev->dev_addr, type); vif 881 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 911 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->scan_request || vif->p2p.discovery_started) { vif 927 drivers/net/wireless/ath/wil6210/cfg80211.c vif->scan_request = request; vif 928 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid == 0) vif 930 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_p2p_search(vif, request); vif 932 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid == 0) vif 935 drivers/net/wireless/ath/wil6210/cfg80211.c vif->scan_request = NULL; vif 941 drivers/net/wireless/ath/wil6210/cfg80211.c (void)wil_p2p_stop_discovery(vif); vif 954 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ssid(vif, request->ssids[0].ssid_len, vif 957 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ssid(vif, 0, NULL); vif 964 drivers/net/wireless/ath/wil6210/cfg80211.c vif->scan_request = request; vif 965 drivers/net/wireless/ath/wil6210/cfg80211.c mod_timer(&vif->scan_timer, jiffies + WIL6210_SCAN_TO); vif 992 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_PROBE_REQ, vif 1002 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid == 0) vif 1004 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_send(wil, WMI_START_SCAN_CMDID, vif->mid, vif 1010 drivers/net/wireless/ath/wil6210/cfg80211.c del_timer_sync(&vif->scan_timer); vif 1011 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid == 0) vif 1013 drivers/net/wireless/ath/wil6210/cfg80211.c vif->scan_request = NULL; vif 1024 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 1031 drivers/net/wireless/ath/wil6210/cfg80211.c if (!vif->scan_request) vif 1034 drivers/net/wireless/ath/wil6210/cfg80211.c if (wdev != vif->scan_request->wdev) { vif 1042 drivers/net/wireless/ath/wil6210/cfg80211.c wil_abort_scan(vif, true); vif 1120 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1139 drivers/net/wireless/ath/wil6210/cfg80211.c if (!test_bit(wil_vif_fwconnected, vif->status)) { vif 1144 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->privacy != sme->privacy) { vif 1146 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy, sme->privacy); vif 1161 drivers/net/wireless/ath/wil6210/cfg80211.c set_bit(wil_vif_ft_roam, vif->status); vif 1162 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_send(wil, WMI_FT_AUTH_CMDID, vif->mid, vif 1165 drivers/net/wireless/ath/wil6210/cfg80211.c mod_timer(&vif->connect_timer, vif 1168 drivers/net/wireless/ath/wil6210/cfg80211.c clear_bit(wil_vif_ft_roam, vif->status); vif 1205 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1216 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "connect, mid=%d\n", vif->mid); vif 1222 drivers/net/wireless/ath/wil6210/cfg80211.c test_bit(wil_vif_fwconnected, vif->status)) vif 1226 drivers/net/wireless/ath/wil6210/cfg80211.c if (test_bit(wil_vif_fwconnecting, vif->status) || vif 1227 drivers/net/wireless/ath/wil6210/cfg80211.c test_bit(wil_vif_fwconnected, vif->status)) vif 1263 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy = sme->privacy; vif 1264 drivers/net/wireless/ath/wil6210/cfg80211.c vif->pbss = sme->pbss; vif 1266 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_ASSOC_REQ, sme->ie_len, sme->ie); vif 1301 drivers/net/wireless/ath/wil6210/cfg80211.c vif->bss = bss; vif 1305 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->privacy) { vif 1307 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_del_cipher_key(vif, 0, bss->bssid, vif 1313 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_del_cipher_key(vif, 0, bss->bssid, vif 1324 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->privacy) { vif 1353 drivers/net/wireless/ath/wil6210/cfg80211.c set_bit(wil_vif_fwconnecting, vif->status); vif 1355 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_send(wil, WMI_CONNECT_CMDID, vif->mid, &conn, sizeof(conn)); vif 1360 drivers/net/wireless/ath/wil6210/cfg80211.c vif->bss = bss; vif 1362 drivers/net/wireless/ath/wil6210/cfg80211.c mod_timer(&vif->connect_timer, vif 1365 drivers/net/wireless/ath/wil6210/cfg80211.c clear_bit(wil_vif_fwconnecting, vif->status); vif 1380 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1383 drivers/net/wireless/ath/wil6210/cfg80211.c reason_code, vif->mid); vif 1385 drivers/net/wireless/ath/wil6210/cfg80211.c if (!(test_bit(wil_vif_fwconnecting, vif->status) || vif 1386 drivers/net/wireless/ath/wil6210/cfg80211.c test_bit(wil_vif_fwconnected, vif->status))) { vif 1391 drivers/net/wireless/ath/wil6210/cfg80211.c vif->locally_generated_disc = true; vif 1392 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_call(wil, WMI_DISCONNECT_CMDID, vif->mid, NULL, 0, vif 1428 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 1450 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_mgmt_tx(vif, buf, len); vif 1454 drivers/net/wireless/ath/wil6210/cfg80211.c if (!params->chan || params->chan->hw_value == vif->channel) { vif 1457 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_mgmt_tx(vif, buf, len); vif 1464 drivers/net/wireless/ath/wil6210/cfg80211.c vif->channel, params->chan->hw_value); vif 1469 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_mgmt_tx_ext(vif, buf, len, params->chan->hw_value, vif 1616 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1618 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 1620 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil_sta_info *cs = wil_find_sta_by_key_usage(wil, vif->mid, vif 1637 drivers/net/wireless/ath/wil6210/cfg80211.c if (!test_bit(wil_vif_ft_roam, vif->status)) { vif 1659 drivers/net/wireless/ath/wil6210/cfg80211.c (vif->ptk_rekey_state == WIL_REKEY_M3_RECEIVED || vif 1660 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ptk_rekey_state == WIL_REKEY_WAIT_M4_SENT)) { vif 1662 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ptk_rekey_state = WIL_REKEY_WAIT_M4_SENT; vif 1667 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_add_cipher_key(vif, key_index, mac_addr, params->key_len, vif 1673 drivers/net/wireless/ath/wil6210/cfg80211.c vif->gtk_index = key_index; vif 1674 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(vif->gtk, params->key, params->key_len); vif 1675 drivers/net/wireless/ath/wil6210/cfg80211.c vif->gtk_len = params->key_len; vif 1691 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1693 drivers/net/wireless/ath/wil6210/cfg80211.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 1695 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil_sta_info *cs = wil_find_sta_by_key_usage(wil, vif->mid, vif 1709 drivers/net/wireless/ath/wil6210/cfg80211.c return wmi_del_cipher_key(vif, key_index, mac_addr, key_usage); vif 1746 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 1750 drivers/net/wireless/ath/wil6210/cfg80211.c return wil_p2p_cancel_listen(vif, cookie); vif 1871 drivers/net/wireless/ath/wil6210/cfg80211.c static int _wil_cfg80211_set_ies(struct wil6210_vif *vif, vif 1879 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->proberesp, &vif->proberesp_len, bcon->probe_resp, vif 1881 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->proberesp_ies, &vif->proberesp_ies_len, vif 1883 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->assocresp_ies, &vif->assocresp_ies_len, vif 1898 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_PROBE_RESP, len, ies); vif 1903 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_ASSOC_RESP, vif 1906 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_ASSOC_RESP, len, ies); vif 1911 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_BEACON, vif 1927 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 1939 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "start_ap: mid=%d, is_go=%d\n", vif->mid, is_go); vif 1963 drivers/net/wireless/ath/wil6210/cfg80211.c set_bit(wil_vif_ft_roam, vif->status); vif 1975 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ssid(vif, ssid_len, ssid); vif 1979 drivers/net/wireless/ath/wil6210/cfg80211.c rc = _wil_cfg80211_set_ies(vif, bcon); vif 1983 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy = privacy; vif 1984 drivers/net/wireless/ath/wil6210/cfg80211.c vif->channel = chan; vif 1985 drivers/net/wireless/ath/wil6210/cfg80211.c vif->wmi_edmg_channel = wmi_edmg_channel; vif 1986 drivers/net/wireless/ath/wil6210/cfg80211.c vif->hidden_ssid = hidden_ssid; vif 1987 drivers/net/wireless/ath/wil6210/cfg80211.c vif->pbss = pbss; vif 1988 drivers/net/wireless/ath/wil6210/cfg80211.c vif->bi = bi; vif 1989 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(vif->ssid, ssid, ssid_len); vif 1990 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid_len = ssid_len; vif 1996 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_pcp_start(vif, bi, wmi_nettype, chan, wmi_edmg_channel, vif 2001 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_bcast_init(vif); vif 2008 drivers/net/wireless/ath/wil6210/cfg80211.c wmi_pcp_stop(vif); vif 2024 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wil->vifs[i]; vif 2029 drivers/net/wireless/ath/wil6210/cfg80211.c if (!vif || vif->ssid_len == 0) vif 2032 drivers/net/wireless/ath/wil6210/cfg80211.c ndev = vif_to_ndev(vif); vif 2033 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.proberesp_ies = vif->proberesp_ies; vif 2034 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.assocresp_ies = vif->assocresp_ies; vif 2035 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.probe_resp = vif->proberesp; vif 2036 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.proberesp_ies_len = vif->proberesp_ies_len; vif 2037 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.assocresp_ies_len = vif->assocresp_ies_len; vif 2038 drivers/net/wireless/ath/wil6210/cfg80211.c bcon.probe_resp_len = vif->proberesp_len; vif 2042 drivers/net/wireless/ath/wil6210/cfg80211.c i, vif->privacy, vif->bi, vif->channel, vif 2043 drivers/net/wireless/ath/wil6210/cfg80211.c vif->hidden_ssid, vif->pbss); vif 2045 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid, vif->ssid_len, true); vif 2047 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid, vif->ssid_len, vif 2048 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy, vif->bi, vif 2049 drivers/net/wireless/ath/wil6210/cfg80211.c vif->channel, vif 2050 drivers/net/wireless/ath/wil6210/cfg80211.c vif->wmi_edmg_channel, &bcon, vif 2051 drivers/net/wireless/ath/wil6210/cfg80211.c vif->hidden_ssid, vif->pbss); vif 2057 drivers/net/wireless/ath/wil6210/cfg80211.c if (!vif->privacy || vif->gtk_len == 0) vif 2060 drivers/net/wireless/ath/wil6210/cfg80211.c key_params.key = vif->gtk; vif 2061 drivers/net/wireless/ath/wil6210/cfg80211.c key_params.key_len = vif->gtk_len; vif 2063 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_cfg80211_add_key(wiphy, ndev, vif->gtk_index, false, vif 2077 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 2081 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "change_beacon, mid=%d\n", vif->mid); vif 2089 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(vif->ssid, wdev->ssid, wdev->ssid_len); vif 2090 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid_len = wdev->ssid_len; vif 2093 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->privacy != privacy) { vif 2095 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy, privacy); vif 2097 drivers/net/wireless/ath/wil6210/cfg80211.c rc = _wil_cfg80211_start_ap(wiphy, ndev, vif->ssid, vif 2098 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid_len, privacy, vif 2100 drivers/net/wireless/ath/wil6210/cfg80211.c vif->channel, vif 2101 drivers/net/wireless/ath/wil6210/cfg80211.c vif->wmi_edmg_channel, bcon, vif 2102 drivers/net/wireless/ath/wil6210/cfg80211.c vif->hidden_ssid, vif 2103 drivers/net/wireless/ath/wil6210/cfg80211.c vif->pbss); vif 2105 drivers/net/wireless/ath/wil6210/cfg80211.c rc = _wil_cfg80211_set_ies(vif, bcon); vif 2180 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 2183 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "stop_ap, mid=%d\n", vif->mid); vif 2195 drivers/net/wireless/ath/wil6210/cfg80211.c wmi_pcp_stop(vif); vif 2196 drivers/net/wireless/ath/wil6210/cfg80211.c clear_bit(wil_vif_ft_roam, vif->status); vif 2197 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ssid_len = 0; vif 2198 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->proberesp, &vif->proberesp_len, NULL, 0); vif 2199 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->proberesp_ies, &vif->proberesp_ies_len, NULL, 0); vif 2200 drivers/net/wireless/ath/wil6210/cfg80211.c wil_memdup_ie(&vif->assocresp_ies, &vif->assocresp_ies_len, NULL, 0); vif 2201 drivers/net/wireless/ath/wil6210/cfg80211.c memset(vif->gtk, 0, WMI_MAX_KEY_LEN); vif 2202 drivers/net/wireless/ath/wil6210/cfg80211.c vif->gtk_len = 0; vif 2207 drivers/net/wireless/ath/wil6210/cfg80211.c wil_bcast_fini(vif); vif 2219 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2223 drivers/net/wireless/ath/wil6210/cfg80211.c mac, params->aid, vif->mid, vif 2236 drivers/net/wireless/ath/wil6210/cfg80211.c return wmi_new_sta(vif, mac, params->aid); vif 2243 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2247 drivers/net/wireless/ath/wil6210/cfg80211.c params->mac, params->reason_code, vif->mid); vif 2250 drivers/net/wireless/ath/wil6210/cfg80211.c wil6210_disconnect(vif, params->mac, params->reason_code); vif 2261 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2269 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid); vif 2279 drivers/net/wireless/ath/wil6210/cfg80211.c cid = wil_find_cid(wil, vif->mid, mac); vif 2306 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif, vif 2309 drivers/net/wireless/ath/wil6210/cfg80211.c struct net_device *ndev = vif_to_ndev(vif); vif 2320 drivers/net/wireless/ath/wil6210/cfg80211.c static struct list_head *next_probe_client(struct wil6210_vif *vif) vif 2324 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_lock(&vif->probe_client_mutex); vif 2326 drivers/net/wireless/ath/wil6210/cfg80211.c if (!list_empty(&vif->probe_client_pending)) { vif 2327 drivers/net/wireless/ath/wil6210/cfg80211.c ret = vif->probe_client_pending.next; vif 2331 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_unlock(&vif->probe_client_mutex); vif 2338 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = container_of(work, struct wil6210_vif, vif 2340 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2344 drivers/net/wireless/ath/wil6210/cfg80211.c while ((lh = next_probe_client(vif)) != NULL) { vif 2347 drivers/net/wireless/ath/wil6210/cfg80211.c wil_probe_client_handle(wil, vif, req); vif 2352 drivers/net/wireless/ath/wil6210/cfg80211.c void wil_probe_client_flush(struct wil6210_vif *vif) vif 2355 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2359 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_lock(&vif->probe_client_mutex); vif 2361 drivers/net/wireless/ath/wil6210/cfg80211.c list_for_each_entry_safe(req, t, &vif->probe_client_pending, list) { vif 2366 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_unlock(&vif->probe_client_mutex); vif 2374 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2376 drivers/net/wireless/ath/wil6210/cfg80211.c int cid = wil_find_cid(wil, vif->mid, peer); vif 2379 drivers/net/wireless/ath/wil6210/cfg80211.c peer, cid, vif->mid); vif 2391 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_lock(&vif->probe_client_mutex); vif 2392 drivers/net/wireless/ath/wil6210/cfg80211.c list_add_tail(&req->list, &vif->probe_client_pending); vif 2393 drivers/net/wireless/ath/wil6210/cfg80211.c mutex_unlock(&vif->probe_client_mutex); vif 2396 drivers/net/wireless/ath/wil6210/cfg80211.c queue_work(wil->wq_service, &vif->probe_client_worker); vif 2405 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2409 drivers/net/wireless/ath/wil6210/cfg80211.c vif->mid, vif->ap_isolate, params->ap_isolate); vif 2410 drivers/net/wireless/ath/wil6210/cfg80211.c vif->ap_isolate = params->ap_isolate; vif 2479 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2482 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid != 0) vif 2518 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_set_ie(vif, WMI_FRAME_PROBE_REQ, vif 2530 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2533 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->mid != 0) vif 2550 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = ndev_to_vif(dev); vif 2555 drivers/net/wireless/ath/wil6210/cfg80211.c wil_dbg_misc(wil, "update ft ies, mid=%d\n", vif->mid); vif 2564 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_update_ft_ies(vif, ftie->ie_len, ftie->ie); vif 2568 drivers/net/wireless/ath/wil6210/cfg80211.c if (!test_bit(wil_vif_ft_roam, vif->status)) vif 2576 drivers/net/wireless/ath/wil6210/cfg80211.c bss = vif->bss; vif 2585 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_send(wil, WMI_FT_REASSOC_CMDID, vif->mid, vif 2826 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 2884 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_call(wil, WMI_GET_RF_SECTOR_PARAMS_CMDID, vif->mid, vif 2947 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 3045 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_call(wil, WMI_SET_RF_SECTOR_PARAMS_CMDID, vif->mid, vif 3059 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 3095 drivers/net/wireless/ath/wil6210/cfg80211.c cid = wil_find_cid(wil, vif->mid, mac_addr); vif 3101 drivers/net/wireless/ath/wil6210/cfg80211.c if (test_bit(wil_vif_fwconnected, vif->status)) { vif 3110 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_call(wil, WMI_GET_SELECTED_RF_SECTOR_INDEX_CMDID, vif->mid, vif 3174 drivers/net/wireless/ath/wil6210/cfg80211.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 3214 drivers/net/wireless/ath/wil6210/cfg80211.c cid = wil_find_cid(wil, vif->mid, mac_addr); vif 3228 drivers/net/wireless/ath/wil6210/cfg80211.c if (test_bit(wil_vif_fwconnected, vif->status)) { vif 3236 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wil_rf_sector_wmi_set_selected(wil, vif->mid, sector_index, vif 3241 drivers/net/wireless/ath/wil6210/cfg80211.c wil, vif->mid, WMI_INVALID_RF_SECTOR_INDEX, vif 3245 drivers/net/wireless/ath/wil6210/cfg80211.c if (wil->sta[i].mid != vif->mid) vif 3248 drivers/net/wireless/ath/wil6210/cfg80211.c wil, vif->mid, vif 1019 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 1042 drivers/net/wireless/ath/wil6210/debugfs.c rc1 = wmi_send(wil, cmdid, vif->mid, cmd, cmdlen); vif 1295 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 1310 drivers/net/wireless/ath/wil6210/debugfs.c rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, vif 1430 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif; vif 1451 drivers/net/wireless/ath/wil6210/debugfs.c vif = (mid < GET_MAX_VIFS(wil)) ? wil->vifs[mid] : NULL; vif 1452 drivers/net/wireless/ath/wil6210/debugfs.c if (vif) { vif 1453 drivers/net/wireless/ath/wil6210/debugfs.c rc = wil_cid_fill_sinfo(vif, i, sinfo); vif 1650 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif = wil->vifs[mid]; vif 1652 drivers/net/wireless/ath/wil6210/debugfs.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && vif 1710 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif; vif 1716 drivers/net/wireless/ath/wil6210/debugfs.c vif = wil->vifs[i]; vif 1718 drivers/net/wireless/ath/wil6210/debugfs.c if (vif) { vif 1719 drivers/net/wireless/ath/wil6210/debugfs.c ndev = vif_to_ndev(vif); vif 1852 drivers/net/wireless/ath/wil6210/debugfs.c static void wil_link_stats_print_basic(struct wil6210_vif *vif, vif 1899 drivers/net/wireless/ath/wil6210/debugfs.c static void wil_link_stats_debugfs_show_vif(struct wil6210_vif *vif, vif 1902 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1906 drivers/net/wireless/ath/wil6210/debugfs.c if (!vif->fw_stats_ready) { vif 1911 drivers/net/wireless/ath/wil6210/debugfs.c seq_printf(s, "TSF %lld\n", vif->fw_stats_tsf); vif 1915 drivers/net/wireless/ath/wil6210/debugfs.c if (wil->sta[i].mid != vif->mid) vif 1919 drivers/net/wireless/ath/wil6210/debugfs.c wil_link_stats_print_basic(vif, s, stats); vif 1926 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif; vif 1937 drivers/net/wireless/ath/wil6210/debugfs.c vif = wil->vifs[i]; vif 1940 drivers/net/wireless/ath/wil6210/debugfs.c if (!vif) { vif 1945 drivers/net/wireless/ath/wil6210/debugfs.c wil_link_stats_debugfs_show_vif(vif, s); vif 1964 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif; vif 1993 drivers/net/wireless/ath/wil6210/debugfs.c vif = wil->vifs[i]; vif 1994 drivers/net/wireless/ath/wil6210/debugfs.c if (!vif) vif 1997 drivers/net/wireless/ath/wil6210/debugfs.c rc = wmi_link_stats_cfg(vif, WMI_LINK_STATS_TYPE_BASIC, vif 2043 drivers/net/wireless/ath/wil6210/debugfs.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2054 drivers/net/wireless/ath/wil6210/debugfs.c rc = wmi_link_stats_cfg(vif, WMI_LINK_STATS_TYPE_GLOBAL, 0, interval); vif 253 drivers/net/wireless/ath/wil6210/main.c static void wil_disconnect_cid_complete(struct wil6210_vif *vif, int cid, vif 258 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 259 drivers/net/wireless/ath/wil6210/main.c struct net_device *ndev = vif_to_ndev(vif); vif 260 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 270 drivers/net/wireless/ath/wil6210/main.c if (vif->mid != sta->mid) { vif 272 drivers/net/wireless/ath/wil6210/main.c vif->mid); vif 312 drivers/net/wireless/ath/wil6210/main.c static void _wil6210_disconnect_complete(struct wil6210_vif *vif, vif 315 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 320 drivers/net/wireless/ath/wil6210/main.c ndev = vif_to_ndev(vif); vif 321 drivers/net/wireless/ath/wil6210/main.c wdev = vif_to_wdev(vif); vif 339 drivers/net/wireless/ath/wil6210/main.c cid = wil_find_cid(wil, vif->mid, bssid); vif 344 drivers/net/wireless/ath/wil6210/main.c wil_disconnect_cid_complete(vif, cid, reason_code); vif 348 drivers/net/wireless/ath/wil6210/main.c wil_disconnect_cid_complete(vif, cid, reason_code); vif 355 drivers/net/wireless/ath/wil6210/main.c wil_bcast_fini(vif); vif 356 drivers/net/wireless/ath/wil6210/main.c wil_update_net_queues_bh(wil, vif, NULL, true); vif 361 drivers/net/wireless/ath/wil6210/main.c if (test_and_clear_bit(wil_vif_fwconnected, vif->status)) { vif 365 drivers/net/wireless/ath/wil6210/main.c vif->locally_generated_disc, vif 367 drivers/net/wireless/ath/wil6210/main.c vif->locally_generated_disc = false; vif 368 drivers/net/wireless/ath/wil6210/main.c } else if (test_bit(wil_vif_fwconnecting, vif->status)) { vif 372 drivers/net/wireless/ath/wil6210/main.c vif->bss = NULL; vif 374 drivers/net/wireless/ath/wil6210/main.c clear_bit(wil_vif_fwconnecting, vif->status); vif 375 drivers/net/wireless/ath/wil6210/main.c clear_bit(wil_vif_ft_roam, vif->status); vif 376 drivers/net/wireless/ath/wil6210/main.c vif->ptk_rekey_state = WIL_REKEY_IDLE; vif 381 drivers/net/wireless/ath/wil6210/main.c if (!wil_vif_is_connected(wil, vif->mid)) { vif 382 drivers/net/wireless/ath/wil6210/main.c wil_update_net_queues_bh(wil, vif, NULL, true); vif 384 drivers/net/wireless/ath/wil6210/main.c vif->status)) vif 387 drivers/net/wireless/ath/wil6210/main.c wil_update_net_queues_bh(wil, vif, NULL, false); vif 395 drivers/net/wireless/ath/wil6210/main.c static int wil_disconnect_cid(struct wil6210_vif *vif, int cid, vif 398 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 399 drivers/net/wireless/ath/wil6210/main.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 410 drivers/net/wireless/ath/wil6210/main.c if (vif->mid != sta->mid) { vif 411 drivers/net/wireless/ath/wil6210/main.c wil_err(wil, "STA MID mismatch with VIF MID(%d)\n", vif->mid); vif 422 drivers/net/wireless/ath/wil6210/main.c return wmi_disconnect_sta(vif, sta->addr, reason_code, del_sta); vif 425 drivers/net/wireless/ath/wil6210/main.c static void _wil6210_disconnect(struct wil6210_vif *vif, const u8 *bssid, vif 432 drivers/net/wireless/ath/wil6210/main.c if (unlikely(!vif)) vif 435 drivers/net/wireless/ath/wil6210/main.c wil = vif_to_wil(vif); vif 436 drivers/net/wireless/ath/wil6210/main.c ndev = vif_to_ndev(vif); vif 453 drivers/net/wireless/ath/wil6210/main.c cid = wil_find_cid(wil, vif->mid, bssid); vif 457 drivers/net/wireless/ath/wil6210/main.c wil_disconnect_cid(vif, cid, reason_code); vif 461 drivers/net/wireless/ath/wil6210/main.c wil_disconnect_cid(vif, cid, reason_code); vif 468 drivers/net/wireless/ath/wil6210/main.c _wil6210_disconnect_complete(vif, bssid, reason_code); vif 473 drivers/net/wireless/ath/wil6210/main.c struct wil6210_vif *vif = container_of(work, vif 475 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 476 drivers/net/wireless/ath/wil6210/main.c struct net_device *ndev = vif_to_ndev(vif); vif 483 drivers/net/wireless/ath/wil6210/main.c if (test_bit(wil_vif_fwconnected, vif->status)) vif 487 drivers/net/wireless/ath/wil6210/main.c if (!test_bit(wil_vif_fwconnecting, vif->status)) vif 493 drivers/net/wireless/ath/wil6210/main.c rc = wmi_call(wil, WMI_DISCONNECT_CMDID, vif->mid, NULL, 0, vif 501 drivers/net/wireless/ath/wil6210/main.c wil_update_net_queues_bh(wil, vif, NULL, true); vif 505 drivers/net/wireless/ath/wil6210/main.c clear_bit(wil_vif_fwconnecting, vif->status); vif 624 drivers/net/wireless/ath/wil6210/main.c int wil_ring_init_tx(struct wil6210_vif *vif, int cid) vif 626 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 640 drivers/net/wireless/ath/wil6210/main.c cid, vif->mid, ringid); vif 642 drivers/net/wireless/ath/wil6210/main.c rc = wil->txrx_ops.ring_init_tx(vif, ringid, 1 << tx_ring_order, vif 646 drivers/net/wireless/ath/wil6210/main.c cid, vif->mid, ringid); vif 652 drivers/net/wireless/ath/wil6210/main.c int wil_bcast_init(struct wil6210_vif *vif) vif 654 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 655 drivers/net/wireless/ath/wil6210/main.c int ri = vif->bcast_ring, rc; vif 664 drivers/net/wireless/ath/wil6210/main.c vif->bcast_ring = ri; vif 665 drivers/net/wireless/ath/wil6210/main.c rc = wil->txrx_ops.ring_init_bcast(vif, ri, 1 << bcast_ring_order); vif 667 drivers/net/wireless/ath/wil6210/main.c vif->bcast_ring = -1; vif 672 drivers/net/wireless/ath/wil6210/main.c void wil_bcast_fini(struct wil6210_vif *vif) vif 674 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 675 drivers/net/wireless/ath/wil6210/main.c int ri = vif->bcast_ring; vif 680 drivers/net/wireless/ath/wil6210/main.c vif->bcast_ring = -1; vif 687 drivers/net/wireless/ath/wil6210/main.c struct wil6210_vif *vif; vif 690 drivers/net/wireless/ath/wil6210/main.c vif = wil->vifs[i]; vif 691 drivers/net/wireless/ath/wil6210/main.c if (vif) vif 692 drivers/net/wireless/ath/wil6210/main.c wil_bcast_fini(vif); vif 805 drivers/net/wireless/ath/wil6210/main.c void wil6210_disconnect(struct wil6210_vif *vif, const u8 *bssid, vif 808 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 812 drivers/net/wireless/ath/wil6210/main.c del_timer_sync(&vif->connect_timer); vif 813 drivers/net/wireless/ath/wil6210/main.c _wil6210_disconnect(vif, bssid, reason_code); vif 825 drivers/net/wireless/ath/wil6210/main.c void wil6210_disconnect_complete(struct wil6210_vif *vif, const u8 *bssid, vif 828 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 832 drivers/net/wireless/ath/wil6210/main.c del_timer_sync(&vif->connect_timer); vif 833 drivers/net/wireless/ath/wil6210/main.c _wil6210_disconnect_complete(vif, bssid, reason_code); vif 1465 drivers/net/wireless/ath/wil6210/main.c void wil_abort_scan(struct wil6210_vif *vif, bool sync) vif 1467 drivers/net/wireless/ath/wil6210/main.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1475 drivers/net/wireless/ath/wil6210/main.c if (!vif->scan_request) vif 1478 drivers/net/wireless/ath/wil6210/main.c wil_dbg_misc(wil, "Abort scan_request 0x%p\n", vif->scan_request); vif 1479 drivers/net/wireless/ath/wil6210/main.c del_timer_sync(&vif->scan_timer); vif 1481 drivers/net/wireless/ath/wil6210/main.c rc = wmi_abort_scan(vif); vif 1483 drivers/net/wireless/ath/wil6210/main.c wait_event_interruptible_timeout(wil->wq, !vif->scan_request, vif 1488 drivers/net/wireless/ath/wil6210/main.c if (vif->scan_request) { vif 1489 drivers/net/wireless/ath/wil6210/main.c cfg80211_scan_done(vif->scan_request, &info); vif 1490 drivers/net/wireless/ath/wil6210/main.c vif->scan_request = NULL; vif 1501 drivers/net/wireless/ath/wil6210/main.c struct wil6210_vif *vif = wil->vifs[i]; vif 1503 drivers/net/wireless/ath/wil6210/main.c if (vif) vif 1504 drivers/net/wireless/ath/wil6210/main.c wil_abort_scan(vif, sync); vif 1559 drivers/net/wireless/ath/wil6210/main.c struct wil6210_vif *vif; vif 1565 drivers/net/wireless/ath/wil6210/main.c vif = wil->vifs[i]; vif 1566 drivers/net/wireless/ath/wil6210/main.c if (!vif) vif 1568 drivers/net/wireless/ath/wil6210/main.c vif->ap_isolate = 0; vif 1569 drivers/net/wireless/ath/wil6210/main.c if (vif->mid) { vif 1570 drivers/net/wireless/ath/wil6210/main.c ndev = vif_to_ndev(vif); vif 1571 drivers/net/wireless/ath/wil6210/main.c wdev = vif_to_wdev(vif); vif 1572 drivers/net/wireless/ath/wil6210/main.c rc = wmi_port_allocate(wil, vif->mid, ndev->dev_addr, vif 1609 drivers/net/wireless/ath/wil6210/main.c struct wil6210_vif *vif; vif 1655 drivers/net/wireless/ath/wil6210/main.c vif = wil->vifs[i]; vif 1656 drivers/net/wireless/ath/wil6210/main.c if (vif) { vif 1657 drivers/net/wireless/ath/wil6210/main.c cancel_work_sync(&vif->disconnect_worker); vif 1658 drivers/net/wireless/ath/wil6210/main.c wil6210_disconnect(vif, NULL, vif 1660 drivers/net/wireless/ath/wil6210/main.c vif->ptk_rekey_state = WIL_REKEY_IDLE; vif 27 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif; vif 31 drivers/net/wireless/ath/wil6210/netdev.c vif = wil->vifs[i]; vif 32 drivers/net/wireless/ath/wil6210/netdev.c if (vif) { vif 33 drivers/net/wireless/ath/wil6210/netdev.c ndev_i = vif_to_ndev(vif); vif 155 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif; vif 161 drivers/net/wireless/ath/wil6210/netdev.c vif = wil->vifs[txdata->mid]; vif 162 drivers/net/wireless/ath/wil6210/netdev.c if (unlikely(!vif)) { vif 167 drivers/net/wireless/ath/wil6210/netdev.c tx_done += wil_tx_complete(vif, i); vif 212 drivers/net/wireless/ath/wil6210/netdev.c static void wil_vif_deinit(struct wil6210_vif *vif) vif 214 drivers/net/wireless/ath/wil6210/netdev.c del_timer_sync(&vif->scan_timer); vif 215 drivers/net/wireless/ath/wil6210/netdev.c del_timer_sync(&vif->p2p.discovery_timer); vif 216 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->disconnect_worker); vif 217 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->p2p.discovery_expired_work); vif 218 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->p2p.delayed_listen_work); vif 219 drivers/net/wireless/ath/wil6210/netdev.c wil_probe_client_flush(vif); vif 220 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->probe_client_worker); vif 221 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->enable_tx_key_worker); vif 224 drivers/net/wireless/ath/wil6210/netdev.c void wil_vif_free(struct wil6210_vif *vif) vif 226 drivers/net/wireless/ath/wil6210/netdev.c struct net_device *ndev = vif_to_ndev(vif); vif 228 drivers/net/wireless/ath/wil6210/netdev.c wil_vif_deinit(vif); vif 234 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 236 drivers/net/wireless/ath/wil6210/netdev.c wil_vif_deinit(vif); vif 241 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = from_timer(vif, t, connect_timer); vif 242 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = vif_to_wil(vif); vif 251 drivers/net/wireless/ath/wil6210/netdev.c q = queue_work(wil->wmi_wq, &vif->disconnect_worker); vif 257 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = from_timer(vif, t, scan_timer); vif 258 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = vif_to_wil(vif); vif 267 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = from_timer(vif, t, p2p.discovery_timer); vif 268 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_priv *wil = vif_to_wil(vif); vif 272 drivers/net/wireless/ath/wil6210/netdev.c schedule_work(&vif->p2p.discovery_expired_work); vif 275 drivers/net/wireless/ath/wil6210/netdev.c static void wil_vif_init(struct wil6210_vif *vif) vif 277 drivers/net/wireless/ath/wil6210/netdev.c vif->bcast_ring = -1; vif 279 drivers/net/wireless/ath/wil6210/netdev.c mutex_init(&vif->probe_client_mutex); vif 281 drivers/net/wireless/ath/wil6210/netdev.c timer_setup(&vif->connect_timer, wil_connect_timer_fn, 0); vif 282 drivers/net/wireless/ath/wil6210/netdev.c timer_setup(&vif->scan_timer, wil_scan_timer_fn, 0); vif 283 drivers/net/wireless/ath/wil6210/netdev.c timer_setup(&vif->p2p.discovery_timer, wil_p2p_discovery_timer_fn, 0); vif 285 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->probe_client_worker, wil_probe_client_worker); vif 286 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->disconnect_worker, wil_disconnect_worker); vif 287 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->p2p.discovery_expired_work, wil_p2p_listen_expired); vif 288 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->p2p.delayed_listen_work, wil_p2p_delayed_listen_work); vif 289 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->enable_tx_key_worker, wil_enable_tx_key_worker); vif 291 drivers/net/wireless/ath/wil6210/netdev.c INIT_LIST_HEAD(&vif->probe_client_pending); vif 293 drivers/net/wireless/ath/wil6210/netdev.c vif->net_queue_stopped = 1; vif 314 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif; vif 323 drivers/net/wireless/ath/wil6210/netdev.c ndev = alloc_netdev(sizeof(*vif), name, name_assign_type, vif 336 drivers/net/wireless/ath/wil6210/netdev.c vif = ndev_to_vif(ndev); vif 337 drivers/net/wireless/ath/wil6210/netdev.c vif->ndev = ndev; vif 338 drivers/net/wireless/ath/wil6210/netdev.c vif->wil = wil; vif 339 drivers/net/wireless/ath/wil6210/netdev.c vif->mid = mid; vif 340 drivers/net/wireless/ath/wil6210/netdev.c wil_vif_init(vif); vif 342 drivers/net/wireless/ath/wil6210/netdev.c wdev = &vif->wdev; vif 356 drivers/net/wireless/ath/wil6210/netdev.c return vif; vif 362 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif; vif 379 drivers/net/wireless/ath/wil6210/netdev.c vif = wil_vif_alloc(wil, "wlan%d", NET_NAME_UNKNOWN, vif 381 drivers/net/wireless/ath/wil6210/netdev.c if (IS_ERR(vif)) { vif 387 drivers/net/wireless/ath/wil6210/netdev.c wil->radio_wdev = vif_to_wdev(vif); vif 418 drivers/net/wireless/ath/wil6210/netdev.c int wil_vif_add(struct wil6210_priv *wil, struct wil6210_vif *vif) vif 420 drivers/net/wireless/ath/wil6210/netdev.c struct net_device *ndev = vif_to_ndev(vif); vif 421 drivers/net/wireless/ath/wil6210/netdev.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 427 drivers/net/wireless/ath/wil6210/netdev.c if (wil->vifs[vif->mid]) { vif 429 drivers/net/wireless/ath/wil6210/netdev.c vif->mid); vif 432 drivers/net/wireless/ath/wil6210/netdev.c if (any_active && vif->mid != 0) { vif 433 drivers/net/wireless/ath/wil6210/netdev.c rc = wmi_port_allocate(wil, vif->mid, ndev->dev_addr, vif 441 drivers/net/wireless/ath/wil6210/netdev.c if (any_active && vif->mid != 0) vif 442 drivers/net/wireless/ath/wil6210/netdev.c wmi_port_delete(wil, vif->mid); vif 446 drivers/net/wireless/ath/wil6210/netdev.c wil->vifs[vif->mid] = vif; vif 454 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 484 drivers/net/wireless/ath/wil6210/netdev.c wil_update_net_queues_bh(wil, vif, NULL, true); vif 487 drivers/net/wireless/ath/wil6210/netdev.c rc = wil_vif_add(wil, vif); vif 501 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif; vif 511 drivers/net/wireless/ath/wil6210/netdev.c vif = wil->vifs[mid]; vif 512 drivers/net/wireless/ath/wil6210/netdev.c if (!vif) { vif 518 drivers/net/wireless/ath/wil6210/netdev.c wil6210_disconnect(vif, NULL, WLAN_REASON_DEAUTH_LEAVING); vif 521 drivers/net/wireless/ath/wil6210/netdev.c ndev = vif_to_ndev(vif); vif 527 drivers/net/wireless/ath/wil6210/netdev.c if (any_active && vif->mid != 0) vif 528 drivers/net/wireless/ath/wil6210/netdev.c wmi_port_delete(wil, vif->mid); vif 542 drivers/net/wireless/ath/wil6210/netdev.c del_timer_sync(&vif->connect_timer); vif 543 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->disconnect_worker); vif 544 drivers/net/wireless/ath/wil6210/netdev.c wil_probe_client_flush(vif); vif 545 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->probe_client_worker); vif 546 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->enable_tx_key_worker); vif 26 drivers/net/wireless/ath/wil6210/p2p.c static int wil_p2p_start_listen(struct wil6210_vif *vif) vif 28 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 29 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 35 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_p2p_cfg(vif, channel, P2P_DEFAULT_BI); vif 41 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_set_ssid(vif, strlen(P2P_WILDCARD_SSID), P2P_WILDCARD_SSID); vif 47 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_start_listen(vif); vif 58 drivers/net/wireless/ath/wil6210/p2p.c wmi_stop_discovery(vif); vif 70 drivers/net/wireless/ath/wil6210/p2p.c int wil_p2p_search(struct wil6210_vif *vif, vif 73 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 75 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 87 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_p2p_cfg(vif, P2P_DMG_SOCIAL_CHANNEL, P2P_DEFAULT_BI); vif 93 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_set_ssid(vif, strlen(P2P_WILDCARD_SSID), P2P_WILDCARD_SSID); vif 100 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_set_ie(vif, WMI_FRAME_PROBE_REQ, vif 110 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_set_ie(vif, WMI_FRAME_PROBE_RESP, vif 117 drivers/net/wireless/ath/wil6210/p2p.c rc = wmi_start_search(vif); vif 130 drivers/net/wireless/ath/wil6210/p2p.c wmi_stop_discovery(vif); vif 140 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = wdev_to_vif(wil, wdev); vif 141 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 162 drivers/net/wireless/ath/wil6210/p2p.c if (vif->scan_request) { vif 172 drivers/net/wireless/ath/wil6210/p2p.c rc = wil_p2p_start_listen(vif); vif 177 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 188 drivers/net/wireless/ath/wil6210/p2p.c u8 wil_p2p_stop_discovery(struct wil6210_vif *vif) vif 190 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 199 drivers/net/wireless/ath/wil6210/p2p.c wmi_stop_discovery(vif); vif 207 drivers/net/wireless/ath/wil6210/p2p.c int wil_p2p_cancel_listen(struct wil6210_vif *vif, u64 cookie) vif 209 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 210 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 222 drivers/net/wireless/ath/wil6210/p2p.c started = wil_p2p_stop_discovery(vif); vif 232 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_remain_on_channel_expired(vif_to_radio_wdev(wil, vif), vif 236 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 246 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, vif 248 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 254 drivers/net/wireless/ath/wil6210/p2p.c started = wil_p2p_stop_discovery(vif); vif 261 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_remain_on_channel_expired(vif_to_radio_wdev(wil, vif), vif 265 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 274 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, vif 276 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 282 drivers/net/wireless/ath/wil6210/p2p.c started = wil_p2p_stop_discovery(vif); vif 291 drivers/net/wireless/ath/wil6210/p2p.c if (vif->scan_request) { vif 292 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_scan_done(vif->scan_request, &info); vif 293 drivers/net/wireless/ath/wil6210/p2p.c vif->scan_request = NULL; vif 294 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 306 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, vif 308 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_priv *wil = vif_to_wil(vif); vif 318 drivers/net/wireless/ath/wil6210/p2p.c if (vif->scan_request) { vif 325 drivers/net/wireless/ath/wil6210/p2p.c rc = wil_p2p_start_listen(vif); vif 333 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 339 drivers/net/wireless/ath/wil6210/p2p.c if (vif->mid == 0) vif 351 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 352 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; vif 365 drivers/net/wireless/ath/wil6210/p2p.c if (vif->scan_request && vif 366 drivers/net/wireless/ath/wil6210/p2p.c vif->scan_request->wdev == wil->p2p_wdev) vif 367 drivers/net/wireless/ath/wil6210/p2p.c wil_abort_scan(vif, true); vif 373 drivers/net/wireless/ath/wil6210/p2p.c wil_p2p_stop_discovery(vif); vif 376 drivers/net/wireless/ath/wil6210/p2p.c if (vif->scan_request) { vif 378 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_scan_done(vif->scan_request, &info); vif 379 drivers/net/wireless/ath/wil6210/p2p.c vif->scan_request = NULL; vif 178 drivers/net/wireless/ath/wil6210/pcie_bus.c struct wil6210_vif *vif; vif 182 drivers/net/wireless/ath/wil6210/pcie_bus.c vif = wil->vifs[i]; vif 183 drivers/net/wireless/ath/wil6210/pcie_bus.c if (vif) { vif 184 drivers/net/wireless/ath/wil6210/pcie_bus.c wil_vif_prepare_stop(vif); vif 185 drivers/net/wireless/ath/wil6210/pcie_bus.c wil_vif_remove(wil, vif->mid); vif 30 drivers/net/wireless/ath/wil6210/pm.c struct wil6210_vif *vif = wil->vifs[i]; vif 32 drivers/net/wireless/ath/wil6210/pm.c if (vif && test_bit(wil_vif_fwconnected, vif->status)) vif 33 drivers/net/wireless/ath/wil6210/pm.c wil_update_net_queues_bh(wil, vif, NULL, false); vif 44 drivers/net/wireless/ath/wil6210/pm.c struct wil6210_vif *vif = wil->vifs[i]; vif 46 drivers/net/wireless/ath/wil6210/pm.c if (vif) vif 47 drivers/net/wireless/ath/wil6210/pm.c wil_update_net_queues_bh(wil, vif, NULL, true); vif 53 drivers/net/wireless/ath/wil6210/pm.c wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 56 drivers/net/wireless/ath/wil6210/pm.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 66 drivers/net/wireless/ath/wil6210/pm.c if (test_bit(wil_vif_fwconnecting, vif->status)) { vif 127 drivers/net/wireless/ath/wil6210/pm.c struct wil6210_vif *vif = wil->vifs[i]; vif 129 drivers/net/wireless/ath/wil6210/pm.c if (!vif) vif 131 drivers/net/wireless/ath/wil6210/pm.c if (!wil_can_suspend_vif(wil, vif, is_runtime)) { vif 58 drivers/net/wireless/ath/wil6210/pmc.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 192 drivers/net/wireless/ath/wil6210/pmc.c vif->mid, vif 243 drivers/net/wireless/ath/wil6210/pmc.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 262 drivers/net/wireless/ath/wil6210/pmc.c wmi_send(wil, WMI_PMC_CMDID, vif->mid, vif 96 drivers/net/wireless/ath/wil6210/rx_reorder.c struct wil6210_vif *vif; vif 112 drivers/net/wireless/ath/wil6210/rx_reorder.c vif = wil->vifs[mid]; vif 113 drivers/net/wireless/ath/wil6210/rx_reorder.c if (unlikely(!vif)) { vif 118 drivers/net/wireless/ath/wil6210/rx_reorder.c ndev = vif_to_ndev(vif); vif 225 drivers/net/wireless/ath/wil6210/rx_reorder.c void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 229 drivers/net/wireless/ath/wil6210/rx_reorder.c struct net_device *ndev = vif_to_ndev(vif); vif 245 drivers/net/wireless/ath/wil6210/rx_reorder.c cid, vif->mid, tid, seq, r->head_seq_num); vif 379 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif = wil->vifs[mid]; vif 392 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype == NL80211_IFTYPE_MONITOR) vif 421 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype != NL80211_IFTYPE_P2P_GO && vif 422 drivers/net/wireless/ath/wil6210/txrx.c vif->wdev.iftype != NL80211_IFTYPE_AP) vif 438 drivers/net/wireless/ath/wil6210/txrx.c ta, vif->wdev.iftype, ftype, skb->len); vif 456 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif; vif 503 drivers/net/wireless/ath/wil6210/txrx.c vif = wil->vifs[mid]; vif 505 drivers/net/wireless/ath/wil6210/txrx.c if (unlikely(!vif)) { vif 511 drivers/net/wireless/ath/wil6210/txrx.c ndev = vif_to_ndev(vif); vif 562 drivers/net/wireless/ath/wil6210/txrx.c wil_rx_bar(wil, vif, cid, tid, seq); vif 817 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif = container_of(work, vif 819 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 823 drivers/net/wireless/ath/wil6210/txrx.c if (vif->ptk_rekey_state != WIL_REKEY_WAIT_M4_SENT) { vif 825 drivers/net/wireless/ath/wil6210/txrx.c vif->ptk_rekey_state); vif 830 drivers/net/wireless/ath/wil6210/txrx.c cid = wil_find_cid_by_idx(wil, vif->mid, 0); vif 838 drivers/net/wireless/ath/wil6210/txrx.c rc = wmi_add_cipher_key(vif, 0, wil->sta[cid].addr, 0, NULL, vif 841 drivers/net/wireless/ath/wil6210/txrx.c vif->ptk_rekey_state = WIL_REKEY_IDLE; vif 848 drivers/net/wireless/ath/wil6210/txrx.c void wil_tx_complete_handle_eapol(struct wil6210_vif *vif, struct sk_buff *skb) vif 850 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 851 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 863 drivers/net/wireless/ath/wil6210/txrx.c switch (vif->ptk_rekey_state) { vif 868 drivers/net/wireless/ath/wil6210/txrx.c vif->ptk_rekey_state = WIL_REKEY_IDLE; vif 875 drivers/net/wireless/ath/wil6210/txrx.c vif->ptk_rekey_state); vif 880 drivers/net/wireless/ath/wil6210/txrx.c q = queue_work(wil->wmi_wq, &vif->enable_tx_key_worker); vif 886 drivers/net/wireless/ath/wil6210/txrx.c static void wil_rx_handle_eapol(struct wil6210_vif *vif, struct sk_buff *skb) vif 888 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 889 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 899 drivers/net/wireless/ath/wil6210/txrx.c if (vif->ptk_rekey_state == WIL_REKEY_IDLE) vif 900 drivers/net/wireless/ath/wil6210/txrx.c vif->ptk_rekey_state = WIL_REKEY_M3_RECEIVED; vif 911 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 913 drivers/net/wireless/ath/wil6210/txrx.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 938 drivers/net/wireless/ath/wil6210/txrx.c } else if (wdev->iftype == NL80211_IFTYPE_AP && !vif->ap_isolate) { vif 945 drivers/net/wireless/ath/wil6210/txrx.c int xmit_cid = wil_find_cid(wil, vif->mid, da); vif 977 drivers/net/wireless/ath/wil6210/txrx.c wil_rx_handle_eapol(vif, skb); vif 1166 drivers/net/wireless/ath/wil6210/txrx.c static int wil_vring_init_tx(struct wil6210_vif *vif, int id, int size, vif 1169 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1229 drivers/net/wireless/ath/wil6210/txrx.c if (!vif->privacy) vif 1231 drivers/net/wireless/ath/wil6210/txrx.c rc = wmi_call(wil, WMI_VRING_CFG_CMDID, vif->mid, &cmd, sizeof(cmd), vif 1246 drivers/net/wireless/ath/wil6210/txrx.c txdata->mid = vif->mid; vif 1268 drivers/net/wireless/ath/wil6210/txrx.c static int wil_tx_vring_modify(struct wil6210_vif *vif, int ring_id, int cid, vif 1271 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1320 drivers/net/wireless/ath/wil6210/txrx.c rc = wmi_call(wil, WMI_VRING_CFG_CMDID, vif->mid, &cmd, sizeof(cmd), vif 1351 drivers/net/wireless/ath/wil6210/txrx.c int wil_vring_init_bcast(struct wil6210_vif *vif, int id, int size) vif 1353 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1398 drivers/net/wireless/ath/wil6210/txrx.c if (!vif->privacy) vif 1400 drivers/net/wireless/ath/wil6210/txrx.c rc = wmi_call(wil, WMI_BCAST_VRING_CFG_CMDID, vif->mid, vif 1416 drivers/net/wireless/ath/wil6210/txrx.c txdata->mid = vif->mid; vif 1433 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif, vif 1440 drivers/net/wireless/ath/wil6210/txrx.c cid = wil_find_cid(wil, vif->mid, da); vif 1470 drivers/net/wireless/ath/wil6210/txrx.c static int wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 1474 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif, vif 1490 drivers/net/wireless/ath/wil6210/txrx.c if (!ring->va || !txdata->enabled || txdata->mid != vif->mid) vif 1523 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif, vif 1528 drivers/net/wireless/ath/wil6210/txrx.c int i = vif->bcast_ring; vif 1553 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif, vif 1568 drivers/net/wireless/ath/wil6210/txrx.c if (!v->va || !txdata->enabled || txdata->mid != vif->mid) vif 1597 drivers/net/wireless/ath/wil6210/txrx.c if (!v2->va || txdata2->mid != vif->mid) vif 1613 drivers/net/wireless/ath/wil6210/txrx.c wil_tx_ring(wil, vif, v2, skb2); vif 1730 drivers/net/wireless/ath/wil6210/txrx.c static int __wil_tx_vring_tso(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 2033 drivers/net/wireless/ath/wil6210/txrx.c static int __wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 2048 drivers/net/wireless/ath/wil6210/txrx.c bool mcast = (ring_index == vif->bcast_ring); vif 2191 drivers/net/wireless/ath/wil6210/txrx.c static int wil_tx_ring(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 2210 drivers/net/wireless/ath/wil6210/txrx.c (wil, vif, ring, skb); vif 2235 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif, vif 2242 drivers/net/wireless/ath/wil6210/txrx.c if (unlikely(!vif)) vif 2247 drivers/net/wireless/ath/wil6210/txrx.c (int)(ring - wil->ring_tx), vif->mid, check_stop, vif 2248 drivers/net/wireless/ath/wil6210/txrx.c vif->net_queue_stopped); vif 2251 drivers/net/wireless/ath/wil6210/txrx.c check_stop, vif->mid, vif->net_queue_stopped); vif 2257 drivers/net/wireless/ath/wil6210/txrx.c if (check_stop == vif->net_queue_stopped) vif 2264 drivers/net/wireless/ath/wil6210/txrx.c netif_tx_stop_all_queues(vif_to_ndev(vif)); vif 2265 drivers/net/wireless/ath/wil6210/txrx.c vif->net_queue_stopped = true; vif 2281 drivers/net/wireless/ath/wil6210/txrx.c if (txdata->mid != vif->mid || !cur_ring->va || vif 2295 drivers/net/wireless/ath/wil6210/txrx.c netif_tx_wake_all_queues(vif_to_ndev(vif)); vif 2296 drivers/net/wireless/ath/wil6210/txrx.c vif->net_queue_stopped = false; vif 2300 drivers/net/wireless/ath/wil6210/txrx.c void wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 2304 drivers/net/wireless/ath/wil6210/txrx.c __wil_update_net_queues(wil, vif, ring, check_stop); vif 2308 drivers/net/wireless/ath/wil6210/txrx.c void wil_update_net_queues_bh(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 2312 drivers/net/wireless/ath/wil6210/txrx.c __wil_update_net_queues(wil, vif, ring, check_stop); vif 2318 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 2319 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2334 drivers/net/wireless/ath/wil6210/txrx.c if (unlikely(!test_bit(wil_vif_fwconnected, vif->status))) { vif 2339 drivers/net/wireless/ath/wil6210/txrx.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) { vif 2346 drivers/net/wireless/ath/wil6210/txrx.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && !vif->pbss) { vif 2348 drivers/net/wireless/ath/wil6210/txrx.c ring = wil_find_tx_ring_sta(wil, vif, skb); vif 2350 drivers/net/wireless/ath/wil6210/txrx.c if (vif->pbss) vif 2354 drivers/net/wireless/ath/wil6210/txrx.c ring = wil_find_tx_bcast_2(wil, vif, skb); vif 2355 drivers/net/wireless/ath/wil6210/txrx.c else if (vif->wdev.iftype == NL80211_IFTYPE_AP) vif 2357 drivers/net/wireless/ath/wil6210/txrx.c ring = wil_find_tx_bcast_1(wil, vif, skb); vif 2362 drivers/net/wireless/ath/wil6210/txrx.c ring = wil_find_tx_bcast_2(wil, vif, skb); vif 2365 drivers/net/wireless/ath/wil6210/txrx.c ring = wil_find_tx_ucast(wil, vif, skb); vif 2372 drivers/net/wireless/ath/wil6210/txrx.c rc = wil_tx_ring(wil, vif, ring, skb); vif 2377 drivers/net/wireless/ath/wil6210/txrx.c wil_update_net_queues_bh(wil, vif, ring, true); vif 2427 drivers/net/wireless/ath/wil6210/txrx.c int wil_tx_complete(struct wil6210_vif *vif, int ringid) vif 2429 drivers/net/wireless/ath/wil6210/txrx.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2430 drivers/net/wireless/ath/wil6210/txrx.c struct net_device *ndev = vif_to_ndev(vif); vif 2517 drivers/net/wireless/ath/wil6210/txrx.c wil_tx_complete_handle_eapol(vif, skb); vif 2549 drivers/net/wireless/ath/wil6210/txrx.c wil_update_net_queues(wil, vif, vring, false); vif 692 drivers/net/wireless/ath/wil6210/txrx.h void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 709 drivers/net/wireless/ath/wil6210/txrx_edma.c static int wil_ring_init_tx_edma(struct wil6210_vif *vif, int ring_id, vif 712 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_priv *wil = vif_to_wil(vif); vif 731 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!vif->privacy) vif 734 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_wmi_tx_desc_ring_add(vif, ring_id, cid, tid); vif 757 drivers/net/wireless/ath/wil6210/txrx_edma.c static int wil_tx_ring_modify_edma(struct wil6210_vif *vif, int ring_id, vif 760 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_priv *wil = vif_to_wil(vif); vif 776 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_vif *vif; vif 786 drivers/net/wireless/ath/wil6210/txrx_edma.c vif = wil->vifs[mid]; vif 788 drivers/net/wireless/ath/wil6210/txrx_edma.c if (unlikely(!vif)) { vif 802 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_rx_bar(wil, vif, cid, tid, seq); vif 1097 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_vif *vif = wil->vifs[mid]; vif 1099 drivers/net/wireless/ath/wil6210/txrx_edma.c if (unlikely(!vif)) { vif 1106 drivers/net/wireless/ath/wil6210/txrx_edma.c ndev = vif_to_ndev(vif); vif 1177 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_vif *vif; vif 1209 drivers/net/wireless/ath/wil6210/txrx_edma.c vif = wil->vifs[txdata->mid]; vif 1210 drivers/net/wireless/ath/wil6210/txrx_edma.c if (unlikely(!vif)) { vif 1216 drivers/net/wireless/ath/wil6210/txrx_edma.c ndev = vif_to_ndev(vif); vif 1270 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_tx_complete_handle_eapol(vif, skb); vif 1309 drivers/net/wireless/ath/wil6210/txrx_edma.c wil_update_net_queues(wil, vif, NULL, false); vif 1406 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_vif *vif, vif 1549 drivers/net/wireless/ath/wil6210/txrx_edma.c static int wil_ring_init_bcast_edma(struct wil6210_vif *vif, int ring_id, vif 1552 drivers/net/wireless/ath/wil6210/txrx_edma.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1571 drivers/net/wireless/ath/wil6210/txrx_edma.c if (!vif->privacy) vif 1574 drivers/net/wireless/ath/wil6210/txrx_edma.c rc = wil_wmi_bcast_desc_ring_add(vif, ring_id); vif 605 drivers/net/wireless/ath/wil6210/wil6210.h int (*ring_init_tx)(struct wil6210_vif *vif, int ring_id, vif 608 drivers/net/wireless/ath/wil6210/wil6210.h int (*ring_init_bcast)(struct wil6210_vif *vif, int id, int size); vif 616 drivers/net/wireless/ath/wil6210/wil6210.h int (*tx_ring_tso)(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 618 drivers/net/wireless/ath/wil6210/wil6210.h int (*tx_ring_modify)(struct wil6210_vif *vif, int ring_id, vif 1097 drivers/net/wireless/ath/wil6210/wil6210.h vif_to_radio_wdev(struct wil6210_priv *wil, struct wil6210_vif *vif) vif 1100 drivers/net/wireless/ath/wil6210/wil6210.h if (vif->mid) vif 1101 drivers/net/wireless/ath/wil6210/wil6210.h return vif_to_wdev(vif); vif 1215 drivers/net/wireless/ath/wil6210/wil6210.h void wil_vif_free(struct wil6210_vif *vif); vif 1221 drivers/net/wireless/ath/wil6210/wil6210.h int wil_vif_add(struct wil6210_priv *wil, struct wil6210_vif *vif); vif 1255 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid); vif 1256 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_get_ssid(struct wil6210_vif *vif, u8 *ssid_len, void *ssid); vif 1259 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_del_cipher_key(struct wil6210_vif *vif, u8 key_index, vif 1261 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_add_cipher_key(struct wil6210_vif *vif, u8 key_index, vif 1265 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_set_ie(struct wil6210_vif *vif, u8 type, u16 ie_len, const void *ie); vif 1267 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_update_ft_ies(struct wil6210_vif *vif, u16 ie_len, const void *ie); vif 1273 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_disconnect_sta(struct wil6210_vif *vif, const u8 *mac, u16 reason, vif 1286 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_new_sta(struct wil6210_vif *vif, const u8 *mac, u8 aid); vif 1290 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_link_stats_cfg(struct wil6210_vif *vif, u32 type, u8 cid, u32 interval); vif 1308 drivers/net/wireless/ath/wil6210/wil6210.h int wil_p2p_search(struct wil6210_vif *vif, vif 1313 drivers/net/wireless/ath/wil6210/wil6210.h u8 wil_p2p_stop_discovery(struct wil6210_vif *vif); vif 1314 drivers/net/wireless/ath/wil6210/wil6210.h int wil_p2p_cancel_listen(struct wil6210_vif *vif, u64 cookie); vif 1321 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_p2p_cfg(struct wil6210_vif *vif, int channel, int bi); vif 1322 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_start_listen(struct wil6210_vif *vif); vif 1323 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_start_search(struct wil6210_vif *vif); vif 1324 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_stop_discovery(struct wil6210_vif *vif); vif 1333 drivers/net/wireless/ath/wil6210/wil6210.h int wil_vif_prepare_stop(struct wil6210_vif *vif); vif 1343 drivers/net/wireless/ath/wil6210/wil6210.h int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, vif 1351 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, u8 chan, vif 1353 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_pcp_stop(struct wil6210_vif *vif); vif 1355 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_abort_scan(struct wil6210_vif *vif); vif 1356 drivers/net/wireless/ath/wil6210/wil6210.h void wil_abort_scan(struct wil6210_vif *vif, bool sync); vif 1359 drivers/net/wireless/ath/wil6210/wil6210.h void wil6210_disconnect(struct wil6210_vif *vif, const u8 *bssid, vif 1361 drivers/net/wireless/ath/wil6210/wil6210.h void wil6210_disconnect_complete(struct wil6210_vif *vif, const u8 *bssid, vif 1363 drivers/net/wireless/ath/wil6210/wil6210.h void wil_probe_client_flush(struct wil6210_vif *vif); vif 1371 drivers/net/wireless/ath/wil6210/wil6210.h int wil_ring_init_tx(struct wil6210_vif *vif, int cid); vif 1372 drivers/net/wireless/ath/wil6210/wil6210.h int wil_vring_init_bcast(struct wil6210_vif *vif, int id, int size); vif 1373 drivers/net/wireless/ath/wil6210/wil6210.h int wil_bcast_init(struct wil6210_vif *vif); vif 1374 drivers/net/wireless/ath/wil6210/wil6210.h void wil_bcast_fini(struct wil6210_vif *vif); vif 1377 drivers/net/wireless/ath/wil6210/wil6210.h void wil_update_net_queues(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 1379 drivers/net/wireless/ath/wil6210/wil6210.h void wil_update_net_queues_bh(struct wil6210_priv *wil, struct wil6210_vif *vif, vif 1382 drivers/net/wireless/ath/wil6210/wil6210.h int wil_tx_complete(struct wil6210_vif *vif, int ringid); vif 1383 drivers/net/wireless/ath/wil6210/wil6210.h void wil_tx_complete_handle_eapol(struct wil6210_vif *vif, vif 1427 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_mgmt_tx(struct wil6210_vif *vif, const u8 *buf, size_t len); vif 1428 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_mgmt_tx_ext(struct wil6210_vif *vif, const u8 *buf, size_t len, vif 1444 drivers/net/wireless/ath/wil6210/wil6210.h int wil_wmi_tx_desc_ring_add(struct wil6210_vif *vif, int ring_id, int cid, vif 1446 drivers/net/wireless/ath/wil6210/wil6210.h int wil_wmi_bcast_desc_ring_add(struct wil6210_vif *vif, int ring_id); vif 777 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_ready(struct wil6210_vif *vif, int id, void *d, int len) vif 779 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 825 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_rx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) vif 827 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 913 drivers/net/wireless/ath/wil6210/wmi.c cfg80211_rx_mgmt(vif_to_radio_wdev(wil, vif), freq, signal, vif 919 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_tx_mgmt(struct wil6210_vif *vif, int id, void *d, int len) vif 930 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_scan_complete(struct wil6210_vif *vif, int id, vif 933 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 936 drivers/net/wireless/ath/wil6210/wmi.c if (vif->scan_request) { vif 946 drivers/net/wireless/ath/wil6210/wmi.c vif->scan_request, info.aborted); vif 947 drivers/net/wireless/ath/wil6210/wmi.c del_timer_sync(&vif->scan_timer); vif 948 drivers/net/wireless/ath/wil6210/wmi.c cfg80211_scan_done(vif->scan_request, &info); vif 949 drivers/net/wireless/ath/wil6210/wmi.c if (vif->mid == 0) vif 951 drivers/net/wireless/ath/wil6210/wmi.c vif->scan_request = NULL; vif 953 drivers/net/wireless/ath/wil6210/wmi.c if (vif->p2p.pending_listen_wdev) { vif 955 drivers/net/wireless/ath/wil6210/wmi.c schedule_work(&vif->p2p.delayed_listen_work); vif 963 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_connect(struct wil6210_vif *vif, int id, void *d, int len) vif 965 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 966 drivers/net/wireless/ath/wil6210/wmi.c struct net_device *ndev = vif_to_ndev(vif); vif 967 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 1032 drivers/net/wireless/ath/wil6210/wmi.c if (!test_bit(wil_vif_fwconnecting, vif->status)) { vif 1037 drivers/net/wireless/ath/wil6210/wmi.c del_timer_sync(&vif->connect_timer); vif 1049 drivers/net/wireless/ath/wil6210/wmi.c wil->sta[evt->cid].mid = vif->mid; vif 1052 drivers/net/wireless/ath/wil6210/wmi.c rc = wil_ring_init_tx(vif, evt->cid); vif 1056 drivers/net/wireless/ath/wil6210/wmi.c wmi_disconnect_sta(vif, wil->sta[evt->cid].addr, vif 1076 drivers/net/wireless/ath/wil6210/wmi.c cfg80211_ref_bss(wiphy, vif->bss); vif 1077 drivers/net/wireless/ath/wil6210/wmi.c cfg80211_connect_bss(ndev, evt->bssid, vif->bss, vif 1083 drivers/net/wireless/ath/wil6210/wmi.c vif->bss = NULL; vif 1118 drivers/net/wireless/ath/wil6210/wmi.c if (!test_and_set_bit(wil_vif_fwconnected, vif->status)) vif 1120 drivers/net/wireless/ath/wil6210/wmi.c wil_update_net_queues_bh(wil, vif, NULL, false); vif 1127 drivers/net/wireless/ath/wil6210/wmi.c clear_bit(wil_vif_fwconnecting, vif->status); vif 1131 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_disconnect(struct wil6210_vif *vif, int id, vif 1134 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1151 drivers/net/wireless/ath/wil6210/wmi.c wil6210_disconnect_complete(vif, evt->bssid, reason_code); vif 1153 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 1154 drivers/net/wireless/ath/wil6210/wmi.c struct net_device *ndev = vif_to_ndev(vif); vif 1176 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_eapol_rx(struct wil6210_vif *vif, int id, void *d, int len) vif 1178 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1179 drivers/net/wireless/ath/wil6210/wmi.c struct net_device *ndev = vif_to_ndev(vif); vif 1189 drivers/net/wireless/ath/wil6210/wmi.c evt->src_mac, vif->mid); vif 1191 drivers/net/wireless/ath/wil6210/wmi.c cid = wil_find_cid(wil, vif->mid, evt->src_mac); vif 1226 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_ring_en(struct wil6210_vif *vif, int id, void *d, int len) vif 1228 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1231 drivers/net/wireless/ath/wil6210/wmi.c struct wireless_dev *wdev = vif_to_wdev(vif); vif 1236 drivers/net/wireless/ath/wil6210/wmi.c wil_dbg_wmi(wil, "Enable vring %d MID %d\n", vri, vif->mid); vif 1244 drivers/net/wireless/ath/wil6210/wmi.c test_bit(wil_vif_ft_roam, vif->status)) vif 1249 drivers/net/wireless/ath/wil6210/wmi.c if (vri == vif->bcast_ring) /* no BA for bcast */ vif 1263 drivers/net/wireless/ath/wil6210/wmi.c if (test_bit(wil_vif_ft_roam, vif->status)) { vif 1267 drivers/net/wireless/ath/wil6210/wmi.c clear_bit(wil_vif_ft_roam, vif->status); vif 1274 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_ba_status(struct wil6210_vif *vif, int id, vif 1277 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1306 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_addba_rx_req(struct wil6210_vif *vif, int id, vif 1309 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1319 drivers/net/wireless/ath/wil6210/wmi.c wil_addba_rx_request(wil, vif->mid, cid, tid, evt->dialog_token, vif 1324 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_delba(struct wil6210_vif *vif, int id, void *d, int len) vif 1327 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1349 drivers/net/wireless/ath/wil6210/wmi.c vif->mid, cid, tid, vif 1386 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_sched_scan_result(struct wil6210_vif *vif, int id, void *d, int len) vif 1388 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1461 drivers/net/wireless/ath/wil6210/wmi.c static void wil_link_stats_store_basic(struct wil6210_vif *vif, vif 1464 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1477 drivers/net/wireless/ath/wil6210/wmi.c static void wil_link_stats_store_global(struct wil6210_vif *vif, vif 1480 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1485 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_link_stats_parse(struct wil6210_vif *vif, u64 tsf, vif 1489 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1518 drivers/net/wireless/ath/wil6210/wmi.c if (vif->fw_stats_ready) { vif 1520 drivers/net/wireless/ath/wil6210/wmi.c vif->fw_stats_tsf = 0; vif 1521 drivers/net/wireless/ath/wil6210/wmi.c vif->fw_stats_ready = 0; vif 1524 drivers/net/wireless/ath/wil6210/wmi.c wil_link_stats_store_basic(vif, payload + hdr_size); vif 1527 drivers/net/wireless/ath/wil6210/wmi.c vif->fw_stats_tsf = tsf; vif 1528 drivers/net/wireless/ath/wil6210/wmi.c vif->fw_stats_ready = 1; vif 1546 drivers/net/wireless/ath/wil6210/wmi.c wil_link_stats_store_global(vif, payload + hdr_size); vif 1565 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_link_stats(struct wil6210_vif *vif, int id, void *d, int len) vif 1567 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1581 drivers/net/wireless/ath/wil6210/wmi.c wmi_link_stats_parse(vif, le64_to_cpu(evt->tsf), evt->has_next, vif 1591 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif, vif 1601 drivers/net/wireless/ath/wil6210/wmi.c if (!(vif->wdev.iftype == NL80211_IFTYPE_STATION || vif 1602 drivers/net/wireless/ath/wil6210/wmi.c vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT)) { vif 1603 drivers/net/wireless/ath/wil6210/wmi.c wil_err(wil, "invalid interface type %d\n", vif->wdev.iftype); vif 1614 drivers/net/wireless/ath/wil6210/wmi.c if (!ring->va || !txdata->enabled || txdata->mid != vif->mid) vif 1633 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_auth_status(struct wil6210_vif *vif, int id, void *d, int len) vif 1635 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1636 drivers/net/wireless/ath/wil6210/wmi.c struct net_device *ndev = vif_to_ndev(vif); vif 1687 drivers/net/wireless/ath/wil6210/wmi.c rc = wil_find_cid_ringid_sta(wil, vif, &cid, &ringid); vif 1693 drivers/net/wireless/ath/wil6210/wmi.c if (vif->privacy) { vif 1695 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, vif 1701 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, vif 1718 drivers/net/wireless/ath/wil6210/wmi.c wil6210_disconnect(vif, NULL, WLAN_REASON_PREV_AUTH_NOT_VALID); vif 1722 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_reassoc_status(struct wil6210_vif *vif, int id, void *d, int len) vif 1724 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1725 drivers/net/wireless/ath/wil6210/wmi.c struct net_device *ndev = vif_to_ndev(vif); vif 1772 drivers/net/wireless/ath/wil6210/wmi.c rc = wil_find_cid_ringid_sta(wil, vif, &cid, &ringid); vif 1816 drivers/net/wireless/ath/wil6210/wmi.c rc = wil->txrx_ops.tx_ring_modify(vif, ringid, cid, 0); vif 1819 drivers/net/wireless/ath/wil6210/wmi.c cid, vif->mid, ringid, rc); vif 1827 drivers/net/wireless/ath/wil6210/wmi.c ether_addr_copy(wil->sta[cid].addr, vif->bss->bssid); vif 1829 drivers/net/wireless/ath/wil6210/wmi.c del_timer_sync(&vif->connect_timer); vif 1831 drivers/net/wireless/ath/wil6210/wmi.c cfg80211_ref_bss(wiphy, vif->bss); vif 1836 drivers/net/wireless/ath/wil6210/wmi.c info.bss = vif->bss; vif 1842 drivers/net/wireless/ath/wil6210/wmi.c vif->bss = NULL; vif 1847 drivers/net/wireless/ath/wil6210/wmi.c wil6210_disconnect(vif, NULL, WLAN_REASON_PREV_AUTH_NOT_VALID); vif 1854 drivers/net/wireless/ath/wil6210/wmi.c static void wmi_evt_ignore(struct wil6210_vif *vif, int id, void *d, int len) vif 1856 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 1863 drivers/net/wireless/ath/wil6210/wmi.c void (*handler)(struct wil6210_vif *vif, vif 2074 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2079 drivers/net/wireless/ath/wil6210/wmi.c return wmi_call(wil, WMI_ECHO_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2086 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2093 drivers/net/wireless/ath/wil6210/wmi.c return wmi_send(wil, WMI_SET_MAC_ADDRESS_CMDID, vif->mid, vif 2099 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2138 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_LED_CFG_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2156 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2170 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_RBUFCAP_CFG_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2185 drivers/net/wireless/ath/wil6210/wmi.c int wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, vif 2188 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2212 drivers/net/wireless/ath/wil6210/wmi.c if (!vif->privacy) vif 2233 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_PCP_START_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2248 drivers/net/wireless/ath/wil6210/wmi.c int wmi_pcp_stop(struct wil6210_vif *vif) vif 2250 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2257 drivers/net/wireless/ath/wil6210/wmi.c return wmi_call(wil, WMI_PCP_STOP_CMDID, vif->mid, NULL, 0, vif 2262 drivers/net/wireless/ath/wil6210/wmi.c int wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid) vif 2264 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2274 drivers/net/wireless/ath/wil6210/wmi.c return wmi_send(wil, WMI_SET_SSID_CMDID, vif->mid, &cmd, sizeof(cmd)); vif 2277 drivers/net/wireless/ath/wil6210/wmi.c int wmi_get_ssid(struct wil6210_vif *vif, u8 *ssid_len, void *ssid) vif 2279 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2289 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_GET_SSID_CMDID, vif->mid, NULL, 0, vif 2307 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2312 drivers/net/wireless/ath/wil6210/wmi.c return wmi_send(wil, WMI_SET_PCP_CHANNEL_CMDID, vif->mid, vif 2318 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2327 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_GET_PCP_CHANNEL_CMDID, vif->mid, NULL, 0, vif 2341 drivers/net/wireless/ath/wil6210/wmi.c int wmi_p2p_cfg(struct wil6210_vif *vif, int channel, int bi) vif 2343 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2359 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_P2P_CFG_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2369 drivers/net/wireless/ath/wil6210/wmi.c int wmi_start_listen(struct wil6210_vif *vif) vif 2371 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2382 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, vif 2393 drivers/net/wireless/ath/wil6210/wmi.c int wmi_start_search(struct wil6210_vif *vif) vif 2395 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2406 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_START_SEARCH_CMDID, vif->mid, NULL, 0, vif 2417 drivers/net/wireless/ath/wil6210/wmi.c int wmi_stop_discovery(struct wil6210_vif *vif) vif 2419 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2424 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, vif 2434 drivers/net/wireless/ath/wil6210/wmi.c int wmi_del_cipher_key(struct wil6210_vif *vif, u8 key_index, vif 2437 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2445 drivers/net/wireless/ath/wil6210/wmi.c return wmi_send(wil, WMI_DELETE_CIPHER_KEY_CMDID, vif->mid, vif 2449 drivers/net/wireless/ath/wil6210/wmi.c int wmi_add_cipher_key(struct wil6210_vif *vif, u8 key_index, vif 2453 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2474 drivers/net/wireless/ath/wil6210/wmi.c return wmi_send(wil, WMI_ADD_CIPHER_KEY_CMDID, vif->mid, vif 2478 drivers/net/wireless/ath/wil6210/wmi.c int wmi_set_ie(struct wil6210_vif *vif, u8 type, u16 ie_len, const void *ie) vif 2480 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2510 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_send(wil, WMI_SET_APPIE_CMDID, vif->mid, cmd, len); vif 2522 drivers/net/wireless/ath/wil6210/wmi.c int wmi_update_ft_ies(struct wil6210_vif *vif, u16 ie_len, const void *ie) vif 2524 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2547 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_send(wil, WMI_UPDATE_FT_IES_CMDID, vif->mid, cmd, len); vif 2567 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2579 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, vif 2586 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, vif 2598 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 2644 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_CFG_RX_CHAIN_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2662 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2676 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TEMP_SENSE_CMDID, vif->mid, &cmd, sizeof(cmd), vif 2694 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2713 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TEMP_SENSE_ALL_CMDID, vif->mid, &cmd, vif 2728 drivers/net/wireless/ath/wil6210/wmi.c int wmi_disconnect_sta(struct wil6210_vif *vif, const u8 *mac, u16 reason, vif 2731 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 2747 drivers/net/wireless/ath/wil6210/wmi.c vif->locally_generated_disc = true; vif 2750 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_DEL_STA_CMDID, vif->mid, &del_sta_cmd, vif 2755 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_DISCONNECT_STA_CMDID, vif->mid, vif 2924 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2939 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_PS_DEV_PROFILE_CFG_CMDID, vif->mid, vif 2959 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 2976 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_SET_MGMT_RETRY_LIMIT_CMDID, vif->mid, vif 2994 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3007 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_GET_MGMT_RETRY_LIMIT_CMDID, vif->mid, NULL, 0, vif 3019 drivers/net/wireless/ath/wil6210/wmi.c int wmi_abort_scan(struct wil6210_vif *vif) vif 3021 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3026 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_send(wil, WMI_ABORT_SCAN_CMDID, vif->mid, NULL, 0); vif 3033 drivers/net/wireless/ath/wil6210/wmi.c int wmi_new_sta(struct wil6210_vif *vif, const u8 *mac, u8 aid) vif 3035 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3045 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_send(wil, WMI_NEW_STA_CMDID, vif->mid, &cmd, sizeof(cmd)); vif 3085 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3102 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TRAFFIC_SUSPEND_CMDID, vif->mid, vif 3174 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3186 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TRAFFIC_RESUME_CMDID, vif->mid, NULL, 0, vif 3286 drivers/net/wireless/ath/wil6210/wmi.c static bool wmi_evt_call_handler(struct wil6210_vif *vif, int id, vif 3293 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_handlers[i].handler(vif, id, d, len); vif 3305 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif; vif 3325 drivers/net/wireless/ath/wil6210/wmi.c vif = wil->vifs[mid]; vif 3326 drivers/net/wireless/ath/wil6210/wmi.c if (!vif) { vif 3348 drivers/net/wireless/ath/wil6210/wmi.c wmi_evt_call_handler(vif, id, evt_data, vif 3357 drivers/net/wireless/ath/wil6210/wmi.c if (!wmi_evt_call_handler(vif, id, evt_data, vif 3527 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3554 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_START_SCHED_SCAN_CMDID, vif->mid, vif 3572 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3584 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_STOP_SCHED_SCAN_CMDID, vif->mid, NULL, 0, vif 3599 drivers/net/wireless/ath/wil6210/wmi.c int wmi_mgmt_tx(struct wil6210_vif *vif, const u8 *buf, size_t len) vif 3602 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3613 drivers/net/wireless/ath/wil6210/wmi.c wil_dbg_misc(wil, "mgmt_tx mid %d\n", vif->mid); vif 3634 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_SW_TX_REQ_CMDID, vif->mid, cmd, total, vif 3647 drivers/net/wireless/ath/wil6210/wmi.c int wmi_mgmt_tx_ext(struct wil6210_vif *vif, const u8 *buf, size_t len, vif 3651 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3663 drivers/net/wireless/ath/wil6210/wmi.c vif->mid, channel, duration_ms); vif 3688 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_SW_TX_REQ_EXT_CMDID, vif->mid, cmd, total, vif 3704 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(wil->main_ndev); vif 3722 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TX_STATUS_RING_ADD_CMDID, vif->mid, &cmd, vif 3744 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 3760 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_CFG_DEF_RX_OFFLOAD_CMDID, vif->mid, &cmd, vif 3780 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 3801 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_RX_STATUS_RING_ADD_CMDID, vif->mid, &cmd, vif 3823 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_vif *vif = ndev_to_vif(ndev); vif 3843 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_RX_DESC_RING_ADD_CMDID, vif->mid, &cmd, vif 3862 drivers/net/wireless/ath/wil6210/wmi.c int wil_wmi_tx_desc_ring_add(struct wil6210_vif *vif, int ring_id, int cid, vif 3865 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3893 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_TX_DESC_RING_ADD_CMDID, vif->mid, &cmd, vif 3909 drivers/net/wireless/ath/wil6210/wmi.c txdata->mid = vif->mid; vif 3916 drivers/net/wireless/ath/wil6210/wmi.c int wil_wmi_bcast_desc_ring_add(struct wil6210_vif *vif, int ring_id) vif 3918 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3939 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_BCAST_DESC_RING_ADD_CMDID, vif->mid, &cmd, vif 3955 drivers/net/wireless/ath/wil6210/wmi.c txdata->mid = vif->mid; vif 3962 drivers/net/wireless/ath/wil6210/wmi.c int wmi_link_stats_cfg(struct wil6210_vif *vif, u32 type, u8 cid, u32 interval) vif 3964 drivers/net/wireless/ath/wil6210/wmi.c struct wil6210_priv *wil = vif_to_wil(vif); vif 3979 drivers/net/wireless/ath/wil6210/wmi.c rc = wmi_call(wil, WMI_LINK_STATS_CMDID, vif->mid, &cmd, sizeof(cmd), vif 1886 drivers/net/wireless/atmel/at76c50x-usb.c struct ieee80211_vif *vif) vif 1895 drivers/net/wireless/atmel/at76c50x-usb.c switch (vif->type) { vif 1911 drivers/net/wireless/atmel/at76c50x-usb.c struct ieee80211_vif *vif) vif 1955 drivers/net/wireless/atmel/at76c50x-usb.c struct ieee80211_vif *vif, vif 2035 drivers/net/wireless/atmel/at76c50x-usb.c struct ieee80211_vif *vif, vif 2133 drivers/net/wireless/atmel/at76c50x-usb.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 918 drivers/net/wireless/broadcom/b43/b43.h struct ieee80211_vif *vif; vif 367 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, vif 934 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, vif 1834 drivers/net/wireless/broadcom/b43/main.c beacon = ieee80211_beacon_get(wl->hw, wl->vif); vif 3784 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, u16 _queue, vif 3831 drivers/net/wireless/broadcom/b43/main.c static u64 b43_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 3851 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, u64 tsf) vif 4096 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, vif 4109 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(wl->vif != vif); vif 4155 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 4168 drivers/net/wireless/broadcom/b43/main.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 4169 drivers/net/wireless/broadcom/b43/main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 4956 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif) vif 4964 drivers/net/wireless/broadcom/b43/main.c if (vif->type != NL80211_IFTYPE_AP && vif 4965 drivers/net/wireless/broadcom/b43/main.c vif->type != NL80211_IFTYPE_MESH_POINT && vif 4966 drivers/net/wireless/broadcom/b43/main.c vif->type != NL80211_IFTYPE_STATION && vif 4967 drivers/net/wireless/broadcom/b43/main.c vif->type != NL80211_IFTYPE_WDS && vif 4968 drivers/net/wireless/broadcom/b43/main.c vif->type != NL80211_IFTYPE_ADHOC) vif 4975 drivers/net/wireless/broadcom/b43/main.c b43dbg(wl, "Adding Interface type %d\n", vif->type); vif 4979 drivers/net/wireless/broadcom/b43/main.c wl->vif = vif; vif 4980 drivers/net/wireless/broadcom/b43/main.c wl->if_type = vif->type; vif 4981 drivers/net/wireless/broadcom/b43/main.c memcpy(wl->mac_addr, vif->addr, ETH_ALEN); vif 4993 drivers/net/wireless/broadcom/b43/main.c b43_op_bss_info_changed(hw, vif, &vif->bss_conf, ~0); vif 4999 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif) vif 5004 drivers/net/wireless/broadcom/b43/main.c b43dbg(wl, "Removing Interface type %d\n", vif->type); vif 5009 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(wl->vif != vif); vif 5010 drivers/net/wireless/broadcom/b43/main.c wl->vif = NULL; vif 5113 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, vif 5119 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(!vif || wl->vif != vif); vif 5123 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif, vif 5139 drivers/net/wireless/broadcom/b43/main.c struct ieee80211_vif *vif) vif 5243 drivers/net/wireless/broadcom/b43/main.c if (wl->vif) vif 5244 drivers/net/wireless/broadcom/b43/main.c b43_op_bss_info_changed(wl->hw, wl->vif, &wl->vif->bss_conf, ~0); vif 288 drivers/net/wireless/broadcom/b43/xmit.c dev->wl->hw, info->control.vif, info->band, vif 455 drivers/net/wireless/broadcom/b43/xmit.c ieee80211_ctstoself_get(dev->wl->hw, info->control.vif, vif 477 drivers/net/wireless/broadcom/b43/xmit.c ieee80211_rts_get(dev->wl->hw, info->control.vif, vif 593 drivers/net/wireless/broadcom/b43legacy/b43legacy.h struct ieee80211_vif *vif; vif 1030 drivers/net/wireless/broadcom/b43legacy/main.c dev->wl->vif, vif 1096 drivers/net/wireless/broadcom/b43legacy/main.c dev->wl->vif, vif 1244 drivers/net/wireless/broadcom/b43legacy/main.c beacon = ieee80211_beacon_get(wl->hw, wl->vif); vif 2507 drivers/net/wireless/broadcom/b43legacy/main.c struct ieee80211_vif *vif, u16 queue, vif 2806 drivers/net/wireless/broadcom/b43legacy/main.c struct ieee80211_vif *vif, vif 2815 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_WARN_ON(wl->vif != vif); vif 3376 drivers/net/wireless/broadcom/b43legacy/main.c struct ieee80211_vif *vif) vif 3385 drivers/net/wireless/broadcom/b43legacy/main.c if (vif->type != NL80211_IFTYPE_AP && vif 3386 drivers/net/wireless/broadcom/b43legacy/main.c vif->type != NL80211_IFTYPE_STATION && vif 3387 drivers/net/wireless/broadcom/b43legacy/main.c vif->type != NL80211_IFTYPE_WDS && vif 3388 drivers/net/wireless/broadcom/b43legacy/main.c vif->type != NL80211_IFTYPE_ADHOC) vif 3395 drivers/net/wireless/broadcom/b43legacy/main.c b43legacydbg(wl, "Adding Interface type %d\n", vif->type); vif 3399 drivers/net/wireless/broadcom/b43legacy/main.c wl->vif = vif; vif 3400 drivers/net/wireless/broadcom/b43legacy/main.c wl->if_type = vif->type; vif 3401 drivers/net/wireless/broadcom/b43legacy/main.c memcpy(wl->mac_addr, vif->addr, ETH_ALEN); vif 3418 drivers/net/wireless/broadcom/b43legacy/main.c struct ieee80211_vif *vif) vif 3424 drivers/net/wireless/broadcom/b43legacy/main.c b43legacydbg(wl, "Removing Interface type %d\n", vif->type); vif 3429 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_WARN_ON(wl->vif != vif); vif 3430 drivers/net/wireless/broadcom/b43legacy/main.c wl->vif = NULL; vif 217 drivers/net/wireless/broadcom/b43legacy/xmit.c info->control.vif, vif 309 drivers/net/wireless/broadcom/b43legacy/xmit.c info->control.vif, vif 318 drivers/net/wireless/broadcom/b43legacy/xmit.c info->control.vif, vif 76 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c struct brcmf_cfg80211_vif *vif; vif 234 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c struct brcmf_if *ifp = btci->vif->ifp; vif 258 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c ifp = btci->vif->ifp; vif 347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c cfg80211_crit_proto_stopped(&btci->vif->wdev, GFP_KERNEL); vif 349 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c btci->vif = NULL; vif 410 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c struct brcmf_if *ifp = btci->vif->ifp; vif 451 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c int brcmf_btcoex_set_mode(struct brcmf_cfg80211_vif *vif, vif 454 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(vif->wdev.wiphy); vif 466 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c btci->vif = vif; vif 474 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c vif == btci->vif) { vif 15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.h int brcmf_btcoex_set_mode(struct brcmf_cfg80211_vif *vif, vif 88 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static bool check_vif_up(struct brcmf_cfg80211_vif *vif) vif 90 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!test_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state)) { vif 92 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->sme_state); vif 411 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif, vif 422 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (pos == vif) { vif 487 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 491 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp = vif->ifp; vif 556 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 564 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = brcmf_alloc_vif(cfg, NL80211_IFTYPE_AP); vif 565 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (IS_ERR(vif)) vif 566 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return (struct wireless_dev *)vif; vif 568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_arm_vif_event(cfg, vif); vif 587 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp = vif->ifp; vif 602 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return &ifp->vif->wdev; vif 605 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_free_vif(vif); vif 609 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static bool brcmf_is_apmode(struct brcmf_cfg80211_vif *vif) vif 613 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c iftype = vif->wdev.iftype; vif 617 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static bool brcmf_is_ibssmode(struct brcmf_cfg80211_vif *vif) vif 619 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return vif->wdev.iftype == NL80211_IFTYPE_ADHOC; vif 680 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (check_vif_up(ifp->vif)) { vif 778 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_arm_vif_event(cfg, ifp->vif); vif 852 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif = ifp->vif; vif 870 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ((vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) || vif 871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) || vif 872 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_DEVICE))) { vif 891 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_change_validate(wiphy_to_cfg(wiphy), vif, type); vif 932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(INFO, "IF Type = %s\n", brcmf_is_ibssmode(vif) ? vif 937 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_cfg80211_update_proto_addr_mode(&vif->wdev); vif 1089 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 1093 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(request->wdev, struct brcmf_cfg80211_vif, wdev); vif 1094 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(vif)) vif 1112 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (test_bit(BRCMF_VIF_STATUS_CONNECTING, &vif->sme_state)) { vif 1113 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bphy_err(drvr, "Connecting: status (%lu)\n", vif->sme_state); vif 1118 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) vif 1119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; vif 1127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_p2p_scan_prep(wiphy, request, vif); vif 1131 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(vif, BRCMF_VNDR_IE_PRBREQ_FLAG, vif 1136 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_do_escan(vif->ifp, request); vif 1203 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 1285 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static void brcmf_link_down(struct brcmf_cfg80211_vif *vif, u16 reason) vif 1287 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(vif->wdev.wiphy); vif 1294 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (test_and_clear_bit(BRCMF_VIF_STATUS_CONNECTED, &vif->sme_state)) { vif 1297 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_cmd_data_set(vif->ifp, vif 1304 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((vif->wdev.iftype == NL80211_IFTYPE_STATION) || vif 1305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT)) vif 1306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_disconnected(vif->wdev.netdev, reason, NULL, 0, vif 1309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_CONNECTING, &vif->sme_state); vif 1311 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_btcoex_set_mode(vif, BRCMF_BTCOEX_ENABLED, 0); vif 1312 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_NONE) { vif 1314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_set_pmk(vif->ifp, NULL, 0); vif 1315 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->profile.use_fwsup = BRCMF_PROFILE_FWSUP_NONE; vif 1326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 1337 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 1347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_CONNECTING, &ifp->vif->sme_state); vif 1467 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_CONNECTING, &ifp->vif->sme_state); vif 1478 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) { vif 1486 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_link_down(ifp->vif, WLAN_REASON_DEAUTH_LEAVING); vif 1637 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 1885 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 1900 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 1908 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) { vif 1930 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(ifp->vif, BRCMF_VNDR_IE_ASSOCREQ_FLAG, vif 1937 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_CONNECTING, &ifp->vif->sme_state); vif 2095 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_CONNECTING, &ifp->vif->sme_state); vif 2106 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 2112 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2115 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_CONNECTED, &ifp->vif->sme_state); vif 2116 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_CONNECTING, &ifp->vif->sme_state); vif 2143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2186 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif = wdev_to_vif(wdev); vif 2192 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(vif)) vif 2195 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_iovar_int_get(vif->ifp, "qtxpower", &qdbm); vif 2219 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2252 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2260 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; vif 2295 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2320 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; vif 2342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!brcmf_is_apmode(ifp->vif)) { vif 2398 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 2406 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2471 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key = &ifp->vif->profile.key[key_idx]; vif 2619 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 2622 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_ibssmode(ifp->vif)) vif 2700 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state)) { vif 2771 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) { vif 2779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif->wdev.iftype == NL80211_IFTYPE_P2P_CLIENT) { vif 2990 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_ibssmode(ifp->vif)) vif 3630 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c cfg80211_report_wowlan_wakeup(&ifp->vif->wdev, wakeup, GFP_KERNEL); vif 3713 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!test_bit(BRCMF_VIF_STATUS_CONNECTED, &ifp->vif->sme_state)) vif 3731 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 3738 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 3751 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c list_for_each_entry(vif, &cfg->vif_list, list) { vif 3752 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!test_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state)) vif 3758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_link_down(vif, WLAN_REASON_UNSPECIFIED); vif 3813 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 3856 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 3894 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 3924 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_ibssmode(ifp->vif)) vif 4256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s32 brcmf_vif_set_mgmt_ie(struct brcmf_cfg80211_vif *vif, s32 pktflag, vif 4278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!vif) vif 4280 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp = vif->ifp; vif 4282 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c saved_ie = &vif->saved_ie; vif 4416 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s32 brcmf_vif_clear_mgmt_ies(struct brcmf_cfg80211_vif *vif) vif 4426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_vif_set_mgmt_ie(vif, pktflags[i], NULL, 0); vif 4428 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memset(&vif->saved_ie, 0, sizeof(vif->saved_ie)); vif 4433 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_config_ap_mgmt_ie(struct brcmf_cfg80211_vif *vif, vif 4436 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_pub *drvr = vif->ifp->drvr; vif 4440 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(vif, BRCMF_VNDR_IE_BEACON_FLAG, vif 4449 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(vif, BRCMF_VNDR_IE_PRBRSP_FLAG, vif 4489 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c dev_role = ifp->vif->wdev.iftype; vif 4490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c mbss = ifp->vif->mbss; vif 4494 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->is_11d)) { vif 4559 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if ((supports_11d) && (is_11d != ifp->vif->is_11d)) { vif 4604 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c } else if (WARN_ON(supports_11d && (is_11d != ifp->vif->is_11d))) { vif 4689 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_config_ap_mgmt_ie(ifp->vif, &settings->beacon); vif 4690 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_AP_CREATED, &ifp->vif->sme_state); vif 4712 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif->wdev.iftype == NL80211_IFTYPE_AP) { vif 4717 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif->mbss) { vif 4740 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->vif->is_11d); vif 4746 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_vif_clear_mgmt_ies(ifp->vif); vif 4757 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_AP_CREATED, &ifp->vif->sme_state); vif 4772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_config_ap_mgmt_ie(ifp->vif, info); vif 4792 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) vif 4793 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; vif 4794 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!check_vif_up(ifp->vif)) vif 4845 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 4851 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 4853 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->mgmt_rx_reg |= BIT(mgmt_type); vif 4855 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->mgmt_rx_reg &= ~BIT(mgmt_type); vif 4869 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 4890 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 4907 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) vif 4908 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 4909 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(vif, vif 4941 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_fil_cmd_int_get(vif->ifp, BRCMF_C_GET_CHANNEL, vif 4975 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 4980 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 4981 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif == NULL) { vif 4986 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_p2p_cancel_remain_on_channel(vif->ifp); vif 5058 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 5060 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 5070 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return brcmf_btcoex_set_mode(vif, BRCMF_BTCOEX_DISABLED, duration); vif 5077 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 5079 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 5081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_btcoex_set_mode(vif, BRCMF_BTCOEX_ENABLED, 0); vif 5170 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_vif_set_mgmt_ie(ifp->vif, BRCMF_VNDR_IE_ASSOCREQ_FLAG, vif 5216 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(ifp->vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_1X)) vif 5232 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (WARN_ON(ifp->vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_1X)) vif 5302 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 5306 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sizeof(*vif)); vif 5307 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = kzalloc(sizeof(*vif), GFP_KERNEL); vif 5308 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!vif) vif 5311 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.wiphy = cfg->wiphy; vif 5312 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.iftype = type; vif 5314 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_init_prof(&vif->profile); vif 5324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->mbss = mbss; vif 5327 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c list_add_tail(&vif->list, &cfg->vif_list); vif 5328 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c return vif; vif 5331 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c void brcmf_free_vif(struct brcmf_cfg80211_vif *vif) vif 5333 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c list_del(&vif->list); vif 5334 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c kfree(vif); vif 5339 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 5343 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = ifp->vif; vif 5345 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif) vif 5346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_free_vif(vif); vif 5349 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static bool brcmf_is_linkup(struct brcmf_cfg80211_vif *vif, vif 5355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup == BRCMF_PROFILE_FWSUP_PSK && vif 5358 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_EAP_SUCCESS, &vif->sme_state); vif 5361 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c memcpy(vif->profile.bssid, e->addr, ETH_ALEN); vif 5362 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif->profile.use_fwsup != BRCMF_PROFILE_FWSUP_PSK) vif 5365 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_ASSOC_SUCCESS, &vif->sme_state); vif 5368 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (test_bit(BRCMF_VIF_STATUS_EAP_SUCCESS, &vif->sme_state) && vif 5369 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c test_bit(BRCMF_VIF_STATUS_ASSOC_SUCCESS, &vif->sme_state)) { vif 5370 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_EAP_SUCCESS, &vif->sme_state); vif 5371 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_ASSOC_SUCCESS, &vif->sme_state); vif 5500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 5557 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_CONNECTED, &ifp->vif->sme_state); vif 5568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 5575 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state)) { vif 5581 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state); vif 5651 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_profile *profile = &ifp->vif->profile; vif 5662 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_apmode(ifp->vif)) { vif 5664 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c } else if (brcmf_is_linkup(ifp->vif, e)) { vif 5666 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_ibssmode(ifp->vif)) { vif 5672 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state); vif 5674 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state); vif 5680 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!brcmf_is_ibssmode(ifp->vif)) { vif 5682 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_link_down(ifp->vif, vif 5690 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (brcmf_is_ibssmode(ifp->vif)) vif 5692 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state); vif 5710 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c &ifp->vif->sme_state)) { vif 5745 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 5753 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = event->vif; vif 5758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!cfg->vif_event.vif) { vif 5763 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->vif = vif; vif 5764 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->ifp = ifp; vif 5766 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.netdev = ifp->ndev; vif 5767 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->ndev->ieee80211_ptr = &vif->wdev; vif 6788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c set_bit(BRCMF_VIF_STATUS_READY, &ifp->vif->sme_state); vif 6801 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (check_vif_up(ifp->vif)) { vif 6802 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_link_down(ifp->vif, WLAN_REASON_UNSPECIFIED); vif 6812 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c clear_bit(BRCMF_VIF_STATUS_READY, &ifp->vif->sme_state); vif 6845 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct wireless_dev *wdev = &ifp->vif->wdev; vif 6853 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 6855 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c list_for_each_entry(vif, &cfg->vif_list, list) { vif 6856 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (test_bit(state, &vif->sme_state)) vif 6874 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif) vif 6879 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c event->vif = vif; vif 6890 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c armed = event->vif != NULL; vif 7027 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_cfg80211_vif *vif; vif 7049 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = brcmf_alloc_vif(cfg, NL80211_IFTYPE_STATION); vif 7050 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (IS_ERR(vif)) vif 7054 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->ifp = ifp; vif 7055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif->wdev.netdev = ndev; vif 7056 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ndev->ieee80211_ptr = &vif->wdev; vif 7062 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_free_vif(vif); vif 7065 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->vif = vif; vif 7189 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_free_vif(vif); vif 7190 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp->vif = NULL; vif 234 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct brcmf_cfg80211_vif *vif; vif 374 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h return &ifp->vif->profile; vif 380 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h return ifp->vif; vif 400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h void brcmf_free_vif(struct brcmf_cfg80211_vif *vif); vif 402 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h s32 brcmf_vif_set_mgmt_ie(struct brcmf_cfg80211_vif *vif, s32 pktflag, vif 404 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h s32 brcmf_vif_clear_mgmt_ies(struct brcmf_cfg80211_vif *vif); vif 410 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct brcmf_cfg80211_vif *vif); vif 181 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h struct brcmf_cfg80211_vif *vif; vif 539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 544 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 545 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); vif 548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; vif 549 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); vif 564 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 569 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!vif) { vif 581 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; vif 582 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ret = brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 1); vif 587 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 588 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ret = brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); vif 600 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ret = brcmf_fil_bsscfg_int_set(vif->ifp, "wsec", AES_ENABLED); vif 632 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 641 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[bss_type].vif; vif 642 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (vif == NULL) { vif 676 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_set_discover_state(vif->ifp, search_state, 0, 0); vif 731 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ret = brcmf_fil_bsscfg_data_set(vif->ifp, "p2p_scan", memblk, memsize); vif 758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 777 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif; vif 778 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (vif) vif 779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c dev = vif->wdev.netdev; vif 788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { vif 871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif) vif 893 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 914 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 918 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 919 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!vif) { vif 934 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_LISTEN, vif 1008 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_remain_on_channel_expired(&ifp->vif->wdev, vif 1137 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c pri_vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; vif 1257 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_if *ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; vif 1302 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ifp = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->ifp; vif 1361 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_dbg(INFO, "ifp->vif->mgmt_rx_reg %04x\n", ifp->vif->mgmt_rx_reg); vif 1363 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if ((ifp->vif->mgmt_rx_reg & BIT(mgmt_type)) == 0) vif 1425 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c wdev = &ifp->vif->wdev; vif 1493 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 1503 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 1504 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_fil_bsscfg_data_set(vif->ifp, "actframe", af_params, vif 1734 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->sme_state)) vif 1758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->saved_ie.probe_req_ie_len) { vif 1860 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif = ifp->vif; vif 1899 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_dbg(INFO, "vif->mgmt_rx_reg %04x\n", vif->mgmt_rx_reg); vif 1901 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if ((vif->mgmt_rx_reg & BIT(mgmt_type)) == 0) vif 1911 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, mgmt_frame, mgmt_frame_len, 0); vif 1935 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; vif 1970 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 1977 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; vif 1978 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!vif) { vif 1982 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_notify_escan_complete(cfg, vif->ifp, true, true); vif 1983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif; vif 1984 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!vif) { vif 1988 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_set_mpc(vif->ifp, 0); vif 1999 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(cfg, vif); vif 2000 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_fil_iovar_data_set(vif->ifp, "p2p_ifupd", &if_request, vif 2015 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_fil_cmd_int_set(vif->ifp, BRCMF_C_SET_SCB_TIMEOUT, vif 2043 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static int brcmf_p2p_disable_p2p_if(struct brcmf_cfg80211_vif *vif) vif 2045 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_info *cfg = wdev_to_cfg(&vif->wdev); vif 2048 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c u8 *addr = vif->wdev.netdev->dev_addr; vif 2053 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static int brcmf_p2p_release_p2p_if(struct brcmf_cfg80211_vif *vif) vif 2055 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_info *cfg = wdev_to_cfg(&vif->wdev); vif 2058 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c u8 *addr = vif->wdev.netdev->dev_addr; vif 2081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif) vif 2090 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; vif 2127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif = p2p_vif; vif 2169 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2192 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = brcmf_alloc_vif(cfg, type); vif 2193 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (IS_ERR(vif)) vif 2194 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c return (struct wireless_dev *)vif; vif 2195 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(cfg, vif); vif 2215 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ifp = vif->ifp; vif 2231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg->p2p.bss_idx[P2PAPI_BSSCFG_CONNECTION].vif = vif; vif 2239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c return &ifp->vif->wdev; vif 2242 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_free_vif(vif); vif 2256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2262 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 2264 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c iftype = vif->wdev.iftype; vif 2265 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(cfg, vif); vif 2268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_VIF_STATUS_DISCONNECTING, &vif->sme_state)) vif 2273 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!brcmf_p2p_disable_p2p_if(vif)) vif 2278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif) vif 2280 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_cancel_remain_on_channel(vif->ifp); vif 2297 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_vif_clear_mgmt_ies(vif); vif 2298 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_release_p2p_if(vif); vif 2309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_remove_interface(vif->ifp, true); vif 2313 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif = NULL; vif 2321 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2324 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = ifp->vif; vif 2325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg = wdev_to_cfg(&vif->wdev); vif 2326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif = NULL; vif 2329 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg80211_unregister_wdev(&vif->wdev); vif 2332 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_free_vif(vif); vif 2339 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 2346 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state); vif 2355 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2357 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 2362 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif == vif) { vif 2365 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (void)brcmf_p2p_set_discover_state(vif->ifp, vif 2368 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_VIF_STATUS_READY, &vif->sme_state); vif 2391 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif = pri_ifp->vif; vif 2412 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_vif *vif; vif 2414 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; vif 2415 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (vif != NULL) { vif 2416 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_cancel_remain_on_channel(vif->ifp); vif 2418 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_remove_interface(vif->ifp, false); vif 34 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h struct brcmf_cfg80211_vif *vif; vif 154 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h struct brcmf_cfg80211_vif *vif); vif 23 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c struct brcmf_cfg80211_vif *vif; vif 37 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev); vif 38 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c ifp = vif->ifp; vif 490 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 495 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (vif->type != NL80211_IFTYPE_STATION && vif 496 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c vif->type != NL80211_IFTYPE_AP && vif 497 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c vif->type != NL80211_IFTYPE_ADHOC) { vif 500 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c __func__, vif->type); vif 505 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c wl->wlc->vif = vif; vif 508 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (vif->type == NL80211_IFTYPE_STATION) vif 509 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_c_start_station(wl->wlc, vif->addr); vif 510 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c else if (vif->type == NL80211_IFTYPE_AP) vif 511 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_c_start_ap(wl->wlc, vif->addr, vif->bss_conf.bssid, vif 512 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c vif->bss_conf.ssid, vif->bss_conf.ssid_len); vif 513 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c else if (vif->type == NL80211_IFTYPE_ADHOC) vif 514 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_c_start_adhoc(wl->wlc, vif->addr); vif 521 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_ops_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 526 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c wl->wlc->vif = NULL; vif 586 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_vif *vif, vif 683 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c beacon = ieee80211_beacon_get_tim(hw, vif, &tim_offset, NULL); vif 693 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c probe_resp = ieee80211_proberesp_get(hw, vif); vif 771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_vif *vif, vif 782 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_vif *vif) vif 792 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_ops_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, vif 805 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c brcms_ops_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 826 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_vif *vif, vif 853 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 862 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 908 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c static void brcms_ops_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 924 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c static u64 brcms_ops_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 937 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_vif *vif, u64 tsf) vif 954 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c if (wl->wlc->vif) vif 955 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c beacon = ieee80211_beacon_get_tim(hw, wl->wlc->vif, vif 959 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c wl->wlc->vif->bss_conf.dtim_period); vif 566 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h struct ieee80211_vif *vif; vif 1531 drivers/net/wireless/intel/iwlegacy/3945-mac.c struct ieee80211_vif *vif) vif 1545 drivers/net/wireless/intel/iwlegacy/3945-mac.c passive_dwell = il_get_passive_dwell_time(il, band, vif); vif 2506 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_request_scan(struct il_priv *il, struct ieee80211_vif *vif) vif 2545 drivers/net/wireless/intel/iwlegacy/3945-mac.c interval = vif->bss_conf.beacon_int; vif 2620 drivers/net/wireless/intel/iwlegacy/3945-mac.c vif->addr, il->scan_request->ie, vif 2630 drivers/net/wireless/intel/iwlegacy/3945-mac.c (void *)&scan->data[len], vif); vif 2707 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (!il->vif || !il->is_open) vif 2710 drivers/net/wireless/intel/iwlegacy/3945-mac.c D_ASSOC("Associated as %d to: %pM\n", il->vif->bss_conf.aid, vif 2727 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->staging.assoc_id = cpu_to_le16(il->vif->bss_conf.aid); vif 2729 drivers/net/wireless/intel/iwlegacy/3945-mac.c D_ASSOC("assoc id %d beacon interval %d\n", il->vif->bss_conf.aid, vif 2730 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->vif->bss_conf.beacon_int); vif 2732 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (il->vif->bss_conf.use_short_preamble) vif 2738 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (il->vif->bss_conf.use_short_slot) vif 2746 drivers/net/wireless/intel/iwlegacy/3945-mac.c switch (il->vif->type) { vif 2755 drivers/net/wireless/intel/iwlegacy/3945-mac.c il->vif->type); vif 2873 drivers/net/wireless/intel/iwlegacy/3945-mac.c struct ieee80211_vif *vif = il->vif; vif 2894 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (vif->bss_conf.use_short_preamble) vif 2900 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (vif->bss_conf.use_short_slot) vif 2914 drivers/net/wireless/intel/iwlegacy/3945-mac.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 2933 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 2978 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2984 drivers/net/wireless/intel/iwlegacy/3945-mac.c bool is_ap = vif->type == NL80211_IFTYPE_STATION; vif 892 drivers/net/wireless/intel/iwlegacy/3945-rs.c sta = ieee80211_find_sta(il->vif, il->stations[sta_id].sta.sta.addr); vif 2282 drivers/net/wireless/intel/iwlegacy/3945.c il3945_manage_ibss_station(struct il_priv *il, struct ieee80211_vif *vif, vif 2285 drivers/net/wireless/intel/iwlegacy/3945.c struct il_vif_priv *vif_priv = (void *)vif->drv_priv; vif 2290 drivers/net/wireless/intel/iwlegacy/3945.c il3945_add_bssid_station(il, vif->bss_conf.bssid, vif 2305 drivers/net/wireless/intel/iwlegacy/3945.c vif->bss_conf.bssid); vif 248 drivers/net/wireless/intel/iwlegacy/3945.h int il3945_request_scan(struct il_priv *il, struct ieee80211_vif *vif); vif 754 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_get_channels_for_scan(struct il_priv *il, struct ieee80211_vif *vif, vif 771 drivers/net/wireless/intel/iwlegacy/4965-mac.c passive_dwell = il_get_passive_dwell_time(il, band, vif); vif 848 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif) vif 893 drivers/net/wireless/intel/iwlegacy/4965-mac.c interval = vif->bss_conf.beacon_int; vif 1005 drivers/net/wireless/intel/iwlegacy/4965-mac.c vif->addr, il->scan_request->ie, vif 1014 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_get_channels_for_scan(il, vif, band, is_active, n_probes, vif 1037 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_manage_ibss_station(struct il_priv *il, struct ieee80211_vif *vif, vif 1040 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_vif_priv *vif_priv = (void *)vif->drv_priv; vif 1043 drivers/net/wireless/intel/iwlegacy/4965-mac.c return il4965_add_bssid_station(il, vif->bss_conf.bssid, vif 1046 drivers/net/wireless/intel/iwlegacy/4965-mac.c vif->bss_conf.bssid); vif 2216 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_agg_start(struct il_priv *il, struct ieee80211_vif *vif, vif 2268 drivers/net/wireless/intel/iwlegacy/4965-mac.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2312 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_tx_agg_stop(struct il_priv *il, struct ieee80211_vif *vif, vif 2384 drivers/net/wireless/intel/iwlegacy/4965-mac.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2409 drivers/net/wireless/intel/iwlegacy/4965-mac.c ieee80211_stop_tx_ba_cb_irqsafe(il->vif, addr, tid); vif 2417 drivers/net/wireless/intel/iwlegacy/4965-mac.c ieee80211_start_tx_ba_cb_irqsafe(il->vif, addr, tid); vif 2432 drivers/net/wireless/intel/iwlegacy/4965-mac.c sta = ieee80211_find_sta(il->vif, addr1); vif 5877 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_mac_update_tkip_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5892 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 5911 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 5967 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_mac_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5997 drivers/net/wireless/intel/iwlegacy/4965-mac.c ret = il4965_tx_agg_start(il, vif, sta, tid, ssn); vif 6003 drivers/net/wireless/intel/iwlegacy/4965-mac.c ret = il4965_tx_agg_stop(il, vif, sta, tid); vif 6017 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 6022 drivers/net/wireless/intel/iwlegacy/4965-mac.c bool is_ap = vif->type == NL80211_IFTYPE_STATION; vif 6053 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_mac_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 6117 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_set_flags_for_band(il, channel->band, il->vif); vif 6131 drivers/net/wireless/intel/iwlegacy/4965-mac.c ieee80211_chswitch_done(il->vif, false); vif 1468 drivers/net/wireless/intel/iwlegacy/4965.c struct ieee80211_vif *vif = il->vif; vif 1471 drivers/net/wireless/intel/iwlegacy/4965.c if (WARN_ON_ONCE(vif == NULL)) vif 1503 drivers/net/wireless/intel/iwlegacy/4965.c vif->bss_conf.beacon_int * switch_count * TIME_UNIT; vif 1735 drivers/net/wireless/intel/iwlegacy/4965.c struct ieee80211_vif *vif = il->vif; vif 1738 drivers/net/wireless/intel/iwlegacy/4965.c if (!vif || !il->is_open) vif 1760 drivers/net/wireless/intel/iwlegacy/4965.c il->staging.assoc_id = cpu_to_le16(vif->bss_conf.aid); vif 1762 drivers/net/wireless/intel/iwlegacy/4965.c D_ASSOC("assoc id %d beacon interval %d\n", vif->bss_conf.aid, vif 1763 drivers/net/wireless/intel/iwlegacy/4965.c vif->bss_conf.beacon_int); vif 1765 drivers/net/wireless/intel/iwlegacy/4965.c if (vif->bss_conf.use_short_preamble) vif 1771 drivers/net/wireless/intel/iwlegacy/4965.c if (vif->bss_conf.use_short_slot) vif 1779 drivers/net/wireless/intel/iwlegacy/4965.c D_ASSOC("Associated as %d to: %pM\n", vif->bss_conf.aid, vif 1782 drivers/net/wireless/intel/iwlegacy/4965.c switch (vif->type) { vif 1790 drivers/net/wireless/intel/iwlegacy/4965.c vif->type); vif 1808 drivers/net/wireless/intel/iwlegacy/4965.c struct ieee80211_vif *vif = il->vif; vif 1837 drivers/net/wireless/intel/iwlegacy/4965.c if (vif->bss_conf.use_short_preamble) vif 1843 drivers/net/wireless/intel/iwlegacy/4965.c if (vif->bss_conf.use_short_slot) vif 66 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_tx_agg_start(struct il_priv *il, struct ieee80211_vif *vif, vif 68 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_tx_agg_stop(struct il_priv *il, struct ieee80211_vif *vif, vif 93 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_request_scan(struct il_priv *il, struct ieee80211_vif *vif); vif 96 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_manage_ibss_station(struct il_priv *il, struct ieee80211_vif *vif, vif 159 drivers/net/wireless/intel/iwlegacy/4965.h struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 162 drivers/net/wireless/intel/iwlegacy/4965.h struct ieee80211_vif *vif, vif 166 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_mac_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 168 drivers/net/wireless/intel/iwlegacy/4965.h int il4965_mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 171 drivers/net/wireless/intel/iwlegacy/4965.h il4965_mac_channel_switch(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1100 drivers/net/wireless/intel/iwlegacy/common.c dtim_period = il->vif ? il->vif->bss_conf.dtim_period : 0; vif 1478 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_vif *vif) vif 1494 drivers/net/wireless/intel/iwlegacy/common.c value = il->vif ? il->vif->bss_conf.beacon_int : 0; vif 1517 drivers/net/wireless/intel/iwlegacy/common.c il_scan_initiate(struct il_priv *il, struct ieee80211_vif *vif) vif 1545 drivers/net/wireless/intel/iwlegacy/common.c ret = il->ops->request_scan(il, vif); vif 1558 drivers/net/wireless/intel/iwlegacy/common.c il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1581 drivers/net/wireless/intel/iwlegacy/common.c il->scan_vif = vif; vif 1584 drivers/net/wireless/intel/iwlegacy/common.c ret = il_scan_initiate(il, vif); vif 2446 drivers/net/wireless/intel/iwlegacy/common.c il_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3638 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_vif *vif = il->vif; vif 3649 drivers/net/wireless/intel/iwlegacy/common.c beacon_int = vif ? vif->bss_conf.beacon_int : 0; vif 3668 drivers/net/wireless/intel/iwlegacy/common.c il->timing.dtim_period = vif ? (vif->bss_conf.dtim_period ? : 1) : 1; vif 3978 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_vif *vif) vif 3987 drivers/net/wireless/intel/iwlegacy/common.c if (vif && vif->bss_conf.use_short_slot) vif 4024 drivers/net/wireless/intel/iwlegacy/common.c IL_ERR("Unsupported interface type %d\n", il->vif->type); vif 4046 drivers/net/wireless/intel/iwlegacy/common.c il_set_flags_for_band(il, il->band, il->vif); vif 4056 drivers/net/wireless/intel/iwlegacy/common.c if (il->vif) vif 4057 drivers/net/wireless/intel/iwlegacy/common.c memcpy(il->staging.node_addr, il->vif->addr, ETH_ALEN); vif 4102 drivers/net/wireless/intel/iwlegacy/common.c ieee80211_chswitch_done(il->vif, is_success); vif 4492 drivers/net/wireless/intel/iwlegacy/common.c il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, vif 4559 drivers/net/wireless/intel/iwlegacy/common.c il_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 4566 drivers/net/wireless/intel/iwlegacy/common.c D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr); vif 4578 drivers/net/wireless/intel/iwlegacy/common.c reset = (il->vif == vif); vif 4579 drivers/net/wireless/intel/iwlegacy/common.c if (il->vif && !reset) { vif 4584 drivers/net/wireless/intel/iwlegacy/common.c il->vif = vif; vif 4585 drivers/net/wireless/intel/iwlegacy/common.c il->iw_mode = vif->type; vif 4589 drivers/net/wireless/intel/iwlegacy/common.c IL_WARN("Fail to set mode %d\n", vif->type); vif 4591 drivers/net/wireless/intel/iwlegacy/common.c il->vif = NULL; vif 4605 drivers/net/wireless/intel/iwlegacy/common.c il_teardown_interface(struct il_priv *il, struct ieee80211_vif *vif) vif 4609 drivers/net/wireless/intel/iwlegacy/common.c if (il->scan_vif == vif) { vif 4618 drivers/net/wireless/intel/iwlegacy/common.c il_mac_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 4623 drivers/net/wireless/intel/iwlegacy/common.c D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr); vif 4625 drivers/net/wireless/intel/iwlegacy/common.c WARN_ON(il->vif != vif); vif 4626 drivers/net/wireless/intel/iwlegacy/common.c il->vif = NULL; vif 4628 drivers/net/wireless/intel/iwlegacy/common.c il_teardown_interface(il, vif); vif 4714 drivers/net/wireless/intel/iwlegacy/common.c il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4722 drivers/net/wireless/intel/iwlegacy/common.c vif->type, vif->addr, newtype, newp2p); vif 4729 drivers/net/wireless/intel/iwlegacy/common.c if (!il->vif || !il_is_ready_rf(il)) { vif 4739 drivers/net/wireless/intel/iwlegacy/common.c vif->type = newtype; vif 4740 drivers/net/wireless/intel/iwlegacy/common.c vif->p2p = false; vif 4742 drivers/net/wireless/intel/iwlegacy/common.c il_teardown_interface(il, vif); vif 4753 drivers/net/wireless/intel/iwlegacy/common.c void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5118 drivers/net/wireless/intel/iwlegacy/common.c il_set_flags_for_band(il, channel->band, il->vif); vif 5172 drivers/net/wireless/intel/iwlegacy/common.c il_mac_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 5178 drivers/net/wireless/intel/iwlegacy/common.c D_MAC80211("enter: type %d, addr %pM\n", vif->type, vif->addr); vif 5211 drivers/net/wireless/intel/iwlegacy/common.c il_ht_conf(struct il_priv *il, struct ieee80211_vif *vif) vif 5215 drivers/net/wireless/intel/iwlegacy/common.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 5230 drivers/net/wireless/intel/iwlegacy/common.c switch (vif->type) { vif 5233 drivers/net/wireless/intel/iwlegacy/common.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 5271 drivers/net/wireless/intel/iwlegacy/common.c il_set_no_assoc(struct il_priv *il, struct ieee80211_vif *vif) vif 5284 drivers/net/wireless/intel/iwlegacy/common.c il_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 5289 drivers/net/wireless/intel/iwlegacy/common.c struct sk_buff *skb = ieee80211_beacon_get(hw, vif); vif 5326 drivers/net/wireless/intel/iwlegacy/common.c il_mac_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5352 drivers/net/wireless/intel/iwlegacy/common.c if (vif->bss_conf.enable_beacon) vif 5395 drivers/net/wireless/intel/iwlegacy/common.c if (vif->type == NL80211_IFTYPE_ADHOC && (changes & BSS_CHANGED_BEACON)) vif 5396 drivers/net/wireless/intel/iwlegacy/common.c il_beacon_update(hw, vif); vif 5436 drivers/net/wireless/intel/iwlegacy/common.c il_ht_conf(il, vif); vif 5450 drivers/net/wireless/intel/iwlegacy/common.c il_set_no_assoc(il, vif); vif 5464 drivers/net/wireless/intel/iwlegacy/common.c if (vif->bss_conf.enable_beacon) { vif 5470 drivers/net/wireless/intel/iwlegacy/common.c il_set_no_assoc(il, vif); vif 5474 drivers/net/wireless/intel/iwlegacy/common.c ret = il->ops->manage_ibss_station(il, vif, vif 1104 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif; vif 1209 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif; vif 1570 drivers/net/wireless/intel/iwlegacy/common.h int (*request_scan) (struct il_priv *il, struct ieee80211_vif *vif); vif 1577 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif, bool add); vif 1688 drivers/net/wireless/intel/iwlegacy/common.h int il_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1697 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif); vif 1707 drivers/net/wireless/intel/iwlegacy/common.h int il_mac_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 1709 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif); vif 1710 drivers/net/wireless/intel/iwlegacy/common.h int il_mac_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1712 drivers/net/wireless/intel/iwlegacy/common.h void il_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1775 drivers/net/wireless/intel/iwlegacy/common.h int il_mac_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1785 drivers/net/wireless/intel/iwlegacy/common.h struct ieee80211_vif *vif); vif 1951 drivers/net/wireless/intel/iwlegacy/common.h void il_mac_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 1952 drivers/net/wireless/intel/iwlegacy/common.h void il_mac_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 2121 drivers/net/wireless/intel/iwlegacy/common.h int il_mac_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 146 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct ieee80211_vif *vif, vif 157 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct ieee80211_vif *vif); vif 205 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 207 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 209 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 211 drivers/net/wireless/intel/iwlwifi/dvm/agn.h int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 254 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct ieee80211_vif *vif, vif 295 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct ieee80211_vif *vif, bool add); vif 359 drivers/net/wireless/intel/iwlwifi/dvm/agn.h struct ieee80211_vif *vif, vif 471 drivers/net/wireless/intel/iwlwifi/dvm/dev.h struct ieee80211_vif *vif; vif 902 drivers/net/wireless/intel/iwlwifi/dvm/dev.h iwl_rxon_ctx_from_vif(struct ieee80211_vif *vif) vif 904 drivers/net/wireless/intel/iwlwifi/dvm/dev.h struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 402 drivers/net/wireless/intel/iwlwifi/dvm/devices.c struct ieee80211_vif *vif = ctx->vif; vif 434 drivers/net/wireless/intel/iwlwifi/dvm/devices.c vif->bss_conf.beacon_int * switch_count * TIME_UNIT; vif 563 drivers/net/wireless/intel/iwlwifi/dvm/devices.c struct ieee80211_vif *vif = ctx->vif; vif 602 drivers/net/wireless/intel/iwlwifi/dvm/devices.c vif->bss_conf.beacon_int * switch_count * TIME_UNIT; vif 101 drivers/net/wireless/intel/iwlwifi/dvm/lib.c struct ieee80211_vif *vif, bool add) vif 103 drivers/net/wireless/intel/iwlwifi/dvm/lib.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 107 drivers/net/wireless/intel/iwlwifi/dvm/lib.c vif->bss_conf.bssid, vif 110 drivers/net/wireless/intel/iwlwifi/dvm/lib.c vif->bss_conf.bssid); vif 323 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_AP && vif 338 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ieee80211_disable_rssi_reports(ctx->vif); vif 349 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION && vif 371 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (ctx->vif) vif 372 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ieee80211_disable_rssi_reports(ctx->vif); vif 380 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ieee80211_enable_rssi_reports(found_ctx->vif, vif 448 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (ctx->vif && ctx->vif->type == NL80211_IFTYPE_STATION) vif 449 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ieee80211_request_smps(ctx->vif, smps_request); vif 589 drivers/net/wireless/intel/iwlwifi/dvm/lib.c if (!ctx->vif || (ctx->vif->type != NL80211_IFTYPE_STATION)) { vif 594 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ave_rssi = ieee80211_ave_rssi(ctx->vif); vif 877 drivers/net/wireless/intel/iwlwifi/dvm/lib.c struct ieee80211_vif *vif, vif 1152 drivers/net/wireless/intel/iwlwifi/dvm/lib.c ieee80211_iter_keys(priv->hw, ctx->vif, vif 332 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 343 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) vif 373 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (!ctx->vif || ctx->vif->type != NL80211_IFTYPE_STATION || vif 428 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif; vif 458 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif = ctx->vif; vif 487 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ieee80211_report_wowlan_wakeup(vif, &wakeup, vif 526 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (resume_data.valid && priv->contexts[IWL_RXON_CTX_BSS].vif) { vif 551 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); vif 566 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ieee80211_resume_disconnect(vif); vif 590 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 597 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); vif 601 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 606 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 636 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 704 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 742 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_tx_agg_start(priv, vif, sta, tid, ssn); vif 747 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_tx_agg_flush(priv, vif, sta, tid); vif 751 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_tx_agg_stop(priv, vif, sta, tid); vif 764 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_send_lq_cmd(priv, iwl_rxon_ctx_from_vif(vif), vif 769 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_tx_agg_oper(priv, vif, sta, tid, buf_size); vif 778 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 783 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 784 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c bool is_ap = vif->type == NL80211_IFTYPE_STATION; vif 793 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) vif 811 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 820 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION) { vif 838 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 844 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 854 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION) { vif 875 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_mac_sta_add(hw, vif, sta); vif 890 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_mac_sta_remove(hw, vif, sta); vif 893 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwlagn_mac_sta_add(hw, vif, sta); vif 933 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 997 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_set_flags_for_band(priv, ctx, channel->band, ctx->vif); vif 1008 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ieee80211_chswitch_done(ctx->vif, false); vif 1030 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (ctx->vif) vif 1031 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ieee80211_chswitch_done(ctx->vif, is_success); vif 1084 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c static void iwlagn_mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1123 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 1160 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, u16 queue, vif 1164 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 1222 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif = ctx->vif; vif 1232 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c priv->iw_mode = vif->type; vif 1244 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->type == NL80211_IFTYPE_ADHOC) { vif 1255 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->hw_queue[ac] = ctx->ac_to_queue[ac]; vif 1257 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) vif 1258 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->cab_queue = ctx->mcast_queue; vif 1260 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 1266 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif) vif 1269 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 1272 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c enum nl80211_iftype viftype = ieee80211_vif_type_p2p(vif); vif 1276 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c viftype, vif->addr); vif 1290 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (tmp->vif) { vif 1292 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (tmp->vif == vif) { vif 1300 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c BIT(tmp->vif->type)) { vif 1321 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx->vif = vif; vif 1332 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_MONITOR) vif 1341 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx->vif = NULL; vif 1351 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 1354 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); vif 1358 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (priv->scan_vif == vif) { vif 1376 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 1381 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif) vif 1384 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); vif 1390 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c WARN_ON(ctx->vif != vif); vif 1391 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx->vif = NULL; vif 1393 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_teardown_interface(priv, vif, false); vif 1402 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 1417 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ctx = iwl_rxon_ctx_from_vif(vif); vif 1429 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (!ctx->vif || !iwl_is_ready_rf(priv)) { vif 1463 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwl_teardown_interface(priv, vif, true); vif 1464 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->type = newviftype; vif 1465 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->p2p = newp2p; vif 1485 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 1507 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c priv->scan_vif = vif; vif 1511 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c priv->scan_vif = vif; vif 1516 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c ret = iwl_scan_initiate(priv, vif, IWL_SCAN_NORMAL, vif 1543 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c struct ieee80211_vif *vif, vif 282 drivers/net/wireless/intel/iwlwifi/dvm/main.c if (priv->beacon_ctx->vif->type != NL80211_IFTYPE_AP) { vif 293 drivers/net/wireless/intel/iwlwifi/dvm/main.c beacon = ieee80211_beacon_get(priv->hw, priv->beacon_ctx->vif); vif 28 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (!ctx->vif) { vif 31 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c switch (ctx->vif->type) { vif 54 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ctx->vif->type); vif 71 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c iwl_set_flags_for_band(priv, ctx, priv->band, ctx->vif); vif 76 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx->vif) vif 77 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c memcpy(ctx->staging.node_addr, ctx->vif->addr, ETH_ALEN); vif 186 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct ieee80211_vif *vif) vif 191 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->beacon_skb = ieee80211_beacon_get(priv->hw, vif); vif 284 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct ieee80211_vif *vif = ctx->vif; vif 295 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c beacon_int = vif ? vif->bss_conf.beacon_int : 0; vif 304 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c (!ctx->vif || ctx->vif->type != NL80211_IFTYPE_STATION) && vif 306 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->contexts[IWL_RXON_CTX_BSS].vif && vif 307 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { vif 313 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->contexts[IWL_RXON_CTX_PAN].vif && vif 314 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && vif 315 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c (!iwl_is_associated_ctx(ctx) || !ctx->vif || vif 316 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c !ctx->vif->bss_conf.beacon_int)) { vif 333 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ctx->timing.dtim_period = vif ? (vif->bss_conf.dtim_period ?: 1) : 1; vif 357 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx->vif) { vif 467 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx->vif && (ctx->vif->type == NL80211_IFTYPE_AP)) { vif 468 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ret = iwlagn_update_beacon(priv, ctx->vif); vif 493 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx->vif && (ctx->vif->type == NL80211_IFTYPE_ADHOC)) vif 494 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (iwlagn_update_beacon(priv, ctx->vif)) vif 548 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx_bss->vif && ctx_pan->vif) { vif 550 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c int dtim = ctx_pan->vif->bss_conf.dtim_period ?: 1; vif 555 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx_pan->vif->type == NL80211_IFTYPE_AP && vif 570 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c (!ctx_bss->vif->bss_conf.idle && vif 571 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c !ctx_bss->vif->bss_conf.assoc)) { vif 574 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c } else if (!ctx_pan->vif->bss_conf.idle && vif 575 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c !ctx_pan->vif->bss_conf.assoc) { vif 579 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c } else if (ctx_pan->vif) { vif 581 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * vif 724 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct ieee80211_vif *vif) vif 733 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (vif && vif->bss_conf.use_short_slot) vif 927 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (ctx->vif) { vif 929 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c unsigned long basic = ctx->vif->bss_conf.basic_rates; vif 1059 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if ((ctx->vif && ctx->vif->bss_conf.use_short_slot) || vif 1227 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ctx->vif); vif 1263 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct ieee80211_vif *vif = ctx->vif; vif 1272 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c switch (vif->type) { vif 1275 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 1341 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (!tmp->vif) vif 1389 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct ieee80211_vif *vif, vif 1394 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); vif 1414 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (unlikely(!ctx->vif)) { vif 1428 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ctx->staging.assoc_id = cpu_to_le16(vif->bss_conf.aid); vif 1429 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (vif->bss_conf.use_short_preamble) vif 1471 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (vif->type == NL80211_IFTYPE_AP || vif 1472 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c vif->type == NL80211_IFTYPE_ADHOC) { vif 1473 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (vif->bss_conf.enable_beacon) { vif 1490 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1516 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c ret = iwlagn_manage_ibss_station(priv, vif, vif 1525 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if (iwlagn_update_beacon(priv, vif)) vif 459 drivers/net/wireless/intel/iwlwifi/dvm/scan.c struct ieee80211_vif *vif, vif 494 drivers/net/wireless/intel/iwlwifi/dvm/scan.c struct ieee80211_vif *vif, vif 615 drivers/net/wireless/intel/iwlwifi/dvm/scan.c static int iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif) vif 648 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (vif) vif 649 drivers/net/wireless/intel/iwlwifi/dvm/scan.c ctx = iwl_rxon_ctx_from_vif(vif); vif 677 drivers/net/wireless/intel/iwlwifi/dvm/scan.c interval = vif->bss_conf.beacon_int; vif 847 drivers/net/wireless/intel/iwlwifi/dvm/scan.c vif->addr, vif 872 drivers/net/wireless/intel/iwlwifi/dvm/scan.c iwl_get_channel_for_reset_scan(priv, vif, band, vif 877 drivers/net/wireless/intel/iwlwifi/dvm/scan.c iwl_get_channels_for_scan(priv, vif, band, vif 922 drivers/net/wireless/intel/iwlwifi/dvm/scan.c struct ieee80211_vif *vif, vif 957 drivers/net/wireless/intel/iwlwifi/dvm/scan.c ret = iwlagn_request_scan(priv, vif); vif 569 drivers/net/wireless/intel/iwlwifi/dvm/sta.c else if (ctx && ctx->vif && ctx->vif->p2p) vif 1063 drivers/net/wireless/intel/iwlwifi/dvm/sta.c struct ieee80211_vif *vif, vif 1066 drivers/net/wireless/intel/iwlwifi/dvm/sta.c struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; vif 1076 drivers/net/wireless/intel/iwlwifi/dvm/sta.c if (vif->type == NL80211_IFTYPE_STATION && vif_priv->ctx) vif 1136 drivers/net/wireless/intel/iwlwifi/dvm/sta.c struct ieee80211_vif *vif, vif 1140 drivers/net/wireless/intel/iwlwifi/dvm/sta.c u8 sta_id = iwlagn_key_sta_id(priv, vif, sta); vif 1161 drivers/net/wireless/intel/iwlwifi/dvm/sta.c u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); vif 1211 drivers/net/wireless/intel/iwlwifi/dvm/sta.c u8 sta_id = iwlagn_key_sta_id(priv, ctx->vif, sta); vif 279 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if (info->control.vif) vif 280 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ctx = iwl_rxon_ctx_from_vif(info->control.vif); vif 486 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int iwlagn_tx_agg_stop(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 572 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 577 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int iwlagn_tx_agg_start(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 580 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); vif 623 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 636 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int iwlagn_tx_agg_flush(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 681 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int iwlagn_tx_agg_oper(struct iwl_priv *priv, struct ieee80211_vif *vif, vif 685 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct iwl_rxon_context *ctx = iwl_rxon_ctx_from_vif(vif); vif 749 drivers/net/wireless/intel/iwlwifi/dvm/tx.c struct ieee80211_vif *vif; vif 756 drivers/net/wireless/intel/iwlwifi/dvm/tx.c vif = priv->contexts[ctx].vif; vif 769 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ieee80211_stop_tx_ba_cb_irqsafe(vif, addr, tid); vif 779 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ieee80211_start_tx_ba_cb_irqsafe(vif, addr, tid); vif 795 drivers/net/wireless/intel/iwlwifi/dvm/tx.c sta = ieee80211_find_sta(ctx->vif, addr1); vif 1196 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ctx->vif && vif 1197 drivers/net/wireless/intel/iwlwifi/dvm/tx.c ctx->vif->type == NL80211_IFTYPE_STATION) { vif 128 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct ieee80211_vif *vif) vif 131 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 133 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (vif == data->ignore_vif) vif 148 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct ieee80211_vif *vif, vif 152 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 154 drivers/net/wireless/intel/iwlwifi/mvm/binding.c .ignore_vif = vif, vif 189 drivers/net/wireless/intel/iwlwifi/mvm/binding.c int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 191 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 200 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (iwl_mvm_sf_update(mvm, vif, false)) vif 203 drivers/net/wireless/intel/iwlwifi/mvm/binding.c return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); vif 206 drivers/net/wireless/intel/iwlwifi/mvm/binding.c int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 208 drivers/net/wireless/intel/iwlwifi/mvm/binding.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 214 drivers/net/wireless/intel/iwlwifi/mvm/binding.c ret = iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, false); vif 217 drivers/net/wireless/intel/iwlwifi/mvm/binding.c if (iwl_mvm_sf_update(mvm, vif, true)) vif 147 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_get_coex_type(struct iwl_mvm *mvm, const struct ieee80211_vif *vif) vif 164 drivers/net/wireless/intel/iwlwifi/mvm/coex.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 280 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct ieee80211_vif *vif, vif 283 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 318 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct ieee80211_vif *vif) vif 320 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 331 drivers/net/wireless/intel/iwlwifi/mvm/coex.c switch (vif->type) { vif 342 drivers/net/wireless/intel/iwlwifi/mvm/coex.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 347 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (vif->type == NL80211_IFTYPE_STATION) { vif 349 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_BT_COEX, vif 353 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_bt_coex_enable_rssi_event(mvm, vif, false, 0); vif 370 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (!vif->bss_conf.assoc) vif 381 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (vif->type == NL80211_IFTYPE_STATION) vif 382 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_BT_COEX, vif 393 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (vif->type == NL80211_IFTYPE_AP) { vif 440 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (iwl_get_coex_type(mvm, vif) == BT_COEX_LOOSE_LUT || vif 441 drivers/net/wireless/intel/iwlwifi/mvm/coex.c mvm->cfg->bt_shared_single_ant || !vif->bss_conf.assoc || vif 444 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_bt_coex_enable_rssi_event(mvm, vif, false, 0); vif 463 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_mvm_bt_coex_enable_rssi_event(mvm, vif, true, ave_rssi); vif 564 drivers/net/wireless/intel/iwlwifi/mvm/coex.c void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 567 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 587 drivers/net/wireless/intel/iwlwifi/mvm/coex.c IWL_DEBUG_COEX(mvm, "RSSI for %pM is now %s\n", vif->bss_conf.bssid, vif 595 drivers/net/wireless/intel/iwlwifi/mvm/coex.c iwl_get_coex_type(mvm, vif) == BT_COEX_LOOSE_LUT) vif 612 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 623 drivers/net/wireless/intel/iwlwifi/mvm/coex.c lut_type = iwl_get_coex_type(mvm, mvmsta->vif); vif 636 drivers/net/wireless/intel/iwlwifi/mvm/coex.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 654 drivers/net/wireless/intel/iwlwifi/mvm/coex.c lut_type = iwl_get_coex_type(mvm, mvmsta->vif); vif 77 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 81 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 99 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 102 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 124 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, int idx) vif 126 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 169 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 175 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 292 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, vif 295 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_get_tkip_rx_p1k(key, vif->bss_conf.bssid, vif 371 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 0); vif 381 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, 1); vif 472 drivers/net/wireless/intel/iwlwifi/mvm/d3.c static int iwl_mvm_d3_reprogram(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 475 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 493 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ctx = rcu_dereference(vif->chanctx_conf); vif 511 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (WARN_ON(!vif->bss_conf.assoc)) vif 514 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_mac_ctxt_add(mvm, vif); vif 550 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 579 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 581 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 615 drivers/net/wireless/intel/iwlwifi/mvm/d3.c void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 617 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 669 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, vif 683 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_get_last_nonqos_seq(mvm, vif); vif 739 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 752 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 771 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_iter_keys(mvm->hw, vif, iwl_mvm_wowlan_program_keys, vif 827 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, struct iwl_mvm_vif *mvmvif, vif 841 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_d3_reprogram(mvm, vif, ap_sta); vif 853 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_wowlan_config_key_params(mvm, vif, CMD_ASYNC); vif 873 drivers/net/wireless/intel/iwlwifi/mvm/d3.c return iwl_mvm_send_proto_offload(mvm, vif, false, true, 0); vif 880 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 915 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ret = iwl_mvm_sched_scan_start(mvm, vif, nd_config, &mvm->nd_ies, vif 959 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif = NULL; vif 992 drivers/net/wireless/intel/iwlwifi/mvm/d3.c vif = iwl_mvm_get_bss_vif(mvm); vif 993 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (IS_ERR_OR_NULL(vif)) { vif 998 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1008 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvm, wowlan, wowlan->nd_config, vif); vif 1027 drivers/net/wireless/intel/iwlwifi/mvm/d3.c vif, mvmvif, ap_sta); vif 1031 drivers/net/wireless/intel/iwlwifi/mvm/d3.c vif, mvmvif, ap_sta); vif 1123 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 1225 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (ieee80211_data_to_8023(pkt, vif->addr, vif->type)) vif 1250 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); vif 1357 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 1428 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif, vif 1431 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1440 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (!status || !vif->bss_conf.bssid) vif 1448 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_iter_keys(mvm->hw, vif, vif 1463 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_iter_keys(mvm->hw, vif, vif 1494 drivers/net/wireless/intel/iwlwifi/mvm/d3.c key = ieee80211_gtk_rekey_add(vif, &conf.conf); vif 1502 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_gtk_rekey_notify(vif, vif->bss_conf.bssid, vif 1630 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 1675 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_report_wakeup_reasons(mvm, vif, &status); vif 1677 drivers/net/wireless/intel/iwlwifi/mvm/d3.c keep = iwl_mvm_setup_connection_keep(mvm, vif, fw_status); vif 1799 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 1876 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_report_wowlan_wakeup(vif, wakeup_report, GFP_KERNEL); vif 1886 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 1889 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (data == vif) vif 1892 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (vif->type == NL80211_IFTYPE_STATION) vif 1893 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_resume_disconnect(vif); vif 1897 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 1914 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_report_wowlan_wakeup(vif, &wakeup, GFP_KERNEL); vif 1921 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif = NULL; vif 1933 drivers/net/wireless/intel/iwlwifi/mvm/d3.c vif = iwl_mvm_get_bss_vif(mvm); vif 1934 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (IS_ERR_OR_NULL(vif)) vif 1939 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (iwl_mvm_check_rt_status(mvm, vif)) { vif 1990 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_query_netdetect_reasons(mvm, vif); vif 1994 drivers/net/wireless/intel/iwlwifi/mvm/d3.c keep = iwl_mvm_query_wakeup_reasons(mvm, vif); vif 1997 drivers/net/wireless/intel/iwlwifi/mvm/d3.c mvm->keep_vif = vif; vif 2011 drivers/net/wireless/intel/iwlwifi/mvm/d3.c iwl_mvm_d3_disconnect_iter, keep ? vif : NULL); vif 2121 drivers/net/wireless/intel/iwlwifi/mvm/d3.c struct ieee80211_vif *vif) vif 2124 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (_data == vif) vif 2127 drivers/net/wireless/intel/iwlwifi/mvm/d3.c if (vif->type == NL80211_IFTYPE_STATION) vif 2128 drivers/net/wireless/intel/iwlwifi/mvm/d3.c ieee80211_connection_loss(vif); vif 66 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif, vif 69 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 76 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c int dtimper = vif->bss_conf.dtim_period ?: 1; vif 77 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c int dtimper_msec = dtimper * vif->bss_conf.beacon_int; vif 127 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, vif 130 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 183 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_update_pm(mvm, vif, param, val); vif 194 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 200 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c vif->bss_conf.txpower); vif 209 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 210 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 216 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); vif 225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 226 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 239 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c switch (ieee80211_vif_type_p2p(vif)) { vif 265 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c vif->bss_conf.bssid); vif 278 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c if (vif->type == NL80211_IFTYPE_STATION && vif 292 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 305 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static void iwl_dbgfs_update_bf(struct ieee80211_vif *vif, vif 308 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 350 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_bf_params_write(struct ieee80211_vif *vif, char *buf, vif 353 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 437 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_update_bf(vif, param, value); vif 439 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); vif 441 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ret = iwl_mvm_enable_beacon_filter(mvm, vif, 0); vif 451 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 452 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 464 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_beacon_filter_debugfs_parameters(vif, &cmd); vif 507 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 508 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 525 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_low_latency_write(struct ieee80211_vif *vif, char *buf, vif 528 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 540 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_update_low_latency(mvm, vif, value, LOW_LATENCY_DEBUGFS); vif 547 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_dbgfs_low_latency_force_write(struct ieee80211_vif *vif, char *buf, vif 550 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 564 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_update_low_latency(mvm, vif, false, vif 566 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_update_low_latency(mvm, vif, false, vif 569 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_update_low_latency(mvm, vif, vif 572 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c iwl_mvm_update_low_latency(mvm, vif, true, vif 583 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 584 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 611 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 612 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 620 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_uapsd_misbehaving_write(struct ieee80211_vif *vif, vif 624 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 635 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_rx_phyinfo_write(struct ieee80211_vif *vif, char *buf, vif 638 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 652 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 677 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 678 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 689 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif) vif 691 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 698 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c static ssize_t iwl_dbgfs_quota_min_write(struct ieee80211_vif *vif, char *buf, vif 701 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 731 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct ieee80211_vif *vif = file->private_data; vif 732 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 746 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c debugfs_create_file(#name, mode, parent, vif, \ vif 762 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 764 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct dentry *dbgfs_dir = vif->debugfs_dir; vif 765 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 783 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || vif 784 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c (vif->type == NL80211_IFTYPE_STATION && vif->p2p))) vif 796 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p && vif 815 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c void iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 817 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1225 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c struct ieee80211_vif *vif; vif 1251 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c vif = iwl_mvm_rcu_dereference_vif_id(mvm, i, true); vif 1252 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (!vif) vif 1255 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (vif->type == NL80211_IFTYPE_AP) vif 1259 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (i == NUM_MAC_INDEX_DRIVER || !vif) vif 1264 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c beacon = ieee80211_beacon_get_template(mvm->hw, vif, NULL); vif 1275 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1277 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c rate = iwl_mvm_mac_ctxt_get_lowest_rate(info, vif); vif 1976 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c struct ieee80211_vif *vif, vif 137 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c static void iwl_mvm_ftm_cmd_v5(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 161 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c if (vif->bss_conf.assoc) vif 162 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN); vif 167 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c static void iwl_mvm_ftm_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 192 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c if (vif->bss_conf.assoc) { vif 193 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c memcpy(cmd->range_req_bssid, vif->bss_conf.bssid, ETH_ALEN); vif 199 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c iwl_mvm_vif_from_mac80211(vif); vif 323 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 344 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c iwl_mvm_ftm_cmd(mvm, vif, &cmd, req); vif 349 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c iwl_mvm_ftm_cmd_v5(mvm, vif, &cmd_v5, req); vif 377 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c mvm->ftm_initiator.req_wdev = ieee80211_vif_to_wdev(vif); vif 67 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct ieee80211_vif *vif, vif 70 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 102 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c memcpy(cmd.bssid, vif->addr, ETH_ALEN); vif 111 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct ieee80211_vif *vif, vif 155 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c int iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 157 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 164 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c params = vif->bss_conf.ftmr_params; vif 168 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c if (WARN_ON_ONCE(!vif->bss_conf.ftm_responder)) vif 171 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c if (vif->p2p || vif->type != NL80211_IFTYPE_AP || vif 178 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c pctx = rcu_dereference(vif->chanctx_conf); vif 193 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c ret = iwl_mvm_ftm_responder_cmd(mvm, vif, &ctx.def); vif 198 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c ret = iwl_mvm_ftm_responder_dyn_cfg_cmd(mvm, vif, params); vif 204 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c struct ieee80211_vif *vif) vif 206 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c if (!vif->bss_conf.ftm_responder) vif 209 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c iwl_mvm_ftm_start_responder(mvm, vif); vif 93 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif; vif 101 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 104 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 108 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif == data->vif) vif 127 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c switch (data->vif->type) { vif 137 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type != NL80211_IFTYPE_AP || vif 142 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c min_bi = min(data->vif->bss_conf.beacon_int, vif 143 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.beacon_int); vif 148 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if ((data->vif->bss_conf.beacon_int - vif 149 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.beacon_int) % min_bi == 0) { vif 165 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if ((vif->type != NL80211_IFTYPE_AP && vif 166 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->type != NL80211_IFTYPE_STATION) || vif 171 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c min_bi = min(data->vif->bss_conf.beacon_int, vif 172 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.beacon_int); vif 177 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if ((data->vif->bss_conf.beacon_int - vif 178 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.beacon_int) % min_bi == 0) { vif 207 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 210 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 213 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif == data->vif) { vif 227 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_tsf_id_iter(_data, mac, vif); vif 231 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 233 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 236 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c .vif = vif, vif 253 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 255 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 258 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c .vif = vif, vif 286 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c switch (vif->type) { vif 290 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif->p2p) vif 343 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) vif 347 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP || vif 348 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->type == NL80211_IFTYPE_ADHOC) { vif 371 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 376 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c unsigned long basic = vif->bss_conf.basic_rates; vif 457 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 461 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c u8 protection_mode = vif->bss_conf.ht_operation_mode & vif 480 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) vif 491 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 496 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 498 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c bool ht_enabled = !!(vif->bss_conf.ht_operation_mode & vif 501 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c const u8 *bssid = bssid_override ?: vif->bss_conf.bssid; vif 508 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c switch (vif->type) { vif 510 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p) vif 533 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c memcpy(cmd->node_addr, vif->addr, ETH_ALEN); vif 541 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c chanctx = rcu_dereference(vif->chanctx_conf); vif 542 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_ack_rates(mvm, vif, chanctx ? chanctx->def.chan->band vif 551 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cpu_to_le32(vif->bss_conf.use_short_preamble ? vif 554 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cpu_to_le32(vif->bss_conf.use_short_slot ? vif 573 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.qos) vif 576 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.use_cts_prot) vif 580 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.use_cts_prot, vif 581 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.ht_operation_mode); vif 582 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.chandef.width != NL80211_CHAN_WIDTH_20_NOHT) vif 585 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_set_ht_flags(mvm, vif, cmd); vif 600 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 607 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_STATION); vif 610 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, bssid_override, action); vif 612 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p) { vif 614 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c &vif->bss_conf.p2p_noa_attr; vif 624 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.assoc && vif->bss_conf.dtim_period && vif 626 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 645 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c dtim_offs = vif->bss_conf.sync_dtim_count * vif 646 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.beacon_int; vif 651 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cpu_to_le64(vif->bss_conf.sync_tsf + dtim_offs); vif 653 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cpu_to_le32(vif->bss_conf.sync_device_ts + dtim_offs); vif 655 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cpu_to_le32(vif->bss_conf.sync_device_ts); vif 695 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); vif 696 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_sta->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * vif 697 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.dtim_period); vif 700 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_sta->assoc_id = cpu_to_le32(vif->bss_conf.aid); vif 702 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->probe_req_reg && vif->bss_conf.assoc && vif->p2p) vif 705 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) { vif 707 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->bss_conf.twt_requester && IWL_MVM_USE_TWT) vif 716 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 723 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_MONITOR); vif 725 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); vif 737 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->type, IWL_STA_GENERAL_PURPOSE); vif 745 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 748 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 751 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_ADHOC); vif 753 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); vif 760 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cmd.ibss.bi = cpu_to_le32(vif->bss_conf.beacon_int); vif 772 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c static void iwl_mvm_go_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) vif 775 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 777 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP && vif->p2p && vif 783 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 789 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_P2P_DEVICE); vif 791 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); vif 855 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 859 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (info->band == NL80211_BAND_5GHZ || vif->p2p) vif 868 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 872 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 897 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c rate = iwl_mvm_mac_ctxt_get_lowest_rate(info, vif); vif 925 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 928 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 931 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_set_tx(mvm, vif, beacon, &beacon_cmd.tx); vif 935 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP) vif 945 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 948 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 951 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_set_tx(mvm, vif, beacon, &beacon_cmd.tx); vif 955 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP) vif 974 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 977 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 980 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c u8 rate = iwl_mvm_mac_ctxt_get_lowest_rate(info, vif); vif 992 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP) vif 1011 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 1022 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_send_beacon_v6(mvm, vif, beacon); vif 1026 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_send_beacon_v9(mvm, vif, beacon); vif 1028 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_send_beacon_v7(mvm, vif, beacon); vif 1033 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 1038 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_AP && vif 1039 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->type != NL80211_IFTYPE_ADHOC); vif 1041 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c beacon = ieee80211_beacon_get_template(mvm->hw, vif, NULL); vif 1050 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ret = iwl_mvm_mac_ctxt_send_beacon(mvm, vif, beacon); vif 1057 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif; vif 1064 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif) vif 1068 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc) vif 1072 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p && data->beacon_device_ts) vif 1075 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c data->beacon_device_ts = vif->bss_conf.sync_device_ts; vif 1076 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c data->beacon_int = vif->bss_conf.beacon_int; vif 1083 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 1088 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1091 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c .vif = vif, vif 1112 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int); vif 1113 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_ap->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * vif 1114 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->bss_conf.dtim_period); vif 1153 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 1158 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); vif 1161 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); vif 1164 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.ap, vif 1171 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif, vif 1175 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; vif 1177 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); vif 1180 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_common(mvm, vif, &cmd, NULL, action); vif 1183 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_mac_ctxt_cmd_fill_ap(mvm, vif, &cmd, &cmd.go.ap, vif 1195 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c static int iwl_mvm_mac_ctx_send(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1199 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c switch (vif->type) { vif 1201 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_sta(mvm, vif, action, vif 1206 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif->p2p) vif 1207 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_ap(mvm, vif, action); vif 1209 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_go(mvm, vif, action); vif 1212 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_listener(mvm, vif, action); vif 1214 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_p2p_device(mvm, vif, action); vif 1216 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctxt_cmd_ibss(mvm, vif, action); vif 1224 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1226 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1230 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->addr, ieee80211_vif_type_p2p(vif))) vif 1233 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ret = iwl_mvm_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_ADD, vif 1239 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_set_last_nonqos_seq(mvm, vif); vif 1245 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1248 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1251 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->addr, ieee80211_vif_type_p2p(vif))) vif 1254 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c return iwl_mvm_mac_ctx_send(mvm, vif, FW_CTXT_ACTION_MODIFY, vif 1258 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1260 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1265 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif->addr, ieee80211_vif_type_p2p(vif))) vif 1283 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 1405 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif; vif 1418 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, true); vif 1419 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif) vif 1430 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_connection_loss(mvm, vif, "missed beacons"); vif 1432 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ieee80211_beacon_loss(vif); vif 1437 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c trigger = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 1504 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *vif; vif 1513 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif = iwl_mvm_rcu_dereference_vif_id(mvm, id, false); vif 1514 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif) vif 1517 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1546 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ieee80211_csa_set_counter(vif, notif->csa_counter); vif 1554 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c struct ieee80211_vif *csa_vif, *vif; vif 1569 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c vif = rcu_dereference(mvm->vif_id_to_mac[mac_id]); vif 1570 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1572 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c switch (vif->type) { vif 1576 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c csa_vif != vif)) vif 1600 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c iwl_mvm_csa_client_absent(mvm, vif); vif 1602 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ieee80211_chswitch_done(vif, true); vif 210 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 780 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if ((info->control.vif->type == NL80211_IFTYPE_AP || vif 781 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c info->control.vif->type == NL80211_IFTYPE_ADHOC) && vif 787 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION && vif 790 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_vif_from_mac80211(info->control.vif); vif 909 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 916 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 954 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 977 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (iwl_mvm_vif_from_mac80211(vif)->ap_sta_id == vif 980 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; vif 984 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1003 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn); vif 1006 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sta_tx_agg_stop(mvm, vif, sta, tid); vif 1010 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sta_tx_agg_flush(mvm, vif, sta, tid); vif 1013 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sta_tx_agg_oper(mvm, vif, sta, tid, vif 1028 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_ampdu_check_trigger(mvm, vif, sta, tid, vif 1037 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1040 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1278 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c static int iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1288 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c cpu_to_le32(iwl_mvm_vif_from_mac80211(vif)->id), vif 1308 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1310 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1322 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1338 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 1342 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_enable_beacon_filter(mvm, vif, 0); vif 1346 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_stop_session_protection(mvm, vif); vif 1361 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1364 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1380 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c WARN_ON(iwl_mvm_post_channel_switch(hw, vif)); vif 1387 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif; vif 1390 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif = container_of((void *)mvmvif, struct ieee80211_vif, drv_priv); vif 1393 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_abort_channel_switch(mvm->hw, vif); vif 1394 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ieee80211_chswitch_done(vif, false); vif 1398 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1401 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1421 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_init(mvm, vif); vif 1425 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c rcu_assign_pointer(mvm->vif_id_to_mac[mvmvif->id], vif); vif 1428 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_P2P_DEVICE) vif 1442 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP || vif 1443 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_ADHOC) { vif 1444 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_alloc_bcast_sta(mvm, vif); vif 1455 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 0, vif->type, vif 1460 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_vif_dbgfs_register(mvm, vif); vif 1466 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_add(mvm, vif); vif 1475 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); vif 1480 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { vif 1482 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | vif 1491 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 1500 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_add_vif(mvm, vif); vif 1504 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_add_p2p_bcast_sta(mvm, vif); vif 1510 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvm->p2p_device_vif = vif; vif 1513 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_tcm_add_vif(mvm, vif); vif 1517 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_MONITOR) vif 1520 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_vif_dbgfs_register(mvm, vif); vif 1524 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 1530 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags &= ~(IEEE80211_VIF_BEACON_FILTER | vif 1535 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_remove(mvm, vif); vif 1537 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_P2P_DEVICE) vif 1546 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1548 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 1559 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1562 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1565 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_prepare_mac_removal(mvm, vif); vif 1567 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!(vif->type == NL80211_IFTYPE_AP || vif 1568 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_ADHOC)) vif 1569 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_tcm_rm_vif(mvm, vif); vif 1581 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags &= ~(IEEE80211_VIF_BEACON_FILTER | vif 1585 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.ftm_responder) vif 1588 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_vif_dbgfs_clean(mvm, vif); vif 1594 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP || vif 1595 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_ADHOC) { vif 1597 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif == mvm->noa_vif) { vif 1603 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_dealloc_bcast_sta(mvm, vif); vif 1607 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 1609 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_p2p_bcast_sta(mvm, vif); vif 1610 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 1615 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (mvm->vif_count && vif->type != NL80211_IFTYPE_P2P_DEVICE) vif 1619 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_remove(mvm, vif); vif 1623 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_MONITOR) vif 1641 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1657 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_STATION || vif 1658 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->bss_conf.assoc) vif 1662 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c memcpy(cmd->bssid, vif->bss_conf.bssid, ETH_ALEN); vif 1756 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 1767 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc || vif 1768 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->p2p) vif 1772 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 1784 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_bcast_filter(struct ieee80211_vif *vif, vif 1801 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.arp_addr_cnt != 1) { vif 1806 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c attr->val = vif->bss_conf.arp_addr_list[0]; vif 1809 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c attr->val = *(__be32 *)&vif->addr[2]; vif 1820 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1825 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p || vif 1839 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->bss_conf.assoc) vif 1858 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_bcast_filter(vif, vif 1933 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1937 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c memcpy(cmd.membership_status, vif->bss_conf.mu_group.membership, vif 1939 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c memcpy(cmd.user_position, vif->bss_conf.mu_group.position, vif 1949 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 1951 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->mu_mimo_owner) { vif 1959 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ieee80211_update_mu_groups(vif, vif 2004 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, u8 sta_id) vif 2006 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2010 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .bss_color = vif->bss_conf.bss_color, vif 2011 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c .htc_trig_based_pkt_ext = vif->bss_conf.htc_trig_based_pkt_ext, vif 2013 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c cpu_to_le16(vif->bss_conf.frame_time_rts_th), vif 2192 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.multi_sta_back_32bit) vif 2195 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.ack_enabled) vif 2198 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.uora_exists) { vif 2202 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.uora_ocw_range & 0x7; vif 2204 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c (vif->bss_conf.uora_ocw_range >> 3) & 0x7; vif 2207 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.nontransmitted) { vif 2210 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.transmitter_bssid); vif 2212 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.bssid_indicator; vif 2213 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c sta_ctxt_cmd.bssid_index = vif->bss_conf.bssid_index; vif 2214 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c sta_ctxt_cmd.ema_ap = vif->bss_conf.ema_ap; vif 2216 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.profile_periodicity; vif 2228 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2232 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2241 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.he_support && vif 2243 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_cfg_he_sta(mvm, vif, mvmvif->ap_sta_id); vif 2245 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_recalc_tsf_id(mvm, vif); vif 2250 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c bss_conf->assoc && vif->bss_conf.he_support && vif 2252 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_cfg_he_sta(mvm, vif, mvmvif->ap_sta_id); vif 2263 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, mvmvif->bssid); vif 2265 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c IWL_ERR(mvm, "failed to update MAC %pM\n", vif->addr); vif 2301 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u32 dur = (11 * vif->bss_conf.beacon_int) / 10; vif 2302 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_protect_session(mvm, vif, dur, dur, vif 2306 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_sf_update(mvm, vif, false); vif 2307 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_power_vif_assoc(mvm, vif); vif 2308 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p) { vif 2309 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_update_smps(mvm, vif, vif 2318 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sf_update(mvm, vif, false); vif 2338 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_rm_sta_id(mvm, vif, vif 2353 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 2357 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->addr); vif 2365 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c (changes & BSS_CHANGED_MU_GROUPS) && vif->mu_mimo_owner) { vif 2366 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_update_mu_groups(mvm, vif); vif 2379 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT, vif 2391 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_stop_session_protection(mvm, vif); vif 2393 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_sf_update(mvm, vif, false); vif 2394 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c WARN_ON(iwl_mvm_enable_beacon_filter(mvm, vif, 0)); vif 2411 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_tx_power(mvm, vif, bss_conf->txpower); vif 2419 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_enable_beacon_filter(mvm, vif, 0); vif 2433 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 2436 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2442 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_beacon_changed(mvm, vif); vif 2450 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) vif 2451 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_recalc_tsf_id(mvm, vif); vif 2456 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_add(mvm, vif); vif 2461 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_add_vif(mvm, vif); vif 2473 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_add_mcast_sta(mvm, vif); vif 2480 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_send_add_bcast_sta(mvm, vif); vif 2482 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_mcast_sta(mvm, vif); vif 2490 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_send_add_bcast_sta(mvm, vif); vif 2493 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_add_mcast_sta(mvm, vif); vif 2495 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_send_rm_bcast_sta(mvm, vif); vif 2512 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = __iwl_mvm_mac_set_key(hw, SET_KEY, vif, NULL, key); vif 2517 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { vif 2531 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && mvm->p2p_device_vif) vif 2540 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_ftm_restart_responder(mvm, vif); vif 2547 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_send_rm_bcast_sta(mvm, vif); vif 2548 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_mcast_sta(mvm, vif); vif 2550 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 2552 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_remove(mvm, vif); vif 2559 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 2562 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2564 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_prepare_mac_removal(mvm, vif); vif 2569 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (rcu_access_pointer(mvm->csa_vif) == vif) { vif 2576 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (rcu_access_pointer(mvm->csa_tx_blocked_vif) == vif) { vif 2584 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { vif 2593 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && mvm->p2p_device_vif) vif 2607 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_mcast_sta(mvm, vif); vif 2608 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_send_rm_bcast_sta(mvm, vif); vif 2610 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_mcast_sta(mvm, vif); vif 2611 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 2615 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_remove(mvm, vif); vif 2622 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2626 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2634 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL)) vif 2635 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c IWL_ERR(mvm, "failed to update MAC %pM\n", vif->addr); vif 2639 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_beacon_changed(mvm, vif)) vif 2645 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_set_tx_power(mvm, vif, bss_conf->txpower); vif 2649 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c int ret = iwl_mvm_ftm_start_responder(mvm, vif); vif 2659 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2670 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c switch (vif->type) { vif 2672 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_bss_info_changed_station(mvm, vif, bss_conf, changes); vif 2676 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_bss_info_changed_ap_ibss(mvm, vif, bss_conf, changes); vif 2680 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_update_mu_groups(mvm, vif); vif 2691 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2702 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_reg_scan_start(mvm, vif, &hw_req->req, &hw_req->ies); vif 2709 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 2818 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2845 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!mvmsta->vif || vif 2846 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmsta->vif->type != NL80211_IFTYPE_AP) { vif 2879 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 2901 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c static void iwl_mvm_check_uapsd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2909 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mdata = &mvm->tcm.data[iwl_mvm_vif_from_mac80211(vif)->id]; vif 2917 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && !iwl_mvm_is_p2p_scm_uapsd_supported(mvm)) { vif 2918 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags &= ~IEEE80211_VIF_SUPPORTS_UAPSD; vif 2922 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif->p2p && vif 2924 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags &= ~IEEE80211_VIF_SUPPORTS_UAPSD; vif 2930 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags &= ~IEEE80211_VIF_SUPPORTS_UAPSD; vif 2935 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; vif 2940 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, u8 *peer_addr, vif 2946 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 2987 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 2989 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2994 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!(vif->bss_conf.chandef.chan->flags & IEEE80211_CHAN_RADAR)) { vif 2999 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c cfg80211_bss_iter(hw->wiphy, &vif->bss_conf.chandef, vif 3011 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3017 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3064 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION && vif 3065 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.beacon_int < 16) { vif 3068 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c sta->addr, vif->bss_conf.beacon_int); vif 3074 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c (vif->p2p || vif 3083 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_add_sta(mvm, vif, sta); vif 3085 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_recalc_tdls_state(mvm, vif, true); vif 3086 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr, vif 3098 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_check_uapsd(mvm, vif, sta->addr); vif 3102 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) { vif 3103 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.he_support = sta->he_cap.has_he; vif 3105 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3106 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.he_support && vif 3108 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_cfg_he_sta(mvm, vif, mvm_sta->sta_id); vif 3109 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (vif->type == NL80211_IFTYPE_STATION) { vif 3110 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.he_support = sta->he_cap.has_he; vif 3114 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_check_he_obss_narrow_bw_ru(hw, vif); vif 3116 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3121 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_update_sta(mvm, vif, sta); vif 3131 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr, vif 3135 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c WARN_ON(iwl_mvm_enable_beacon_filter(mvm, vif, 0)); vif 3142 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3149 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3152 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); vif 3159 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) { vif 3161 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3169 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_rm_sta(mvm, vif, sta); vif 3171 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_recalc_tdls_state(mvm, vif, false); vif 3172 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_tdls_check_trigger(mvm, vif, sta->addr, vif 3208 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3212 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3220 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION && vif 3222 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_sf_update(mvm, vif, false); vif 3226 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, u16 ac, vif 3230 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3238 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 3242 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 3250 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3262 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_protect_session(mvm, vif, duration, min_duration, 500, false); vif 3267 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3277 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif->bss_conf.idle) { vif 3282 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_sched_scan_start(mvm, vif, req, ies, IWL_MVM_SCAN_SCHED); vif 3290 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 3319 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3323 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3341 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (vif->type == NL80211_IFTYPE_STATION) { vif 3361 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_STATION) vif 3378 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 3379 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_AP) && !sta) { vif 3465 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_set_sta_key(mvm, vif, sta, key, key_offset); vif 3515 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_remove_sta_key(mvm, vif, sta, key); vif 3526 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3534 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = __iwl_mvm_mac_set_key(hw, cmd, vif, sta, key); vif 3541 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3551 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); vif 3596 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3600 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3604 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u32 dtim_interval = vif->bss_conf.dtim_period * vif 3605 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.beacon_int; vif 3639 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->bss_conf.assoc) { vif 3658 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c memcpy(tail->node_addr, vif->addr, ETH_ALEN); vif 3669 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c te_data->vif = vif; vif 3714 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 3720 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3736 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c switch (vif->type) { vif 3742 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif, duration); vif 3752 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c IWL_ERR(mvm, "vif isn't P2P_DEVICE: %d\n", vif->type); vif 3767 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_remove_vif(mvm, vif); vif 3776 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_add_vif(mvm, vif); vif 3820 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_remove_vif(mvm, vif); vif 3829 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_add_vif(mvm, vif); vif 3838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_start_p2p_roc(mvm, vif, duration, type); vif 3847 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 3867 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif) vif 3871 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (rcu_access_pointer(vif->chanctx_conf) == data->ctx && vif 3872 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_AP && vif->bss_conf.ftmr_params) vif 4000 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4006 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4013 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c switch (vif->type) { vif 4040 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_binding_add_vif(mvm, vif); vif 4054 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_MONITOR) { vif 4060 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_add_snif_sta(mvm, vif); vif 4067 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP) { vif 4069 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL); vif 4072 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (switching_chanctx && vif->type == NL80211_IFTYPE_STATION) { vif 4077 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u32 duration = 3 * vif->bss_conf.beacon_int; vif 4082 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_protect_session(mvm, vif, duration, duration, vif 4083 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->bss_conf.beacon_int / 2, vif 4093 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 4101 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4108 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = __iwl_mvm_assign_vif_chanctx(mvm, vif, ctx, false); vif 4115 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4119 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4126 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c switch (vif->type) { vif 4132 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_rm_snif_sta(mvm, vif); vif 4145 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c rcu_assign_pointer(mvm->csa_tx_blocked_vif, vif); vif 4153 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c disabled_vif = vif; vif 4157 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_mac_ctxt_changed(mvm, vif, true, NULL); vif 4164 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_binding_remove_vif(mvm, vif); vif 4172 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4178 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c __iwl_mvm_unassign_vif_chanctx(mvm, vif, ctx, false); vif 4189 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); vif 4198 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, vif 4221 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, vif 4246 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); vif 4248 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, vif 4259 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, vif 4318 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!mvm_sta || !mvm_sta->vif) { vif 4323 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return iwl_mvm_mac_ctxt_beacon_changed(mvm, mvm_sta->vif); vif 4334 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4351 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || vif 4352 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->bss_conf.enable_beacon || vif 4357 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (noa_duration >= vif->bss_conf.beacon_int) vif 4361 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvm->noa_vif = vif; vif 4366 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif || vif->type != NL80211_IFTYPE_STATION || vif 4367 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->bss_conf.assoc || !vif->bss_conf.dtim_period || vif 4372 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return iwl_mvm_enable_beacon_filter(mvm, vif, 0); vif 4373 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return iwl_mvm_disable_beacon_filter(mvm, vif, 0); vif 4380 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4387 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c err = __iwl_mvm_mac_testmode_cmd(mvm, vif, data, len); vif 4395 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4409 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4412 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4426 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c DIV_ROUND_UP(chsw->delay, vif->bss_conf.beacon_int); vif 4435 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4438 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4451 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ((vif->bss_conf.beacon_int * (chsw->count - 1) - vif 4455 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_csa_client_absent(mvm, vif); vif 4458 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c int ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); vif 4464 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_schedule_csa_period(mvm, vif, vif->bss_conf.beacon_int, vif 4472 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4477 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4488 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ieee80211_vif_to_wdev(vif), vif 4491 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c switch (vif->type) { vif 4509 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c rcu_assign_pointer(mvm->csa_vif, vif); vif 4527 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c chsw->count * vif->bss_conf.beacon_int > vif 4535 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_old_pre_chan_sw_sta(mvm, vif, chsw); vif 4539 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_schedule_client_csa(mvm, vif, chsw); vif 4565 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4569 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4585 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_abort_channel_switch(hw, vif); vif 4586 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ieee80211_chswitch_done(vif, false); vif 4637 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, u32 queues, bool drop) vif 4646 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif) { vif 4651 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_STATION) vif 4658 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4668 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (mvmsta->vif != vif) vif 4744 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4749 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4758 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!(vif->driver_flags & IEEE80211_VIF_BEACON_FILTER)) vif 4761 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif->bss_conf.assoc) vif 4785 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4798 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 4832 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 4855 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4862 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_event_mlme_callback(mvm, vif, event); vif 4865 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_event_bar_rx_callback(mvm, vif, event); vif 4868 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_event_frame_timeout_callback(mvm, vif, event->u.ba.sta, vif 4930 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4934 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 4936 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p || vif->type != NL80211_IFTYPE_AP || vif 4937 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !mvmvif->ap_ibss_active || !vif->bss_conf.ftm_responder) vif 4958 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 4965 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c ret = iwl_mvm_ftm_start(mvm, vif, request); vif 4972 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c struct ieee80211_vif *vif, vif 162 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif; vif 481 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_vif_from_mac80211(struct ieee80211_vif *vif) vif 483 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h if (!vif) vif 485 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h return (void *)vif->drv_priv; vif 1652 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1653 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1654 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1656 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1658 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 1660 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1666 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 1682 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 1688 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1689 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1717 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1732 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1749 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1750 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1757 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1761 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1778 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1781 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1807 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1810 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1813 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, int idx); vif 1818 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 1821 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1828 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1837 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1855 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif, vif 1859 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif, vif 1864 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1867 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 1870 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1876 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1993 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_sf_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1997 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 1999 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 2009 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2021 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 2023 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2026 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif); vif 2028 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 2033 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 2036 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 2055 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 2056 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 2061 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 2063 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2066 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 2075 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h struct ieee80211_vif *vif, vif 85 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c struct ieee80211_vif *vif, vif 106 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 164 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c memcpy(nsc[j].target_mac_addr, vif->addr, ETH_ALEN); vif 196 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c memcpy(cmd.v2.ndp_mac_addr, vif->addr, ETH_ALEN); vif 218 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c memcpy(cmd.v1.ndp_mac_addr, vif->addr, ETH_ALEN); vif 239 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c if (vif->bss_conf.arp_addr_cnt) { vif 241 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c common->host_ipv4_addr = vif->bss_conf.arp_addr_list[0]; vif 242 drivers/net/wireless/intel/iwlwifi/mvm/offloading.c memcpy(common->arp_mac_addr, vif->addr, ETH_ALEN); vif 309 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c struct ieee80211_vif *vif) vif 312 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 317 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c if (vif->type == NL80211_IFTYPE_STATION || vif 318 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c vif->type == NL80211_IFTYPE_AP) vif 129 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 132 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 134 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->bss_conf.cqm_rssi_thold) { vif 136 drivers/net/wireless/intel/iwlwifi/mvm/power.c cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); vif 139 drivers/net/wireless/intel/iwlwifi/mvm/power.c cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); vif 182 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 185 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 274 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 278 drivers/net/wireless/intel/iwlwifi/mvm/power.c switch (ieee80211_vif_type_p2p(vif)) { vif 284 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->bss_conf.assoc) vif 294 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 296 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 298 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (!memcmp(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, vif 306 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->p2p && vif 307 drivers/net/wireless/intel/iwlwifi/mvm/power.c (vif->bss_conf.p2p_noa_attr.oppps_ctwindow & vif 318 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->p2p) { vif 337 drivers/net/wireless/intel/iwlwifi/mvm/power.c static bool iwl_mvm_power_is_radar(struct ieee80211_vif *vif) vif 344 drivers/net/wireless/intel/iwlwifi/mvm/power.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 356 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 360 drivers/net/wireless/intel/iwlwifi/mvm/power.c int dtimper = vif->bss_conf.dtim_period ?: 1; vif 367 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (iwl_mvm_power_is_radar(vif)) vif 380 drivers/net/wireless/intel/iwlwifi/mvm/power.c int dtimper_tu = dtimper * vif->bss_conf.beacon_int; vif 394 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 401 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_vif_from_mac80211(vif); vif 405 drivers/net/wireless/intel/iwlwifi/mvm/power.c dtimper = vif->bss_conf.dtim_period; vif 406 drivers/net/wireless/intel/iwlwifi/mvm/power.c bi = vif->bss_conf.beacon_int; vif 424 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (!vif->bss_conf.ps || !mvmvif->pm_enabled) vif 427 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && vif 435 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->bss_conf.beacon_rate && vif 436 drivers/net/wireless/intel/iwlwifi/mvm/power.c (vif->bss_conf.beacon_rate->bitrate == 10 || vif 437 drivers/net/wireless/intel/iwlwifi/mvm/power.c vif->bss_conf.beacon_rate->bitrate == 60)) { vif 442 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_power_config_skip_dtim(mvm, vif, cmd, host_awake); vif 449 drivers/net/wireless/intel/iwlwifi/mvm/power.c } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && vif 463 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (iwl_mvm_power_allow_uapsd(mvm, vif)) vif 464 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_power_configure_uapsd(mvm, vif, cmd); vif 513 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 517 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_power_build_cmd(mvm, vif, &cmd, vif 521 drivers/net/wireless/intel/iwlwifi/mvm/power.c memcpy(&iwl_mvm_vif_from_mac80211(vif)->mac_pwr_cmd, &cmd, sizeof(cmd)); vif 557 drivers/net/wireless/intel/iwlwifi/mvm/power.c void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 559 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 561 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (memcmp(vif->bss_conf.bssid, mvmvif->uapsd_misbehaving_bssid, vif 567 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 570 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 576 drivers/net/wireless/intel/iwlwifi/mvm/power.c memcpy(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, vif 605 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 607 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 613 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 615 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 623 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 625 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 629 drivers/net/wireless/intel/iwlwifi/mvm/power.c switch (ieee80211_vif_type_p2p(vif)) { vif 637 drivers/net/wireless/intel/iwlwifi/mvm/power.c power_iterator->ap_vif = vif; vif 645 drivers/net/wireless/intel/iwlwifi/mvm/power.c power_iterator->monitor_vif = vif; vif 653 drivers/net/wireless/intel/iwlwifi/mvm/power.c power_iterator->p2p_vif = vif; vif 659 drivers/net/wireless/intel/iwlwifi/mvm/power.c power_iterator->bss_vif = vif; vif 740 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, char *buf, vif 743 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 814 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif, vif 817 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 849 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 853 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 856 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf.dtim_period || vif 857 drivers/net/wireless/intel/iwlwifi/mvm/power.c vif->type != NL80211_IFTYPE_STATION || vif->p2p) vif 860 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_beacon_filter_set_cqm_params(mvm, vif, cmd); vif 861 drivers/net/wireless/intel/iwlwifi/mvm/power.c iwl_mvm_beacon_filter_debugfs_parameters(vif, cmd); vif 871 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 879 drivers/net/wireless/intel/iwlwifi/mvm/power.c return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd, flags); vif 883 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 887 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 890 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) vif 902 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif, vif 905 drivers/net/wireless/intel/iwlwifi/mvm/power.c return _iwl_mvm_disable_beacon_filter(mvm, vif, flags); vif 937 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct ieee80211_vif *vif) vif 939 drivers/net/wireless/intel/iwlwifi/mvm/power.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 953 drivers/net/wireless/intel/iwlwifi/mvm/power.c !vif->bss_conf.ps || vif 956 drivers/net/wireless/intel/iwlwifi/mvm/power.c return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd, 0); vif 82 drivers/net/wireless/intel/iwlwifi/mvm/quota.c struct ieee80211_vif *vif) vif 85 drivers/net/wireless/intel/iwlwifi/mvm/quota.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 89 drivers/net/wireless/intel/iwlwifi/mvm/quota.c if (vif == data->disabled_vif) vif 104 drivers/net/wireless/intel/iwlwifi/mvm/quota.c switch (vif->type) { vif 106 drivers/net/wireless/intel/iwlwifi/mvm/quota.c if (vif->bss_conf.assoc) vif 1214 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!mvmsta->vif) vif 1547 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (mvmsta->vif->bss_conf.he_support && vif 1898 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static bool rs_tpc_allowed(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1903 drivers/net/wireless/intel/iwlwifi/mvm/rs.c bool sta_ps_disabled = (vif->type == NL80211_IFTYPE_STATION && vif 1904 drivers/net/wireless/intel/iwlwifi/mvm/rs.c !vif->bss_conf.ps); vif 2003 drivers/net/wireless/intel/iwlwifi/mvm/rs.c struct ieee80211_vif *vif = mvm_sta->vif; vif 2025 drivers/net/wireless/intel/iwlwifi/mvm/rs.c chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 2032 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!rs_tpc_allowed(mvm, vif, rate, band)) { vif 2724 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (sta && !iwl_mvm_sta_from_mac80211(sta)->vif) { vif 3053 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!iwl_mvm_sta_from_mac80211(sta)->vif) vif 3501 drivers/net/wireless/intel/iwlwifi/mvm/rs.c enum nl80211_iftype viftype = ieee80211_vif_type_p2p(sta->vif); vif 3643 drivers/net/wireless/intel/iwlwifi/mvm/rs.c mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 3659 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (mvmsta->vif->p2p) vif 4110 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!mvmsta->vif) vif 293 drivers/net/wireless/intel/iwlwifi/mvm/rx.c mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 329 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 440 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct ieee80211_vif *vif = mvmsta->vif; vif 446 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (unlikely(tx_blocked_vif) && vif == tx_blocked_vif) { vif 458 drivers/net/wireless/intel/iwlwifi/mvm/rx.c ieee80211_vif_to_wdev(vif), vif 576 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct ieee80211_vif *vif) vif 582 drivers/net/wireless/intel/iwlwifi/mvm/rx.c int thold = vif->bss_conf.cqm_rssi_thold; vif 583 drivers/net/wireless/intel/iwlwifi/mvm/rx.c int hyst = vif->bss_conf.cqm_rssi_hyst; vif 585 drivers/net/wireless/intel/iwlwifi/mvm/rx.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 620 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (vif->type != NL80211_IFTYPE_STATION) vif 640 drivers/net/wireless/intel/iwlwifi/mvm/rx.c iwl_mvm_bt_rssi_event(mvm, vif, RSSI_EVENT_HIGH); vif 647 drivers/net/wireless/intel/iwlwifi/mvm/rx.c iwl_mvm_bt_rssi_event(mvm, vif, RSSI_EVENT_LOW); vif 651 drivers/net/wireless/intel/iwlwifi/mvm/rx.c if (!(vif->driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI)) vif 662 drivers/net/wireless/intel/iwlwifi/mvm/rx.c vif, vif 672 drivers/net/wireless/intel/iwlwifi/mvm/rx.c vif, vif 401 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); vif 660 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c iwl_mvm_event_frame_timeout_callback(buf->mvm, mvmsta->vif, vif 838 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ieee80211_stop_rx_ba_session(mvmsta->vif, BIT(tid), sta->addr); vif 1739 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct ieee80211_vif *vif = mvmsta->vif; vif 1752 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (unlikely(tx_blocked_vif) && tx_blocked_vif == vif) { vif 1764 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ieee80211_vif_to_wdev(vif), vif 224 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 226 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 229 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif->type != NL80211_IFTYPE_P2P_DEVICE && mvmvif->phy_ctxt && vif 251 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 254 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct iwl_mvm_vif *other_mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 259 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif == data->current_vif) vif 262 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif->type == NL80211_IFTYPE_AP && vif->p2p && vif 270 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif, vif 286 drivers/net/wireless/intel/iwlwifi/mvm/scan.c (!vif || vif->type != NL80211_IFTYPE_P2P_DEVICE)) vif 292 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif && vif->type == NL80211_IFTYPE_STATION && vif 293 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif->bss_conf.dtim_period < 220) { vif 295 drivers/net/wireless/intel/iwlwifi/mvm/scan.c .current_vif = vif, vif 316 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 324 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return _iwl_mvm_get_scan_type(mvm, vif, load, low_latency); vif 329 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif, vif 338 drivers/net/wireless/intel/iwlwifi/mvm/scan.c return _iwl_mvm_get_scan_type(mvm, vif, load, low_latency); vif 796 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_build_scan_probe(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 815 drivers/net/wireless/intel/iwlwifi/mvm/scan.c memcpy(frame->sa, vif->addr, ETH_ALEN); vif 885 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 905 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif->type != NL80211_IFTYPE_P2P_DEVICE && vif 923 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 955 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif->type != NL80211_IFTYPE_P2P_DEVICE && vif 975 drivers/net/wireless/intel/iwlwifi/mvm/scan.c static int iwl_mvm_scan_lmac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1001 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif)); vif 1031 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (iwl_mvm_scan_use_ebs(mvm, vif)) { vif 1443 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 1485 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif->type != NL80211_IFTYPE_P2P_DEVICE) vif 1494 drivers/net/wireless/intel/iwlwifi/mvm/scan.c vif->type != NL80211_IFTYPE_P2P_DEVICE && vif 1520 drivers/net/wireless/intel/iwlwifi/mvm/scan.c static int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1537 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct iwl_mvm_vif *scan_vif = iwl_mvm_vif_from_mac80211(vif); vif 1557 drivers/net/wireless/intel/iwlwifi/mvm/scan.c gen_flags = iwl_mvm_scan_umac_flags(mvm, params, vif); vif 1576 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (iwl_mvm_scan_use_ebs(mvm, vif)) { vif 1718 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif) vif 1722 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_get_scan_type_band(mvm, vif, vif 1725 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_get_scan_type_band(mvm, vif, vif 1728 drivers/net/wireless/intel/iwlwifi/mvm/scan.c params->type = iwl_mvm_get_scan_type(mvm, vif); vif 1732 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 1779 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_fill_scan_type(mvm, ¶ms, vif); vif 1787 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_build_scan_probe(mvm, vif, ies, ¶ms); vif 1791 drivers/net/wireless/intel/iwlwifi/mvm/scan.c ret = iwl_mvm_scan_umac(mvm, vif, ¶ms, vif 1795 drivers/net/wireless/intel/iwlwifi/mvm/scan.c ret = iwl_mvm_scan_lmac(mvm, vif, ¶ms); vif 1816 drivers/net/wireless/intel/iwlwifi/mvm/scan.c mvm->scan_vif = iwl_mvm_vif_from_mac80211(vif); vif 1825 drivers/net/wireless/intel/iwlwifi/mvm/scan.c struct ieee80211_vif *vif, vif 1873 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_fill_scan_type(mvm, ¶ms, vif); vif 1892 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_build_scan_probe(mvm, vif, ies, ¶ms); vif 1896 drivers/net/wireless/intel/iwlwifi/mvm/scan.c ret = iwl_mvm_scan_umac(mvm, vif, ¶ms, type); vif 1899 drivers/net/wireless/intel/iwlwifi/mvm/scan.c ret = iwl_mvm_scan_lmac(mvm, vif, ¶ms); vif 77 drivers/net/wireless/intel/iwlwifi/mvm/sf.c struct ieee80211_vif *vif) vif 80 drivers/net/wireless/intel/iwlwifi/mvm/sf.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 82 drivers/net/wireless/intel/iwlwifi/mvm/sf.c if (vif == data->ignore_vif || !mvmvif->phy_ctxt || vif 83 drivers/net/wireless/intel/iwlwifi/mvm/sf.c vif->type == NL80211_IFTYPE_P2P_DEVICE) vif 88 drivers/net/wireless/intel/iwlwifi/mvm/sf.c if (vif->type == NL80211_IFTYPE_STATION) { vif 90 drivers/net/wireless/intel/iwlwifi/mvm/sf.c if (vif->bss_conf.assoc) vif 293 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_rx_ba_timer_expired(mvm_sta->vif, vif 781 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_get_wd_timeout(mvm, mvmsta->vif, false, false); vif 960 drivers/net/wireless/intel/iwlwifi/mvm/sta.c wdg_timeout = iwl_mvm_get_wd_timeout(mvm, mvmsta->vif, false, false); vif 1212 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_get_wd_timeout(mvm, mvmsta->vif, false, false); vif 1462 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_get_wd_timeout(mvm, mvm_sta->vif, false, false); vif 1570 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 1573 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1584 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_vif_type_p2p(vif)); vif 1618 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta->vif = vif; vif 1680 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_vif_type_p2p(vif)); vif 1701 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1788 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 1838 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 1841 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1872 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_disable_sta_queues(mvm, vif, sta); vif 1894 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_STATION && vif 1897 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->bss_conf.assoc) vif 1927 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 2058 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2060 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2069 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2103 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2105 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2112 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_get_wd_timeout(mvm, vif, false, false); vif 2124 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_AP || vif 2125 drivers/net/wireless/intel/iwlwifi/mvm/sta.c vif->type == NL80211_IFTYPE_ADHOC) { vif 2127 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } else if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 2139 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 2140 drivers/net/wireless/intel/iwlwifi/mvm/sta.c baddr = vif->bss_conf.bssid; vif 2163 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_AP || vif 2164 drivers/net/wireless/intel/iwlwifi/mvm/sta.c vif->type == NL80211_IFTYPE_ADHOC) vif 2166 drivers/net/wireless/intel/iwlwifi/mvm/sta.c else if (vif->type == NL80211_IFTYPE_P2P_DEVICE) vif 2174 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif) vif 2176 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2183 drivers/net/wireless/intel/iwlwifi/mvm/sta.c switch (vif->type) { vif 2193 drivers/net/wireless/intel/iwlwifi/mvm/sta.c vif->type); vif 2207 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2209 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2214 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_free_bcast_sta_queues(mvm, vif); vif 2222 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2224 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2229 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_vif_type_p2p(vif), vif 2240 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_add_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2242 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2248 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = iwl_mvm_alloc_bcast_sta(mvm, vif); vif 2252 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = iwl_mvm_send_add_bcast_sta(mvm, vif); vif 2260 drivers/net/wireless/intel/iwlwifi/mvm/sta.c void iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2262 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2271 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_rm_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2277 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = iwl_mvm_send_rm_bcast_sta(mvm, vif); vif 2279 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_dealloc_bcast_sta(mvm, vif); vif 2292 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2294 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2299 drivers/net/wireless/intel/iwlwifi/mvm/sta.c .fifo = vif->type == NL80211_IFTYPE_AP ? vif 2306 drivers/net/wireless/intel/iwlwifi/mvm/sta.c unsigned int timeout = iwl_mvm_get_wd_timeout(mvm, vif, false, false); vif 2311 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (WARN_ON(vif->type != NL80211_IFTYPE_AP && vif 2312 drivers/net/wireless/intel/iwlwifi/mvm/sta.c vif->type != NL80211_IFTYPE_ADHOC)) vif 2321 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 2423 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 2425 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 2760 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2852 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2865 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 2872 drivers/net/wireless/intel/iwlwifi/mvm/sta.c iwl_mvm_get_wd_timeout(mvm, vif, sta->tdls, false); vif 3016 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 3029 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 3056 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 3070 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 3088 drivers/net/wireless/intel/iwlwifi/mvm/sta.c int iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 3161 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3164 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3174 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_STATION && vif 3387 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3390 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3395 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type == NL80211_IFTYPE_STATION && vif 3408 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3426 drivers/net/wireless/intel/iwlwifi/mvm/sta.c } else if (vif->type == NL80211_IFTYPE_AP && vif 3428 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3438 drivers/net/wireless/intel/iwlwifi/mvm/sta.c addr = iwl_mvm_get_mac_addr(mvm, vif, sta); vif 3463 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3476 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (vif->type != NL80211_IFTYPE_AP || vif 3479 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); vif 3501 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) vif 3504 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 3534 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, key_offset, mcast); vif 3547 drivers/net/wireless/intel/iwlwifi/mvm/sta.c ret = __iwl_mvm_set_sta_key(mvm, vif, sta, keyconf, vif 3565 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3577 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); vif 3580 drivers/net/wireless/intel/iwlwifi/mvm/sta.c else if (!sta && vif->type == NL80211_IFTYPE_AP && mcast) vif 3581 drivers/net/wireless/intel/iwlwifi/mvm/sta.c sta_id = iwl_mvm_vif_from_mac80211(vif)->mcast_sta.sta_id; vif 3623 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct ieee80211_vif *vif, vif 3634 drivers/net/wireless/intel/iwlwifi/mvm/sta.c mvm_sta = iwl_mvm_get_key_sta(mvm, vif, sta); vif 3868 drivers/net/wireless/intel/iwlwifi/mvm/sta.c void iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 3870 drivers/net/wireless/intel/iwlwifi/mvm/sta.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 435 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif; vif 490 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 494 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 503 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 506 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 509 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 514 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 519 drivers/net/wireless/intel/iwlwifi/mvm/sta.h struct ieee80211_vif *vif, vif 530 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 532 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 535 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_tx_agg_stop(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 537 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_sta_tx_agg_flush(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 546 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_alloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 547 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_send_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 548 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_add_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 549 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_send_rm_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 550 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_rm_p2p_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 551 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_add_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 552 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_rm_mcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 557 drivers/net/wireless/intel/iwlwifi/mvm/sta.h void iwl_mvm_dealloc_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 559 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_add_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 560 drivers/net/wireless/intel/iwlwifi/mvm/sta.h int iwl_mvm_rm_snif_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 580 drivers/net/wireless/intel/iwlwifi/mvm/sta.h void iwl_mvm_csa_client_absent(struct iwl_mvm *mvm, struct ieee80211_vif *vif); vif 87 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, vif 94 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 109 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c if (vif) { vif 111 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c if (mvmsta->vif != vif) vif 121 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c static void iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 134 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 179 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 182 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c int tdls_sta_cnt = iwl_mvm_tdls_sta_count(mvm, vif); vif 195 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c iwl_mvm_tdls_config(mvm, vif); vif 203 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif) vif 206 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; vif 210 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c iwl_mvm_protect_session(mvm, vif, duration, duration, 100, true); vif 259 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif; vif 280 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c vif = mvmsta->vif; vif 286 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); vif 378 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif, vif 415 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c sta = ieee80211_find_sta(vif, peer); vif 433 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c rcu_dereference(vif->chanctx_conf); vif 449 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c cpu_to_le32(TU_TO_US(vif->bss_conf.dtim_period * vif 450 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c vif->bss_conf.beacon_int) / 2); vif 507 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif; vif 529 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c vif = mvmsta->vif; vif 530 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c ret = iwl_mvm_tdls_config_channel_switch(mvm, vif, vif 543 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); vif 551 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif, vif 575 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c ret = iwl_mvm_tdls_config_channel_switch(mvm, vif, vif 604 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c delay = 2 * TU_TO_MS(vif->bss_conf.dtim_period * vif 605 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c vif->bss_conf.beacon_int); vif 615 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif, vif 657 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c msleep(TU_TO_MS(vif->bss_conf.dtim_period * vif 658 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c vif->bss_conf.beacon_int)); vif 668 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c struct ieee80211_vif *vif, vif 708 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c iwl_mvm_tdls_config_channel_switch(mvm, vif, type, params->sta->addr, vif 718 drivers/net/wireless/intel/iwlwifi/mvm/tdls.c delay = vif->bss_conf.dtim_period * vif->bss_conf.beacon_int * vif 88 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!te_data || !te_data->vif) vif 95 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = NULL; vif 193 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif, vif 196 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 198 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (vif->type != NL80211_IFTYPE_STATION) vif 201 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (!mvmvif->csa_bcn_pending && vif->bss_conf.assoc && vif 202 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c vif->bss_conf.dtim_period) vif 207 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_connection_loss(mvm, vif, errmsg); vif 216 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif = te_data->vif; vif 217 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 222 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c switch (te_data->vif->type) { vif 230 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_connection_loss(mvm, vif, vif 234 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_csa_client_absent(mvm, te_data->vif); vif 236 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c ieee80211_chswitch_done(te_data->vif, true); vif 257 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c ieee80211_vif_to_wdev(te_data->vif), vif 322 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (iwl_mvm_te_check_disconnect(mvm, te_data->vif, msg)) { vif 333 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c switch (te_data->vif->type) { vif 344 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_te_check_disconnect(mvm, te_data->vif, vif 356 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 399 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = NULL; vif 505 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif, vif 523 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c te_data->vif = vif; vif 566 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif, vif 570 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 597 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_stop_session_protection(mvm, vif); vif 618 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); vif 632 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd)) { vif 738 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif) vif 740 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 760 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c int iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 763 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 806 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); vif 825 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) vif 861 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c mvmvif = iwl_mvm_vif_from_mac80211(te_data->vif); vif 863 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c if (te_data->vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 874 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct ieee80211_vif *vif, vif 877 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 917 drivers/net/wireless/intel/iwlwifi/mvm/time-event.c return iwl_mvm_time_event_send_add(mvm, vif, te_data, &time_cmd); vif 135 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h struct ieee80211_vif *vif, vif 150 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h struct ieee80211_vif *vif); vif 175 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h int iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 227 drivers/net/wireless/intel/iwlwifi/mvm/time-event.h struct ieee80211_vif *vif, vif 323 drivers/net/wireless/intel/iwlwifi/mvm/tt.c struct ieee80211_vif *vif) vif 335 drivers/net/wireless/intel/iwlwifi/mvm/tt.c if (vif->type != NL80211_IFTYPE_STATION) vif 338 drivers/net/wireless/intel/iwlwifi/mvm/tt.c iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT, smps_mode); vif 607 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_vif_from_mac80211(info->control.vif); vif 610 drivers/net/wireless/intel/iwlwifi/mvm/tx.c switch (info->control.vif->type) { vif 632 drivers/net/wireless/intel/iwlwifi/mvm/tx.c WARN_ONCE(info->control.vif->type != NL80211_IFTYPE_ADHOC, vif 652 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_vif_from_mac80211(info->control.vif); vif 730 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (info.control.vif) { vif 732 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_vif_from_mac80211(info.control.vif); vif 734 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (info.control.vif->type == NL80211_IFTYPE_P2P_DEVICE || vif 735 drivers/net/wireless/intel/iwlwifi/mvm/tx.c info.control.vif->type == NL80211_IFTYPE_AP || vif 736 drivers/net/wireless/intel/iwlwifi/mvm/tx.c info.control.vif->type == NL80211_IFTYPE_ADHOC) { vif 743 drivers/net/wireless/intel/iwlwifi/mvm/tx.c } else if (info.control.vif->type == NL80211_IFTYPE_MONITOR) { vif 746 drivers/net/wireless/intel/iwlwifi/mvm/tx.c } else if (info.control.vif->type == NL80211_IFTYPE_STATION && vif 790 drivers/net/wireless/intel/iwlwifi/mvm/tx.c enum nl80211_band band = mvmsta->vif->bss_conf.chandef.chan->band; vif 929 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (iwl_mvm_vif_low_latency(iwl_mvm_vif_from_mac80211(mvmsta->vif)) || vif 1254 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct ieee80211_vif *vif = mvmsta->vif; vif 1287 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1295 drivers/net/wireless/intel/iwlwifi/mvm/tx.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1868 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (mvmsta->vif) vif 1870 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rcu_dereference(mvmsta->vif->chanctx_conf); vif 674 drivers/net/wireless/intel/iwlwifi/mvm/utils.c void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 688 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->type == NL80211_IFTYPE_AP) vif 693 drivers/net/wireless/intel/iwlwifi/mvm/utils.c mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 704 drivers/net/wireless/intel/iwlwifi/mvm/utils.c ieee80211_request_smps(vif, smps_mode); vif 742 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif) vif 744 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 797 drivers/net/wireless/intel/iwlwifi/mvm/utils.c int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 801 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 831 drivers/net/wireless/intel/iwlwifi/mvm/utils.c static void iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) vif 834 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 871 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif; vif 876 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif) vif 880 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) vif 883 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (data->vif) { vif 888 drivers/net/wireless/intel/iwlwifi/mvm/utils.c data->vif = vif; vif 904 drivers/net/wireless/intel/iwlwifi/mvm/utils.c return bss_iter_data.vif; vif 912 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif) vif 916 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->type != NL80211_IFTYPE_STATION) vif 919 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->bss_conf.assoc) vif 937 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif, vif 953 drivers/net/wireless/intel/iwlwifi/mvm/utils.c vif && vif->type == NL80211_IFTYPE_AP) vif 968 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (WARN_ON(!vif)) vif 971 drivers/net/wireless/intel/iwlwifi/mvm/utils.c switch (ieee80211_vif_type_p2p(vif)) { vif 992 drivers/net/wireless/intel/iwlwifi/mvm/utils.c void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, vif 998 drivers/net/wireless/intel/iwlwifi/mvm/utils.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 1012 drivers/net/wireless/intel/iwlwifi/mvm/utils.c ieee80211_connection_loss(vif); vif 1016 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif, vif 1023 drivers/net/wireless/intel/iwlwifi/mvm/utils.c trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), vif 1064 drivers/net/wireless/intel/iwlwifi/mvm/utils.c static void iwl_mvm_tcm_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) vif 1068 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1084 drivers/net/wireless/intel/iwlwifi/mvm/utils.c iwl_mvm_update_low_latency(mvm, vif, low_latency, vif 1116 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif; vif 1120 drivers/net/wireless/intel/iwlwifi/mvm/utils.c vif = container_of((void *)mvmvif, struct ieee80211_vif, drv_priv); vif 1128 drivers/net/wireless/intel/iwlwifi/mvm/utils.c vif->bss_conf.bssid, ETH_ALEN); vif 1133 drivers/net/wireless/intel/iwlwifi/mvm/utils.c iwl_mvm_connection_loss(mvm, vif, vif 1138 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif) vif 1140 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1142 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->type != NL80211_IFTYPE_STATION) vif 1145 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (!vif->bss_conf.assoc) vif 1170 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif; vif 1200 drivers/net/wireless/intel/iwlwifi/mvm/utils.c vif = rcu_dereference(mvm->vif_id_to_mac[mac]); vif 1201 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif) vif 1202 drivers/net/wireless/intel/iwlwifi/mvm/utils.c iwl_mvm_uapsd_agg_disconnect(mvm, vif); vif 1207 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct ieee80211_vif *vif) vif 1209 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1415 drivers/net/wireless/intel/iwlwifi/mvm/utils.c void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1417 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 1423 drivers/net/wireless/intel/iwlwifi/mvm/utils.c void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) vif 1425 drivers/net/wireless/intel/iwlwifi/mvm/utils.c struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); vif 35 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif, vif 50 drivers/net/wireless/intersil/p54/main.c static void p54_sta_notify(struct ieee80211_hw *dev, struct ieee80211_vif *vif, vif 136 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif) vif 142 drivers/net/wireless/intersil/p54/main.c beacon = ieee80211_beacon_get(priv->hw, vif); vif 224 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif) vif 229 drivers/net/wireless/intersil/p54/main.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; vif 237 drivers/net/wireless/intersil/p54/main.c priv->vif = vif; vif 239 drivers/net/wireless/intersil/p54/main.c switch (vif->type) { vif 244 drivers/net/wireless/intersil/p54/main.c priv->mode = vif->type; vif 251 drivers/net/wireless/intersil/p54/main.c memcpy(priv->mac_addr, vif->addr, ETH_ALEN); vif 258 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif) vif 263 drivers/net/wireless/intersil/p54/main.c priv->vif = NULL; vif 407 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif, u16 queue, vif 450 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif, vif 465 drivers/net/wireless/intersil/p54/main.c p54_beacon_update(priv, vif); vif 498 drivers/net/wireless/intersil/p54/main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 666 drivers/net/wireless/intersil/p54/main.c static void p54_flush(struct ieee80211_hw *dev, struct ieee80211_vif *vif, vif 166 drivers/net/wireless/intersil/p54/p54.h struct ieee80211_vif *vif; vif 624 drivers/net/wireless/intersil/p54/txrx.c if (priv->vif) vif 625 drivers/net/wireless/intersil/p54/txrx.c ieee80211_beacon_loss(priv->vif); vif 186 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_check_magic(struct ieee80211_vif *vif) vif 188 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 191 drivers/net/wireless/mac80211_hwsim.c vif, vp->magic, vif->addr, vif->type, vif->p2p); vif 194 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_set_magic(struct ieee80211_vif *vif) vif 196 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 200 drivers/net/wireless/mac80211_hwsim.c static inline void hwsim_clear_magic(struct ieee80211_vif *vif) vif 202 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 629 drivers/net/wireless/mac80211_hwsim.c static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) vif 632 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 656 drivers/net/wireless/mac80211_hwsim.c rcu_dereference(vif->chanctx_conf)->def.chan); vif 661 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, int ps) vif 663 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 689 drivers/net/wireless/mac80211_hwsim.c rcu_dereference(vif->chanctx_conf)->def.chan); vif 695 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 698 drivers/net/wireless/mac80211_hwsim.c hwsim_send_nullfunc(data, mac, vif, 1); vif 702 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 705 drivers/net/wireless/mac80211_hwsim.c hwsim_send_nullfunc(data, mac, vif, 0); vif 805 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 812 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, u64 tsf) vif 815 drivers/net/wireless/mac80211_hwsim.c u64 now = mac80211_hwsim_get_tsf(hw, vif); vif 927 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 1155 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 1159 drivers/net/wireless/mac80211_hwsim.c if (!vif->chanctx_conf) vif 1163 drivers/net/wireless/mac80211_hwsim.c rcu_dereference(vif->chanctx_conf)->def.chan)) vif 1254 drivers/net/wireless/mac80211_hwsim.c if (info->control.vif) vif 1255 drivers/net/wireless/mac80211_hwsim.c rx_status.signal += info->control.vif->bss_conf.txpower; vif 1378 drivers/net/wireless/mac80211_hwsim.c chanctx_conf = rcu_dereference(txi->control.vif->chanctx_conf); vif 1396 drivers/net/wireless/mac80211_hwsim.c if (txi->control.vif) vif 1397 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(txi->control.vif); vif 1402 drivers/net/wireless/mac80211_hwsim.c ieee80211_get_tx_rates(txi->control.vif, control->sta, skb, vif 1468 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 1471 drivers/net/wireless/mac80211_hwsim.c __func__, ieee80211_vif_type_p2p(vif), vif 1472 drivers/net/wireless/mac80211_hwsim.c vif->addr); vif 1473 drivers/net/wireless/mac80211_hwsim.c hwsim_set_magic(vif); vif 1475 drivers/net/wireless/mac80211_hwsim.c vif->cab_queue = 0; vif 1476 drivers/net/wireless/mac80211_hwsim.c vif->hw_queue[IEEE80211_AC_VO] = 0; vif 1477 drivers/net/wireless/mac80211_hwsim.c vif->hw_queue[IEEE80211_AC_VI] = 1; vif 1478 drivers/net/wireless/mac80211_hwsim.c vif->hw_queue[IEEE80211_AC_BE] = 2; vif 1479 drivers/net/wireless/mac80211_hwsim.c vif->hw_queue[IEEE80211_AC_BK] = 3; vif 1486 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1493 drivers/net/wireless/mac80211_hwsim.c __func__, ieee80211_vif_type_p2p(vif), vif 1494 drivers/net/wireless/mac80211_hwsim.c newtype, vif->addr); vif 1495 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1501 drivers/net/wireless/mac80211_hwsim.c vif->cab_queue = 0; vif 1507 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1510 drivers/net/wireless/mac80211_hwsim.c __func__, ieee80211_vif_type_p2p(vif), vif 1511 drivers/net/wireless/mac80211_hwsim.c vif->addr); vif 1512 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1513 drivers/net/wireless/mac80211_hwsim.c hwsim_clear_magic(vif); vif 1525 drivers/net/wireless/mac80211_hwsim.c ieee80211_get_tx_rates(txi->control.vif, NULL, skb, vif 1540 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 1549 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1551 drivers/net/wireless/mac80211_hwsim.c if (vif->type != NL80211_IFTYPE_AP && vif 1552 drivers/net/wireless/mac80211_hwsim.c vif->type != NL80211_IFTYPE_MESH_POINT && vif 1553 drivers/net/wireless/mac80211_hwsim.c vif->type != NL80211_IFTYPE_ADHOC) vif 1556 drivers/net/wireless/mac80211_hwsim.c skb = ieee80211_beacon_get(hw, vif); vif 1561 drivers/net/wireless/mac80211_hwsim.c ieee80211_get_tx_rates(vif, NULL, skb, vif 1575 drivers/net/wireless/mac80211_hwsim.c rcu_dereference(vif->chanctx_conf)->def.chan); vif 1577 drivers/net/wireless/mac80211_hwsim.c if (vif->csa_active && ieee80211_csa_is_complete(vif)) vif 1578 drivers/net/wireless/mac80211_hwsim.c ieee80211_csa_finish(vif); vif 1708 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 1711 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 1718 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1722 drivers/net/wireless/mac80211_hwsim.c struct hwsim_vif_priv *vp = (void *)vif->drv_priv; vif 1725 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1728 drivers/net/wireless/mac80211_hwsim.c __func__, changed, vif->addr); vif 1753 drivers/net/wireless/mac80211_hwsim.c tsf = mac80211_hwsim_get_tsf(hw, vif); vif 1803 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1806 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1813 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1816 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1823 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1827 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 1850 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, u16 queue, vif 1926 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1973 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 1982 drivers/net/wireless/mac80211_hwsim.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1987 drivers/net/wireless/mac80211_hwsim.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2002 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2077 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2089 drivers/net/wireless/mac80211_hwsim.c hwsim->hw_scan_vif = vif; vif 2096 drivers/net/wireless/mac80211_hwsim.c memcpy(hwsim->scan_addr, vif->addr, ETH_ALEN); vif 2108 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 2128 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2151 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 2195 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2220 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif) vif 2270 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2273 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 2280 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2283 drivers/net/wireless/mac80211_hwsim.c hwsim_check_magic(vif); vif 2301 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 2310 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, int sset) vif 2318 drivers/net/wireless/mac80211_hwsim.c struct ieee80211_vif *vif, vif 192 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct ieee80211_vif *vif; vif 158 drivers/net/wireless/marvell/libertas_tf/main.c priv->vif = NULL; vif 209 drivers/net/wireless/marvell/libertas_tf/main.c if ((priv->vif->type == NL80211_IFTYPE_AP) && vif 300 drivers/net/wireless/marvell/libertas_tf/main.c struct ieee80211_vif *vif) vif 304 drivers/net/wireless/marvell/libertas_tf/main.c if (priv->vif != NULL) vif 307 drivers/net/wireless/marvell/libertas_tf/main.c priv->vif = vif; vif 308 drivers/net/wireless/marvell/libertas_tf/main.c switch (vif->type) { vif 317 drivers/net/wireless/marvell/libertas_tf/main.c priv->vif = NULL; vif 320 drivers/net/wireless/marvell/libertas_tf/main.c lbtf_set_mac_address(priv, (u8 *) vif->addr); vif 326 drivers/net/wireless/marvell/libertas_tf/main.c struct ieee80211_vif *vif) vif 331 drivers/net/wireless/marvell/libertas_tf/main.c if (priv->vif->type == NL80211_IFTYPE_AP || vif 332 drivers/net/wireless/marvell/libertas_tf/main.c priv->vif->type == NL80211_IFTYPE_MESH_POINT) vif 336 drivers/net/wireless/marvell/libertas_tf/main.c priv->vif = NULL; vif 418 drivers/net/wireless/marvell/libertas_tf/main.c struct ieee80211_vif *vif, vif 427 drivers/net/wireless/marvell/libertas_tf/main.c switch (priv->vif->type) { vif 430 drivers/net/wireless/marvell/libertas_tf/main.c beacon = ieee80211_beacon_get(hw, vif); vif 680 drivers/net/wireless/marvell/libertas_tf/main.c if (priv->vif->type != NL80211_IFTYPE_AP) vif 686 drivers/net/wireless/marvell/libertas_tf/main.c while ((skb = ieee80211_get_buffered_bc(priv->hw, priv->vif))) { vif 696 drivers/net/wireless/marvell/libertas_tf/main.c skb = ieee80211_beacon_get(priv->hw, priv->vif); vif 311 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif; vif 1936 drivers/net/wireless/marvell/mwl8k.c mwl8k_vif = MWL8K_VIF(tx_info->control.vif); vif 2295 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 2298 drivers/net/wireless/marvell/mwl8k.c if (vif != NULL) vif 2299 drivers/net/wireless/marvell/mwl8k.c cmd->macid = MWL8K_VIF(vif)->macid; vif 2962 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *beacon, int len) vif 2976 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 3236 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u32 legacy_rate_mask) vif 3248 drivers/net/wireless/marvell/mwl8k.c cmd->aid = cpu_to_le16(vif->bss_conf.aid); vif 3249 drivers/net/wireless/marvell/mwl8k.c memcpy(cmd->bssid, vif->bss_conf.bssid, ETH_ALEN); vif 3251 drivers/net/wireless/marvell/mwl8k.c if (vif->bss_conf.use_cts_prot) { vif 3254 drivers/net/wireless/marvell/mwl8k.c switch (vif->bss_conf.ht_operation_mode & vif 3290 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_rate(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3685 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *mac, bool set) vif 3688 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 3694 drivers/net/wireless/marvell/mwl8k.c if (vif != NULL && vif->type == NL80211_IFTYPE_STATION) { vif 3702 drivers/net/wireless/marvell/mwl8k.c } else if (vif != NULL && vif->type == NL80211_IFTYPE_AP) { vif 3726 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 3736 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *mac) vif 3738 drivers/net/wireless/marvell/mwl8k.c return mwl8k_cmd_update_mac_addr(hw, vif, mac, true); vif 3745 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *mac) vif 3747 drivers/net/wireless/marvell/mwl8k.c return mwl8k_cmd_update_mac_addr(hw, vif, mac, false); vif 3868 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, int enable) vif 3871 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 3889 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 3905 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif; vif 3908 drivers/net/wireless/marvell/mwl8k.c vif = mwl8k_vif->vif; vif 3913 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_AP) vif 3914 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_bss_start(hw, vif, enable); vif 3968 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif) vif 3991 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4000 drivers/net/wireless/marvell/mwl8k.c u8 buf_size, struct ieee80211_vif *vif) vif 4034 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4093 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4126 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4133 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif) vif 4144 drivers/net/wireless/marvell/mwl8k.c memcpy(cmd->mac_addr, vif->addr, ETH_ALEN); vif 4146 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4153 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *addr) vif 4190 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4259 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4276 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4324 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4333 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 4376 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4384 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4390 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 4406 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_post_pervif_cmd(hw, vif, &cmd->header); vif 4415 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4422 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 4425 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_STATION && !priv->ap_fw) vif 4429 drivers/net/wireless/marvell/mwl8k.c addr = vif->addr; vif 4434 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_encryption_set_key(hw, vif, addr, key); vif 4444 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_update_encryption_enable(hw, vif, addr, vif 4452 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_encryption_remove_key(hw, vif, addr, key); vif 4521 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 4540 drivers/net/wireless/marvell/mwl8k.c p->basic_caps = cpu_to_le16(vif->bss_conf.assoc_capability); vif 4563 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u8 *addr) vif 4797 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif) vif 4817 drivers/net/wireless/marvell/mwl8k.c switch (vif->type) { vif 4855 drivers/net/wireless/marvell/mwl8k.c mwl8k_vif = MWL8K_VIF(vif); vif 4857 drivers/net/wireless/marvell/mwl8k.c mwl8k_vif->vif = vif; vif 4860 drivers/net/wireless/marvell/mwl8k.c memcpy(mwl8k_vif->bssid, vif->addr, ETH_ALEN); vif 4864 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_mac_addr(hw, vif, vif->addr); vif 4866 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_AP) vif 4867 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_new_stn_add_self(hw, vif); vif 4875 drivers/net/wireless/marvell/mwl8k.c static void mwl8k_remove_vif(struct mwl8k_priv *priv, struct mwl8k_vif *vif) vif 4881 drivers/net/wireless/marvell/mwl8k.c priv->macids_used &= ~(1 << vif->macid); vif 4882 drivers/net/wireless/marvell/mwl8k.c list_del(&vif->list); vif 4886 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif) vif 4889 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 4891 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_AP) vif 4892 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_new_stn_del(hw, vif, vif->addr); vif 4894 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_del_mac_addr(hw, vif, vif->addr); vif 4995 drivers/net/wireless/marvell/mwl8k.c mwl8k_bss_info_changed_sta(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5009 drivers/net/wireless/marvell/mwl8k.c if ((changed & BSS_CHANGED_ASSOC) && !vif->bss_conf.assoc) vif 5015 drivers/net/wireless/marvell/mwl8k.c if (vif->bss_conf.assoc) { vif 5020 drivers/net/wireless/marvell/mwl8k.c ap = ieee80211_find_sta(vif, vif->bss_conf.bssid); vif 5038 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_set_rate(hw, vif, vif 5053 drivers/net/wireless/marvell/mwl8k.c idx = ffs(vif->bss_conf.basic_rates); vif 5070 drivers/net/wireless/marvell/mwl8k.c vif->bss_conf.use_short_preamble); vif 5076 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_set_slot(hw, vif->bss_conf.use_short_slot); vif 5081 drivers/net/wireless/marvell/mwl8k.c if (vif->bss_conf.assoc && !priv->ap_fw && vif 5084 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_cmd_set_aid(hw, vif, ap_legacy_rates); vif 5089 drivers/net/wireless/marvell/mwl8k.c if (vif->bss_conf.assoc && vif 5095 drivers/net/wireless/marvell/mwl8k.c memcpy(priv->capture_bssid, vif->bss_conf.bssid, ETH_ALEN); vif 5104 drivers/net/wireless/marvell/mwl8k.c mwl8k_bss_info_changed_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5114 drivers/net/wireless/marvell/mwl8k.c vif->bss_conf.use_short_preamble); vif 5128 drivers/net/wireless/marvell/mwl8k.c idx = ffs(vif->bss_conf.basic_rates); vif 5143 drivers/net/wireless/marvell/mwl8k.c skb = ieee80211_beacon_get(hw, vif); vif 5145 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_beacon(hw, vif, skb->data, skb->len); vif 5151 drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_bss_start(hw, vif, info->enable_beacon); vif 5158 drivers/net/wireless/marvell/mwl8k.c mwl8k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5161 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_STATION) vif 5162 drivers/net/wireless/marvell/mwl8k.c mwl8k_bss_info_changed_sta(hw, vif, info, changed); vif 5163 drivers/net/wireless/marvell/mwl8k.c if (vif->type == NL80211_IFTYPE_AP) vif 5164 drivers/net/wireless/marvell/mwl8k.c mwl8k_bss_info_changed_ap(hw, vif, info, changed); vif 5285 drivers/net/wireless/marvell/mwl8k.c bssid = mwl8k_vif->vif->bss_conf.bssid; vif 5318 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 5324 drivers/net/wireless/marvell/mwl8k.c return mwl8k_cmd_set_new_stn_del(hw, vif, sta->addr); vif 5326 drivers/net/wireless/marvell/mwl8k.c return mwl8k_cmd_update_stadb_del(hw, vif, sta->addr); vif 5330 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 5336 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); vif 5340 drivers/net/wireless/marvell/mwl8k.c ret = mwl8k_cmd_update_stadb_add(hw, vif, sta); vif 5349 drivers/net/wireless/marvell/mwl8k.c ret = mwl8k_cmd_set_new_stn_add(hw, vif, sta); vif 5355 drivers/net/wireless/marvell/mwl8k.c mwl8k_set_key(hw, SET_KEY, vif, sta, key); vif 5361 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, u16 queue, vif 5436 drivers/net/wireless/marvell/mwl8k.c mwl8k_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5500 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_check_ba(hw, stream, vif); vif 5523 drivers/net/wireless/marvell/mwl8k.c ieee80211_start_tx_ba_cb_irqsafe(vif, addr, tid); vif 5537 drivers/net/wireless/marvell/mwl8k.c ieee80211_stop_tx_ba_cb_irqsafe(vif, addr, tid); vif 5543 drivers/net/wireless/marvell/mwl8k.c rc = mwl8k_create_ba(hw, stream, buf_size, vif); vif 5568 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif, vif 5587 drivers/net/wireless/marvell/mwl8k.c struct ieee80211_vif *vif) vif 6009 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_vif *vif, *tmp_vif; vif 6020 drivers/net/wireless/marvell/mwl8k.c list_for_each_entry_safe(vif, tmp_vif, &priv->vif_list, list) vif 6021 drivers/net/wireless/marvell/mwl8k.c mwl8k_remove_vif(priv, vif); vif 662 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_sta_add(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 671 drivers/net/wireless/mediatek/mt76/mac80211.c ret = dev->drv->sta_add(dev, vif, sta); vif 696 drivers/net/wireless/mediatek/mt76/mac80211.c void __mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 709 drivers/net/wireless/mediatek/mt76/mac80211.c dev->drv->sta_remove(dev, vif, sta); vif 719 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 723 drivers/net/wireless/mediatek/mt76/mac80211.c __mt76_sta_remove(dev, vif, sta); vif 727 drivers/net/wireless/mediatek/mt76/mac80211.c int mt76_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 736 drivers/net/wireless/mediatek/mt76/mac80211.c return mt76_sta_add(dev, vif, sta); vif 741 drivers/net/wireless/mediatek/mt76/mac80211.c dev->drv->sta_assoc(dev, vif, sta); vif 745 drivers/net/wireless/mediatek/mt76/mac80211.c mt76_sta_remove(dev, vif, sta); vif 751 drivers/net/wireless/mediatek/mt76/mac80211.c int mt76_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 781 drivers/net/wireless/mediatek/mt76/mac80211.c __mt76_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 783 drivers/net/wireless/mediatek/mt76/mac80211.c if (vif->csa_active && ieee80211_csa_is_complete(vif)) vif 784 drivers/net/wireless/mediatek/mt76/mac80211.c ieee80211_csa_finish(vif); vif 801 drivers/net/wireless/mediatek/mt76/mac80211.c __mt76_csa_check(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 805 drivers/net/wireless/mediatek/mt76/mac80211.c if (!vif->csa_active) vif 808 drivers/net/wireless/mediatek/mt76/mac80211.c dev->csa_complete |= ieee80211_csa_is_complete(vif); vif 873 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_sw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 882 drivers/net/wireless/mediatek/mt76/mac80211.c void mt76_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 312 drivers/net/wireless/mediatek/mt76/mt76.h int (*sta_add)(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 315 drivers/net/wireless/mediatek/mt76/mt76.h void (*sta_assoc)(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 318 drivers/net/wireless/mediatek/mt76/mt76.h void (*sta_remove)(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 747 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_sta_state(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 751 drivers/net/wireless/mediatek/mt76/mt76.h void __mt76_sta_remove(struct mt76_dev *dev, struct ieee80211_vif *vif, vif 756 drivers/net/wireless/mediatek/mt76/mt76.h int mt76_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 767 drivers/net/wireless/mediatek/mt76/mt76.h void mt76_sw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 770 drivers/net/wireless/mediatek/mt76/mt76.h struct ieee80211_vif *vif); vif 13 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt7603_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 16 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 22 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c skb = ieee80211_beacon_get(mt76_hw(dev), vif); vif 43 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c mt7603_add_buffered_bc(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 47 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 54 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c skb = ieee80211_get_buffered_bc(mt76_hw(dev), vif); vif 59 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c info->control.vif = vif; vif 120 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct ieee80211_vif *vif = info->control.vif; vif 121 drivers/net/wireless/mediatek/mt76/mt7603/beacon.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 112 drivers/net/wireless/mediatek/mt76/mt7603/mac.c void mt7603_wtbl_init(struct mt7603_dev *dev, int idx, int vif, vif 127 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (vif < 0) vif 128 drivers/net/wireless/mediatek/mt76/mt7603/mac.c vif = 0; vif 131 drivers/net/wireless/mediatek/mt76/mt7603/mac.c w0 |= FIELD_PREP(MT_WTBL1_W0_MUAR_IDX, vif); vif 390 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (!sta->vif) vif 393 drivers/net/wireless/mediatek/mt76/mt7603/mac.c return &sta->vif->sta.wcid; vif 787 drivers/net/wireless/mediatek/mt76/mt7603/mac.c struct ieee80211_vif *vif = info->control.vif; vif 800 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (vif) { vif 801 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mvif = (struct mt7603_vif *)vif->drv_priv; vif 35 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 37 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 53 drivers/net/wireless/mediatek/mt76/mt7603/main.c get_unaligned_le32(vif->addr)); vif 55 drivers/net/wireless/mediatek/mt76/mt7603/main.c (get_unaligned_le16(vif->addr + 4) | vif 58 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (vif->type == NL80211_IFTYPE_AP) { vif 60 drivers/net/wireless/mediatek/mt76/mt7603/main.c get_unaligned_le32(vif->addr)); vif 62 drivers/net/wireless/mediatek/mt76/mt7603/main.c (get_unaligned_le16(vif->addr + 4) | vif 74 drivers/net/wireless/mediatek/mt76/mt7603/main.c mtxq = (struct mt76_txq *)vif->txq->drv_priv; vif 76 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_txq_init(&dev->mt76, vif->txq); vif 86 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 88 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 99 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt76_txq_remove(&dev->mt76, vif->txq); vif 272 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 276 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 314 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 319 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 335 drivers/net/wireless/mediatek/mt76/mt7603/main.c if (vif->type == NL80211_IFTYPE_AP) vif 342 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 351 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 450 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 454 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv; vif 473 drivers/net/wireless/mediatek/mt76/mt7603/main.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 474 drivers/net/wireless/mediatek/mt76/mt7603/main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 495 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, vif 540 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 546 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 585 drivers/net/wireless/mediatek/mt76/mt7603/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 590 drivers/net/wireless/mediatek/mt76/mt7603/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 598 drivers/net/wireless/mediatek/mt76/mt7603/main.c mt7603_sta_rate_tbl_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 637 drivers/net/wireless/mediatek/mt76/mt7603/main.c struct ieee80211_vif *vif = info->control.vif; vif 646 drivers/net/wireless/mediatek/mt76/mt7603/main.c } else if (vif) { vif 649 drivers/net/wireless/mediatek/mt76/mt7603/main.c mvif = (struct mt7603_vif *)vif->drv_priv; vif 62 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h struct mt7603_vif *vif; vif 212 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_wtbl_init(struct mt7603_dev *dev, int idx, int vif, vif 239 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h int mt7603_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 241 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 243 drivers/net/wireless/mediatek/mt76/mt7603/mt7603.h void mt7603_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 38 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (!sta->vif) vif 41 drivers/net/wireless/mediatek/mt76/mt7615/mac.c return &sta->vif->sta.wcid; vif 314 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct ieee80211_vif *vif = info->control.vif; vif 321 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (vif) { vif 322 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 772 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct ieee80211_vif *vif = info->control.vif; vif 813 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (vif) { vif 814 drivers/net/wireless/mediatek/mt76/mt7615/mac.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 67 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif) vif 69 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 82 drivers/net/wireless/mediatek/mt76/mt7615/main.c idx = get_omac_idx(vif->type, dev->omac_mask); vif 93 drivers/net/wireless/mediatek/mt76/mt7615/main.c ret = mt7615_mcu_set_dev_info(dev, vif, 1); vif 104 drivers/net/wireless/mediatek/mt76/mt7615/main.c mtxq = (struct mt76_txq *)vif->txq->drv_priv; vif 106 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt76_txq_init(&dev->mt76, vif->txq); vif 115 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif) vif 117 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 123 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_dev_info(dev, vif, 0); vif 126 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt76_txq_remove(&dev->mt76, vif->txq); vif 168 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 172 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 181 drivers/net/wireless/mediatek/mt76/mt7615/main.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 182 drivers/net/wireless/mediatek/mt76/mt7615/main.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 249 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, vif 252 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 302 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif, vif 311 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_bss_info(dev, vif, info->assoc); vif 318 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_bss_info(dev, vif, info->enable_beacon); vif 319 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_wtbl_bmc(dev, vif, info->enable_beacon); vif 320 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_sta_rec_bmc(dev, vif, info->enable_beacon); vif 321 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_bcn(dev, vif, info->enable_beacon); vif 329 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif, vif 335 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_bcn(dev, vif, true); vif 339 drivers/net/wireless/mediatek/mt76/mt7615/main.c int mt7615_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 344 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 351 drivers/net/wireless/mediatek/mt76/mt7615/main.c msta->vif = mvif; vif 355 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_add_wtbl(dev, vif, sta); vif 356 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_sta_rec(dev, vif, sta, 1); vif 361 drivers/net/wireless/mediatek/mt76/mt7615/main.c void mt7615_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 367 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_ht_cap(dev, vif, sta); vif 370 drivers/net/wireless/mediatek/mt76/mt7615/main.c void mt7615_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 375 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_mcu_set_sta_rec(dev, vif, sta, 0); vif 380 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif, vif 409 drivers/net/wireless/mediatek/mt76/mt7615/main.c struct ieee80211_vif *vif = info->control.vif; vif 419 drivers/net/wireless/mediatek/mt76/mt7615/main.c if (vif && !control->sta) { vif 422 drivers/net/wireless/mediatek/mt76/mt7615/main.c mvif = (struct mt7615_vif *)vif->drv_priv; vif 441 drivers/net/wireless/mediatek/mt76/mt7615/main.c mt7615_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 480 drivers/net/wireless/mediatek/mt76/mt7615/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 485 drivers/net/wireless/mediatek/mt76/mt7615/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 182 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_csa_finish(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 184 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c if (vif->csa_active) vif 185 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c ieee80211_csa_finish(vif); vif 706 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct ieee80211_vif *vif, bool enable) vif 708 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 739 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c memcpy(data.tlv.omac_addr, vif->addr, ETH_ALEN); vif 761 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_basic_header(struct ieee80211_vif *vif, u8 *data, vif 765 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 772 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int); vif 773 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c memcpy(hdr->bssid, vif->bss_conf.bssid, ETH_ALEN); vif 775 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c hdr->dtim_period = vif->bss_conf.dtim_period; vif 798 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct ieee80211_vif *vif, int en) vif 800 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 825 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c switch (vif->type) { vif 838 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c sta = ieee80211_find_sta(vif, vif->bss_conf.bssid); vif 876 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_bss_info_basic_header(vif, data, net_type, vif 930 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct ieee80211_vif *vif, bool enable) vif 932 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 947 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int mt7615_mcu_add_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 950 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 972 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .rca1 = vif->type != NL80211_IFTYPE_AP, vif 1007 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct ieee80211_vif *vif, bool en) vif 1009 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 1042 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int mt7615_mcu_set_sta_rec(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 1045 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 1068 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c switch (vif->type) { vif 1094 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int mt7615_mcu_set_bcn(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 1097 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 1123 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c skb = ieee80211_beacon_get_template(mt76_hw(dev), vif, &offs); vif 1342 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int mt7615_mcu_set_ht_cap(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 1346 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; vif 1471 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = msta->vif; vif 1539 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c struct mt7615_vif *mvif = msta->vif; vif 57 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct mt7615_vif *vif; vif 168 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct ieee80211_vif *vif, bool enable); vif 169 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_set_bss_info(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 174 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_wtbl_bmc(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 176 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_add_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 181 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h struct ieee80211_vif *vif, bool en); vif 182 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_set_sta_rec(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 184 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_set_bcn(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 195 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_set_ht_cap(struct mt7615_dev *dev, struct ieee80211_vif *vif, vif 264 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 266 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_assoc(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 268 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h void mt7615_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 56 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 64 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c return mt76x02_set_key(hw, cmd, vif, sta, key); vif 68 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c mt76x0e_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 136 drivers/net/wireless/mediatek/mt76/mt76x02.h int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 138 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 144 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif); vif 146 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif); vif 148 drivers/net/wireless/mediatek/mt76/mt76x02.h int mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 151 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 153 drivers/net/wireless/mediatek/mt76/mt76x02.h int mt76x02_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 156 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif, vif 181 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif); vif 184 drivers/net/wireless/mediatek/mt76/mt76x02.h struct ieee80211_vif *vif, vif 196 drivers/net/wireless/mediatek/mt76/mt76x02.h void mt76x02_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif); vif 262 drivers/net/wireless/mediatek/mt76/mt76x02.h return &sta->vif->group_wcid; vif 108 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct ieee80211_vif *vif, bool enable) vif 110 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 175 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 178 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 184 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c skb = ieee80211_beacon_get(mt76_hw(dev), vif); vif 193 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c mt76x02_add_buffered_bc(void *priv, u8 *mac, struct ieee80211_vif *vif) vif 197 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 204 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c skb = ieee80211_get_buffered_bc(mt76_hw(dev), vif); vif 209 drivers/net/wireless/mediatek/mt76/mt76x02_beacon.c info->control.vif = vif; vif 333 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ieee80211_get_tx_rates(info->control.vif, sta, skb, vif 34 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h struct mt76x02_vif *vif; vif 199 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h struct ieee80211_vif *vif, bool enable); vif 51 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct ieee80211_vif *vif = info->control.vif; vif 52 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 380 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c static void mt76x02_key_sync(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 412 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c struct ieee80211_vif *vif; vif 425 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c priv = msta->vif; vif 426 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c vif = container_of(priv, struct ieee80211_vif, drv_priv); vif 428 drivers/net/wireless/mediatek/mt76/mt76x02_mmio.c __mt76_sta_remove(&dev->mt76, vif, sta); vif 16 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c struct ieee80211_vif *vif = info->control.vif; vif 24 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c } else if (vif) { vif 27 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c mvif = (struct mt76x02_vif *)vif->drv_priv; vif 247 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int mt76x02_sta_add(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 252 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 261 drivers/net/wireless/mediatek/mt76/mt76x02_util.c msta->vif = mvif; vif 268 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if (vif->type == NL80211_IFTYPE_AP) vif 275 drivers/net/wireless/mediatek/mt76/mt76x02_util.c void mt76x02_sta_remove(struct mt76_dev *mdev, struct ieee80211_vif *vif, vif 288 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_vif_init(struct mt76x02_dev *dev, struct ieee80211_vif *vif, vif 291 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 299 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mtxq = (struct mt76_txq *)vif->txq->drv_priv; vif 302 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_txq_init(&dev->mt76, vif->txq); vif 306 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 313 drivers/net/wireless/mediatek/mt76/mt76x02_util.c (((vif->addr[0] ^ dev->mt76.macaddr[0]) & ~GENMASK(4, 1)) || vif 314 drivers/net/wireless/mediatek/mt76/mt76x02_util.c memcmp(vif->addr + 1, dev->mt76.macaddr + 1, ETH_ALEN - 1))) vif 315 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_mac_setaddr(dev, vif->addr); vif 317 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if (vif->addr[0] & BIT(1)) vif 318 drivers/net/wireless/mediatek/mt76/mt76x02_util.c idx = 1 + (((dev->mt76.macaddr[0] ^ vif->addr[0]) >> 2) & 7); vif 333 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if (vif->type == NL80211_IFTYPE_STATION) vif 341 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_vif_init(dev, vif, idx); vif 347 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_vif *vif) vif 350 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 352 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76_txq_remove(&dev->mt76, vif->txq); vif 357 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int mt76x02_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 388 drivers/net/wireless/mediatek/mt76/mt76x02_util.c ieee80211_send_bar(vif, sta->addr, tid, mtxq->agg_ssn); vif 396 drivers/net/wireless/mediatek/mt76/mt76x02_util.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 400 drivers/net/wireless/mediatek/mt76/mt76x02_util.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 409 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 413 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 434 drivers/net/wireless/mediatek/mt76/mt76x02_util.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 435 drivers/net/wireless/mediatek/mt76/mt76x02_util.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 447 drivers/net/wireless/mediatek/mt76/mt76x02_util.c vif->type == NL80211_IFTYPE_AP && vif 485 drivers/net/wireless/mediatek/mt76/mt76x02_util.c int mt76x02_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 575 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_vif *vif, vif 606 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_vif *vif) vif 633 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct ieee80211_vif *vif, vif 637 drivers/net/wireless/mediatek/mt76/mt76x02_util.c struct mt76x02_vif *mvif = (struct mt76x02_vif *)vif->drv_priv; vif 657 drivers/net/wireless/mediatek/mt76/mt76x02_util.c mt76x02_mac_set_beacon_enable(dev, vif, info->enable_beacon); vif 117 drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c mt76x2_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 262 drivers/net/wireless/mediatek/mt76/tx.c ieee80211_get_tx_rates(info->control.vif, sta, skb, vif 408 drivers/net/wireless/mediatek/mt76/tx.c ieee80211_get_tx_rates(txq->vif, txq->sta, skb, vif 506 drivers/net/wireless/mediatek/mt76/tx.c struct ieee80211_vif *vif = txq->vif; vif 512 drivers/net/wireless/mediatek/mt76/tx.c ieee80211_send_bar(vif, sta->addr, tid, agg_ssn); vif 45 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_vif *vif) vif 48 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; vif 59 drivers/net/wireless/mediatek/mt7601u/main.c if (!ether_addr_equal(dev->macaddr, vif->addr)) vif 60 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_set_macaddr(dev, vif->addr); vif 72 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_vif *vif) vif 75 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; vif 134 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 209 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 214 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; vif 240 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 259 drivers/net/wireless/mediatek/mt7601u/main.c mt7601u_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 266 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_vif *vif, vif 277 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_vif *vif) vif 293 drivers/net/wireless/mediatek/mt7601u/main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 297 drivers/net/wireless/mediatek/mt7601u/main.c struct mt76_vif *mvif = (struct mt76_vif *) vif->drv_priv; vif 347 drivers/net/wireless/mediatek/mt7601u/main.c mt76_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 368 drivers/net/wireless/mediatek/mt7601u/main.c ieee80211_send_bar(vif, sta->addr, tid, msta->agg_ssn[tid]); vif 375 drivers/net/wireless/mediatek/mt7601u/main.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 378 drivers/net/wireless/mediatek/mt7601u/main.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 386 drivers/net/wireless/mediatek/mt7601u/main.c mt76_sta_rate_tbl_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 370 drivers/net/wireless/mediatek/mt7601u/mt7601u.h int mt7601u_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 147 drivers/net/wireless/mediatek/mt7601u/tx.c ieee80211_get_tx_rates(info->control.vif, sta, skb, vif 195 drivers/net/wireless/mediatek/mt7601u/tx.c struct ieee80211_vif *vif = info->control.vif; vif 214 drivers/net/wireless/mediatek/mt7601u/tx.c } else if (vif) { vif 215 drivers/net/wireless/mediatek/mt7601u/tx.c struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; vif 260 drivers/net/wireless/mediatek/mt7601u/tx.c int mt7601u_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 78 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 90 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = &mac->iflist[i]; vif 91 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) vif 92 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c params.iftype_num[vif->wdev.iftype]++; vif 113 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 118 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_validate_iface_combinations(wiphy, vif, type); vif 121 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, type); vif 130 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_scan_done(vif->mac, true); vif 132 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_change_intf_type(vif, type, use4addr, mac_addr); vif 135 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, type); vif 139 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = type; vif 146 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 152 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_netdev_get_priv(wdev->netdev); vif 154 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_scan_done(vif->mac, true); vif 161 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c while ((skb = skb_dequeue(&vif->high_pri_tx_queue))) vif 164 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cancel_work_sync(&vif->high_pri_tx_work); vif 169 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (qtnf_cmd_send_del_intf(vif)) vif 170 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c pr_err("VIF%u.%u: failed to delete VIF\n", vif->mac->macid, vif 171 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->vifid); vif 173 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->netdev->ieee80211_ptr = NULL; vif 174 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->netdev = NULL; vif 175 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 187 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 207 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_mac_get_free_vif(mac); vif 208 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!vif) { vif 213 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c eth_zero_addr(vif->mac_addr); vif 214 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c eth_zero_addr(vif->bssid); vif 215 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->bss_priority = QTNF_DEF_BSS_PRIORITY; vif 216 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c memset(&vif->wdev, 0, sizeof(vif->wdev)); vif 217 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.wiphy = wiphy; vif 218 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = type; vif 230 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_add_intf(vif, type, use4addr, mac_addr); vif 233 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac->macid, vif->vifid, mac_addr); vif 237 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!is_valid_ether_addr(vif->mac_addr)) { vif 239 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac->macid, vif->vifid, vif->mac_addr); vif 244 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_core_net_attach(mac, vif, name, name_assign_t); vif 247 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->vifid); vif 251 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.netdev = vif->netdev; vif 252 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c return &vif->wdev; vif 255 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->netdev = NULL; vif 257 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_cmd_send_del_intf(vif); vif 259 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 264 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c static int qtnf_mgmt_set_appie(struct qtnf_vif *vif, vif 270 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, QLINK_IE_SET_BEACON_IES, vif 273 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, QLINK_IE_SET_BEACON_IES, vif 282 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, vif 286 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, vif 296 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, vif 300 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_mgmt_set_appie(vif, vif 313 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 315 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c return qtnf_mgmt_set_appie(vif, info); vif 321 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 324 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_start_ap(vif, settings); vif 326 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c pr_err("VIF%u.%u: failed to start AP\n", vif->mac->macid, vif 327 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->vifid); vif 334 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 337 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_scan_done(vif->mac, true); vif 339 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_stop_ap(vif); vif 342 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid); vif 344 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c netif_carrier_off(vif->netdev); vif 352 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 355 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_mac_get_base_vif(mac); vif 356 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!vif) { vif 372 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(wdev->netdev); vif 380 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c new_mask = vif->mgmt_frames_bitmask | BIT(mgmt_type); vif 382 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c new_mask = vif->mgmt_frames_bitmask & ~BIT(mgmt_type); vif 384 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (new_mask == vif->mgmt_frames_bitmask) vif 403 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, vif 408 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (qtnf_cmd_send_register_mgmt(vif, qlink_frame_type, reg)) { vif 410 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, reg ? "" : "un", vif 415 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mgmt_frames_bitmask = new_mask; vif 417 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, reg ? "" : "un", frame_type); vif 424 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(wdev->netdev); vif 454 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c return qtnf_cmd_send_frame(vif, short_cookie, flags, vif 462 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 464 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c sinfo->generation = vif->generation; vif 465 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c return qtnf_cmd_get_sta_info(vif, mac, sinfo); vif 472 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 476 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c switch (vif->wdev.iftype) { vif 478 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (idx != 0 || !vif->wdev.current_bss) vif 481 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ether_addr_copy(mac, vif->bssid); vif 484 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c sta_node = qtnf_sta_list_lookup_index(&vif->sta_list, idx); vif 494 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_get_sta_info(vif, mac, sinfo); vif 496 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_AP) { vif 498 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cfg80211_del_sta(vif->netdev, mac, GFP_KERNEL); vif 503 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c sinfo->generation = vif->generation; vif 512 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 515 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_add_key(vif, key_index, pairwise, mac_addr, params); vif 518 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, params->cipher, key_index, vif 527 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 530 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_del_key(vif, key_index, pairwise, mac_addr); vif 534 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, key_index); vif 537 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, vif 548 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 551 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_set_default_key(vif, key_index, unicast, multicast); vif 554 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, key_index, unicast, vif 564 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 567 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_set_default_mgmt_key(vif, key_index); vif 570 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, key_index); vif 579 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 582 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_change_sta(vif, mac, params); vif 585 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, mac); vif 594 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 598 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c (vif->wdev.iftype == NL80211_IFTYPE_AP) && vif 600 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c !qtnf_sta_list_lookup(&vif->sta_list, params->mac)) vif 603 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_del_sta(vif, params); vif 606 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid, params->mac); vif 640 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 643 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) vif 653 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ether_addr_copy(vif->bssid, sme->bssid); vif 655 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c eth_zero_addr(vif->bssid); vif 657 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_connect(vif, sme); vif 660 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid); vif 672 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 675 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) vif 678 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!ether_addr_equal(vif->bssid, auth->bssid)) vif 681 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_external_auth(vif, auth); vif 684 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif->mac->macid, vif->vifid); vif 697 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 700 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_mac_get_base_vif(mac); vif 701 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!vif) { vif 706 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { vif 711 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_disconnect(vif, reason_code); vif 714 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c mac->macid, vif->vifid); vif 716 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.current_bss) { vif 717 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c netif_carrier_off(vif->netdev); vif 718 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cfg80211_disconnected(vif->netdev, reason_code, vif 803 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 809 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_netdev_get_priv(wdev->netdev); vif 811 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_get_channel(vif, chandef); vif 834 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 846 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_chan_switch(vif, params); vif 859 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 865 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_start_cac(vif, chandef, cac_time_ms); vif 876 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 879 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_set_mac_acl(vif, params); vif 889 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); vif 892 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_pm_set(vif, enabled ? QLINK_PM_AUTO_STANDBY : vif 904 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 907 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_mac_get_base_vif(mac); vif 908 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!vif) { vif 916 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_virtual_intf_cleanup(vif->netdev); vif 920 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_scan_done(vif->mac, true); vif 922 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_wowlan_set(vif, wowlan); vif 936 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif; vif 939 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c vif = qtnf_mac_get_base_vif(mac); vif 940 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (!vif) { vif 946 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c ret = qtnf_cmd_send_wowlan_set(vif, NULL); vif 1199 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 1201 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (qtnf_cmd_send_updown_intf(vif, up)) vif 1203 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c up ? "UP" : "DOWN", vif->mac->macid, vif->vifid); vif 1208 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 1209 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c struct qtnf_wmac *mac = wiphy_priv(vif->wdev.wiphy); vif 1211 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION) vif 1212 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_disconnect(vif->wdev.wiphy, ndev, vif 1218 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c void qtnf_cfg80211_vif_reset(struct qtnf_vif *vif) vif 1220 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION) vif 1221 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cfg80211_disconnected(vif->netdev, WLAN_REASON_DEAUTH_LEAVING, vif 1224 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c cfg80211_shutdown_all_interfaces(vif->wdev.wiphy); vif 13 drivers/net/wireless/quantenna/qtnfmac/cfg80211.h void qtnf_cfg80211_vif_reset(struct qtnf_vif *vif); vif 188 drivers/net/wireless/quantenna/qtnfmac/commands.c static bool qtnf_cmd_start_ap_can_fit(const struct qtnf_vif *vif, vif 210 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->mac->macid, vif->vifid, len); vif 217 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, vif 226 drivers/net/wireless/quantenna/qtnfmac/commands.c if (!qtnf_cmd_start_ap_can_fit(vif, s)) vif 229 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 323 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 324 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 328 drivers/net/wireless/quantenna/qtnfmac/commands.c netif_carrier_on(vif->netdev); vif 331 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 336 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif) vif 341 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 347 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 348 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 353 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 358 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg) vif 364 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 370 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 376 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 381 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 386 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_frame(struct qtnf_vif *vif, u32 cookie, u16 flags, vif 394 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_warn("VIF%u.%u: frame is too big: %zu\n", vif->mac->macid, vif 395 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->vifid, len); vif 399 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 405 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 415 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 420 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 425 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type, vif 432 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_warn("VIF%u.%u: %u frame is too big: %zu\n", vif->mac->macid, vif 433 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->vifid, frame_type, len); vif 437 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 445 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 446 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 451 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 677 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_get_sta_info(struct qtnf_vif *vif, const u8 *sta_mac, vif 686 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 692 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 697 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send_with_reply(vif->mac->bus, cmd_skb, &resp_skb, vif 706 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->mac->macid, vif->vifid, resp->sta_addr, sta_mac); vif 716 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 722 drivers/net/wireless/quantenna/qtnfmac/commands.c static int qtnf_cmd_send_add_change_intf(struct qtnf_vif *vif, vif 733 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 739 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 752 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_err("VIF%u.%u: unsupported type %d\n", vif->mac->macid, vif 753 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->vifid, iftype); vif 763 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send_with_reply(vif->mac->bus, cmd_skb, &resp_skb, vif 769 drivers/net/wireless/quantenna/qtnfmac/commands.c ether_addr_copy(vif->mac_addr, resp->intf_info.mac_addr); vif 772 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 778 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, vif 781 drivers/net/wireless/quantenna/qtnfmac/commands.c return qtnf_cmd_send_add_change_intf(vif, iftype, use4addr, mac_addr, vif 785 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_change_intf_type(struct qtnf_vif *vif, vif 792 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send_add_change_intf(vif, iftype, use4addr, mac_addr, vif 796 drivers/net/wireless/quantenna/qtnfmac/commands.c if (ret == 0 && vif->wdev.iftype != iftype) { vif 798 drivers/net/wireless/quantenna/qtnfmac/commands.c struct wiphy *wiphy = priv_to_wiphy(vif->mac); vif 804 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_cmd_band_info_get(vif->mac, wiphy->bands[band]); vif 811 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_del_intf(struct qtnf_vif *vif) vif 817 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 823 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 827 drivers/net/wireless/quantenna/qtnfmac/commands.c switch (vif->wdev.iftype) { vif 835 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_warn("VIF%u.%u: unsupported iftype %d\n", vif->mac->macid, vif 836 drivers/net/wireless/quantenna/qtnfmac/commands.c vif->vifid, vif->wdev.iftype); vif 843 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 848 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 1240 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_vif *vif; vif 1250 drivers/net/wireless/quantenna/qtnfmac/commands.c vif = qtnf_mac_get_base_vif(mac); vif 1251 drivers/net/wireless/quantenna/qtnfmac/commands.c if (vif) vif 1252 drivers/net/wireless/quantenna/qtnfmac/commands.c ether_addr_copy(vif->mac_addr, mac->macaddr); vif 1809 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, vif 1816 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 1822 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 1845 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 1850 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 1855 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_del_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, vif 1862 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 1868 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 1880 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 1885 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 1890 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_set_default_key(struct qtnf_vif *vif, u8 key_index, vif 1897 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 1903 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 1910 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 1915 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 1920 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_set_default_mgmt_key(struct qtnf_vif *vif, u8 key_index) vif 1926 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 1932 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 1937 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 1942 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 1968 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_change_sta(struct qtnf_vif *vif, const u8 *mac, vif 1975 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 1981 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 1990 drivers/net/wireless/quantenna/qtnfmac/commands.c switch (vif->wdev.iftype) { vif 1998 drivers/net/wireless/quantenna/qtnfmac/commands.c pr_err("unsupported iftype %d\n", vif->wdev.iftype); vif 2003 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2008 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2013 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_del_sta(struct qtnf_vif *vif, vif 2020 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2026 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 2038 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2043 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2193 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_connect(struct qtnf_vif *vif, vif 2203 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2211 drivers/net/wireless/quantenna/qtnfmac/commands.c ether_addr_copy(cmd->bssid, vif->bssid); vif 2278 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 2279 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2284 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2289 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_external_auth(struct qtnf_vif *vif, vif 2296 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2307 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 2308 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2313 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2318 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_disconnect(struct qtnf_vif *vif, u16 reason_code) vif 2324 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2330 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 2335 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2340 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2345 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_updown_intf(struct qtnf_vif *vif, bool up) vif 2351 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2360 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_lock(vif->mac->bus); vif 2361 drivers/net/wireless/quantenna/qtnfmac/commands.c ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); vif 2366 drivers/net/wireless/quantenna/qtnfmac/commands.c qtnf_bus_unlock(vif->mac->bus); vif 2495 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_chan_switch(struct qtnf_vif *vif, vif 2498 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_wmac *mac = vif->mac; vif 2503 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(mac->macid, vif->vifid, vif 2527 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef) vif 2529 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_bus *bus = vif->mac->bus; vif 2535 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2548 drivers/net/wireless/quantenna/qtnfmac/commands.c qlink_chandef_q2cfg(priv_to_wiphy(vif->mac), &resp->chan, chdef); vif 2557 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_start_cac(const struct qtnf_vif *vif, vif 2561 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_bus *bus = vif->mac->bus; vif 2566 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2587 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_set_mac_acl(const struct qtnf_vif *vif, vif 2590 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_bus *bus = vif->mac->bus; vif 2596 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2618 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_pm_set(const struct qtnf_vif *vif, u8 pm_mode, int timeout) vif 2620 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_bus *bus = vif->mac->bus; vif 2625 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 2646 drivers/net/wireless/quantenna/qtnfmac/commands.c int qtnf_cmd_send_wowlan_set(const struct qtnf_vif *vif, vif 2649 drivers/net/wireless/quantenna/qtnfmac/commands.c struct qtnf_bus *bus = vif->mac->bus; vif 2656 drivers/net/wireless/quantenna/qtnfmac/commands.c cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, vif 16 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, vif 18 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_change_intf_type(struct qtnf_vif *vif, vif 22 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_del_intf(struct qtnf_vif *vif); vif 26 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, vif 28 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif); vif 29 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg); vif 30 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_frame(struct qtnf_vif *vif, u32 cookie, u16 flags, vif 32 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type, vif 34 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_get_sta_info(struct qtnf_vif *vif, const u8 *sta_mac, vif 38 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, vif 40 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_del_key(struct qtnf_vif *vif, u8 key_index, bool pairwise, vif 42 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_set_default_key(struct qtnf_vif *vif, u8 key_index, vif 44 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_set_default_mgmt_key(struct qtnf_vif *vif, u8 key_index); vif 45 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_add_sta(struct qtnf_vif *vif, const u8 *mac, vif 47 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_change_sta(struct qtnf_vif *vif, const u8 *mac, vif 49 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_del_sta(struct qtnf_vif *vif, vif 52 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_connect(struct qtnf_vif *vif, vif 54 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_external_auth(struct qtnf_vif *vif, vif 56 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_disconnect(struct qtnf_vif *vif, vif 58 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_updown_intf(struct qtnf_vif *vif, vif 64 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_chan_switch(struct qtnf_vif *vif, vif 66 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_get_channel(struct qtnf_vif *vif, struct cfg80211_chan_def *chdef); vif 67 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_start_cac(const struct qtnf_vif *vif, vif 70 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_set_mac_acl(const struct qtnf_vif *vif, vif 72 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_pm_set(const struct qtnf_vif *vif, u8 pm_mode, int timeout); vif 73 drivers/net/wireless/quantenna/qtnfmac/commands.h int qtnf_cmd_send_wowlan_set(const struct qtnf_vif *vif, vif 75 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 78 drivers/net/wireless/quantenna/qtnfmac/core.c vif = qtnf_netdev_get_priv(ndev); vif 86 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { vif 92 drivers/net/wireless/quantenna/qtnfmac/core.c mac = vif->mac; vif 108 drivers/net/wireless/quantenna/qtnfmac/core.c vif->cons_tx_timeout_cnt = 0; vif 118 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 124 drivers/net/wireless/quantenna/qtnfmac/core.c if (!vif->stats64) vif 132 drivers/net/wireless/quantenna/qtnfmac/core.c stats64 = per_cpu_ptr(vif->stats64, cpu); vif 153 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 157 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(!vif || !vif->mac || !vif->mac->bus)) vif 160 drivers/net/wireless/quantenna/qtnfmac/core.c mac = vif->mac; vif 163 drivers/net/wireless/quantenna/qtnfmac/core.c pr_warn("VIF%u.%u: Tx timeout- %lu\n", mac->macid, vif->vifid, jiffies); vif 168 drivers/net/wireless/quantenna/qtnfmac/core.c if (++vif->cons_tx_timeout_cnt > QTNF_TX_TIMEOUT_TRSHLD) { vif 171 drivers/net/wireless/quantenna/qtnfmac/core.c queue_work(bus->workqueue, &vif->reset_work); vif 177 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 188 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_scan_done(vif->mac, true); vif 190 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, vif 191 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.use_4addr, vif 260 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 264 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[i]; vif 265 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) vif 266 drivers/net/wireless/quantenna/qtnfmac/core.c return vif; vif 274 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 276 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[QTNF_PRIMARY_VIF_IDX]; vif 278 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) vif 281 drivers/net/wireless/quantenna/qtnfmac/core.c return vif; vif 316 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = container_of(work, struct qtnf_vif, reset_work); vif 320 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { vif 326 drivers/net/wireless/quantenna/qtnfmac/core.c netif_tx_stop_all_queues(vif->netdev); vif 327 drivers/net/wireless/quantenna/qtnfmac/core.c if (netif_carrier_ok(vif->netdev)) vif 328 drivers/net/wireless/quantenna/qtnfmac/core.c netif_carrier_off(vif->netdev); vif 330 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_cfg80211_vif_reset(vif); vif 337 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = &mac->iflist[QTNF_PRIMARY_VIF_IDX]; vif 339 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_STATION; vif 340 drivers/net/wireless/quantenna/qtnfmac/core.c vif->bss_priority = QTNF_DEF_BSS_PRIORITY; vif 341 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.wiphy = priv_to_wiphy(mac); vif 342 drivers/net/wireless/quantenna/qtnfmac/core.c INIT_WORK(&vif->reset_work, qtnf_vif_reset_handler); vif 343 drivers/net/wireless/quantenna/qtnfmac/core.c vif->cons_tx_timeout_cnt = 0; vif 379 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = vif 383 drivers/net/wireless/quantenna/qtnfmac/core.c if (!vif->netdev || vif 384 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) vif 387 drivers/net/wireless/quantenna/qtnfmac/core.c while ((skb = skb_dequeue(&vif->high_pri_tx_queue))) { vif 388 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_cmd_send_frame(vif, 0, QLINK_FRAME_TX_FLAG_8023, vif 397 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 414 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[i]; vif 416 drivers/net/wireless/quantenna/qtnfmac/core.c memset(vif, 0, sizeof(*vif)); vif 417 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 418 drivers/net/wireless/quantenna/qtnfmac/core.c vif->mac = mac; vif 419 drivers/net/wireless/quantenna/qtnfmac/core.c vif->vifid = i; vif 420 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_sta_list_init(&vif->sta_list); vif 421 drivers/net/wireless/quantenna/qtnfmac/core.c INIT_WORK(&vif->high_pri_tx_work, qtnf_vif_send_data_high_pri); vif 422 drivers/net/wireless/quantenna/qtnfmac/core.c skb_queue_head_init(&vif->high_pri_tx_queue); vif 423 drivers/net/wireless/quantenna/qtnfmac/core.c vif->stats64 = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats); vif 424 drivers/net/wireless/quantenna/qtnfmac/core.c if (!vif->stats64) vif 444 drivers/net/wireless/quantenna/qtnfmac/core.c int qtnf_core_net_attach(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif 455 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 459 drivers/net/wireless/quantenna/qtnfmac/core.c vif->netdev = dev; vif 464 drivers/net/wireless/quantenna/qtnfmac/core.c dev->ieee80211_ptr = &vif->wdev; vif 465 drivers/net/wireless/quantenna/qtnfmac/core.c ether_addr_copy(dev->dev_addr, vif->mac_addr); vif 473 drivers/net/wireless/quantenna/qtnfmac/core.c *((void **)qdev_vif) = vif; vif 480 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 490 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 502 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[i]; vif 504 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->netdev && vif 505 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { vif 506 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_virtual_intf_cleanup(vif->netdev); vif 507 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_del_virtual_intf(wiphy, &vif->wdev); vif 510 drivers/net/wireless/quantenna/qtnfmac/core.c qtnf_sta_list_free(&vif->sta_list); vif 511 drivers/net/wireless/quantenna/qtnfmac/core.c free_percpu(vif->stats64); vif 540 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 560 drivers/net/wireless/quantenna/qtnfmac/core.c vif = qtnf_mac_get_base_vif(mac); vif 561 drivers/net/wireless/quantenna/qtnfmac/core.c if (!vif) { vif 567 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, vif 568 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.use_4addr, vif->mac_addr); vif 596 drivers/net/wireless/quantenna/qtnfmac/core.c ret = qtnf_core_net_attach(mac, vif, "wlan%d", NET_NAME_ENUM); vif 601 drivers/net/wireless/quantenna/qtnfmac/core.c vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; vif 602 drivers/net/wireless/quantenna/qtnfmac/core.c vif->netdev = NULL; vif 724 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif; vif 755 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[meta->ifidx]; vif 757 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { vif 762 drivers/net/wireless/quantenna/qtnfmac/core.c ndev = vif->netdev; vif 779 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 785 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(!vif || !vif->mac || !vif->mac->bus)) vif 788 drivers/net/wireless/quantenna/qtnfmac/core.c bus = vif->mac->bus; vif 796 drivers/net/wireless/quantenna/qtnfmac/core.c vif = &mac->iflist[i]; vif 797 drivers/net/wireless/quantenna/qtnfmac/core.c if (vif->netdev && netif_queue_stopped(vif->netdev)) vif 798 drivers/net/wireless/quantenna/qtnfmac/core.c netif_tx_wake_all_queues(vif->netdev); vif 806 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 809 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(!vif || !vif->stats64)) { vif 815 drivers/net/wireless/quantenna/qtnfmac/core.c stats64 = this_cpu_ptr(vif->stats64); vif 826 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); vif 829 drivers/net/wireless/quantenna/qtnfmac/core.c if (unlikely(!vif || !vif->stats64)) { vif 835 drivers/net/wireless/quantenna/qtnfmac/core.c stats64 = this_cpu_ptr(vif->stats64); vif 846 drivers/net/wireless/quantenna/qtnfmac/core.c struct qtnf_vif *vif = qtnf_netdev_get_priv(skb->dev); vif 848 drivers/net/wireless/quantenna/qtnfmac/core.c skb_queue_tail(&vif->high_pri_tx_queue, skb); vif 849 drivers/net/wireless/quantenna/qtnfmac/core.c queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); vif 18 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif 34 drivers/net/wireless/quantenna/qtnfmac/event.c mac->macid, vif->vifid, len, sizeof(*sta_assoc)); vif 38 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_AP) { vif 40 drivers/net/wireless/quantenna/qtnfmac/event.c mac->macid, vif->vifid); vif 51 drivers/net/wireless/quantenna/qtnfmac/event.c pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, vif 54 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_sta_list_add(vif, sta_addr); vif 58 drivers/net/wireless/quantenna/qtnfmac/event.c sinfo->generation = vif->generation; vif 101 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, vif 110 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, vif 119 drivers/net/wireless/quantenna/qtnfmac/event.c mac->macid, vif->vifid, len, vif 124 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_AP) { vif 126 drivers/net/wireless/quantenna/qtnfmac/event.c mac->macid, vif->vifid); vif 133 drivers/net/wireless/quantenna/qtnfmac/event.c pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, vif 136 drivers/net/wireless/quantenna/qtnfmac/event.c if (qtnf_sta_list_del(vif, sta_addr)) vif 137 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_del_sta(vif->netdev, sta_deauth->sta_addr, vif 144 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_bss_join(struct qtnf_vif *vif, vif 148 drivers/net/wireless/quantenna/qtnfmac/event.c struct wiphy *wiphy = priv_to_wiphy(vif->mac); vif 163 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, len, vif 168 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { vif 170 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid); vif 175 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, join_info->bssid, vif 184 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, vif 198 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, vif 201 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.ssid_len) { vif 203 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, vif 209 drivers/net/wireless/quantenna/qtnfmac/event.c ie = kzalloc(2 + vif->wdev.ssid_len, GFP_KERNEL); vif 212 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, vif 219 drivers/net/wireless/quantenna/qtnfmac/event.c ie[1] = vif->wdev.ssid_len; vif 220 drivers/net/wireless/quantenna/qtnfmac/event.c memcpy(ie + 2, vif->wdev.ssid, vif->wdev.ssid_len); vif 226 drivers/net/wireless/quantenna/qtnfmac/event.c ie, 2 + vif->wdev.ssid_len, vif 230 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, vif 285 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, payload_len); vif 288 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_connect_result(vif->netdev, join_info->bssid, NULL, 0, rsp_ies, vif 291 drivers/net/wireless/quantenna/qtnfmac/event.c if (!ether_addr_equal(vif->bssid, join_info->bssid)) vif 292 drivers/net/wireless/quantenna/qtnfmac/event.c ether_addr_copy(vif->bssid, join_info->bssid); vif 297 drivers/net/wireless/quantenna/qtnfmac/event.c netif_carrier_on(vif->netdev); vif 304 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_bss_leave(struct qtnf_vif *vif, vif 310 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, len, vif 315 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { vif 317 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid); vif 321 drivers/net/wireless/quantenna/qtnfmac/event.c pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid); vif 323 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_disconnected(vif->netdev, le16_to_cpu(leave_info->reason), vif 325 drivers/net/wireless/quantenna/qtnfmac/event.c netif_carrier_off(vif->netdev); vif 331 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_mgmt_received(struct qtnf_vif *vif, vif 343 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, len, min_len); vif 350 drivers/net/wireless/quantenna/qtnfmac/event.c pr_debug("%s LEN:%u FC:%.4X SA:%pM\n", vif->netdev->name, frame_len, vif 353 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_rx_mgmt(&vif->wdev, le32_to_cpu(rxmgmt->freq), rxmgmt->sig_dbm, vif 360 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_scan_results(struct qtnf_vif *vif, vif 366 drivers/net/wireless/quantenna/qtnfmac/event.c struct wiphy *wiphy = priv_to_wiphy(vif->mac); vif 377 drivers/net/wireless/quantenna/qtnfmac/event.c pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid, vif 378 drivers/net/wireless/quantenna/qtnfmac/event.c vif->vifid); vif 385 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq)); vif 470 drivers/net/wireless/quantenna/qtnfmac/event.c struct qtnf_vif *vif; vif 496 drivers/net/wireless/quantenna/qtnfmac/event.c vif = &mac->iflist[i]; vif 498 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) vif 501 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.iftype == NL80211_IFTYPE_STATION && vif 502 drivers/net/wireless/quantenna/qtnfmac/event.c !vif->wdev.current_bss) vif 505 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->netdev) vif 508 drivers/net/wireless/quantenna/qtnfmac/event.c mutex_lock(&vif->wdev.mtx); vif 509 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_ch_switch_notify(vif->netdev, &chandef); vif 510 drivers/net/wireless/quantenna/qtnfmac/event.c mutex_unlock(&vif->wdev.mtx); vif 516 drivers/net/wireless/quantenna/qtnfmac/event.c static int qtnf_event_handle_radar(struct qtnf_vif *vif, vif 520 drivers/net/wireless/quantenna/qtnfmac/event.c struct wiphy *wiphy = priv_to_wiphy(vif->mac); vif 524 drivers/net/wireless/quantenna/qtnfmac/event.c pr_err("MAC%u: payload is too short\n", vif->mac->macid); vif 528 drivers/net/wireless/quantenna/qtnfmac/event.c if (!wiphy->registered || !vif->netdev) vif 535 drivers/net/wireless/quantenna/qtnfmac/event.c vif->mac->macid, vif 542 drivers/net/wireless/quantenna/qtnfmac/event.c vif->netdev->name, ev->event, vif 551 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.cac_started) vif 554 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_cac_event(vif->netdev, &chandef, vif 558 drivers/net/wireless/quantenna/qtnfmac/event.c if (!vif->wdev.cac_started) vif 561 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_cac_event(vif->netdev, &chandef, vif 565 drivers/net/wireless/quantenna/qtnfmac/event.c if (vif->wdev.cac_started) vif 572 drivers/net/wireless/quantenna/qtnfmac/event.c cfg80211_cac_event(vif->netdev, &chandef, vif 577 drivers/net/wireless/quantenna/qtnfmac/event.c vif->netdev->name, ev->event); vif 585 drivers/net/wireless/quantenna/qtnfmac/event.c qtnf_event_handle_external_auth(struct qtnf_vif *vif, vif 590 drivers/net/wireless/quantenna/qtnfmac/event.c struct wiphy *wiphy = priv_to_wiphy(vif->mac); vif 594 drivers/net/wireless/quantenna/qtnfmac/event.c pr_err("MAC%u: payload is too short\n", vif->mac->macid); vif 598 drivers/net/wireless/quantenna/qtnfmac/event.c if (!wiphy->registered || !vif->netdev) vif 611 drivers/net/wireless/quantenna/qtnfmac/event.c vif->netdev->name, auth.bssid, auth.action, vif 614 drivers/net/wireless/quantenna/qtnfmac/event.c ret = cfg80211_external_auth_request(vif->netdev, &auth, GFP_KERNEL); vif 625 drivers/net/wireless/quantenna/qtnfmac/event.c struct qtnf_vif *vif = NULL; vif 635 drivers/net/wireless/quantenna/qtnfmac/event.c vif = &mac->iflist[event->vifid]; vif 643 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, vif 647 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_sta_deauth(mac, vif, vif 652 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_mgmt_received(vif, (const void *)event, vif 656 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_scan_results(vif, (const void *)event, vif 664 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_bss_join(vif, (const void *)event, vif 668 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_bss_leave(vif, (const void *)event, vif 676 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_radar(vif, (const void *)event, vif 680 drivers/net/wireless/quantenna/qtnfmac/event.c ret = qtnf_event_handle_external_auth(vif, (const void *)event, vif 48 drivers/net/wireless/quantenna/qtnfmac/util.c struct qtnf_sta_node *qtnf_sta_list_add(struct qtnf_vif *vif, vif 51 drivers/net/wireless/quantenna/qtnfmac/util.c struct qtnf_sta_list *list = &vif->sta_list; vif 69 drivers/net/wireless/quantenna/qtnfmac/util.c ++vif->generation; vif 75 drivers/net/wireless/quantenna/qtnfmac/util.c bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac) vif 77 drivers/net/wireless/quantenna/qtnfmac/util.c struct qtnf_sta_list *list = &vif->sta_list; vif 87 drivers/net/wireless/quantenna/qtnfmac/util.c ++vif->generation; vif 18 drivers/net/wireless/quantenna/qtnfmac/util.h struct qtnf_sta_node *qtnf_sta_list_add(struct qtnf_vif *vif, vif 20 drivers/net/wireless/quantenna/qtnfmac/util.h bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac); vif 1655 drivers/net/wireless/ralink/rt2x00/rt2400pci.c struct ieee80211_vif *vif, u16 queue, vif 1668 drivers/net/wireless/ralink/rt2x00/rt2400pci.c if (rt2x00mac_conf_tx(hw, vif, queue, params)) vif 1681 drivers/net/wireless/ralink/rt2x00/rt2400pci.c struct ieee80211_vif *vif) vif 1980 drivers/net/wireless/ralink/rt2x00/rt2500pci.c struct ieee80211_vif *vif) vif 1780 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int rt2800_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1827 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00lib_get_bssidx(rt2x00dev, vif)); vif 1832 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int rt2800_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 10376 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct ieee80211_vif *vif, u16 queue_idx, vif 10392 drivers/net/wireless/ralink/rt2x00/rt2800lib.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); vif 10444 drivers/net/wireless/ralink/rt2x00/rt2800lib.c u64 rt2800_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 10459 drivers/net/wireless/ralink/rt2x00/rt2800lib.c int rt2800_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 10489 drivers/net/wireless/ralink/rt2x00/rt2800lib.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 10494 drivers/net/wireless/ralink/rt2x00/rt2800lib.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 214 drivers/net/wireless/ralink/rt2x00/rt2800lib.h int rt2800_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 216 drivers/net/wireless/ralink/rt2x00/rt2800lib.h int rt2800_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 248 drivers/net/wireless/ralink/rt2x00/rt2800lib.h struct ieee80211_vif *vif, u16 queue_idx, vif 250 drivers/net/wireless/ralink/rt2x00/rt2800lib.h u64 rt2800_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 251 drivers/net/wireless/ralink/rt2x00/rt2800lib.h int rt2800_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 377 drivers/net/wireless/ralink/rt2x00/rt2x00.h static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) vif 379 drivers/net/wireless/ralink/rt2x00/rt2x00.h return (struct rt2x00_intf *)vif->drv_priv; vif 621 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif, vif 1417 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif); vif 1443 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif); vif 1445 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif); vif 1455 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 1461 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif, vif 1464 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif); vif 1468 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif, vif 1472 drivers/net/wireless/ralink/rt2x00/rt2x00.h struct ieee80211_vif *vif, u16 queue, vif 1475 drivers/net/wireless/ralink/rt2x00/rt2x00.h void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 28 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_vif *vif) vif 36 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1); vif 115 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_vif *vif) vif 118 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 131 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00queue_update_beacon(rt2x00dev, vif); vif 168 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_vif *vif) vif 177 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (vif->type != NL80211_IFTYPE_AP) vif 183 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); vif 186 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c skb = ieee80211_get_buffered_bc(rt2x00dev->hw, vif); vif 191 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c struct ieee80211_vif *vif) vif 195 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (vif->type != NL80211_IFTYPE_AP && vif 196 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c vif->type != NL80211_IFTYPE_ADHOC && vif 197 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c vif->type != NL80211_IFTYPE_MESH_POINT && vif 198 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c vif->type != NL80211_IFTYPE_WDS) vif 207 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rt2x00queue_update_beacon(rt2x00dev, vif); vif 146 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h struct ieee80211_vif *vif); vif 155 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h struct ieee80211_vif *vif); vif 163 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h struct ieee80211_vif *vif); vif 72 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, vif 76 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, vif 184 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif) vif 187 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 220 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (vif->type == NL80211_IFTYPE_AP) vif 237 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rt2x00lib_config_intf(rt2x00dev, intf, vif->type, vif 238 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c vif->addr, NULL); vif 252 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif) vif 255 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 263 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c (vif->type == NL80211_IFTYPE_AP && !rt2x00dev->intf_ap_count) || vif 264 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c (vif->type != NL80211_IFTYPE_AP && !rt2x00dev->intf_sta_count)) vif 267 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (vif->type == NL80211_IFTYPE_AP) vif 385 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif) vif 387 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 389 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (vif->type != NL80211_IFTYPE_AP && vif 390 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c vif->type != NL80211_IFTYPE_ADHOC && vif 391 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c vif->type != NL80211_IFTYPE_MESH_POINT && vif 392 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c vif->type != NL80211_IFTYPE_WDS) vif 436 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 458 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c if (vif->type == NL80211_IFTYPE_ADHOC && vif 467 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c crypto.bssidx = rt2x00lib_get_bssidx(rt2x00dev, vif); vif 520 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif, vif 530 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif) vif 555 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif, vif 560 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 573 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rt2x00lib_config_intf(rt2x00dev, intf, vif->type, NULL, vif 597 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rt2x00queue_clear_beacon(rt2x00dev, vif); vif 606 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c rt2x00queue_update_beacon(rt2x00dev, vif); vif 648 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c struct ieee80211_vif *vif, u16 queue_idx, vif 693 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c void rt2x00mac_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 182 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct rt2x00_intf *intf = vif_to_intf(tx_info->control.vif); vif 723 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct ieee80211_vif *vif) vif 725 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 746 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct ieee80211_vif *vif) vif 748 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c struct rt2x00_intf *intf = vif_to_intf(vif); vif 760 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c intf->beacon->skb = ieee80211_beacon_get(rt2x00dev->hw, vif); vif 2798 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct ieee80211_vif *vif, u16 queue_idx, vif 2814 drivers/net/wireless/ralink/rt2x00/rt61pci.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); vif 2855 drivers/net/wireless/ralink/rt2x00/rt61pci.c static u64 rt61pci_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 2221 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct ieee80211_vif *vif, u16 queue_idx, vif 2237 drivers/net/wireless/ralink/rt2x00/rt73usb.c retval = rt2x00mac_conf_tx(hw, vif, queue_idx, params); vif 2278 drivers/net/wireless/ralink/rt2x00/rt73usb.c static u64 rt73usb_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 503 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c rts_duration = ieee80211_rts_duration(dev, priv->vif, vif 508 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c rts_duration = ieee80211_ctstoself_duration(dev, priv->vif, vif 528 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c duration = ieee80211_generic_frame_duration(dev, priv->vif, vif 1272 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif) vif 1284 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif = vif 1295 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c skb = ieee80211_beacon_get(dev, vif); vif 1304 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c mgmt->u.beacon.timestamp = cpu_to_le64(rtl8180_get_tsf(dev, vif)); vif 1317 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c usecs_to_jiffies(1024 * vif->bss_conf.beacon_int)); vif 1321 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif) vif 1329 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c if (priv->vif) vif 1332 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c switch (vif->type) { vif 1340 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->vif = vif; vif 1343 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c vif_priv = (struct rtl8180_vif *)&vif->drv_priv; vif 1350 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c le32_to_cpu(*(__le32 *)vif->addr)); vif 1352 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c le16_to_cpu(*(__le16 *)(vif->addr + 4))); vif 1359 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif) vif 1362 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->vif = NULL; vif 1419 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif, u16 queue, vif 1493 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c struct ieee80211_vif *vif, vif 1502 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c vif_priv = (struct rtl8180_vif *)&vif->drv_priv; vif 1511 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 1535 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c priv->vif, vif 108 drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8180.h struct ieee80211_vif *vif; vif 261 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c rts_dur = ieee80211_rts_duration(dev, priv->vif, vif 266 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c rts_dur = ieee80211_ctstoself_duration(dev, priv->vif, vif 299 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c ieee80211_generic_frame_duration(dev, priv->vif, vif 1054 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c static u64 rtl8187_get_tsf(struct ieee80211_hw *dev, struct ieee80211_vif *vif) vif 1067 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct ieee80211_vif *vif = vif 1078 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c skb = ieee80211_beacon_get(dev, vif); vif 1087 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c mgmt->u.beacon.timestamp = cpu_to_le64(rtl8187_get_tsf(dev, vif)); vif 1100 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c usecs_to_jiffies(1024 * vif->bss_conf.beacon_int)); vif 1105 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct ieee80211_vif *vif) vif 1113 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c if (priv->vif) vif 1116 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c switch (vif->type) { vif 1125 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->vif = vif; vif 1128 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c vif_priv = (struct rtl8187_vif *)&vif->drv_priv; vif 1137 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c ((u8 *)vif->addr)[i]); vif 1146 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct ieee80211_vif *vif) vif 1150 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c priv->vif = NULL; vif 1252 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct ieee80211_vif *vif, vif 1261 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c vif_priv = (struct rtl8187_vif *)&vif->drv_priv; vif 1275 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 1341 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c struct ieee80211_vif *vif, u16 queue, vif 33 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c if (!priv->vif || priv->vif->type == NL80211_IFTYPE_UNSPECIFIED) vif 71 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c if (!priv->vif || priv->vif->type == NL80211_IFTYPE_UNSPECIFIED) vif 103 drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.h struct ieee80211_vif *vif; vif 4289 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif, const u8 *mac) vif 4300 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif) vif 4485 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4497 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_set_linktype(priv, vif->type); vif 4504 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 4917 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif = tx_info->control.vif; vif 5004 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c (sta && vif && vif->bss_conf.use_short_preamble)) vif 5463 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif) vif 5469 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c switch (vif->type) { vif 5483 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_set_linktype(priv, vif->type); vif 5489 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif) vif 5544 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif, u16 queue, vif 5661 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c struct ieee80211_vif *vif, vif 5676 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c if (vif->type != NL80211_IFTYPE_STATION) vif 5736 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1716 drivers/net/wireless/realtek/rtlwifi/base.c struct ieee80211_vif *vif, vif 1735 drivers/net/wireless/realtek/rtlwifi/base.c slottime = (vif->bss_conf.use_short_slot ? 9 : 20); vif 1755 drivers/net/wireless/realtek/rtlwifi/base.c int rtl_tx_agg_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1779 drivers/net/wireless/realtek/rtlwifi/base.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1783 drivers/net/wireless/realtek/rtlwifi/base.c int rtl_tx_agg_stop(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1801 drivers/net/wireless/realtek/rtlwifi/base.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 2205 drivers/net/wireless/realtek/rtlwifi/base.c rtlpriv->mac80211.vif); vif 93 drivers/net/wireless/realtek/rtlwifi/base.h struct ieee80211_vif *vif, vif 100 drivers/net/wireless/realtek/rtlwifi/base.h int rtl_tx_agg_start(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 102 drivers/net/wireless/realtek/rtlwifi/base.h int rtl_tx_agg_stop(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 209 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif) vif 216 drivers/net/wireless/realtek/rtlwifi/core.c if (mac->vif) { vif 218 drivers/net/wireless/realtek/rtlwifi/core.c "vif has been set!! mac->vif = 0x%p\n", mac->vif); vif 222 drivers/net/wireless/realtek/rtlwifi/core.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; vif 227 drivers/net/wireless/realtek/rtlwifi/core.c switch (ieee80211_vif_type_p2p(vif)) { vif 290 drivers/net/wireless/realtek/rtlwifi/core.c vif->type); vif 297 drivers/net/wireless/realtek/rtlwifi/core.c "p2p role %x\n", vif->type); vif 302 drivers/net/wireless/realtek/rtlwifi/core.c mac->vif = vif; vif 303 drivers/net/wireless/realtek/rtlwifi/core.c mac->opmode = vif->type; vif 304 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->cfg->ops->set_network_type(hw, vif->type); vif 305 drivers/net/wireless/realtek/rtlwifi/core.c memcpy(mac->mac_addr, vif->addr, ETH_ALEN); vif 318 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif) vif 326 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_AP || vif 327 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_ADHOC || vif 328 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 341 drivers/net/wireless/realtek/rtlwifi/core.c mac->vif = NULL; vif 352 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 358 drivers/net/wireless/realtek/rtlwifi/core.c rtl_op_remove_interface(hw, vif); vif 360 drivers/net/wireless/realtek/rtlwifi/core.c vif->type = new_type; vif 361 drivers/net/wireless/realtek/rtlwifi/core.c vif->p2p = p2p; vif 362 drivers/net/wireless/realtek/rtlwifi/core.c ret = rtl_op_add_interface(hw, vif); vif 572 drivers/net/wireless/realtek/rtlwifi/core.c ieee80211_resume_disconnect(mac->vif); vif 889 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 909 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 918 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_ADHOC) vif 935 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 983 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, u16 queue, vif 1007 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif) vif 1010 drivers/net/wireless/realtek/rtlwifi/core.c struct sk_buff *skb = ieee80211_beacon_get(hw, vif); vif 1020 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 1030 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_ADHOC || vif 1031 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_AP || vif 1032 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 1049 drivers/net/wireless/realtek/rtlwifi/core.c send_beacon_frame(hw, vif); vif 1100 drivers/net/wireless/realtek/rtlwifi/core.c sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); vif 1136 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_STATION) vif 1185 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->cfg->ops->set_network_type(hw, vif->type); vif 1236 drivers/net/wireless/realtek/rtlwifi/core.c sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); vif 1271 drivers/net/wireless/realtek/rtlwifi/core.c sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); vif 1302 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1341 drivers/net/wireless/realtek/rtlwifi/core.c static u64 rtl_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1351 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, u64 tsf) vif 1361 drivers/net/wireless/realtek/rtlwifi/core.c static void rtl_op_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1370 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 1385 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 1398 drivers/net/wireless/realtek/rtlwifi/core.c return rtl_tx_agg_start(hw, vif, sta, tid, ssn); vif 1404 drivers/net/wireless/realtek/rtlwifi/core.c return rtl_tx_agg_stop(hw, vif, sta, tid); vif 1426 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 1465 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif) vif 1505 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 1525 drivers/net/wireless/realtek/rtlwifi/core.c if ((vif->type == NL80211_IFTYPE_ADHOC || vif 1526 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_MESH_POINT) && vif 1571 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_ADHOC) vif 1591 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_AP || vif 1592 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 1600 drivers/net/wireless/realtek/rtlwifi/core.c if (!group_key || vif->type == NL80211_IFTYPE_ADHOC || vif 1675 drivers/net/wireless/realtek/rtlwifi/core.c if (vif->type == NL80211_IFTYPE_AP || vif 1676 drivers/net/wireless/realtek/rtlwifi/core.c vif->type == NL80211_IFTYPE_MESH_POINT) { vif 1738 drivers/net/wireless/realtek/rtlwifi/core.c struct ieee80211_vif *vif, vif 1103 drivers/net/wireless/realtek/rtlwifi/pci.c pskb = ieee80211_beacon_get(hw, mac->vif); vif 643 drivers/net/wireless/realtek/rtlwifi/ps.c MSECS(sleep_intv * mac->vif->bss_conf.beacon_int - 40)); vif 416 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c sta = get_sta(hw, mac->vif, mac->bssid); vif 541 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c sta = ieee80211_find_sta(mac->vif, mac->bssid); vif 563 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c mac->vif->bss_conf.beacon_int); vif 571 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c max_wakeup_period = mac->vif->bss_conf.beacon_int; vif 573 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c max_wakeup_period = mac->vif->bss_conf.beacon_int * vif 574 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c mac->vif->bss_conf.dtim_period; vif 606 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c mac->vif->bss_conf.beacon_int); vif 1488 drivers/net/wireless/realtek/rtlwifi/wifi.h struct ieee80211_vif *vif; vif 3219 drivers/net/wireless/realtek/rtlwifi/wifi.h struct ieee80211_vif *vif, vif 3222 drivers/net/wireless/realtek/rtlwifi/wifi.h return ieee80211_find_sta(vif, bssid); vif 3230 drivers/net/wireless/realtek/rtlwifi/wifi.h return ieee80211_find_sta(mac->vif, mac_addr); vif 427 drivers/net/wireless/realtek/rtw88/fw.c rtw_beacon_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 431 drivers/net/wireless/realtek/rtw88/fw.c if (vif->type != NL80211_IFTYPE_AP && vif 432 drivers/net/wireless/realtek/rtw88/fw.c vif->type != NL80211_IFTYPE_ADHOC && vif 433 drivers/net/wireless/realtek/rtw88/fw.c !ieee80211_vif_is_mesh(vif)) { vif 439 drivers/net/wireless/realtek/rtw88/fw.c skb_new = ieee80211_beacon_get(hw, vif); vif 446 drivers/net/wireless/realtek/rtw88/fw.c struct ieee80211_vif *vif, vif 453 drivers/net/wireless/realtek/rtw88/fw.c skb_new = rtw_beacon_get(hw, vif); vif 456 drivers/net/wireless/realtek/rtw88/fw.c skb_new = ieee80211_pspoll_get(hw, vif); vif 459 drivers/net/wireless/realtek/rtw88/fw.c skb_new = ieee80211_proberesp_get(hw, vif); vif 462 drivers/net/wireless/realtek/rtw88/fw.c skb_new = ieee80211_nullfunc_get(hw, vif, false); vif 465 drivers/net/wireless/realtek/rtw88/fw.c skb_new = ieee80211_nullfunc_get(hw, vif, true); vif 607 drivers/net/wireless/realtek/rtw88/fw.c struct ieee80211_vif *vif, u32 *size) vif 623 drivers/net/wireless/realtek/rtw88/fw.c iter = rtw_get_rsvd_page_skb(hw, vif, rsvd_pkt->type); vif 697 drivers/net/wireless/realtek/rtw88/fw.c rtw_download_beacon(struct rtw_dev *rtwdev, struct ieee80211_vif *vif) vif 703 drivers/net/wireless/realtek/rtw88/fw.c skb = rtw_beacon_get(hw, vif); vif 720 drivers/net/wireless/realtek/rtw88/fw.c int rtw_fw_download_rsvd_page(struct rtw_dev *rtwdev, struct ieee80211_vif *vif) vif 726 drivers/net/wireless/realtek/rtw88/fw.c buf = rtw_build_rsvd_page(rtwdev, vif, &size); vif 743 drivers/net/wireless/realtek/rtw88/fw.c ret = rtw_download_beacon(rtwdev, vif); vif 291 drivers/net/wireless/realtek/rtw88/fw.h struct ieee80211_vif *vif); vif 122 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif) vif 125 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 132 drivers/net/wireless/realtek/rtw88/mac80211.c rtwvif->vif = vif; vif 142 drivers/net/wireless/realtek/rtw88/mac80211.c switch (vif->type) { vif 159 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->mac_addr, vif->addr); vif 169 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_info(rtwdev, "start vif %pM on port %d\n", vif->addr, rtwvif->port); vif 174 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif) vif 177 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 180 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_info(rtwdev, "stop vif %pM on port %d\n", vif->addr, rtwvif->port); vif 242 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 247 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 265 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_fw_download_rsvd_page(rtwdev, vif); vif 285 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_fw_download_rsvd_page(rtwdev, vif); vif 309 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 325 drivers/net/wireless/realtek/rtw88/mac80211.c si->vif = vif; vif 343 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 364 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 432 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 440 drivers/net/wireless/realtek/rtw88/mac80211.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 445 drivers/net/wireless/realtek/rtw88/mac80211.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 460 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 464 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 484 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif) vif 487 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 495 drivers/net/wireless/realtek/rtw88/mac80211.c ether_addr_copy(rtwvif->mac_addr, vif->addr); vif 505 drivers/net/wireless/realtek/rtw88/mac80211.c struct ieee80211_vif *vif, vif 121 drivers/net/wireless/realtek/rtw88/main.c struct ieee80211_vif *vif) vif 124 drivers/net/wireless/realtek/rtw88/main.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 126 drivers/net/wireless/realtek/rtw88/main.c if (vif->type == NL80211_IFTYPE_STATION) { vif 127 drivers/net/wireless/realtek/rtw88/main.c if (vif->bss_conf.assoc) { vif 506 drivers/net/wireless/realtek/rtw88/main.h struct ieee80211_vif *vif; vif 584 drivers/net/wireless/realtek/rtw88/main.h struct ieee80211_vif *vif; vif 604 drivers/net/wireless/realtek/rtw88/main.h struct ieee80211_vif *vif; vif 868 drivers/net/wireless/realtek/rtw88/pci.c rtw_rx_stats(rtwdev, pkt_stat.vif, new); vif 38 drivers/net/wireless/realtek/rtw88/ps.c struct ieee80211_vif *vif) vif 41 drivers/net/wireless/realtek/rtw88/ps.c struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; vif 9 drivers/net/wireless/realtek/rtw88/rx.c void rtw_rx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, vif 24 drivers/net/wireless/realtek/rtw88/rx.c if (vif) { vif 25 drivers/net/wireless/realtek/rtw88/rx.c rtwvif = (struct rtw_vif *)vif->drv_priv; vif 43 drivers/net/wireless/realtek/rtw88/rx.c struct ieee80211_vif *vif) vif 53 drivers/net/wireless/realtek/rtw88/rx.c if (ether_addr_equal(vif->bss_conf.bssid, bssid) && vif 54 drivers/net/wireless/realtek/rtw88/rx.c (ether_addr_equal(vif->addr, hdr->addr1) || vif 57 drivers/net/wireless/realtek/rtw88/rx.c vif->addr); vif 33 drivers/net/wireless/realtek/rtw88/rx.h void rtw_rx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, vif 11 drivers/net/wireless/realtek/rtw88/tx.c void rtw_tx_stats(struct rtw_dev *rtwdev, struct ieee80211_vif *vif, vif 26 drivers/net/wireless/realtek/rtw88/tx.c if (vif) { vif 27 drivers/net/wireless/realtek/rtw88/tx.c rtwvif = (struct rtw_vif *)vif->drv_priv; vif 300 drivers/net/wireless/realtek/rtw88/tx.c struct ieee80211_vif *vif = NULL; vif 307 drivers/net/wireless/realtek/rtw88/tx.c vif = si->vif; vif 346 drivers/net/wireless/realtek/rtw88/tx.c rtw_tx_stats(rtwdev, vif, skb); vif 100 drivers/net/wireless/rsi/rsi_91x_core.c struct ieee80211_vif *vif; vif 113 drivers/net/wireless/rsi/rsi_91x_core.c vif = rsi_get_vif(adapter, wh->addr2); vif 115 drivers/net/wireless/rsi/rsi_91x_core.c vif, vif 355 drivers/net/wireless/rsi/rsi_91x_core.c struct ieee80211_vif *vif; vif 359 drivers/net/wireless/rsi/rsi_91x_core.c vif = adapter->vifs[i]; vif 360 drivers/net/wireless/rsi/rsi_91x_core.c if (!vif) vif 362 drivers/net/wireless/rsi/rsi_91x_core.c if (!memcmp(vif->addr, mac, ETH_ALEN)) vif 363 drivers/net/wireless/rsi/rsi_91x_core.c return vif; vif 381 drivers/net/wireless/rsi/rsi_91x_core.c struct ieee80211_vif *vif; vif 406 drivers/net/wireless/rsi/rsi_91x_core.c vif = rsi_get_vif(adapter, wh->addr2); vif 407 drivers/net/wireless/rsi/rsi_91x_core.c if (!vif) vif 409 drivers/net/wireless/rsi/rsi_91x_core.c tx_params->vif = vif; vif 410 drivers/net/wireless/rsi/rsi_91x_core.c tx_params->vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; vif 416 drivers/net/wireless/rsi/rsi_91x_core.c struct ieee80211_bss_conf *bss = &vif->bss_conf; vif 423 drivers/net/wireless/rsi/rsi_91x_core.c vif); vif 447 drivers/net/wireless/rsi/rsi_91x_core.c if (((vif->type == NL80211_IFTYPE_AP) || vif 448 drivers/net/wireless/rsi/rsi_91x_core.c (vif->type == NL80211_IFTYPE_P2P_GO)) && vif 64 drivers/net/wireless/rsi/rsi_91x_hal.c struct ieee80211_vif *vif; vif 78 drivers/net/wireless/rsi/rsi_91x_hal.c vif = tx_params->vif; vif 134 drivers/net/wireless/rsi/rsi_91x_hal.c if (((vif->type == NL80211_IFTYPE_AP) || vif 135 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_GO)) && vif 155 drivers/net/wireless/rsi/rsi_91x_hal.c struct ieee80211_vif *vif; vif 168 drivers/net/wireless/rsi/rsi_91x_hal.c vif = info->control.vif; vif 200 drivers/net/wireless/rsi/rsi_91x_hal.c if (((vif->type == NL80211_IFTYPE_STATION) || vif 201 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) && vif 269 drivers/net/wireless/rsi/rsi_91x_hal.c if ((vif->type == NL80211_IFTYPE_AP) || vif 270 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 277 drivers/net/wireless/rsi/rsi_91x_hal.c if (((vif->type == NL80211_IFTYPE_AP) || vif 278 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_GO)) && vif 293 drivers/net/wireless/rsi/rsi_91x_hal.c struct ieee80211_vif *vif; vif 304 drivers/net/wireless/rsi/rsi_91x_hal.c if (!info->control.vif) vif 306 drivers/net/wireless/rsi/rsi_91x_hal.c vif = info->control.vif; vif 307 drivers/net/wireless/rsi/rsi_91x_hal.c bss = &vif->bss_conf; vif 309 drivers/net/wireless/rsi/rsi_91x_hal.c if (((vif->type == NL80211_IFTYPE_STATION) || vif 310 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) && vif 361 drivers/net/wireless/rsi/rsi_91x_hal.c bss = &info->control.vif->bss_conf; vif 427 drivers/net/wireless/rsi/rsi_91x_hal.c struct ieee80211_vif *vif; vif 433 drivers/net/wireless/rsi/rsi_91x_hal.c vif = adapter->vifs[i]; vif 434 drivers/net/wireless/rsi/rsi_91x_hal.c if (!vif) vif 436 drivers/net/wireless/rsi/rsi_91x_hal.c if ((vif->type == NL80211_IFTYPE_AP) || vif 437 drivers/net/wireless/rsi/rsi_91x_hal.c (vif->type == NL80211_IFTYPE_P2P_GO)) vif 440 drivers/net/wireless/rsi/rsi_91x_hal.c if (!vif) vif 443 drivers/net/wireless/rsi/rsi_91x_hal.c vif, vif 234 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 240 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_bss_conf *bss = &vif->bss_conf; vif 265 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!rsi_send_bgscan_probe_req(common, vif)) { vif 276 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 460 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 464 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; vif 469 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; vif 472 drivers/net/wireless/rsi/rsi_91x_mac80211.c intf_mode = rsi_map_intf_mode(vif->type); vif 476 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif->type); vif 480 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_P2P_DEVICE) || vif 481 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT) || vif 482 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) vif 488 drivers/net/wireless/rsi/rsi_91x_mac80211.c !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { vif 499 drivers/net/wireless/rsi/rsi_91x_mac80211.c adapter->vifs[vap_idx] = vif; vif 503 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (rsi_set_vap_capabilities(common, intf_mode, vif->addr, vif 510 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 511 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 532 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 548 drivers/net/wireless/rsi/rsi_91x_mac80211.c opmode = rsi_map_intf_mode(vif->type); vif 557 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif == adapter->vifs[i]) { vif 558 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsi_set_vap_capabilities(common, opmode, vif->addr, vif 582 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif; vif 593 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif = adapter->vifs[i]; vif 594 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 596 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif->type == NL80211_IFTYPE_STATION) { vif 597 drivers/net/wireless/rsi/rsi_91x_mac80211.c bss = &vif->bss_conf; vif 606 drivers/net/wireless/rsi/rsi_91x_mac80211.c (rsi_get_connected_channel(vif) != channel)) { vif 619 drivers/net/wireless/rsi/rsi_91x_mac80211.c (rsi_get_connected_channel(vif) == channel)) { vif 688 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, *sta_vif = NULL; vif 693 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif = adapter->vifs[i]; vif 694 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 697 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 698 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 702 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_STATION || vif 703 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif->type == NL80211_IFTYPE_P2P_CLIENT) && vif 704 drivers/net/wireless/rsi/rsi_91x_mac80211.c (!sta_vif || vif->bss_conf.assoc)) vif 705 drivers/net/wireless/rsi/rsi_91x_mac80211.c sta_vif = vif; vif 738 drivers/net/wireless/rsi/rsi_91x_mac80211.c u16 rsi_get_connected_channel(struct ieee80211_vif *vif) vif 743 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 746 drivers/net/wireless/rsi/rsi_91x_mac80211.c bss = &vif->bss_conf; vif 756 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 763 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 766 drivers/net/wireless/rsi/rsi_91x_mac80211.c channel = vif->bss_conf.chandef.chan; vif 788 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 794 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_bss_conf *bss = &vif->bss_conf; vif 816 drivers/net/wireless/rsi/rsi_91x_mac80211.c bss_conf->assoc_capability, vif); vif 824 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsi_conf_uapsd(adapter, vif); vif 841 drivers/net/wireless/rsi/rsi_91x_mac80211.c ((vif->type == NL80211_IFTYPE_AP) || vif 842 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO))) { vif 885 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, u16 queue, vif 943 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 961 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 962 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 979 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif); vif 992 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif); vif 996 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif->type == NL80211_IFTYPE_STATION && vif 1018 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 1031 drivers/net/wireless/rsi/rsi_91x_mac80211.c status = rsi_hal_key_config(hw, vif, key, sta); vif 1049 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif->type == NL80211_IFTYPE_STATION) vif 1053 drivers/net/wireless/rsi/rsi_91x_mac80211.c status = rsi_hal_key_config(hw, vif, key, sta); vif 1076 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 1093 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif == adapter->vifs[ii]) vif 1102 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1103 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 1137 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_STATION) || vif 1138 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) vif 1140 drivers/net/wireless/rsi/rsi_91x_mac80211.c else if ((vif->type == NL80211_IFTYPE_AP) || vif 1141 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) vif 1143 drivers/net/wireless/rsi/rsi_91x_mac80211.c ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1157 drivers/net/wireless/rsi/rsi_91x_mac80211.c ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); vif 1161 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_STATION) || vif 1162 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) vif 1164 drivers/net/wireless/rsi/rsi_91x_mac80211.c else if ((vif->type == NL80211_IFTYPE_AP) || vif 1165 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) vif 1214 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 1245 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 1262 drivers/net/wireless/rsi/rsi_91x_mac80211.c ieee80211_cqm_rssi_notify(vif, event, rssi, GFP_KERNEL); vif 1283 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif; vif 1322 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif = adapter->vifs[i]; vif 1323 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 1325 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1326 drivers/net/wireless/rsi/rsi_91x_mac80211.c bss = &vif->bss_conf; vif 1335 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsi_perform_cqm(common, hdr->addr2, rxs->signal, vif); vif 1416 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 1429 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1430 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 1481 drivers/net/wireless/rsi/rsi_91x_mac80211.c sta, sta_idx, 0, vif); vif 1495 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif); vif 1502 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_STATION) || vif 1503 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) { vif 1532 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif, vif 1537 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_bss_conf *bss = &vif->bss_conf; vif 1544 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1545 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 1559 drivers/net/wireless/rsi/rsi_91x_mac80211.c 0, vif); vif 1573 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_STATION) || vif 1574 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) { vif 1737 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif; vif 1741 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif = adapter->vifs[cnt]; vif 1742 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (!vif) vif 1745 drivers/net/wireless/rsi/rsi_91x_mac80211.c if ((vif->type == NL80211_IFTYPE_AP) || vif 1746 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_GO)) { vif 1747 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsi_switch_channel(adapter, vif); vif 1750 drivers/net/wireless/rsi/rsi_91x_mac80211.c if (((vif->type == NL80211_IFTYPE_STATION) || vif 1751 drivers/net/wireless/rsi/rsi_91x_mac80211.c (vif->type == NL80211_IFTYPE_P2P_CLIENT)) && vif 1752 drivers/net/wireless/rsi/rsi_91x_mac80211.c vif->bss_conf.assoc) { vif 1753 drivers/net/wireless/rsi/rsi_91x_mac80211.c rsi_switch_channel(adapter, vif); vif 1775 drivers/net/wireless/rsi/rsi_91x_mac80211.c static int rsi_mac80211_roc(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1810 drivers/net/wireless/rsi/rsi_91x_mac80211.c common->roc_vif = vif; vif 1822 drivers/net/wireless/rsi/rsi_91x_mac80211.c struct ieee80211_vif *vif) vif 537 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 541 drivers/net/wireless/rsi/rsi_91x_mgmt.c u16 vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; vif 590 drivers/net/wireless/rsi/rsi_91x_mgmt.c if ((vif->type == NL80211_IFTYPE_STATION) && vif 793 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 814 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (vif->type == NL80211_IFTYPE_AP) vif 1298 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 1345 drivers/net/wireless/rsi/rsi_91x_mgmt.c if (vif->type == NL80211_IFTYPE_STATION) { vif 1458 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 1469 drivers/net/wireless/rsi/rsi_91x_mgmt.c vif); vif 1471 drivers/net/wireless/rsi/rsi_91x_mgmt.c rsi_send_auto_rate_request(common, sta, sta_id, vif); vif 1484 drivers/net/wireless/rsi/rsi_91x_mgmt.c vif); vif 1613 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 1616 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_bss_conf *bss = &vif->bss_conf; vif 1850 drivers/net/wireless/rsi/rsi_91x_mgmt.c struct ieee80211_vif *vif) vif 1888 drivers/net/wireless/rsi/rsi_91x_mgmt.c probereq_skb = ieee80211_probereq_get(common->priv->hw, vif->addr, ssid, vif 69 drivers/net/wireless/rsi/rsi_91x_ps.c void rsi_enable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif) vif 78 drivers/net/wireless/rsi/rsi_91x_ps.c if (rsi_send_ps_request(adapter, true, vif)) { vif 89 drivers/net/wireless/rsi/rsi_91x_ps.c void rsi_disable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif) vif 98 drivers/net/wireless/rsi/rsi_91x_ps.c if (rsi_send_ps_request(adapter, false, vif)) { vif 108 drivers/net/wireless/rsi/rsi_91x_ps.c void rsi_conf_uapsd(struct rsi_hw *adapter, struct ieee80211_vif *vif) vif 115 drivers/net/wireless/rsi/rsi_91x_ps.c ret = rsi_send_ps_request(adapter, false, vif); vif 117 drivers/net/wireless/rsi/rsi_91x_ps.c ret = rsi_send_ps_request(adapter, true, vif); vif 82 drivers/net/wireless/rsi/rsi_common.h u16 rsi_get_connected_channel(struct ieee80211_vif *vif); vif 140 drivers/net/wireless/rsi/rsi_main.h struct ieee80211_vif *vif; vif 722 drivers/net/wireless/rsi/rsi_mgmt.h struct ieee80211_vif *vif); vif 730 drivers/net/wireless/rsi/rsi_mgmt.h struct ieee80211_vif *vif); vif 734 drivers/net/wireless/rsi/rsi_mgmt.h u16 assoc_cap, struct ieee80211_vif *vif); vif 753 drivers/net/wireless/rsi/rsi_mgmt.h struct ieee80211_vif *vif); vif 757 drivers/net/wireless/rsi/rsi_mgmt.h struct ieee80211_vif *vif); vif 58 drivers/net/wireless/rsi/rsi_ps.h void rsi_enable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif); vif 59 drivers/net/wireless/rsi/rsi_ps.h void rsi_disable_ps(struct rsi_hw *adapter, struct ieee80211_vif *vif); vif 62 drivers/net/wireless/rsi/rsi_ps.h void rsi_conf_uapsd(struct rsi_hw *adapter, struct ieee80211_vif *vif); vif 94 drivers/net/wireless/st/cw1200/cw1200.h struct ieee80211_vif *vif; vif 215 drivers/net/wireless/st/cw1200/pm.c if (!priv->vif->p2p && vif 324 drivers/net/wireless/st/cw1200/pm.c if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { vif 52 drivers/net/wireless/st/cw1200/scan.c struct ieee80211_vif *vif, vif 62 drivers/net/wireless/st/cw1200/scan.c if (!priv->vif) vif 82 drivers/net/wireless/st/cw1200/scan.c frame.skb = ieee80211_probereq_get(hw, priv->vif->addr, NULL, 0, vif 40 drivers/net/wireless/st/cw1200/scan.h struct ieee80211_vif *vif, vif 37 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 173 drivers/net/wireless/st/cw1200/sta.c if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) vif 198 drivers/net/wireless/st/cw1200/sta.c skb = ieee80211_nullfunc_get(priv->hw, priv->vif, false); vif 206 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif) vif 212 drivers/net/wireless/st/cw1200/sta.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | vif 223 drivers/net/wireless/st/cw1200/sta.c switch (vif->type) { vif 228 drivers/net/wireless/st/cw1200/sta.c priv->mode = vif->type; vif 235 drivers/net/wireless/st/cw1200/sta.c priv->vif = vif; vif 236 drivers/net/wireless/st/cw1200/sta.c memcpy(priv->mac_addr, vif->addr, ETH_ALEN); vif 249 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif) vif 291 drivers/net/wireless/st/cw1200/sta.c priv->vif = NULL; vif 306 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 312 drivers/net/wireless/st/cw1200/sta.c p2p, vif->type, vif->p2p); vif 314 drivers/net/wireless/st/cw1200/sta.c if (new_type != vif->type || vif->p2p != p2p) { vif 315 drivers/net/wireless/st/cw1200/sta.c cw1200_remove_interface(dev, vif); vif 316 drivers/net/wireless/st/cw1200/sta.c vif->type = new_type; vif 317 drivers/net/wireless/st/cw1200/sta.c vif->p2p = p2p; vif 318 drivers/net/wireless/st/cw1200/sta.c ret = cw1200_add_interface(dev, vif); vif 443 drivers/net/wireless/st/cw1200/sta.c bool is_p2p = priv->vif && priv->vif->p2p; vif 444 drivers/net/wireless/st/cw1200/sta.c bool is_sta = priv->vif && NL80211_IFTYPE_STATION == priv->vif->type; vif 608 drivers/net/wireless/st/cw1200/sta.c int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, vif 681 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 928 drivers/net/wireless/st/cw1200/sta.c void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1019 drivers/net/wireless/st/cw1200/sta.c ieee80211_cqm_rssi_notify(priv->vif, cqm_evt, rcpi_rssi, vif 1172 drivers/net/wireless/st/cw1200/sta.c ieee80211_connection_loss(priv->vif); vif 1207 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; vif 1228 drivers/net/wireless/st/cw1200/sta.c bssid = priv->vif->bss_conf.bssid; vif 1298 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { vif 1445 drivers/net/wireless/st/cw1200/sta.c ieee80211_connection_loss(priv->vif); vif 1539 drivers/net/wireless/st/cw1200/sta.c int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1570 drivers/net/wireless/st/cw1200/sta.c int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1594 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 1635 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 1644 drivers/net/wireless/st/cw1200/sta.c __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); vif 1658 drivers/net/wireless/st/cw1200/sta.c __cw1200_sta_notify(priv->hw, priv->vif, vif 1673 drivers/net/wireless/st/cw1200/sta.c skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, vif 1766 drivers/net/wireless/st/cw1200/sta.c if (!priv->vif->p2p) { vif 1797 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 1887 drivers/net/wireless/st/cw1200/sta.c ieee80211_connection_loss(vif); vif 1908 drivers/net/wireless/st/cw1200/sta.c sta = ieee80211_find_sta(vif, info->bssid); vif 1983 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { vif 2127 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_vif *vif, vif 2202 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) vif 2205 drivers/net/wireless/st/cw1200/sta.c frame.skb = ieee80211_beacon_get_tim(priv->hw, priv->vif, vif 2224 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { vif 2246 drivers/net/wireless/st/cw1200/sta.c frame.skb = ieee80211_pspoll_get(priv->hw, priv->vif); vif 2265 drivers/net/wireless/st/cw1200/sta.c frame.skb = ieee80211_nullfunc_get(priv->hw, priv->vif, false); vif 2310 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; vif 2312 drivers/net/wireless/st/cw1200/sta.c .mode = priv->vif->p2p ? vif 2350 drivers/net/wireless/st/cw1200/sta.c if (!ret && priv->vif->p2p) { vif 2365 drivers/net/wireless/st/cw1200/sta.c struct ieee80211_bss_conf *conf = &priv->vif->bss_conf; vif 18 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif); vif 20 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif); vif 22 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif, vif 30 drivers/net/wireless/st/cw1200/sta.h int cw1200_conf_tx(struct ieee80211_hw *dev, struct ieee80211_vif *vif, vif 35 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 40 drivers/net/wireless/st/cw1200/sta.h void cw1200_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 96 drivers/net/wireless/st/cw1200/sta.h int cw1200_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 98 drivers/net/wireless/st/cw1200/sta.h int cw1200_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 100 drivers/net/wireless/st/cw1200/sta.h void cw1200_sta_notify(struct ieee80211_hw *dev, struct ieee80211_vif *vif, vif 104 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif, vif 108 drivers/net/wireless/st/cw1200/sta.h struct ieee80211_vif *vif, vif 816 drivers/net/wireless/st/cw1200/txrx.c if (memcmp(priv->vif->addr, pspoll->bssid, ETH_ALEN)) vif 820 drivers/net/wireless/st/cw1200/txrx.c sta = ieee80211_find_sta(priv->vif, pspoll->ta); vif 982 drivers/net/wireless/st/cw1200/txrx.c sta = ieee80211_find_sta(priv->vif, hdr->addr1); vif 1016 drivers/net/wireless/st/cw1200/txrx.c bool p2p = priv->vif && priv->vif->p2p; vif 1165 drivers/net/wireless/st/cw1200/txrx.c !arg->status && priv->vif && vif 1166 drivers/net/wireless/st/cw1200/txrx.c ether_addr_equal(ieee80211_get_SA(frame), priv->vif->bss_conf.bssid)) { vif 1186 drivers/net/wireless/st/cw1200/txrx.c (priv->vif->bss_conf.assoc || vif 1187 drivers/net/wireless/st/cw1200/txrx.c priv->vif->bss_conf.ibss_joined)) { vif 121 drivers/net/wireless/ti/wl1251/event.c if (wl->vif && wl->vif->type == NL80211_IFTYPE_STATION) vif 122 drivers/net/wireless/ti/wl1251/event.c ieee80211_beacon_loss(wl->vif); vif 133 drivers/net/wireless/ti/wl1251/event.c if (wl->vif && wl->rssi_thold) { vif 137 drivers/net/wireless/ti/wl1251/event.c ieee80211_cqm_rssi_notify(wl->vif, vif 145 drivers/net/wireless/ti/wl1251/event.c ieee80211_cqm_rssi_notify(wl->vif, vif 481 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif) vif 486 drivers/net/wireless/ti/wl1251/main.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | vif 491 drivers/net/wireless/ti/wl1251/main.c vif->type, vif->addr); vif 494 drivers/net/wireless/ti/wl1251/main.c if (wl->vif) { vif 499 drivers/net/wireless/ti/wl1251/main.c wl->vif = vif; vif 501 drivers/net/wireless/ti/wl1251/main.c switch (vif->type) { vif 513 drivers/net/wireless/ti/wl1251/main.c if (!ether_addr_equal_unaligned(wl->mac_addr, vif->addr)) { vif 514 drivers/net/wireless/ti/wl1251/main.c memcpy(wl->mac_addr, vif->addr, ETH_ALEN); vif 527 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif) vif 533 drivers/net/wireless/ti/wl1251/main.c wl->vif = NULL; vif 549 drivers/net/wireless/ti/wl1251/main.c skb = ieee80211_nullfunc_get(wl->hw, wl->vif, false); vif 640 drivers/net/wireless/ti/wl1251/main.c if (wl->vif == NULL) { vif 867 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif, vif 973 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif, vif 1012 drivers/net/wireless/ti/wl1251/main.c skb = ieee80211_probereq_get(wl->hw, wl->vif->addr, ssid, ssid_len, vif 1078 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif, vif 1129 drivers/net/wireless/ti/wl1251/main.c skb = ieee80211_pspoll_get(wl->hw, wl->vif); vif 1189 drivers/net/wireless/ti/wl1251/main.c beacon = ieee80211_beacon_get(hw, vif); vif 1285 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_vif *vif, u16 queue, vif 1613 drivers/net/wireless/ti/wl1251/main.c wl->vif = NULL; vif 310 drivers/net/wireless/ti/wl1251/tx.c if ((wl->vif == NULL) && !wl->joined) vif 381 drivers/net/wireless/ti/wl1251/wl1251.h struct ieee80211_vif *vif; vif 1637 drivers/net/wireless/ti/wl12xx/main.c struct ieee80211_vif *vif, vif 1641 drivers/net/wireless/ti/wl12xx/main.c return wlcore_set_key(wl, cmd, vif, sta, key_conf); vif 84 drivers/net/wireless/ti/wl12xx/scan.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 143 drivers/net/wireless/ti/wl12xx/scan.c memcpy(cmd->addr, vif->addr, ETH_ALEN); vif 209 drivers/net/wireless/ti/wl18xx/event.c struct ieee80211_vif *vif; vif 216 drivers/net/wireless/ti/wl18xx/event.c vif = wl12xx_wlvif_to_vif(wlvif); vif 222 drivers/net/wireless/ti/wl18xx/event.c addr = vif->bss_conf.bssid; vif 226 drivers/net/wireless/ti/wl18xx/event.c sta = ieee80211_find_sta(vif, addr); vif 229 drivers/net/wireless/ti/wl18xx/event.c ieee80211_stop_rx_ba_session(vif, vif 1542 drivers/net/wireless/ti/wl18xx/main.c struct ieee80211_vif *vif, vif 1556 drivers/net/wireless/ti/wl18xx/main.c ret = wlcore_set_key(wl, cmd, vif, sta, key_conf); vif 18 drivers/net/wireless/ti/wl18xx/tx.c void wl18xx_get_last_tx_rate(struct wl1271 *wl, struct ieee80211_vif *vif, vif 50 drivers/net/wireless/ti/wl18xx/tx.c if (fw_rate > CONF_HW_RATE_INDEX_MCS7_SGI && vif) { vif 51 drivers/net/wireless/ti/wl18xx/tx.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 95 drivers/net/wireless/ti/wl18xx/tx.c wl18xx_get_last_tx_rate(wl, info->control.vif, vif 1085 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *vif, vif 509 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 531 drivers/net/wireless/ti/wlcore/cmd.c memcpy(cmd->sta.bssid, vif->bss_conf.bssid, ETH_ALEN); vif 621 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 622 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 629 drivers/net/wireless/ti/wlcore/cmd.c if (!ieee80211_vif_is_mesh(vif)) { vif 761 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 763 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 784 drivers/net/wireless/ti/wlcore/cmd.c memcpy(cmd->ibss.bssid, vif->bss_conf.bssid, ETH_ALEN); vif 801 drivers/net/wireless/ti/wlcore/cmd.c vif->bss_conf.bssid); vif 1092 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 1096 drivers/net/wireless/ti/wlcore/cmd.c skb = ieee80211_nullfunc_get(wl->hw, vif, false); vif 1117 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 1121 drivers/net/wireless/ti/wlcore/cmd.c skb = ieee80211_pspoll_get(wl->hw, vif); vif 1140 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 1149 drivers/net/wireless/ti/wlcore/cmd.c skb = ieee80211_probereq_get(wl->hw, vif->addr, ssid, ssid_len, vif 1186 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 1191 drivers/net/wireless/ti/wlcore/cmd.c skb = ieee80211_ap_probereq_get(wl->hw, vif); vif 1218 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 1248 drivers/net/wireless/ti/wlcore/cmd.c memcpy(tmpl->sender_hw, vif->addr, ETH_ALEN); vif 1293 drivers/net/wireless/ti/wlcore/cmd.c memcpy(hdr->addr1, vif->bss_conf.bssid, ETH_ALEN); vif 1294 drivers/net/wireless/ti/wlcore/cmd.c memcpy(hdr->addr2, vif->addr, ETH_ALEN); vif 1305 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_build_qos_null_data(struct wl1271 *wl, struct ieee80211_vif *vif) vif 1307 drivers/net/wireless/ti/wlcore/cmd.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 1312 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr1, vif->bss_conf.bssid, ETH_ALEN); vif 1313 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr2, vif->addr, ETH_ALEN); vif 1314 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr3, vif->bss_conf.bssid, ETH_ALEN); vif 57 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_build_qos_null_data(struct wl1271 *wl, struct ieee80211_vif *vif); vif 103 drivers/net/wireless/ti/wlcore/event.c struct ieee80211_vif *vif; vif 116 drivers/net/wireless/ti/wlcore/event.c vif = wl12xx_wlvif_to_vif(wlvif); vif 118 drivers/net/wireless/ti/wlcore/event.c ieee80211_cqm_rssi_notify(vif, event, metric, vif 127 drivers/net/wireless/ti/wlcore/event.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 133 drivers/net/wireless/ti/wlcore/event.c ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, vif 134 drivers/net/wireless/ti/wlcore/event.c vif->bss_conf.bssid); vif 144 drivers/net/wireless/ti/wlcore/event.c ieee80211_stop_rx_ba_session(vif, vif 206 drivers/net/wireless/ti/wlcore/event.c struct ieee80211_vif *vif; vif 220 drivers/net/wireless/ti/wlcore/event.c vif = wl12xx_wlvif_to_vif(wlvif); vif 223 drivers/net/wireless/ti/wlcore/event.c ieee80211_chswitch_done(vif, success); vif 227 drivers/net/wireless/ti/wlcore/event.c ieee80211_csa_finish(vif); vif 249 drivers/net/wireless/ti/wlcore/event.c struct ieee80211_vif *vif; vif 266 drivers/net/wireless/ti/wlcore/event.c vif = wl12xx_wlvif_to_vif(wlvif); vif 270 drivers/net/wireless/ti/wlcore/event.c sta = ieee80211_find_sta(vif, addr); vif 308 drivers/net/wireless/ti/wlcore/event.c struct ieee80211_vif *vif; vif 319 drivers/net/wireless/ti/wlcore/event.c vif = wl12xx_wlvif_to_vif(wlvif); vif 323 drivers/net/wireless/ti/wlcore/event.c ieee80211_connection_loss(vif); vif 336 drivers/net/wireless/ti/wlcore/event.c ieee80211_cqm_beacon_loss_notify(vif, GFP_KERNEL); vif 180 drivers/net/wireless/ti/wlcore/hw_ops.h struct ieee80211_vif *vif, vif 187 drivers/net/wireless/ti/wlcore/hw_ops.h return wl->ops->set_key(wl, cmd, vif, sta, key_conf); vif 171 drivers/net/wireless/ti/wlcore/init.c struct ieee80211_vif *vif) vif 173 drivers/net/wireless/ti/wlcore/init.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 190 drivers/net/wireless/ti/wlcore/init.c memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); vif 191 drivers/net/wireless/ti/wlcore/init.c memcpy(nullfunc->addr3, vif->addr, ETH_ALEN); vif 204 drivers/net/wireless/ti/wlcore/init.c struct ieee80211_vif *vif) vif 206 drivers/net/wireless/ti/wlcore/init.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 223 drivers/net/wireless/ti/wlcore/init.c memcpy(qosnull->addr2, vif->addr, ETH_ALEN); vif 224 drivers/net/wireless/ti/wlcore/init.c memcpy(qosnull->addr3, vif->addr, ETH_ALEN); vif 359 drivers/net/wireless/ti/wlcore/init.c struct ieee80211_vif *vif) vif 361 drivers/net/wireless/ti/wlcore/init.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 389 drivers/net/wireless/ti/wlcore/init.c int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) vif 391 drivers/net/wireless/ti/wlcore/init.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 398 drivers/net/wireless/ti/wlcore/init.c ret = wl1271_ap_init_null_template(wl, vif); vif 402 drivers/net/wireless/ti/wlcore/init.c ret = wl1271_ap_init_qos_null_template(wl, vif); vif 418 drivers/net/wireless/ti/wlcore/init.c struct ieee80211_vif *vif) vif 420 drivers/net/wireless/ti/wlcore/init.c return wl1271_ap_init_templates(wl, vif); vif 555 drivers/net/wireless/ti/wlcore/init.c int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) vif 557 drivers/net/wireless/ti/wlcore/init.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 640 drivers/net/wireless/ti/wlcore/init.c ret = wl1271_ap_hw_init_post_mem(wl, vif); vif 642 drivers/net/wireless/ti/wlcore/init.c ret = wl1271_sta_hw_init_post_mem(wl, vif); vif 21 drivers/net/wireless/ti/wlcore/init.h int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); vif 23 drivers/net/wireless/ti/wlcore/init.h int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif); vif 42 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 220 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 233 drivers/net/wireless/ti/wlcore/main.c if (ieee80211_vif_is_mesh(vif)) { vif 706 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 711 drivers/net/wireless/ti/wlcore/main.c if (counter->cur_vif == vif) vif 876 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 883 drivers/net/wireless/ti/wlcore/main.c sta = ieee80211_find_sta(vif, addr); vif 923 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif; vif 961 drivers/net/wireless/ti/wlcore/main.c vif = wl12xx_wlvif_to_vif(wlvif); vif 966 drivers/net/wireless/ti/wlcore/main.c vif->bss_conf.bssid); vif 969 drivers/net/wireless/ti/wlcore/main.c __wl1271_op_remove_interface(wl, vif, false); vif 1208 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = info->control.vif; vif 1214 drivers/net/wireless/ti/wlcore/main.c if (!vif) { vif 1220 drivers/net/wireless/ti/wlcore/main.c wlvif = wl12xx_vif_to_data(vif); vif 2035 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif; vif 2054 drivers/net/wireless/ti/wlcore/main.c vif = wl12xx_wlvif_to_vif(wlvif); vif 2055 drivers/net/wireless/ti/wlcore/main.c ieee80211_chswitch_done(vif, false); vif 2075 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif; vif 2093 drivers/net/wireless/ti/wlcore/main.c vif = wl12xx_wlvif_to_vif(wlvif); vif 2094 drivers/net/wireless/ti/wlcore/main.c ieee80211_connection_loss(vif); vif 2187 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 2193 drivers/net/wireless/ti/wlcore/main.c else if (ieee80211_vif_is_mesh(vif)) vif 2213 drivers/net/wireless/ti/wlcore/main.c static int wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) vif 2215 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 2221 drivers/net/wireless/ti/wlcore/main.c switch (ieee80211_vif_type_p2p(vif)) { vif 2438 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif; vif 2444 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 2448 drivers/net/wireless/ti/wlcore/main.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE || vif 2449 drivers/net/wireless/ti/wlcore/main.c WARN_ON_ONCE(vif->hw_queue[0] == IEEE80211_INVAL_HW_QUEUE)) vif 2452 drivers/net/wireless/ti/wlcore/main.c if (iter_data->cur_running || vif == iter_data->vif) { vif 2457 drivers/net/wireless/ti/wlcore/main.c __set_bit(vif->hw_queue[0] / NUM_TX_QUEUES, iter_data->hw_queue_map); vif 2463 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 2467 drivers/net/wireless/ti/wlcore/main.c if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { vif 2468 drivers/net/wireless/ti/wlcore/main.c vif->cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 2472 drivers/net/wireless/ti/wlcore/main.c iter_data.vif = vif; vif 2481 drivers/net/wireless/ti/wlcore/main.c wlvif->hw_queue_base = vif->hw_queue[0]; vif 2502 drivers/net/wireless/ti/wlcore/main.c vif->hw_queue[i] = wlvif->hw_queue_base + i; vif 2508 drivers/net/wireless/ti/wlcore/main.c vif->cab_queue = NUM_TX_QUEUES * WLCORE_NUM_MAC_ADDRESSES + vif 2511 drivers/net/wireless/ti/wlcore/main.c vif->cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 2517 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 2520 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 2530 drivers/net/wireless/ti/wlcore/main.c vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | vif 2535 drivers/net/wireless/ti/wlcore/main.c ieee80211_vif_type_p2p(vif), vif->addr); vif 2537 drivers/net/wireless/ti/wlcore/main.c wl12xx_get_vif_count(hw, vif, &vif_count); vif 2553 drivers/net/wireless/ti/wlcore/main.c ret = wl12xx_init_vif_data(wl, vif); vif 2577 drivers/net/wireless/ti/wlcore/main.c memcpy(wl->addresses[0].addr, vif->addr, ETH_ALEN); vif 2603 drivers/net/wireless/ti/wlcore/main.c ret = wl12xx_cmd_role_enable(wl, vif->addr, vif 2608 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_init_vif_specific(wl, vif); vif 2613 drivers/net/wireless/ti/wlcore/main.c ret = wl12xx_cmd_role_enable(wl, vif->addr, WL1271_ROLE_DEVICE, vif 2641 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 2644 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 2681 drivers/net/wireless/ti/wlcore/main.c if (wl->roc_vif == vif) { vif 2790 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 2793 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 2797 drivers/net/wireless/ti/wlcore/main.c wl12xx_get_vif_count(hw, vif, &vif_count); vif 2812 drivers/net/wireless/ti/wlcore/main.c __wl1271_op_remove_interface(wl, vif, true); vif 2826 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 2833 drivers/net/wireless/ti/wlcore/main.c wl1271_op_remove_interface(hw, vif); vif 2835 drivers/net/wireless/ti/wlcore/main.c vif->type = new_type; vif 2836 drivers/net/wireless/ti/wlcore/main.c vif->p2p = p2p; vif 2837 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_op_add_interface(hw, vif); vif 2909 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 2917 drivers/net/wireless/ti/wlcore/main.c skb = ieee80211_ap_probereq_get(wl->hw, vif); vif 3054 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 3057 drivers/net/wireless/ti/wlcore/main.c ieee80211_chswitch_done(vif, false); vif 3448 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3480 drivers/net/wireless/ti/wlcore/main.c ret = wlcore_hw_set_key(wl, cmd, vif, sta, key_conf); vif 3495 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3499 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3602 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3606 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3677 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3718 drivers/net/wireless/ti/wlcore/main.c ret = wlcore_scan(hw->priv, vif, ssid, len, req); vif 3729 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 3732 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3782 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3787 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3820 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 3823 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3945 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 3947 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3951 drivers/net/wireless/ti/wlcore/main.c skb = ieee80211_proberesp_get(wl->hw, vif); vif 3973 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 3978 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 3979 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 4031 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4035 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4074 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4077 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4082 drivers/net/wireless/ti/wlcore/main.c struct sk_buff *beacon = ieee80211_beacon_get(wl->hw, vif); vif 4140 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_ap_set_probe_resp_tmpl_legacy(wl, vif, vif 4160 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4164 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4178 drivers/net/wireless/ti/wlcore/main.c wl1271_ap_set_probe_resp_tmpl(wl, rate, vif); vif 4182 drivers/net/wireless/ti/wlcore/main.c ret = wlcore_set_beacon_template(wl, vif, is_ap); vif 4201 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4205 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4222 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_ap_init_templates(wl, vif); vif 4227 drivers/net/wireless/ti/wlcore/main.c if (!ieee80211_vif_is_mesh(vif)) { vif 4230 drivers/net/wireless/ti/wlcore/main.c vif); vif 4235 drivers/net/wireless/ti/wlcore/main.c ret = wlcore_set_beacon_template(wl, vif, true); vif 4240 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_bss_beacon_info_changed(wl, vif, bss_conf, changed); vif 4279 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_bss_erp_info_changed(wl, vif, bss_conf, changed); vif 4373 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4377 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4388 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_bss_beacon_info_changed(wl, vif, bss_conf, vif 4436 drivers/net/wireless/ti/wlcore/main.c sta = ieee80211_find_sta(vif, bss_conf->bssid); vif 4497 drivers/net/wireless/ti/wlcore/main.c ret = wl1271_bss_erp_info_changed(wl, vif, bss_conf, changed); vif 4621 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4626 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4669 drivers/net/wireless/ti/wlcore/main.c wl1271_bss_info_changed_ap(wl, vif, bss_conf, changed); vif 4671 drivers/net/wireless/ti/wlcore/main.c wl1271_bss_info_changed_sta(wl, vif, bss_conf, changed); vif 4720 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 4723 drivers/net/wireless/ti/wlcore/main.c if (rcu_access_pointer(vif->chanctx_conf) != ctx) { vif 4747 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4751 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4799 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 4803 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4899 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); vif 4915 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, u16 queue, vif 4919 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 4971 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 4975 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5285 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5291 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5322 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5326 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5449 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5452 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5495 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5499 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5510 drivers/net/wireless/ti/wlcore/main.c ieee80211_chswitch_done(vif, false); vif 5582 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5586 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5629 drivers/net/wireless/ti/wlcore/main.c static void wlcore_op_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 5638 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5643 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5675 drivers/net/wireless/ti/wlcore/main.c wl->roc_vif = vif; vif 5753 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif) vif 5773 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5777 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 5791 drivers/net/wireless/ti/wlcore/main.c struct ieee80211_vif *vif, vif 5796 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 117 drivers/net/wireless/ti/wlcore/ps.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 131 drivers/net/wireless/ti/wlcore/ps.c sta = ieee80211_find_sta(vif, wl->links[hlid].addr); vif 152 drivers/net/wireless/ti/wlcore/ps.c struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); vif 162 drivers/net/wireless/ti/wlcore/ps.c sta = ieee80211_find_sta(vif, wl->links[hlid].addr); vif 85 drivers/net/wireless/ti/wlcore/scan.c struct ieee80211_vif *vif) vif 87 drivers/net/wireless/ti/wlcore/scan.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 332 drivers/net/wireless/ti/wlcore/scan.c int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, vif 336 drivers/net/wireless/ti/wlcore/scan.c struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); vif 15 drivers/net/wireless/ti/wlcore/scan.h int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, vif 353 drivers/net/wireless/ti/wlcore/testmode.c int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 15 drivers/net/wireless/ti/wlcore/testmode.h int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 769 drivers/net/wireless/ti/wlcore/tx.c wlvif = wl12xx_vif_to_data(info->control.vif); vif 901 drivers/net/wireless/ti/wlcore/tx.c struct ieee80211_vif *vif; vif 924 drivers/net/wireless/ti/wlcore/tx.c vif = info->control.vif; vif 925 drivers/net/wireless/ti/wlcore/tx.c wlvif = wl12xx_vif_to_data(vif); vif 91 drivers/net/wireless/ti/wlcore/wlcore.h struct ieee80211_vif *vif, vif 505 drivers/net/wireless/ti/wlcore/wlcore.h struct ieee80211_vif *vif, vif 492 drivers/net/wireless/ti/wlcore/wlcore_i.h static inline struct wl12xx_vif *wl12xx_vif_to_data(struct ieee80211_vif *vif) vif 494 drivers/net/wireless/ti/wlcore/wlcore_i.h WARN_ON(!vif); vif 495 drivers/net/wireless/ti/wlcore/wlcore_i.h return (struct wl12xx_vif *)vif->drv_priv; vif 246 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (!mac->vif) vif 249 drivers/net/wireless/zydas/zd1211rw/zd_mac.c r = zd_write_mac_addr(&mac->chip, mac->vif->addr); vif 259 drivers/net/wireless/zydas/zd1211rw/zd_mac.c return zd_write_bssid(&mac->chip, mac->vif->addr); vif 400 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (mac->vif != NULL) { vif 401 drivers/net/wireless/zydas/zd1211rw/zd_mac.c beacon = ieee80211_beacon_get(mac->hw, mac->vif); vif 1100 drivers/net/wireless/zydas/zd1211rw/zd_mac.c struct ieee80211_vif *vif) vif 1108 drivers/net/wireless/zydas/zd1211rw/zd_mac.c switch (vif->type) { vif 1114 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->type = vif->type; vif 1120 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->vif = vif; vif 1126 drivers/net/wireless/zydas/zd1211rw/zd_mac.c struct ieee80211_vif *vif) vif 1130 drivers/net/wireless/zydas/zd1211rw/zd_mac.c mac->vif = NULL; vif 1155 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (!mac->vif || mac->vif->type != NL80211_IFTYPE_AP) vif 1162 drivers/net/wireless/zydas/zd1211rw/zd_mac.c skb = ieee80211_get_buffered_bc(mac->hw, mac->vif); vif 1171 drivers/net/wireless/zydas/zd1211rw/zd_mac.c beacon = ieee80211_beacon_get(mac->hw, mac->vif); vif 1280 drivers/net/wireless/zydas/zd1211rw/zd_mac.c struct ieee80211_vif *vif, vif 1294 drivers/net/wireless/zydas/zd1211rw/zd_mac.c struct sk_buff *beacon = ieee80211_beacon_get(hw, vif); vif 1339 drivers/net/wireless/zydas/zd1211rw/zd_mac.c static u64 zd_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1433 drivers/net/wireless/zydas/zd1211rw/zd_mac.c if (mac->type != NL80211_IFTYPE_AP || !mac->vif) vif 1451 drivers/net/wireless/zydas/zd1211rw/zd_mac.c beacon = ieee80211_beacon_get(mac->hw, mac->vif); vif 174 drivers/net/wireless/zydas/zd1211rw/zd_mac.h struct ieee80211_vif *vif; vif 141 drivers/net/xen-netback/common.h struct xenvif *vif; /* Parent VIF */ vif 253 drivers/net/xen-netback/common.h struct xenvif *vif; vif 324 drivers/net/xen-netback/common.h static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) vif 326 drivers/net/xen-netback/common.h return to_xenbus_device(vif->dev->dev.parent); vif 343 drivers/net/xen-netback/common.h void xenvif_disconnect_data(struct xenvif *vif); vif 344 drivers/net/xen-netback/common.h int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref, vif 346 drivers/net/xen-netback/common.h void xenvif_disconnect_ctrl(struct xenvif *vif); vif 347 drivers/net/xen-netback/common.h void xenvif_free(struct xenvif *vif); vif 352 drivers/net/xen-netback/common.h int xenvif_schedulable(struct xenvif *vif); vif 367 drivers/net/xen-netback/common.h void xenvif_carrier_off(struct xenvif *vif); vif 381 drivers/net/xen-netback/common.h void xenvif_carrier_on(struct xenvif *vif); vif 413 drivers/net/xen-netback/common.h bool xenvif_mcast_match(struct xenvif *vif, const u8 *addr); vif 414 drivers/net/xen-netback/common.h void xenvif_mcast_addr_list_free(struct xenvif *vif); vif 417 drivers/net/xen-netback/common.h void xenvif_init_hash(struct xenvif *vif); vif 418 drivers/net/xen-netback/common.h void xenvif_deinit_hash(struct xenvif *vif); vif 420 drivers/net/xen-netback/common.h u32 xenvif_set_hash_alg(struct xenvif *vif, u32 alg); vif 421 drivers/net/xen-netback/common.h u32 xenvif_get_hash_flags(struct xenvif *vif, u32 *flags); vif 422 drivers/net/xen-netback/common.h u32 xenvif_set_hash_flags(struct xenvif *vif, u32 flags); vif 423 drivers/net/xen-netback/common.h u32 xenvif_set_hash_key(struct xenvif *vif, u32 gref, u32 len); vif 424 drivers/net/xen-netback/common.h u32 xenvif_set_hash_mapping_size(struct xenvif *vif, u32 size); vif 425 drivers/net/xen-netback/common.h u32 xenvif_set_hash_mapping(struct xenvif *vif, u32 gref, u32 len, vif 428 drivers/net/xen-netback/common.h void xenvif_set_skb_hash(struct xenvif *vif, struct sk_buff *skb); vif 431 drivers/net/xen-netback/common.h void xenvif_dump_hash_info(struct xenvif *vif, struct seq_file *m); vif 35 drivers/net/xen-netback/hash.c static void xenvif_add_hash(struct xenvif *vif, const u8 *tag, vif 50 drivers/net/xen-netback/hash.c spin_lock_irqsave(&vif->hash.cache.lock, flags); vif 54 drivers/net/xen-netback/hash.c list_for_each_entry_rcu(entry, &vif->hash.cache.list, link) { vif 64 drivers/net/xen-netback/hash.c new->seq = atomic_inc_return(&vif->hash.cache.seq); vif 65 drivers/net/xen-netback/hash.c list_add_rcu(&new->link, &vif->hash.cache.list); vif 67 drivers/net/xen-netback/hash.c if (++vif->hash.cache.count > xenvif_hash_cache_size) { vif 69 drivers/net/xen-netback/hash.c vif->hash.cache.count--; vif 74 drivers/net/xen-netback/hash.c spin_unlock_irqrestore(&vif->hash.cache.lock, flags); vif 80 drivers/net/xen-netback/hash.c static u32 xenvif_new_hash(struct xenvif *vif, const u8 *data, vif 85 drivers/net/xen-netback/hash.c val = xen_netif_toeplitz_hash(vif->hash.key, vif 86 drivers/net/xen-netback/hash.c sizeof(vif->hash.key), vif 90 drivers/net/xen-netback/hash.c xenvif_add_hash(vif, data, len, val); vif 95 drivers/net/xen-netback/hash.c static void xenvif_flush_hash(struct xenvif *vif) vif 103 drivers/net/xen-netback/hash.c spin_lock_irqsave(&vif->hash.cache.lock, flags); vif 105 drivers/net/xen-netback/hash.c list_for_each_entry_rcu(entry, &vif->hash.cache.list, link) { vif 107 drivers/net/xen-netback/hash.c vif->hash.cache.count--; vif 111 drivers/net/xen-netback/hash.c spin_unlock_irqrestore(&vif->hash.cache.lock, flags); vif 114 drivers/net/xen-netback/hash.c static u32 xenvif_find_hash(struct xenvif *vif, const u8 *data, vif 125 drivers/net/xen-netback/hash.c return xenvif_new_hash(vif, data, len); vif 131 drivers/net/xen-netback/hash.c list_for_each_entry_rcu(entry, &vif->hash.cache.list, link) { vif 135 drivers/net/xen-netback/hash.c entry->seq = atomic_inc_return(&vif->hash.cache.seq); vif 144 drivers/net/xen-netback/hash.c val = xenvif_new_hash(vif, data, len); vif 149 drivers/net/xen-netback/hash.c void xenvif_set_skb_hash(struct xenvif *vif, struct sk_buff *skb) vif 154 drivers/net/xen-netback/hash.c u32 flags = vif->hash.flags; vif 198 drivers/net/xen-netback/hash.c hash = xenvif_find_hash(vif, data, sizeof(data)); vif 206 drivers/net/xen-netback/hash.c hash = xenvif_find_hash(vif, data, sizeof(data)); vif 222 drivers/net/xen-netback/hash.c hash = xenvif_find_hash(vif, data, sizeof(data)); vif 230 drivers/net/xen-netback/hash.c hash = xenvif_find_hash(vif, data, sizeof(data)); vif 244 drivers/net/xen-netback/hash.c u32 xenvif_set_hash_alg(struct xenvif *vif, u32 alg) vif 255 drivers/net/xen-netback/hash.c vif->hash.alg = alg; vif 260 drivers/net/xen-netback/hash.c u32 xenvif_get_hash_flags(struct xenvif *vif, u32 *flags) vif 262 drivers/net/xen-netback/hash.c if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) vif 273 drivers/net/xen-netback/hash.c u32 xenvif_set_hash_flags(struct xenvif *vif, u32 flags) vif 281 drivers/net/xen-netback/hash.c if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) vif 284 drivers/net/xen-netback/hash.c vif->hash.flags = flags; vif 289 drivers/net/xen-netback/hash.c u32 xenvif_set_hash_key(struct xenvif *vif, u32 gref, u32 len) vif 291 drivers/net/xen-netback/hash.c u8 *key = vif->hash.key; vif 294 drivers/net/xen-netback/hash.c .source.domid = vif->domid, vif 316 drivers/net/xen-netback/hash.c xenvif_flush_hash(vif); vif 321 drivers/net/xen-netback/hash.c u32 xenvif_set_hash_mapping_size(struct xenvif *vif, u32 size) vif 326 drivers/net/xen-netback/hash.c vif->hash.size = size; vif 327 drivers/net/xen-netback/hash.c memset(vif->hash.mapping[vif->hash.mapping_sel], 0, vif 333 drivers/net/xen-netback/hash.c u32 xenvif_set_hash_mapping(struct xenvif *vif, u32 gref, u32 len, vif 336 drivers/net/xen-netback/hash.c u32 *mapping = vif->hash.mapping[!vif->hash.mapping_sel]; vif 340 drivers/net/xen-netback/hash.c .source.domid = vif->domid, vif 346 drivers/net/xen-netback/hash.c if ((off + len < off) || (off + len > vif->hash.size) || vif 362 drivers/net/xen-netback/hash.c memcpy(mapping, vif->hash.mapping[vif->hash.mapping_sel], vif 363 drivers/net/xen-netback/hash.c vif->hash.size * sizeof(*mapping)); vif 374 drivers/net/xen-netback/hash.c if (mapping[off++] >= vif->num_queues) vif 377 drivers/net/xen-netback/hash.c vif->hash.mapping_sel = !vif->hash.mapping_sel; vif 383 drivers/net/xen-netback/hash.c void xenvif_dump_hash_info(struct xenvif *vif, struct seq_file *m) vif 387 drivers/net/xen-netback/hash.c switch (vif->hash.alg) { vif 399 drivers/net/xen-netback/hash.c if (vif->hash.flags) { vif 402 drivers/net/xen-netback/hash.c if (vif->hash.flags & XEN_NETIF_CTRL_HASH_TYPE_IPV4) vif 404 drivers/net/xen-netback/hash.c if (vif->hash.flags & XEN_NETIF_CTRL_HASH_TYPE_IPV4_TCP) vif 406 drivers/net/xen-netback/hash.c if (vif->hash.flags & XEN_NETIF_CTRL_HASH_TYPE_IPV6) vif 408 drivers/net/xen-netback/hash.c if (vif->hash.flags & XEN_NETIF_CTRL_HASH_TYPE_IPV6_TCP) vif 424 drivers/net/xen-netback/hash.c seq_printf(m, "%02x ", vif->hash.key[i]); vif 429 drivers/net/xen-netback/hash.c if (vif->hash.size != 0) { vif 430 drivers/net/xen-netback/hash.c const u32 *mapping = vif->hash.mapping[vif->hash.mapping_sel]; vif 434 drivers/net/xen-netback/hash.c for (i = 0; i < vif->hash.size; ) { vif 438 drivers/net/xen-netback/hash.c if (i + n >= vif->hash.size) vif 439 drivers/net/xen-netback/hash.c n = vif->hash.size - i; vif 452 drivers/net/xen-netback/hash.c void xenvif_init_hash(struct xenvif *vif) vif 457 drivers/net/xen-netback/hash.c BUG_ON(vif->hash.cache.count); vif 459 drivers/net/xen-netback/hash.c spin_lock_init(&vif->hash.cache.lock); vif 460 drivers/net/xen-netback/hash.c INIT_LIST_HEAD(&vif->hash.cache.list); vif 463 drivers/net/xen-netback/hash.c void xenvif_deinit_hash(struct xenvif *vif) vif 465 drivers/net/xen-netback/hash.c xenvif_flush_hash(vif); vif 73 drivers/net/xen-netback/interface.c int xenvif_schedulable(struct xenvif *vif) vif 75 drivers/net/xen-netback/interface.c return netif_running(vif->dev) && vif 76 drivers/net/xen-netback/interface.c test_bit(VIF_STATUS_CONNECTED, &vif->status) && vif 77 drivers/net/xen-netback/interface.c !vif->disabled; vif 100 drivers/net/xen-netback/interface.c if (unlikely(queue->vif->disabled)) { vif 138 drivers/net/xen-netback/interface.c struct net_device *dev = queue->vif->dev; vif 145 drivers/net/xen-netback/interface.c struct net_device *dev = queue->vif->dev; vif 153 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 154 drivers/net/xen-netback/interface.c unsigned int size = vif->hash.size; vif 159 drivers/net/xen-netback/interface.c num_queues = READ_ONCE(vif->num_queues); vif 163 drivers/net/xen-netback/interface.c if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) vif 167 drivers/net/xen-netback/interface.c xenvif_set_skb_hash(vif, skb); vif 172 drivers/net/xen-netback/interface.c return vif->hash.mapping[vif->hash.mapping_sel] vif 179 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 191 drivers/net/xen-netback/interface.c num_queues = READ_ONCE(vif->num_queues); vif 199 drivers/net/xen-netback/interface.c index, vif->dev->name); vif 202 drivers/net/xen-netback/interface.c queue = &vif->queues[index]; vif 207 drivers/net/xen-netback/interface.c !xenvif_schedulable(vif)) vif 210 drivers/net/xen-netback/interface.c if (vif->multicast_control && skb->pkt_type == PACKET_MULTICAST) { vif 213 drivers/net/xen-netback/interface.c if (!xenvif_mcast_match(vif, eth->h_dest)) vif 218 drivers/net/xen-netback/interface.c cb->expires = jiffies + vif->drain_timeout; vif 224 drivers/net/xen-netback/interface.c if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) vif 233 drivers/net/xen-netback/interface.c vif->dev->stats.tx_dropped++; vif 240 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 250 drivers/net/xen-netback/interface.c num_queues = READ_ONCE(vif->num_queues); vif 254 drivers/net/xen-netback/interface.c queue = &vif->queues[index]; vif 263 drivers/net/xen-netback/interface.c vif->dev->stats.rx_bytes = rx_bytes; vif 264 drivers/net/xen-netback/interface.c vif->dev->stats.rx_packets = rx_packets; vif 265 drivers/net/xen-netback/interface.c vif->dev->stats.tx_bytes = tx_bytes; vif 266 drivers/net/xen-netback/interface.c vif->dev->stats.tx_packets = tx_packets; vif 268 drivers/net/xen-netback/interface.c return &vif->dev->stats; vif 271 drivers/net/xen-netback/interface.c static void xenvif_up(struct xenvif *vif) vif 274 drivers/net/xen-netback/interface.c unsigned int num_queues = vif->num_queues; vif 278 drivers/net/xen-netback/interface.c queue = &vif->queues[queue_index]; vif 287 drivers/net/xen-netback/interface.c static void xenvif_down(struct xenvif *vif) vif 290 drivers/net/xen-netback/interface.c unsigned int num_queues = vif->num_queues; vif 294 drivers/net/xen-netback/interface.c queue = &vif->queues[queue_index]; vif 305 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 306 drivers/net/xen-netback/interface.c if (test_bit(VIF_STATUS_CONNECTED, &vif->status)) vif 307 drivers/net/xen-netback/interface.c xenvif_up(vif); vif 314 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 315 drivers/net/xen-netback/interface.c if (test_bit(VIF_STATUS_CONNECTED, &vif->status)) vif 316 drivers/net/xen-netback/interface.c xenvif_down(vif); vif 323 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 324 drivers/net/xen-netback/interface.c int max = vif->can_sg ? ETH_MAX_MTU - VLAN_ETH_HLEN : ETH_DATA_LEN; vif 335 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 337 drivers/net/xen-netback/interface.c if (!vif->can_sg) vif 339 drivers/net/xen-netback/interface.c if (~(vif->gso_mask) & GSO_BIT(TCPV4)) vif 341 drivers/net/xen-netback/interface.c if (~(vif->gso_mask) & GSO_BIT(TCPV6)) vif 343 drivers/net/xen-netback/interface.c if (!vif->ip_csum) vif 345 drivers/net/xen-netback/interface.c if (!vif->ipv6_csum) vif 396 drivers/net/xen-netback/interface.c struct xenvif *vif = netdev_priv(dev); vif 402 drivers/net/xen-netback/interface.c num_queues = READ_ONCE(vif->num_queues); vif 407 drivers/net/xen-netback/interface.c void *vif_stats = &vif->queues[queue_index].stats; vif 454 drivers/net/xen-netback/interface.c struct xenvif *vif; vif 471 drivers/net/xen-netback/interface.c vif = netdev_priv(dev); vif 473 drivers/net/xen-netback/interface.c vif->domid = domid; vif 474 drivers/net/xen-netback/interface.c vif->handle = handle; vif 475 drivers/net/xen-netback/interface.c vif->can_sg = 1; vif 476 drivers/net/xen-netback/interface.c vif->ip_csum = 1; vif 477 drivers/net/xen-netback/interface.c vif->dev = dev; vif 478 drivers/net/xen-netback/interface.c vif->disabled = false; vif 479 drivers/net/xen-netback/interface.c vif->drain_timeout = msecs_to_jiffies(rx_drain_timeout_msecs); vif 480 drivers/net/xen-netback/interface.c vif->stall_timeout = msecs_to_jiffies(rx_stall_timeout_msecs); vif 483 drivers/net/xen-netback/interface.c vif->queues = NULL; vif 484 drivers/net/xen-netback/interface.c vif->num_queues = 0; vif 486 drivers/net/xen-netback/interface.c spin_lock_init(&vif->lock); vif 487 drivers/net/xen-netback/interface.c INIT_LIST_HEAD(&vif->fe_mcast_addr); vif 523 drivers/net/xen-netback/interface.c return vif; vif 555 drivers/net/xen-netback/interface.c netdev_err(queue->vif->dev, "Could not reserve mmap_pages\n"); vif 570 drivers/net/xen-netback/interface.c void xenvif_carrier_on(struct xenvif *vif) vif 573 drivers/net/xen-netback/interface.c if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) vif 574 drivers/net/xen-netback/interface.c dev_set_mtu(vif->dev, ETH_DATA_LEN); vif 575 drivers/net/xen-netback/interface.c netdev_update_features(vif->dev); vif 576 drivers/net/xen-netback/interface.c set_bit(VIF_STATUS_CONNECTED, &vif->status); vif 577 drivers/net/xen-netback/interface.c if (netif_running(vif->dev)) vif 578 drivers/net/xen-netback/interface.c xenvif_up(vif); vif 582 drivers/net/xen-netback/interface.c int xenvif_connect_ctrl(struct xenvif *vif, grant_ref_t ring_ref, vif 585 drivers/net/xen-netback/interface.c struct net_device *dev = vif->dev; vif 590 drivers/net/xen-netback/interface.c err = xenbus_map_ring_valloc(xenvif_to_xenbus_device(vif), vif 596 drivers/net/xen-netback/interface.c BACK_RING_INIT(&vif->ctrl, shared, XEN_PAGE_SIZE); vif 598 drivers/net/xen-netback/interface.c err = bind_interdomain_evtchn_to_irq(vif->domid, evtchn); vif 602 drivers/net/xen-netback/interface.c vif->ctrl_irq = err; vif 604 drivers/net/xen-netback/interface.c xenvif_init_hash(vif); vif 606 drivers/net/xen-netback/interface.c err = request_threaded_irq(vif->ctrl_irq, NULL, xenvif_ctrl_irq_fn, vif 607 drivers/net/xen-netback/interface.c IRQF_ONESHOT, "xen-netback-ctrl", vif); vif 616 drivers/net/xen-netback/interface.c xenvif_deinit_hash(vif); vif 617 drivers/net/xen-netback/interface.c unbind_from_irqhandler(vif->ctrl_irq, vif); vif 618 drivers/net/xen-netback/interface.c vif->ctrl_irq = 0; vif 621 drivers/net/xen-netback/interface.c xenbus_unmap_ring_vfree(xenvif_to_xenbus_device(vif), vif 622 drivers/net/xen-netback/interface.c vif->ctrl.sring); vif 623 drivers/net/xen-netback/interface.c vif->ctrl.sring = NULL; vif 651 drivers/net/xen-netback/interface.c netif_napi_add(queue->vif->dev, &queue->napi, xenvif_poll, vif 657 drivers/net/xen-netback/interface.c queue->vif->domid, tx_evtchn, xenvif_interrupt, 0, vif 668 drivers/net/xen-netback/interface.c queue->vif->domid, tx_evtchn, xenvif_tx_interrupt, 0, vif 678 drivers/net/xen-netback/interface.c queue->vif->domid, rx_evtchn, xenvif_rx_interrupt, 0, vif 725 drivers/net/xen-netback/interface.c void xenvif_carrier_off(struct xenvif *vif) vif 727 drivers/net/xen-netback/interface.c struct net_device *dev = vif->dev; vif 730 drivers/net/xen-netback/interface.c if (test_and_clear_bit(VIF_STATUS_CONNECTED, &vif->status)) { vif 733 drivers/net/xen-netback/interface.c xenvif_down(vif); vif 738 drivers/net/xen-netback/interface.c void xenvif_disconnect_data(struct xenvif *vif) vif 741 drivers/net/xen-netback/interface.c unsigned int num_queues = vif->num_queues; vif 744 drivers/net/xen-netback/interface.c xenvif_carrier_off(vif); vif 747 drivers/net/xen-netback/interface.c queue = &vif->queues[queue_index]; vif 775 drivers/net/xen-netback/interface.c xenvif_mcast_addr_list_free(vif); vif 778 drivers/net/xen-netback/interface.c void xenvif_disconnect_ctrl(struct xenvif *vif) vif 780 drivers/net/xen-netback/interface.c if (vif->ctrl_irq) { vif 781 drivers/net/xen-netback/interface.c xenvif_deinit_hash(vif); vif 782 drivers/net/xen-netback/interface.c unbind_from_irqhandler(vif->ctrl_irq, vif); vif 783 drivers/net/xen-netback/interface.c vif->ctrl_irq = 0; vif 786 drivers/net/xen-netback/interface.c if (vif->ctrl.sring) { vif 787 drivers/net/xen-netback/interface.c xenbus_unmap_ring_vfree(xenvif_to_xenbus_device(vif), vif 788 drivers/net/xen-netback/interface.c vif->ctrl.sring); vif 789 drivers/net/xen-netback/interface.c vif->ctrl.sring = NULL; vif 802 drivers/net/xen-netback/interface.c void xenvif_free(struct xenvif *vif) vif 804 drivers/net/xen-netback/interface.c struct xenvif_queue *queues = vif->queues; vif 805 drivers/net/xen-netback/interface.c unsigned int num_queues = vif->num_queues; vif 808 drivers/net/xen-netback/interface.c unregister_netdev(vif->dev); vif 809 drivers/net/xen-netback/interface.c free_netdev(vif->dev); vif 122 drivers/net/xen-netback/netback.c #define callback_param(vif, pending_idx) \ vif 123 drivers/net/xen-netback/netback.c (vif->pending_tx_info[pending_idx].callback_struct) vif 213 drivers/net/xen-netback/netback.c static void xenvif_fatal_tx_err(struct xenvif *vif) vif 215 drivers/net/xen-netback/netback.c netdev_err(vif->dev, "fatal error; disabling device\n"); vif 216 drivers/net/xen-netback/netback.c vif->disabled = true; vif 218 drivers/net/xen-netback/netback.c if (vif->num_queues) vif 219 drivers/net/xen-netback/netback.c xenvif_kick_thread(&vif->queues[0]); vif 240 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 243 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 251 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 254 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 267 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 289 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 299 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, "Cross page boundary, txp->offset: %u, size: %u\n", vif 301 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 336 drivers/net/xen-netback/netback.c txp->gref, queue->vif->domid); vif 414 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 427 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 459 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 503 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 608 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, "Missing extra info\n"); vif 609 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 620 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 622 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 632 drivers/net/xen-netback/netback.c static int xenvif_set_skb_gso(struct xenvif *vif, vif 637 drivers/net/xen-netback/netback.c netdev_err(vif->dev, "GSO size must not be zero.\n"); vif 638 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(vif); vif 650 drivers/net/xen-netback/netback.c netdev_err(vif->dev, "Bad GSO type %d.\n", gso->u.gso.type); vif 651 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(vif); vif 719 drivers/net/xen-netback/netback.c static int xenvif_mcast_add(struct xenvif *vif, const u8 *addr) vif 723 drivers/net/xen-netback/netback.c if (vif->fe_mcast_count == XEN_NETBK_MCAST_MAX) { vif 725 drivers/net/xen-netback/netback.c netdev_err(vif->dev, vif 735 drivers/net/xen-netback/netback.c list_add_tail_rcu(&mcast->entry, &vif->fe_mcast_addr); vif 736 drivers/net/xen-netback/netback.c vif->fe_mcast_count++; vif 741 drivers/net/xen-netback/netback.c static void xenvif_mcast_del(struct xenvif *vif, const u8 *addr) vif 745 drivers/net/xen-netback/netback.c list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { vif 747 drivers/net/xen-netback/netback.c --vif->fe_mcast_count; vif 755 drivers/net/xen-netback/netback.c bool xenvif_mcast_match(struct xenvif *vif, const u8 *addr) vif 760 drivers/net/xen-netback/netback.c list_for_each_entry_rcu(mcast, &vif->fe_mcast_addr, entry) { vif 771 drivers/net/xen-netback/netback.c void xenvif_mcast_addr_list_free(struct xenvif *vif) vif 776 drivers/net/xen-netback/netback.c while (!list_empty(&vif->fe_mcast_addr)) { vif 779 drivers/net/xen-netback/netback.c mcast = list_first_entry(&vif->fe_mcast_addr, vif 782 drivers/net/xen-netback/netback.c --vif->fe_mcast_count; vif 811 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 816 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 853 drivers/net/xen-netback/netback.c ret = xenvif_mcast_add(queue->vif, extra->u.mcast.addr); vif 867 drivers/net/xen-netback/netback.c xenvif_mcast_del(queue->vif, extra->u.mcast.addr); vif 883 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 891 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 895 drivers/net/xen-netback/netback.c xenvif_fatal_tx_err(queue->vif); vif 908 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 932 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 942 drivers/net/xen-netback/netback.c if (xenvif_set_skb_gso(queue->vif, skb, gso)) { vif 982 drivers/net/xen-netback/netback.c queue->tx_copy_ops[*copy_ops].source.domid = queue->vif->domid; vif 1149 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 1160 drivers/net/xen-netback/netback.c skb->dev = queue->vif->dev; vif 1165 drivers/net/xen-netback/netback.c netdev_dbg(queue->vif->dev, vif 1299 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, "Unmap fail: nr_ops %tu ret %d\n", vif 1303 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 1415 drivers/net/xen-netback/netback.c netdev_err(queue->vif->dev, vif 1442 drivers/net/xen-netback/netback.c xenbus_unmap_ring_vfree(xenvif_to_xenbus_device(queue->vif), vif 1445 drivers/net/xen-netback/netback.c xenbus_unmap_ring_vfree(xenvif_to_xenbus_device(queue->vif), vif 1459 drivers/net/xen-netback/netback.c err = xenbus_map_ring_valloc(xenvif_to_xenbus_device(queue->vif), vif 1467 drivers/net/xen-netback/netback.c err = xenbus_map_ring_valloc(xenvif_to_xenbus_device(queue->vif), vif 1513 drivers/net/xen-netback/netback.c static void make_ctrl_response(struct xenvif *vif, vif 1517 drivers/net/xen-netback/netback.c RING_IDX idx = vif->ctrl.rsp_prod_pvt; vif 1525 drivers/net/xen-netback/netback.c *RING_GET_RESPONSE(&vif->ctrl, idx) = rsp; vif 1526 drivers/net/xen-netback/netback.c vif->ctrl.rsp_prod_pvt = ++idx; vif 1529 drivers/net/xen-netback/netback.c static void push_ctrl_response(struct xenvif *vif) vif 1533 drivers/net/xen-netback/netback.c RING_PUSH_RESPONSES_AND_CHECK_NOTIFY(&vif->ctrl, notify); vif 1535 drivers/net/xen-netback/netback.c notify_remote_via_irq(vif->ctrl_irq); vif 1538 drivers/net/xen-netback/netback.c static void process_ctrl_request(struct xenvif *vif, vif 1546 drivers/net/xen-netback/netback.c status = xenvif_set_hash_alg(vif, req->data[0]); vif 1550 drivers/net/xen-netback/netback.c status = xenvif_get_hash_flags(vif, &data); vif 1554 drivers/net/xen-netback/netback.c status = xenvif_set_hash_flags(vif, req->data[0]); vif 1558 drivers/net/xen-netback/netback.c status = xenvif_set_hash_key(vif, req->data[0], vif 1568 drivers/net/xen-netback/netback.c status = xenvif_set_hash_mapping_size(vif, vif 1573 drivers/net/xen-netback/netback.c status = xenvif_set_hash_mapping(vif, req->data[0], vif 1582 drivers/net/xen-netback/netback.c make_ctrl_response(vif, req, status, data); vif 1583 drivers/net/xen-netback/netback.c push_ctrl_response(vif); vif 1586 drivers/net/xen-netback/netback.c static void xenvif_ctrl_action(struct xenvif *vif) vif 1591 drivers/net/xen-netback/netback.c req_prod = vif->ctrl.sring->req_prod; vif 1592 drivers/net/xen-netback/netback.c req_cons = vif->ctrl.req_cons; vif 1603 drivers/net/xen-netback/netback.c RING_COPY_REQUEST(&vif->ctrl, req_cons, &req); vif 1606 drivers/net/xen-netback/netback.c process_ctrl_request(vif, &req); vif 1609 drivers/net/xen-netback/netback.c vif->ctrl.req_cons = req_cons; vif 1610 drivers/net/xen-netback/netback.c vif->ctrl.sring->req_event = req_cons + 1; vif 1614 drivers/net/xen-netback/netback.c static bool xenvif_ctrl_work_todo(struct xenvif *vif) vif 1616 drivers/net/xen-netback/netback.c if (likely(RING_HAS_UNCONSUMED_REQUESTS(&vif->ctrl))) vif 1624 drivers/net/xen-netback/netback.c struct xenvif *vif = data; vif 1626 drivers/net/xen-netback/netback.c while (xenvif_ctrl_work_todo(vif)) vif 1627 drivers/net/xen-netback/netback.c xenvif_ctrl_action(vif); vif 80 drivers/net/xen-netback/rx.c struct net_device *dev = queue->vif->dev; vif 100 drivers/net/xen-netback/rx.c txq = netdev_get_tx_queue(queue->vif->dev, queue->id); vif 196 drivers/net/xen-netback/rx.c op->dest.domid = queue->vif->domid; vif 246 drivers/net/xen-netback/rx.c if ((1 << gso_type) & queue->vif->gso_mask) { vif 480 drivers/net/xen-netback/rx.c queue->last_rx_time + queue->vif->stall_timeout); vif 496 drivers/net/xen-netback/rx.c (queue->vif->stall_timeout && vif 500 drivers/net/xen-netback/rx.c queue->vif->disabled; vif 548 drivers/net/xen-netback/rx.c struct xenvif *vif = queue->vif; vif 553 drivers/net/xen-netback/rx.c spin_lock(&vif->lock); vif 554 drivers/net/xen-netback/rx.c if (vif->stalled_queues++ == 0) { vif 555 drivers/net/xen-netback/rx.c netdev_info(vif->dev, "Guest Rx stalled"); vif 556 drivers/net/xen-netback/rx.c netif_carrier_off(vif->dev); vif 558 drivers/net/xen-netback/rx.c spin_unlock(&vif->lock); vif 563 drivers/net/xen-netback/rx.c struct xenvif *vif = queue->vif; vif 569 drivers/net/xen-netback/rx.c spin_lock(&vif->lock); vif 570 drivers/net/xen-netback/rx.c if (--vif->stalled_queues == 0) { vif 571 drivers/net/xen-netback/rx.c netdev_info(vif->dev, "Guest Rx ready"); vif 572 drivers/net/xen-netback/rx.c netif_carrier_on(vif->dev); vif 574 drivers/net/xen-netback/rx.c spin_unlock(&vif->lock); vif 580 drivers/net/xen-netback/rx.c struct xenvif *vif = queue->vif; vif 582 drivers/net/xen-netback/rx.c if (!vif->stall_timeout) vif 598 drivers/net/xen-netback/rx.c if (unlikely(vif->disabled && queue->id == 0)) { vif 599 drivers/net/xen-netback/rx.c xenvif_carrier_off(vif); vif 610 drivers/net/xen-netback/rx.c if (vif->stall_timeout) { vif 19 drivers/net/xen-netback/xenbus.c static void xen_unregister_watchers(struct xenvif *vif); vif 92 drivers/net/xen-netback/xenbus.c dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); vif 163 drivers/net/xen-netback/xenbus.c struct xenvif *vif = m->private; vif 165 drivers/net/xen-netback/xenbus.c xenvif_dump_hash_info(vif, m); vif 171 drivers/net/xen-netback/xenbus.c static void xenvif_debugfs_addif(struct xenvif *vif) vif 175 drivers/net/xen-netback/xenbus.c vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, vif 177 drivers/net/xen-netback/xenbus.c for (i = 0; i < vif->num_queues; ++i) { vif 181 drivers/net/xen-netback/xenbus.c debugfs_create_file(filename, 0600, vif->xenvif_dbg_root, vif 182 drivers/net/xen-netback/xenbus.c &vif->queues[i], vif 186 drivers/net/xen-netback/xenbus.c if (vif->ctrl_irq) vif 187 drivers/net/xen-netback/xenbus.c debugfs_create_file("ctrl", 0400, vif->xenvif_dbg_root, vif, vif 191 drivers/net/xen-netback/xenbus.c static void xenvif_debugfs_delif(struct xenvif *vif) vif 193 drivers/net/xen-netback/xenbus.c debugfs_remove_recursive(vif->xenvif_dbg_root); vif 194 drivers/net/xen-netback/xenbus.c vif->xenvif_dbg_root = NULL; vif 205 drivers/net/xen-netback/xenbus.c if (be->vif) { vif 207 drivers/net/xen-netback/xenbus.c xen_unregister_watchers(be->vif); vif 209 drivers/net/xen-netback/xenbus.c xenvif_free(be->vif); vif 210 drivers/net/xen-netback/xenbus.c be->vif = NULL; vif 393 drivers/net/xen-netback/xenbus.c if (!be->vif) vif 396 drivers/net/xen-netback/xenbus.c return add_uevent_var(env, "vif=%s", be->vif->dev->name); vif 405 drivers/net/xen-netback/xenbus.c struct xenvif *vif; vif 407 drivers/net/xen-netback/xenbus.c if (be->vif != NULL) vif 416 drivers/net/xen-netback/xenbus.c vif = xenvif_alloc(&dev->dev, dev->otherend_id, handle); vif 417 drivers/net/xen-netback/xenbus.c if (IS_ERR(vif)) { vif 418 drivers/net/xen-netback/xenbus.c err = PTR_ERR(vif); vif 422 drivers/net/xen-netback/xenbus.c be->vif = vif; vif 423 drivers/net/xen-netback/xenbus.c vif->be = be; vif 431 drivers/net/xen-netback/xenbus.c struct xenvif *vif = be->vif; vif 433 drivers/net/xen-netback/xenbus.c if (vif) { vif 434 drivers/net/xen-netback/xenbus.c unsigned int num_queues = vif->num_queues; vif 437 drivers/net/xen-netback/xenbus.c xen_unregister_watchers(vif); vif 439 drivers/net/xen-netback/xenbus.c xenvif_debugfs_delif(vif); vif 441 drivers/net/xen-netback/xenbus.c xenvif_disconnect_data(vif); vif 446 drivers/net/xen-netback/xenbus.c vif->num_queues = 0; vif 450 drivers/net/xen-netback/xenbus.c xenvif_deinit_queue(&vif->queues[queue_index]); vif 452 drivers/net/xen-netback/xenbus.c vfree(vif->queues); vif 453 drivers/net/xen-netback/xenbus.c vif->queues = NULL; vif 455 drivers/net/xen-netback/xenbus.c xenvif_disconnect_ctrl(vif); vif 461 drivers/net/xen-netback/xenbus.c if (be->vif) vif 682 drivers/net/xen-netback/xenbus.c struct xenvif *vif = container_of(watch, struct xenvif, credit_watch); vif 683 drivers/net/xen-netback/xenbus.c struct xenbus_device *dev = xenvif_to_xenbus_device(vif); vif 689 drivers/net/xen-netback/xenbus.c for (queue_index = 0; queue_index < vif->num_queues; queue_index++) { vif 690 drivers/net/xen-netback/xenbus.c struct xenvif_queue *queue = &vif->queues[queue_index]; vif 702 drivers/net/xen-netback/xenbus.c struct xenvif *vif) vif 708 drivers/net/xen-netback/xenbus.c if (vif->credit_watch.node) vif 715 drivers/net/xen-netback/xenbus.c vif->credit_watch.node = node; vif 716 drivers/net/xen-netback/xenbus.c vif->credit_watch.callback = xen_net_rate_changed; vif 717 drivers/net/xen-netback/xenbus.c err = register_xenbus_watch(&vif->credit_watch); vif 719 drivers/net/xen-netback/xenbus.c pr_err("Failed to set watcher %s\n", vif->credit_watch.node); vif 721 drivers/net/xen-netback/xenbus.c vif->credit_watch.node = NULL; vif 722 drivers/net/xen-netback/xenbus.c vif->credit_watch.callback = NULL; vif 727 drivers/net/xen-netback/xenbus.c static void xen_unregister_credit_watch(struct xenvif *vif) vif 729 drivers/net/xen-netback/xenbus.c if (vif->credit_watch.node) { vif 730 drivers/net/xen-netback/xenbus.c unregister_xenbus_watch(&vif->credit_watch); vif 731 drivers/net/xen-netback/xenbus.c kfree(vif->credit_watch.node); vif 732 drivers/net/xen-netback/xenbus.c vif->credit_watch.node = NULL; vif 739 drivers/net/xen-netback/xenbus.c struct xenvif *vif = container_of(watch, struct xenvif, vif 741 drivers/net/xen-netback/xenbus.c struct xenbus_device *dev = xenvif_to_xenbus_device(vif); vif 743 drivers/net/xen-netback/xenbus.c vif->multicast_control = !!xenbus_read_unsigned(dev->otherend, vif 748 drivers/net/xen-netback/xenbus.c struct xenvif *vif) vif 755 drivers/net/xen-netback/xenbus.c if (vif->mcast_ctrl_watch.node) { vif 767 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.node = node; vif 768 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.callback = xen_mcast_ctrl_changed; vif 769 drivers/net/xen-netback/xenbus.c err = register_xenbus_watch(&vif->mcast_ctrl_watch); vif 772 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.node); vif 774 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.node = NULL; vif 775 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.callback = NULL; vif 780 drivers/net/xen-netback/xenbus.c static void xen_unregister_mcast_ctrl_watch(struct xenvif *vif) vif 782 drivers/net/xen-netback/xenbus.c if (vif->mcast_ctrl_watch.node) { vif 783 drivers/net/xen-netback/xenbus.c unregister_xenbus_watch(&vif->mcast_ctrl_watch); vif 784 drivers/net/xen-netback/xenbus.c kfree(vif->mcast_ctrl_watch.node); vif 785 drivers/net/xen-netback/xenbus.c vif->mcast_ctrl_watch.node = NULL; vif 790 drivers/net/xen-netback/xenbus.c struct xenvif *vif) vif 792 drivers/net/xen-netback/xenbus.c xen_register_credit_watch(dev, vif); vif 793 drivers/net/xen-netback/xenbus.c xen_register_mcast_ctrl_watch(dev, vif); vif 796 drivers/net/xen-netback/xenbus.c static void xen_unregister_watchers(struct xenvif *vif) vif 798 drivers/net/xen-netback/xenbus.c xen_unregister_mcast_ctrl_watch(vif); vif 799 drivers/net/xen-netback/xenbus.c xen_unregister_credit_watch(vif); vif 837 drivers/net/xen-netback/xenbus.c struct xenvif *vif = be->vif; vif 861 drivers/net/xen-netback/xenbus.c err = xenvif_connect_ctrl(vif, ring_ref, evtchn); vif 898 drivers/net/xen-netback/xenbus.c err = xen_net_read_mac(dev, be->vif->fe_dev_addr); vif 905 drivers/net/xen-netback/xenbus.c xen_unregister_watchers(be->vif); vif 906 drivers/net/xen-netback/xenbus.c xen_register_watchers(dev, be->vif); vif 916 drivers/net/xen-netback/xenbus.c be->vif->queues = vzalloc(array_size(requested_num_queues, vif 918 drivers/net/xen-netback/xenbus.c if (!be->vif->queues) { vif 924 drivers/net/xen-netback/xenbus.c be->vif->num_queues = requested_num_queues; vif 925 drivers/net/xen-netback/xenbus.c be->vif->stalled_queues = requested_num_queues; vif 928 drivers/net/xen-netback/xenbus.c queue = &be->vif->queues[queue_index]; vif 929 drivers/net/xen-netback/xenbus.c queue->vif = be->vif; vif 932 drivers/net/xen-netback/xenbus.c be->vif->dev->name, queue->id); vif 942 drivers/net/xen-netback/xenbus.c be->vif->num_queues = queue_index; vif 958 drivers/net/xen-netback/xenbus.c be->vif->num_queues = queue_index; vif 964 drivers/net/xen-netback/xenbus.c xenvif_debugfs_addif(be->vif); vif 971 drivers/net/xen-netback/xenbus.c netif_set_real_num_tx_queues(be->vif->dev, requested_num_queues); vif 972 drivers/net/xen-netback/xenbus.c netif_set_real_num_rx_queues(be->vif->dev, requested_num_queues); vif 975 drivers/net/xen-netback/xenbus.c xenvif_carrier_on(be->vif); vif 984 drivers/net/xen-netback/xenbus.c netif_tx_wake_all_queues(be->vif->dev); vif 989 drivers/net/xen-netback/xenbus.c if (be->vif->num_queues > 0) vif 990 drivers/net/xen-netback/xenbus.c xenvif_disconnect_data(be->vif); /* Clean up existing queues */ vif 991 drivers/net/xen-netback/xenbus.c for (queue_index = 0; queue_index < be->vif->num_queues; ++queue_index) vif 992 drivers/net/xen-netback/xenbus.c xenvif_deinit_queue(&be->vif->queues[queue_index]); vif 993 drivers/net/xen-netback/xenbus.c vfree(be->vif->queues); vif 994 drivers/net/xen-netback/xenbus.c be->vif->queues = NULL; vif 995 drivers/net/xen-netback/xenbus.c be->vif->num_queues = 0; vif 996 drivers/net/xen-netback/xenbus.c xenvif_disconnect_ctrl(be->vif); vif 1005 drivers/net/xen-netback/xenbus.c unsigned int num_queues = queue->vif->num_queues; vif 1084 drivers/net/xen-netback/xenbus.c struct xenvif *vif = be->vif; vif 1108 drivers/net/xen-netback/xenbus.c be->vif->drain_timeout = msecs_to_jiffies(30); vif 1109 drivers/net/xen-netback/xenbus.c be->vif->stall_timeout = 0; vif 1112 drivers/net/xen-netback/xenbus.c vif->can_sg = !!xenbus_read_unsigned(dev->otherend, "feature-sg", 0); vif 1114 drivers/net/xen-netback/xenbus.c vif->gso_mask = 0; vif 1117 drivers/net/xen-netback/xenbus.c vif->gso_mask |= GSO_BIT(TCPV4); vif 1120 drivers/net/xen-netback/xenbus.c vif->gso_mask |= GSO_BIT(TCPV6); vif 1122 drivers/net/xen-netback/xenbus.c vif->ip_csum = !xenbus_read_unsigned(dev->otherend, vif 1125 drivers/net/xen-netback/xenbus.c vif->ipv6_csum = !!xenbus_read_unsigned(dev->otherend, vif 106 drivers/staging/vt6655/device.h struct ieee80211_vif *vif; vif 977 drivers/staging/vt6655/device_main.c if (!(priv->vif->bss_conf.assoc && priv->uCurrRSSI)) vif 1052 drivers/staging/vt6655/device_main.c while (isr && priv->vif) { vif 1073 drivers/staging/vt6655/device_main.c priv->vif->bss_conf.enable_beacon) { vif 1075 drivers/staging/vt6655/device_main.c (priv->vif->bss_conf.beacon_int - MAKE_BEACON_RESERVED) << 10); vif 1103 drivers/staging/vt6655/device_main.c if (priv->vif->bss_conf.enable_beacon) vif 1104 drivers/staging/vt6655/device_main.c vnt_beacon_make(priv, priv->vif); vif 1130 drivers/staging/vt6655/device_main.c if (priv->vif) vif 1292 drivers/staging/vt6655/device_main.c static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1296 drivers/staging/vt6655/device_main.c priv->vif = vif; vif 1298 drivers/staging/vt6655/device_main.c switch (vif->type) { vif 1317 drivers/staging/vt6655/device_main.c priv->op_mode = vif->type; vif 1323 drivers/staging/vt6655/device_main.c struct ieee80211_vif *vif) vif 1327 drivers/staging/vt6655/device_main.c switch (vif->type) { vif 1392 drivers/staging/vt6655/device_main.c struct ieee80211_vif *vif, vif 1454 drivers/staging/vt6655/device_main.c vnt_beacon_enable(priv, vif, conf); vif 1564 drivers/staging/vt6655/device_main.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 1571 drivers/staging/vt6655/device_main.c if (vnt_set_keys(hw, sta, vif, key)) vif 1594 drivers/staging/vt6655/device_main.c static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1604 drivers/staging/vt6655/device_main.c static void vnt_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 1609 drivers/staging/vt6655/device_main.c CARDvUpdateNextTBTT(priv, tsf, vif->bss_conf.beacon_int); vif 1612 drivers/staging/vt6655/device_main.c static void vnt_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 92 drivers/staging/vt6655/key.c struct ieee80211_vif *vif, struct ieee80211_key_conf *key) vif 94 drivers/staging/vt6655/key.c struct ieee80211_bss_conf *conf = &vif->bss_conf; vif 51 drivers/staging/vt6655/key.h struct ieee80211_vif *vif, struct ieee80211_key_conf *key); vif 1484 drivers/staging/vt6655/rxtx.c int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif) vif 1488 drivers/staging/vt6655/rxtx.c beacon = ieee80211_beacon_get(priv->hw, vif); vif 1500 drivers/staging/vt6655/rxtx.c int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif, vif 1511 drivers/staging/vt6655/rxtx.c return vnt_beacon_make(priv, vif); vif 183 drivers/staging/vt6655/rxtx.h int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif); vif 184 drivers/staging/vt6655/rxtx.h int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif, vif 260 drivers/staging/vt6656/device.h struct ieee80211_vif *vif; vif 107 drivers/staging/vt6656/key.c struct ieee80211_vif *vif, struct ieee80211_key_conf *key) vif 39 drivers/staging/vt6656/key.h struct ieee80211_vif *vif, struct ieee80211_key_conf *key); vif 609 drivers/staging/vt6656/main_usb.c static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 613 drivers/staging/vt6656/main_usb.c priv->vif = vif; vif 615 drivers/staging/vt6656/main_usb.c switch (vif->type) { vif 634 drivers/staging/vt6656/main_usb.c priv->op_mode = vif->type; vif 643 drivers/staging/vt6656/main_usb.c struct ieee80211_vif *vif) vif 647 drivers/staging/vt6656/main_usb.c switch (vif->type) { vif 708 drivers/staging/vt6656/main_usb.c struct ieee80211_vif *vif, vif 767 drivers/staging/vt6656/main_usb.c vnt_beacon_enable(priv, vif, conf); vif 858 drivers/staging/vt6656/main_usb.c struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 865 drivers/staging/vt6656/main_usb.c if (vnt_set_keys(hw, sta, vif, key)) vif 883 drivers/staging/vt6656/main_usb.c struct ieee80211_vif *vif, vif 893 drivers/staging/vt6656/main_usb.c struct ieee80211_vif *vif) vif 911 drivers/staging/vt6656/main_usb.c static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 918 drivers/staging/vt6656/main_usb.c static void vnt_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 923 drivers/staging/vt6656/main_usb.c vnt_update_next_tbtt(priv, tsf, vif->bss_conf.beacon_int); vif 926 drivers/staging/vt6656/main_usb.c static void vnt_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) vif 1082 drivers/staging/vt6656/rxtx.c int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif) vif 1086 drivers/staging/vt6656/rxtx.c beacon = ieee80211_beacon_get(priv->hw, vif); vif 1098 drivers/staging/vt6656/rxtx.c int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif, vif 1113 drivers/staging/vt6656/rxtx.c return vnt_beacon_make(priv, vif); vif 243 drivers/staging/vt6656/rxtx.h int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif); vif 244 drivers/staging/vt6656/rxtx.h int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif, vif 114 drivers/staging/vt6656/wcmd.c if (!priv->vif) vif 117 drivers/staging/vt6656/wcmd.c vnt_beacon_make(priv, priv->vif); vif 82 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif; vif 136 drivers/staging/wilc1000/wilc_hif.c wilc_alloc_work(struct wilc_vif *vif, void (*work_fun)(struct work_struct *), vif 148 drivers/staging/wilc1000/wilc_hif.c msg->vif = vif; vif 160 drivers/staging/wilc1000/wilc_hif.c if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) vif 163 drivers/staging/wilc1000/wilc_hif.c if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) vif 173 drivers/staging/wilc1000/wilc_hif.c int wilc_get_vif_idx(struct wilc_vif *vif) vif 175 drivers/staging/wilc1000/wilc_hif.c return vif->idx + 1; vif 190 drivers/staging/wilc1000/wilc_hif.c return wilc->vif[index]; vif 193 drivers/staging/wilc1000/wilc_hif.c static int handle_scan_done(struct wilc_vif *vif, enum scan_event evt) vif 198 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 208 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 210 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to set abort running\n"); vif 216 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL\n", __func__); vif 229 drivers/staging/wilc1000/wilc_hif.c int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type, vif 242 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 246 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Already scan\n"); vif 251 drivers/staging/wilc1000/wilc_hif.c if (vif->connecting) { vif 252 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Don't do obss scan\n"); vif 329 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, index); vif 331 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send scan parameters\n"); vif 335 drivers/staging/wilc1000/wilc_hif.c hif_drv->scan_timer_vif = vif; vif 346 drivers/staging/wilc1000/wilc_hif.c static int wilc_send_connect_wid(struct wilc_vif *vif) vif 351 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 379 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, wid_cnt); vif 381 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "failed to send config packet\n"); vif 400 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = msg->vif; vif 404 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 407 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL\n", __func__); vif 419 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: conn_result is NULL\n", __func__); vif 427 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 429 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send disconnect\n"); vif 578 drivers/staging/wilc1000/wilc_hif.c struct wilc_user_scan_req *scan_req = &msg->vif->hif_drv->usr_scan_req; vif 609 drivers/staging/wilc1000/wilc_hif.c static void host_int_get_assoc_res_info(struct wilc_vif *vif, vif 622 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1); vif 625 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send association response\n"); vif 654 drivers/staging/wilc1000/wilc_hif.c static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif, vif 657 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 665 drivers/staging/wilc1000/wilc_hif.c host_int_get_assoc_res_info(vif, hif_drv->assoc_resp, vif 676 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, vif 703 drivers/staging/wilc1000/wilc_hif.c static inline void host_int_handle_disconnect(struct wilc_vif *vif) vif 705 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 709 drivers/staging/wilc1000/wilc_hif.c handle_scan_done(vif, SCAN_EVENT_ABORTED); vif 716 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: conn_result is NULL\n", __func__); vif 729 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = msg->vif; vif 731 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 734 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL\n", __func__); vif 739 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: conn_result is NULL\n", __func__); vif 744 drivers/staging/wilc1000/wilc_hif.c host_int_parse_assoc_resp_info(vif, mac_info->status); vif 747 drivers/staging/wilc1000/wilc_hif.c host_int_handle_disconnect(vif); vif 750 drivers/staging/wilc1000/wilc_hif.c handle_scan_done(vif, SCAN_EVENT_ABORTED); vif 758 drivers/staging/wilc1000/wilc_hif.c int wilc_disconnect(struct wilc_vif *vif) vif 761 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 772 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 774 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send disconnect\n"); vif 794 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: conn_result is NULL\n", __func__); vif 808 drivers/staging/wilc1000/wilc_hif.c int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats) vif 843 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_GET_CFG, wid_list, wid_cnt); vif 845 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send scan parameters\n"); vif 851 drivers/staging/wilc1000/wilc_hif.c wilc_enable_tcp_ack_filter(vif, true); vif 853 drivers/staging/wilc1000/wilc_hif.c wilc_enable_tcp_ack_filter(vif, false); vif 861 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = msg->vif; vif 864 drivers/staging/wilc1000/wilc_hif.c wilc_get_statistics(vif, stats); vif 898 drivers/staging/wilc1000/wilc_hif.c static int handle_remain_on_chan(struct wilc_vif *vif, vif 904 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 912 drivers/staging/wilc1000/wilc_hif.c if (vif->connecting) vif 926 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 935 drivers/staging/wilc1000/wilc_hif.c hif_drv->remain_on_ch_timer_vif = vif; vif 940 drivers/staging/wilc1000/wilc_hif.c static int wilc_handle_roc_expired(struct wilc_vif *vif, u64 cookie) vif 945 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 946 drivers/staging/wilc1000/wilc_hif.c struct wilc_priv *priv = wdev_priv(vif->ndev->ieee80211_ptr); vif 961 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 964 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to set remain channel\n"); vif 973 drivers/staging/wilc1000/wilc_hif.c netdev_dbg(vif->ndev, "Not in listen state\n"); vif 983 drivers/staging/wilc1000/wilc_hif.c wilc_handle_roc_expired(msg->vif, msg->body.remain_on_ch.cookie); vif 991 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = hif_drv->remain_on_ch_timer_vif; vif 995 drivers/staging/wilc1000/wilc_hif.c del_timer(&vif->hif_drv->remain_on_ch_timer); vif 997 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, wilc_handle_listen_state_expired, false); vif 1001 drivers/staging/wilc1000/wilc_hif.c msg->body.remain_on_ch.cookie = vif->hif_drv->remain_on_ch.cookie; vif 1005 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", __func__); vif 1013 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = msg->vif; vif 1036 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1038 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send setup multicast\n"); vif 1050 drivers/staging/wilc1000/wilc_hif.c handle_scan_done(msg->vif, SCAN_EVENT_ABORTED); vif 1058 drivers/staging/wilc1000/wilc_hif.c del_timer(&msg->vif->hif_drv->scan_timer); vif 1060 drivers/staging/wilc1000/wilc_hif.c handle_scan_done(msg->vif, SCAN_EVENT_DONE); vif 1068 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = hif_drv->scan_timer_vif; vif 1072 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_scan_timer, false); vif 1085 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = hif_drv->connect_timer_vif; vif 1089 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_connect_timeout, false); vif 1098 drivers/staging/wilc1000/wilc_hif.c int wilc_remove_wep_key(struct wilc_vif *vif, u8 index) vif 1108 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1110 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, vif 1115 drivers/staging/wilc1000/wilc_hif.c int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index) vif 1124 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1126 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, vif 1132 drivers/staging/wilc1000/wilc_hif.c int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, vif 1152 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1154 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, vif 1161 drivers/staging/wilc1000/wilc_hif.c int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, vif 1190 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, vif 1193 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, vif 1200 drivers/staging/wilc1000/wilc_hif.c int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, vif 1237 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, vif 1264 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1271 drivers/staging/wilc1000/wilc_hif.c int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len, vif 1286 drivers/staging/wilc1000/wilc_hif.c vif->hif_drv->hif_state == HOST_IF_CONNECTED) vif 1287 drivers/staging/wilc1000/wilc_hif.c memcpy(gtk_key->mac_addr, vif->hif_drv->assoc_bssid, ETH_ALEN); vif 1315 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, vif 1324 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1331 drivers/staging/wilc1000/wilc_hif.c int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid) vif 1340 drivers/staging/wilc1000/wilc_hif.c return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1343 drivers/staging/wilc1000/wilc_hif.c int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr) vif 1353 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1); vif 1355 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to get mac address\n"); vif 1360 drivers/staging/wilc1000/wilc_hif.c int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies, vif 1364 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 1377 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_connect_wid(vif); vif 1381 drivers/staging/wilc1000/wilc_hif.c hif_drv->connect_timer_vif = vif; vif 1393 drivers/staging/wilc1000/wilc_hif.c int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel) vif 1403 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1405 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to set channel\n"); vif 1410 drivers/staging/wilc1000/wilc_hif.c int wilc_set_operation_mode(struct wilc_vif *vif, int index, u8 mode, vif 1425 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1427 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to set driver handler\n"); vif 1432 drivers/staging/wilc1000/wilc_hif.c s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac, u32 *out_val) vif 1445 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1448 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to set inactive mac\n"); vif 1456 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1); vif 1458 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to get inactive time\n"); vif 1463 drivers/staging/wilc1000/wilc_hif.c int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level) vif 1469 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: RSSI level is NULL\n", __func__); vif 1477 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1); vif 1479 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to get RSSI value\n"); vif 1484 drivers/staging/wilc1000/wilc_hif.c static int wilc_get_stats_async(struct wilc_vif *vif, struct rf_info *stats) vif 1489 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_get_statistics, false); vif 1497 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", __func__); vif 1505 drivers/staging/wilc1000/wilc_hif.c int wilc_hif_set_cfg(struct wilc_vif *vif, struct cfg_param_attr *param) vif 1539 drivers/staging/wilc1000/wilc_hif.c return wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, i); vif 1544 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = from_timer(vif, t, periodic_rssi); vif 1546 drivers/staging/wilc1000/wilc_hif.c if (!vif->hif_drv) { vif 1547 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL", __func__); vif 1551 drivers/staging/wilc1000/wilc_hif.c if (vif->hif_drv->hif_state == HOST_IF_CONNECTED) vif 1552 drivers/staging/wilc1000/wilc_hif.c wilc_get_stats_async(vif, &vif->periodic_stat); vif 1554 drivers/staging/wilc1000/wilc_hif.c mod_timer(&vif->periodic_rssi, jiffies + msecs_to_jiffies(5000)); vif 1560 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif = netdev_priv(dev); vif 1561 drivers/staging/wilc1000/wilc_hif.c struct wilc *wilc = vif->wilc; vif 1569 drivers/staging/wilc1000/wilc_hif.c vif->hif_drv = hif_drv; vif 1574 drivers/staging/wilc1000/wilc_hif.c timer_setup(&vif->periodic_rssi, get_periodic_rssi, 0); vif 1575 drivers/staging/wilc1000/wilc_hif.c mod_timer(&vif->periodic_rssi, jiffies + msecs_to_jiffies(5000)); vif 1590 drivers/staging/wilc1000/wilc_hif.c int wilc_deinit(struct wilc_vif *vif) vif 1593 drivers/staging/wilc1000/wilc_hif.c struct host_if_drv *hif_drv = vif->hif_drv; vif 1596 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL", __func__); vif 1600 drivers/staging/wilc1000/wilc_hif.c mutex_lock(&vif->wilc->deinit_lock); vif 1604 drivers/staging/wilc1000/wilc_hif.c del_timer_sync(&vif->periodic_rssi); vif 1616 drivers/staging/wilc1000/wilc_hif.c vif->hif_drv = NULL; vif 1617 drivers/staging/wilc1000/wilc_hif.c vif->wilc->clients_count--; vif 1618 drivers/staging/wilc1000/wilc_hif.c mutex_unlock(&vif->wilc->deinit_lock); vif 1628 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif; vif 1631 drivers/staging/wilc1000/wilc_hif.c vif = wilc_get_vif_from_idx(wilc, id); vif 1632 drivers/staging/wilc1000/wilc_hif.c if (!vif) vif 1634 drivers/staging/wilc1000/wilc_hif.c hif_drv = vif->hif_drv; vif 1637 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "driver not init[%p]\n", hif_drv); vif 1641 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_rcvd_ntwrk_info, false); vif 1657 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", __func__); vif 1669 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif; vif 1674 drivers/staging/wilc1000/wilc_hif.c vif = wilc_get_vif_from_idx(wilc, id); vif 1675 drivers/staging/wilc1000/wilc_hif.c if (!vif) { vif 1680 drivers/staging/wilc1000/wilc_hif.c hif_drv = vif->hif_drv; vif 1688 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: conn_result is NULL\n", __func__); vif 1693 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_rcvd_gnrl_async_info, false); vif 1702 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", __func__); vif 1714 drivers/staging/wilc1000/wilc_hif.c struct wilc_vif *vif; vif 1717 drivers/staging/wilc1000/wilc_hif.c vif = wilc_get_vif_from_idx(wilc, id); vif 1718 drivers/staging/wilc1000/wilc_hif.c if (!vif) vif 1720 drivers/staging/wilc1000/wilc_hif.c hif_drv = vif->hif_drv; vif 1728 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_scan_complete, false); vif 1734 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", vif 1741 drivers/staging/wilc1000/wilc_hif.c int wilc_remain_on_channel(struct wilc_vif *vif, u64 cookie, vif 1754 drivers/staging/wilc1000/wilc_hif.c result = handle_remain_on_chan(vif, &roc); vif 1756 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: failed to set remain on channel\n", vif 1762 drivers/staging/wilc1000/wilc_hif.c int wilc_listen_state_expired(struct wilc_vif *vif, u64 cookie) vif 1764 drivers/staging/wilc1000/wilc_hif.c if (!vif->hif_drv) { vif 1765 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: hif driver is NULL", __func__); vif 1769 drivers/staging/wilc1000/wilc_hif.c del_timer(&vif->hif_drv->remain_on_ch_timer); vif 1771 drivers/staging/wilc1000/wilc_hif.c return wilc_handle_roc_expired(vif, cookie); vif 1774 drivers/staging/wilc1000/wilc_hif.c void wilc_frame_register(struct wilc_vif *vif, u16 frame_type, bool reg) vif 1801 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1803 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to frame register\n"); vif 1806 drivers/staging/wilc1000/wilc_hif.c int wilc_add_beacon(struct wilc_vif *vif, u32 interval, u32 dtim_period, vif 1838 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1840 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send add beacon\n"); vif 1847 drivers/staging/wilc1000/wilc_hif.c int wilc_del_beacon(struct wilc_vif *vif) vif 1858 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1860 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send delete beacon\n"); vif 1865 drivers/staging/wilc1000/wilc_hif.c int wilc_add_station(struct wilc_vif *vif, const u8 *mac, vif 1882 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1884 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send add station\n"); vif 1891 drivers/staging/wilc1000/wilc_hif.c int wilc_del_station(struct wilc_vif *vif, const u8 *mac_addr) vif 1908 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1910 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to del station\n"); vif 1917 drivers/staging/wilc1000/wilc_hif.c int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN]) vif 1943 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1945 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send delete all station\n"); vif 1950 drivers/staging/wilc1000/wilc_hif.c int wilc_edit_station(struct wilc_vif *vif, const u8 *mac, vif 1967 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1969 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send edit station\n"); vif 1975 drivers/staging/wilc1000/wilc_hif.c int wilc_set_power_mgmt(struct wilc_vif *vif, bool enabled, u32 timeout) vif 1989 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 1991 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "Failed to send power management\n"); vif 1996 drivers/staging/wilc1000/wilc_hif.c int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count, vif 2002 drivers/staging/wilc1000/wilc_hif.c msg = wilc_alloc_work(vif, handle_set_mcast_filter, false); vif 2012 drivers/staging/wilc1000/wilc_hif.c netdev_err(vif->ndev, "%s: enqueue work failed\n", __func__); vif 2018 drivers/staging/wilc1000/wilc_hif.c int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power) vif 2027 drivers/staging/wilc1000/wilc_hif.c return wilc_send_config_pkt(vif, WILC_SET_CFG, &wid, 1); vif 2030 drivers/staging/wilc1000/wilc_hif.c int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power) vif 2039 drivers/staging/wilc1000/wilc_hif.c return wilc_send_config_pkt(vif, WILC_GET_CFG, &wid, 1); vif 173 drivers/staging/wilc1000/wilc_hif.h int wilc_remove_wep_key(struct wilc_vif *vif, u8 index); vif 174 drivers/staging/wilc1000/wilc_hif.h int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index); vif 175 drivers/staging/wilc1000/wilc_hif.h int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len, vif 177 drivers/staging/wilc1000/wilc_hif.h int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len, vif 179 drivers/staging/wilc1000/wilc_hif.h int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len, vif 182 drivers/staging/wilc1000/wilc_hif.h s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac, vif 184 drivers/staging/wilc1000/wilc_hif.h int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len, vif 188 drivers/staging/wilc1000/wilc_hif.h int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid); vif 189 drivers/staging/wilc1000/wilc_hif.h int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr); vif 190 drivers/staging/wilc1000/wilc_hif.h int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies, vif 192 drivers/staging/wilc1000/wilc_hif.h int wilc_disconnect(struct wilc_vif *vif); vif 193 drivers/staging/wilc1000/wilc_hif.h int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel); vif 194 drivers/staging/wilc1000/wilc_hif.h int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level); vif 195 drivers/staging/wilc1000/wilc_hif.h int wilc_scan(struct wilc_vif *vif, u8 scan_source, u8 scan_type, vif 200 drivers/staging/wilc1000/wilc_hif.h int wilc_hif_set_cfg(struct wilc_vif *vif, vif 203 drivers/staging/wilc1000/wilc_hif.h int wilc_deinit(struct wilc_vif *vif); vif 204 drivers/staging/wilc1000/wilc_hif.h int wilc_add_beacon(struct wilc_vif *vif, u32 interval, u32 dtim_period, vif 206 drivers/staging/wilc1000/wilc_hif.h int wilc_del_beacon(struct wilc_vif *vif); vif 207 drivers/staging/wilc1000/wilc_hif.h int wilc_add_station(struct wilc_vif *vif, const u8 *mac, vif 209 drivers/staging/wilc1000/wilc_hif.h int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN]); vif 210 drivers/staging/wilc1000/wilc_hif.h int wilc_del_station(struct wilc_vif *vif, const u8 *mac_addr); vif 211 drivers/staging/wilc1000/wilc_hif.h int wilc_edit_station(struct wilc_vif *vif, const u8 *mac, vif 213 drivers/staging/wilc1000/wilc_hif.h int wilc_set_power_mgmt(struct wilc_vif *vif, bool enabled, u32 timeout); vif 214 drivers/staging/wilc1000/wilc_hif.h int wilc_setup_multicast_filter(struct wilc_vif *vif, u32 enabled, u32 count, vif 216 drivers/staging/wilc1000/wilc_hif.h int wilc_remain_on_channel(struct wilc_vif *vif, u64 cookie, vif 220 drivers/staging/wilc1000/wilc_hif.h int wilc_listen_state_expired(struct wilc_vif *vif, u64 cookie); vif 221 drivers/staging/wilc1000/wilc_hif.h void wilc_frame_register(struct wilc_vif *vif, u16 frame_type, bool reg); vif 222 drivers/staging/wilc1000/wilc_hif.h int wilc_set_operation_mode(struct wilc_vif *vif, int index, u8 mode, vif 224 drivers/staging/wilc1000/wilc_hif.h int wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats); vif 225 drivers/staging/wilc1000/wilc_hif.h int wilc_get_vif_idx(struct wilc_vif *vif); vif 226 drivers/staging/wilc1000/wilc_hif.h int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power); vif 227 drivers/staging/wilc1000/wilc_hif.h int wilc_get_tx_power(struct wilc_vif *vif, u8 *tx_power); vif 21 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 22 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 34 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(userdata); vif 35 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 50 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 51 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 76 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 77 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 108 drivers/staging/wilc1000/wilc_netdev.c if (wilc->vif[i]->mode == WILC_STATION_MODE) vif 110 drivers/staging/wilc1000/wilc_netdev.c wilc->vif[i]->bssid)) { vif 111 drivers/staging/wilc1000/wilc_netdev.c ndev = wilc->vif[i]->ndev; vif 114 drivers/staging/wilc1000/wilc_netdev.c if (wilc->vif[i]->mode == WILC_AP_MODE) vif 116 drivers/staging/wilc1000/wilc_netdev.c wilc->vif[i]->bssid)) { vif 117 drivers/staging/wilc1000/wilc_netdev.c ndev = wilc->vif[i]->ndev; vif 128 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(wilc_netdev); vif 131 drivers/staging/wilc1000/wilc_netdev.c ether_addr_copy(vif->bssid, bssid); vif 133 drivers/staging/wilc1000/wilc_netdev.c eth_zero_addr(vif->bssid); vif 135 drivers/staging/wilc1000/wilc_netdev.c vif->mode = mode; vif 144 drivers/staging/wilc1000/wilc_netdev.c if (!is_zero_ether_addr(wilc->vif[i]->bssid)) vif 175 drivers/staging/wilc1000/wilc_netdev.c ifc = wl->vif[i]; vif 188 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 189 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 217 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 218 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 234 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 235 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 256 drivers/staging/wilc1000/wilc_netdev.c static int wilc_init_fw_config(struct net_device *dev, struct wilc_vif *vif) vif 258 drivers/staging/wilc1000/wilc_netdev.c struct wilc_priv *priv = &vif->priv; vif 268 drivers/staging/wilc1000/wilc_netdev.c w = vif->iftype; vif 270 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 1, WID_SET_OPERATION_MODE, (u8 *)&w, 4, vif 275 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_BSS_TYPE, &b, 1, 0, 0)) vif 279 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_CURRENT_TX_RATE, &b, 1, 0, 0)) vif 283 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11G_OPERATING_MODE, &b, 1, 0, 0)) vif 287 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_PREAMBLE, &b, 1, 0, 0)) vif 291 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_PROT_MECH, &b, 1, 0, 0)) vif 295 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_SCAN_TYPE, &b, 1, 0, 0)) vif 299 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_SITE_SURVEY, &b, 1, 0, 0)) vif 304 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_RTS_THRESHOLD, (u8 *)&hw, 2, 0, 0)) vif 309 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_FRAG_THRESHOLD, (u8 *)&hw, 2, 0, 0)) vif 313 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_BCAST_SSID, &b, 1, 0, 0)) vif 317 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_QOS_ENABLE, &b, 1, 0, 0)) vif 321 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_POWER_MANAGEMENT, &b, 1, 0, 0)) vif 325 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11I_MODE, &b, 1, 0, 0)) vif 329 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_AUTH_TYPE, &b, 1, 0, 0)) vif 333 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_LISTEN_INTERVAL, &b, 1, 0, 0)) vif 337 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_DTIM_PERIOD, &b, 1, 0, 0)) vif 341 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_ACK_POLICY, &b, 1, 0, 0)) vif 345 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_USER_CONTROL_ON_TX_POWER, &b, 1, vif 350 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_TX_POWER_LEVEL_11A, &b, 1, 0, 0)) vif 354 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_TX_POWER_LEVEL_11B, &b, 1, 0, 0)) vif 359 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_BEACON_INTERVAL, (u8 *)&hw, 2, 0, 0)) vif 363 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_REKEY_POLICY, &b, 1, 0, 0)) vif 368 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_REKEY_PERIOD, (u8 *)&w, 4, 0, 0)) vif 373 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_REKEY_PACKET_COUNT, (u8 *)&w, 4, 0, vif 378 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_SHORT_SLOT_ALLOWED, &b, 1, 0, vif 383 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_ERP_PROT_TYPE, &b, 1, 0, 0)) vif 387 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_ENABLE, &b, 1, 0, 0)) vif 391 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_OPERATING_MODE, &b, 1, 0, 0)) vif 395 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_TXOP_PROT_DISABLE, &b, 1, 0, 0)) vif 399 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_OBSS_NONHT_DETECTION, &b, 1, vif 404 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_HT_PROT_TYPE, &b, 1, 0, 0)) vif 408 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_RIFS_PROT_ENABLE, &b, 1, 0, vif 413 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_CURRENT_TX_MCS, &b, 1, 0, 0)) vif 417 drivers/staging/wilc1000/wilc_netdev.c if (!wilc_wlan_cfg_set(vif, 0, WID_11N_IMMEDIATE_BA_ENABLED, &b, 1, vif 429 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 430 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 441 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 442 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 456 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 457 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 478 drivers/staging/wilc1000/wilc_netdev.c wilc_wlan_stop(wl, vif); vif 492 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 493 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 507 drivers/staging/wilc1000/wilc_netdev.c static int wilc_wlan_initialize(struct net_device *dev, struct wilc_vif *vif) vif 510 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 555 drivers/staging/wilc1000/wilc_netdev.c if (wilc_wlan_cfg_get(vif, 1, WID_FIRMWARE_VERSION, 1, 0)) { vif 565 drivers/staging/wilc1000/wilc_netdev.c ret = wilc_init_fw_config(dev, vif); vif 576 drivers/staging/wilc1000/wilc_netdev.c wilc_wlan_stop(wl, vif); vif 606 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(ndev); vif 607 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 608 drivers/staging/wilc1000/wilc_netdev.c struct wilc_priv *priv = wdev_priv(vif->ndev->ieee80211_ptr); vif 623 drivers/staging/wilc1000/wilc_netdev.c ret = wilc_wlan_initialize(ndev, vif); vif 629 drivers/staging/wilc1000/wilc_netdev.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, vif 630 drivers/staging/wilc1000/wilc_netdev.c vif->idx); vif 631 drivers/staging/wilc1000/wilc_netdev.c wilc_get_mac_address(vif, mac_add); vif 642 drivers/staging/wilc1000/wilc_netdev.c wilc_mgmt_frame_register(vif->ndev->ieee80211_ptr->wiphy, vif 643 drivers/staging/wilc1000/wilc_netdev.c vif->ndev->ieee80211_ptr, vif 644 drivers/staging/wilc1000/wilc_netdev.c vif->frame_reg[0].type, vif 645 drivers/staging/wilc1000/wilc_netdev.c vif->frame_reg[0].reg); vif 646 drivers/staging/wilc1000/wilc_netdev.c wilc_mgmt_frame_register(vif->ndev->ieee80211_ptr->wiphy, vif 647 drivers/staging/wilc1000/wilc_netdev.c vif->ndev->ieee80211_ptr, vif 648 drivers/staging/wilc1000/wilc_netdev.c vif->frame_reg[1].type, vif 649 drivers/staging/wilc1000/wilc_netdev.c vif->frame_reg[1].reg); vif 653 drivers/staging/wilc1000/wilc_netdev.c vif->mac_opened = 1; vif 659 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 661 drivers/staging/wilc1000/wilc_netdev.c return &vif->netstats; vif 667 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(dev); vif 677 drivers/staging/wilc1000/wilc_netdev.c wilc_setup_multicast_filter(vif, 0, 0, NULL); vif 682 drivers/staging/wilc1000/wilc_netdev.c wilc_setup_multicast_filter(vif, 1, 0, NULL); vif 699 drivers/staging/wilc1000/wilc_netdev.c if (wilc_setup_multicast_filter(vif, 1, dev->mc.count, mc_list)) vif 713 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(ndev); vif 714 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wilc = vif->wilc; vif 734 drivers/staging/wilc1000/wilc_netdev.c vif->netstats.tx_packets++; vif 735 drivers/staging/wilc1000/wilc_netdev.c vif->netstats.tx_bytes += tx_data->size; vif 745 drivers/staging/wilc1000/wilc_netdev.c if (wilc->vif[i]->mac_opened) vif 746 drivers/staging/wilc1000/wilc_netdev.c netif_stop_queue(wilc->vif[i]->ndev); vif 756 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif = netdev_priv(ndev); vif 757 drivers/staging/wilc1000/wilc_netdev.c struct wilc *wl = vif->wilc; vif 766 drivers/staging/wilc1000/wilc_netdev.c if (vif->ndev) { vif 767 drivers/staging/wilc1000/wilc_netdev.c netif_stop_queue(vif->ndev); vif 769 drivers/staging/wilc1000/wilc_netdev.c wilc_deinit_host_int(vif->ndev); vif 778 drivers/staging/wilc1000/wilc_netdev.c vif->mac_opened = 0; vif 791 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif; vif 801 drivers/staging/wilc1000/wilc_netdev.c vif = netdev_priv(wilc_netdev); vif 816 drivers/staging/wilc1000/wilc_netdev.c vif->netstats.rx_packets++; vif 817 drivers/staging/wilc1000/wilc_netdev.c vif->netstats.rx_bytes += frame_len; vif 827 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif; vif 833 drivers/staging/wilc1000/wilc_netdev.c vif = netdev_priv(wilc->vif[i]->ndev); vif 834 drivers/staging/wilc1000/wilc_netdev.c if ((type == vif->frame_reg[0].type && vif->frame_reg[0].reg) || vif 835 drivers/staging/wilc1000/wilc_netdev.c (type == vif->frame_reg[1].type && vif->frame_reg[1].reg)) { vif 836 drivers/staging/wilc1000/wilc_netdev.c wilc_wfi_p2p_rx(vif, buff, size); vif 840 drivers/staging/wilc1000/wilc_netdev.c if (vif->monitor_flag) { vif 870 drivers/staging/wilc1000/wilc_netdev.c if (wilc->vif[i] && wilc->vif[i]->ndev) vif 871 drivers/staging/wilc1000/wilc_netdev.c unregister_netdev(wilc->vif[i]->ndev); vif 889 drivers/staging/wilc1000/wilc_netdev.c struct wilc_vif *vif; vif 892 drivers/staging/wilc1000/wilc_netdev.c ndev = alloc_etherdev(sizeof(*vif)); vif 896 drivers/staging/wilc1000/wilc_netdev.c vif = netdev_priv(ndev); vif 897 drivers/staging/wilc1000/wilc_netdev.c ndev->ieee80211_ptr = &vif->priv.wdev; vif 899 drivers/staging/wilc1000/wilc_netdev.c vif->wilc = wl; vif 900 drivers/staging/wilc1000/wilc_netdev.c vif->ndev = ndev; vif 901 drivers/staging/wilc1000/wilc_netdev.c ndev->ml_priv = vif; vif 907 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.wiphy = wl->wiphy; vif 908 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.netdev = ndev; vif 909 drivers/staging/wilc1000/wilc_netdev.c vif->priv.wdev.iftype = type; vif 910 drivers/staging/wilc1000/wilc_netdev.c vif->priv.dev = ndev; vif 923 drivers/staging/wilc1000/wilc_netdev.c vif->iftype = vif_type; vif 924 drivers/staging/wilc1000/wilc_netdev.c vif->wilc->vif[wl->vif_num] = vif; vif 925 drivers/staging/wilc1000/wilc_netdev.c vif->idx = wl->vif_num; vif 927 drivers/staging/wilc1000/wilc_netdev.c vif->mac_opened = 0; vif 928 drivers/staging/wilc1000/wilc_netdev.c return vif; vif 136 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 137 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc *wl = vif->wilc; vif 141 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = false; vif 151 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype != WILC_CLIENT_MODE) vif 176 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype != WILC_CLIENT_MODE) { vif 194 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (wl->vif[i]) vif 195 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return wl->vif[i]; vif 204 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 209 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wilc_get_wl_to_vif(wl); vif 210 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (IS_ERR(vif)) { vif 212 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return PTR_ERR(vif); vif 218 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c result = wilc_set_mac_chnl_num(vif, channelnum); vif 220 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "Error in setting channel\n"); vif 228 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(request->wdev->netdev); vif 229 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 236 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "Requested scanned channels over\n"); vif 253 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_scan(vif, WILC_FW_USER_SCAN, scan_type, scan_ch_list, vif 268 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 269 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 280 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = true; vif 294 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_wep_default_keyid(vif, sme->key_idx); vif 295 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_add_wep_key_bss_sta(vif, sme->key, sme->key_len, vif 304 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_wep_default_keyid(vif, sme->key_idx); vif 305 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_add_wep_key_bss_sta(vif, sme->key, sme->key_len, vif 356 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "%s: Scan in progress\n", __func__); vif 369 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (ether_addr_equal_unaligned(vif->bssid, bss->bssid)) { vif 383 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->op_ch = ch; vif 384 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype != WILC_CLIENT_MODE) vif 385 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->sta_ch = ch; vif 396 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_set_join_req(vif, bss->bssid, sme->ie, sme->ie_len); vif 400 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype != WILC_CLIENT_MODE) vif 401 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->sta_ch = WILC_INVALID_CHANNEL; vif 415 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = false; vif 422 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 423 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 424 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc *wilc = vif->wilc; vif 427 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = false; vif 438 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype != WILC_CLIENT_MODE) vif 447 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_disconnect(vif); vif 517 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 518 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 531 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_add_wep_key_bss_ap(vif, params->key, vif 541 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_add_wep_key_bss_sta(vif, params->key, vif 599 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_add_rx_gtk(vif, params->key, keylen, vif 604 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_add_ptk(vif, params->key, keylen, mac_addr, vif 624 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 625 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 627 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (netdev == wl->vif[0]->ndev) { vif 652 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_remove_wep_key(vif, key_index); vif 662 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 663 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 688 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 690 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_wep_default_keyid(vif, key_index); vif 698 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 699 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 704 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { vif 721 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_get_inactive_time(vif, mac, &inactive_time); vif 723 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c } else if (vif->iftype == WILC_STATION_MODE) { vif 726 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_get_statistics(vif, &stats); vif 742 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_enable_tcp_ack_filter(vif, true); vif 744 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_enable_tcp_ack_filter(vif, false); vif 758 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = NULL; vif 762 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (wl->vif[i]) { vif 763 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wl->vif[i]; vif 768 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return vif; vif 776 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 779 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wilc_get_interface(wl); vif 780 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (!vif) vif 783 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv = &vif->priv; vif 787 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 794 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 803 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 809 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, vif 817 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 823 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "RTS threshold out of range\n"); vif 828 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_hif_set_cfg(vif, &cfg_param_val); vif 838 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 839 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 864 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_set_pmkid_info(vif, &priv->pmkid_list); vif 874 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 875 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 905 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(netdev); vif 907 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memset(&vif->priv.pmkid_list, 0, sizeof(struct wilc_pmkid_attr)); vif 987 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(priv->dev); vif 1002 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 1015 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->sta_ch); vif 1022 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c void wilc_wfi_p2p_rx(struct wilc_vif *vif, u8 *buff, u32 size) vif 1024 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc *wl = vif->wilc; vif 1025 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1056 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, "Receiving action wrong ch\n"); vif 1079 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 1099 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = data; vif 1100 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1118 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1119 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1123 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, "Required while in AP mode\n"); vif 1131 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_remain_on_channel(vif, id, duration, chan->hw_value, vif 1133 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c (void *)vif); vif 1137 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->op_ch = chan->hw_value; vif 1146 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mod_timer(&vif->hif_drv->remain_on_ch_timer, vif 1156 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1157 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1162 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return wilc_listen_state_expired(vif, cookie); vif 1174 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(priv->dev); vif 1200 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->sta_ch); vif 1227 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1228 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1258 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_mac_chnl_num(vif, chan->hw_value); vif 1259 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->op_ch = chan->hw_value; vif 1269 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_mac_chnl_num(vif, chan->hw_value); vif 1270 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->wilc->op_ch = chan->hw_value; vif 1280 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c params, vif->iftype, vif 1283 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 1289 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_dbg(vif->ndev, vif 1313 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1314 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1337 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1344 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->frame_reg[0].type = frame_type; vif 1345 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->frame_reg[0].reg = reg; vif 1349 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->frame_reg[1].type = frame_type; vif 1350 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->frame_reg[1].reg = reg; vif 1359 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_frame_register(vif, frame_type, reg); vif 1371 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1379 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_get_rssi(vif, &sinfo->signal); vif 1383 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c memcpy(mac, vif->priv.associated_bss, ETH_ALEN); vif 1390 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1391 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1396 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_power_mgmt(vif, enabled, timeout); vif 1406 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1407 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1415 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = false; vif 1418 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->monitor_flag = 0; vif 1419 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) vif 1421 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->iftype = WILC_STATION_MODE; vif 1424 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif 1425 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c WILC_STATION_MODE, vif->idx); vif 1432 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->connecting = false; vif 1435 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->monitor_flag = 0; vif 1436 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->iftype = WILC_CLIENT_MODE; vif 1439 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif 1440 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c WILC_STATION_MODE, vif->idx); vif 1446 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->iftype = WILC_AP_MODE; vif 1449 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif 1450 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c WILC_AP_MODE, vif->idx); vif 1456 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->iftype = WILC_GO_MODE; vif 1459 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif 1460 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c WILC_AP_MODE, vif->idx); vif 1474 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1483 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return wilc_add_beacon(vif, settings->beacon_interval, vif 1490 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1492 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return wilc_add_beacon(vif, 0, 0, beacon); vif 1498 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1502 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_del_beacon(vif); vif 1514 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1515 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1517 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { vif 1521 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_add_station(vif, mac, params); vif 1534 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1535 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1538 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (!(vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE)) vif 1544 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_del_allstation(vif, info->sta_associated_bss); vif 1546 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_del_station(vif, mac); vif 1556 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(dev); vif 1558 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { vif 1559 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_edit_station(vif, mac, params); vif 1572 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (wl->vif[i]->iftype == type) { vif 1589 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 1604 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wl->vif[ap_index]; vif 1605 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (vif->monitor_flag) vif 1608 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ndev = wilc_wfi_init_mon_interface(wl, name, vif->ndev); vif 1610 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->monitor_flag = 1; vif 1614 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wdev = &vif->priv.wdev; vif 1638 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wilc_netdev_ifc_init(wl, name, iftype, type, true); vif 1639 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (IS_ERR(vif)) { vif 1640 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = PTR_ERR(vif); vif 1646 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c return &vif->priv.wdev; vif 1656 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 1662 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = netdev_priv(wdev->netdev); vif 1664 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c unregister_netdevice(vif->ndev); vif 1665 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->monitor_flag = 0; vif 1668 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, 0, 0, 0); vif 1669 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c for (i = vif->idx; i < wl->vif_num; i++) { vif 1671 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->vif[i] = NULL; vif 1673 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wl->vif[i + 1]; vif 1674 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->idx = i; vif 1675 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wl->vif[i] = vif; vif 1676 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif 1677 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif->iftype, vif->idx); vif 1706 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 1709 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wilc_get_wl_to_vif(wl); vif 1710 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (IS_ERR(vif)) { vif 1715 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_info(vif->ndev, "cfg set wake up = %d\n", enabled); vif 1724 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1730 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_set_tx_power(vif, tx_power); vif 1732 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "Failed to set tx power\n"); vif 1741 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(wdev->netdev); vif 1742 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc *wl = vif->wilc; vif 1748 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_get_tx_power(vif, (u8 *)dbm); vif 1750 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c netdev_err(vif->ndev, "Failed to get tx power\n"); vif 1818 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif; vif 1841 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c vif = wilc_netdev_ifc_init(wl, "wlan%d", WILC_STATION_MODE, vif 1843 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (IS_ERR(vif)) { vif 1844 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = PTR_ERR(vif); vif 1926 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(net); vif 1927 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1942 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_vif *vif = netdev_priv(net); vif 1943 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c struct wilc_priv *priv = &vif->priv; vif 1947 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c flush_workqueue(vif->wilc->hif_workqueue); vif 1949 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c ret = wilc_deinit(vif); vif 224 drivers/staging/wilc1000/wilc_wfi_netdevice.h struct wilc_vif *vif[WILC_NUM_CONCURRENT_IFC]; vif 42 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 43 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 61 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 62 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 74 drivers/staging/wilc1000/wilc_wlan.c static void wilc_wlan_txq_add_to_head(struct wilc_vif *vif, vif 78 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 94 drivers/staging/wilc1000/wilc_wlan.c static inline void add_tcp_session(struct wilc_vif *vif, u32 src_prt, vif 97 drivers/staging/wilc1000/wilc_wlan.c struct tcp_ack_filter *f = &vif->ack_filter; vif 108 drivers/staging/wilc1000/wilc_wlan.c static inline void update_tcp_session(struct wilc_vif *vif, u32 index, u32 ack) vif 110 drivers/staging/wilc1000/wilc_wlan.c struct tcp_ack_filter *f = &vif->ack_filter; vif 117 drivers/staging/wilc1000/wilc_wlan.c static inline void add_tcp_pending_ack(struct wilc_vif *vif, u32 ack, vif 121 drivers/staging/wilc1000/wilc_wlan.c struct tcp_ack_filter *f = &vif->ack_filter; vif 139 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 140 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 141 drivers/staging/wilc1000/wilc_wlan.c struct tcp_ack_filter *f = &vif->ack_filter; vif 171 drivers/staging/wilc1000/wilc_wlan.c update_tcp_session(vif, i, ack_no); vif 176 drivers/staging/wilc1000/wilc_wlan.c add_tcp_session(vif, 0, 0, seq_no); vif 178 drivers/staging/wilc1000/wilc_wlan.c add_tcp_pending_ack(vif, ack_no, i, tqe); vif 187 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 188 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 189 drivers/staging/wilc1000/wilc_wlan.c struct tcp_ack_filter *f = &vif->ack_filter; vif 242 drivers/staging/wilc1000/wilc_wlan.c void wilc_enable_tcp_ack_filter(struct wilc_vif *vif, bool value) vif 244 drivers/staging/wilc1000/wilc_wlan.c vif->ack_filter.enabled = value; vif 247 drivers/staging/wilc1000/wilc_wlan.c static int wilc_wlan_txq_add_cfg_pkt(struct wilc_vif *vif, u8 *buffer, vif 251 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 253 drivers/staging/wilc1000/wilc_wlan.c netdev_dbg(vif->ndev, "Adding config packet ...\n"); vif 255 drivers/staging/wilc1000/wilc_wlan.c netdev_dbg(vif->ndev, "Return due to clear function\n"); vif 270 drivers/staging/wilc1000/wilc_wlan.c tqe->vif = vif; vif 272 drivers/staging/wilc1000/wilc_wlan.c wilc_wlan_txq_add_to_head(vif, tqe); vif 282 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 285 drivers/staging/wilc1000/wilc_wlan.c wilc = vif->wilc; vif 299 drivers/staging/wilc1000/wilc_wlan.c tqe->vif = vif; vif 302 drivers/staging/wilc1000/wilc_wlan.c if (vif->ack_filter.enabled) vif 313 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 316 drivers/staging/wilc1000/wilc_wlan.c wilc = vif->wilc; vif 331 drivers/staging/wilc1000/wilc_wlan.c tqe->vif = vif; vif 489 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif; vif 498 drivers/staging/wilc1000/wilc_wlan.c dev = tqe->vif->ndev; vif 623 drivers/staging/wilc1000/wilc_wlan.c vif = tqe->vif; vif 643 drivers/staging/wilc1000/wilc_wlan.c bssid = tqe->vif->bssid; vif 659 drivers/staging/wilc1000/wilc_wlan.c vif->ack_filter.pending_acks[tqe->ack_idx].txqe = NULL; vif 944 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_stop(struct wilc *wilc, struct wilc_vif *vif) vif 953 drivers/staging/wilc1000/wilc_wlan.c netdev_err(vif->ndev, "Error while reading reg\n"); vif 961 drivers/staging/wilc1000/wilc_wlan.c netdev_err(vif->ndev, "Error while writing reg\n"); vif 968 drivers/staging/wilc1000/wilc_wlan.c netdev_err(vif->ndev, "Error while reading reg\n"); vif 976 drivers/staging/wilc1000/wilc_wlan.c netdev_err(vif->ndev, "Error while writing reg\n"); vif 990 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 991 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 1017 drivers/staging/wilc1000/wilc_wlan.c static int wilc_wlan_cfg_commit(struct wilc_vif *vif, int type, vif 1020 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 1034 drivers/staging/wilc1000/wilc_wlan.c if (!wilc_wlan_txq_add_cfg_pkt(vif, (u8 *)&cfg->hdr, t_len)) vif 1040 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, vif 1045 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 1063 drivers/staging/wilc1000/wilc_wlan.c netdev_dbg(vif->ndev, "%s: seqno[%d]\n", __func__, wilc->cfg_seq_no); vif 1065 drivers/staging/wilc1000/wilc_wlan.c if (wilc_wlan_cfg_commit(vif, WILC_CFG_SET, drv_handler)) vif 1070 drivers/staging/wilc1000/wilc_wlan.c netdev_dbg(vif->ndev, "%s: Timed Out\n", __func__); vif 1081 drivers/staging/wilc1000/wilc_wlan.c int wilc_wlan_cfg_get(struct wilc_vif *vif, int start, u16 wid, int commit, vif 1086 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 1103 drivers/staging/wilc1000/wilc_wlan.c if (wilc_wlan_cfg_commit(vif, WILC_CFG_QUERY, drv_handler)) vif 1108 drivers/staging/wilc1000/wilc_wlan.c netdev_dbg(vif->ndev, "%s: Timed Out\n", __func__); vif 1118 drivers/staging/wilc1000/wilc_wlan.c int wilc_send_config_pkt(struct wilc_vif *vif, u8 mode, struct wid *wids, vif 1123 drivers/staging/wilc1000/wilc_wlan.c u32 drv = wilc_get_vif_idx(vif); vif 1127 drivers/staging/wilc1000/wilc_wlan.c if (!wilc_wlan_cfg_get(vif, !i, vif 1136 drivers/staging/wilc1000/wilc_wlan.c wids[i].size = wilc_wlan_cfg_get_val(vif->wilc, vif 1143 drivers/staging/wilc1000/wilc_wlan.c if (!wilc_wlan_cfg_set(vif, !i, vif 1162 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 1163 drivers/staging/wilc1000/wilc_wlan.c struct wilc *wilc = vif->wilc; vif 1225 drivers/staging/wilc1000/wilc_wlan.c struct wilc_vif *vif = netdev_priv(dev); vif 1228 drivers/staging/wilc1000/wilc_wlan.c wilc = vif->wilc; vif 214 drivers/staging/wilc1000/wilc_wlan.h struct wilc_vif *vif; vif 278 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_stop(struct wilc *wilc, struct wilc_vif *vif); vif 285 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_cfg_set(struct wilc_vif *vif, int start, u16 wid, u8 *buffer, vif 287 drivers/staging/wilc1000/wilc_wlan.h int wilc_wlan_cfg_get(struct wilc_vif *vif, int start, u16 wid, int commit, vif 291 drivers/staging/wilc1000/wilc_wlan.h void wilc_enable_tcp_ack_filter(struct wilc_vif *vif, bool value); vif 295 drivers/staging/wilc1000/wilc_wlan.h void wilc_wfi_p2p_rx(struct wilc_vif *vif, u8 *buff, u32 size); vif 300 drivers/staging/wilc1000/wilc_wlan.h int wilc_send_config_pkt(struct wilc_vif *vif, u8 mode, struct wid *wids, vif 614 drivers/usb/gadget/udc/m66592-udc.c unsigned int clock, vif, irq_sense; vif 621 drivers/usb/gadget/udc/m66592-udc.c if (m66592->pdata->vif) vif 622 drivers/usb/gadget/udc/m66592-udc.c vif = M66592_LDRV; /* 3.3v */ vif 624 drivers/usb/gadget/udc/m66592-udc.c vif = 0; /* 1.5v */ vif 654 drivers/usb/gadget/udc/m66592-udc.c (vif & M66592_LDRV) | (endian & M66592_BIGEND), vif 802 drivers/usb/gadget/udc/r8a66597-udc.c u16 vif = r8a66597->pdata->vif ? LDRV : 0; vif 824 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_bset(r8a66597, vif | endian, PINCFG); vif 171 drivers/usb/host/r8a66597-hcd.c u16 vif = r8a66597->pdata->vif ? LDRV : 0; vif 179 drivers/usb/host/r8a66597-hcd.c r8a66597_bset(r8a66597, vif & LDRV, PINCFG); vif 53 include/linux/mroute_base.h struct vif_device *vif, vif 61 include/linux/mroute_base.h .dev = vif->dev, vif 63 include/linux/mroute_base.h .vif_flags = vif->flags, vif 73 include/linux/mroute_base.h struct vif_device *vif, vif 82 include/linux/mroute_base.h .dev = vif->dev, vif 84 include/linux/mroute_base.h .vif_flags = vif->flags, vif 40 include/linux/usb/m66592.h unsigned vif:1; vif 45 include/linux/usb/r8a66597.h unsigned vif:1; vif 45 include/net/inet_frag.h u32 vif; vif 22 include/net/inetpeer.h int vif; vif 76 include/net/inetpeer.h iaddr->a4.vif = 0; vif 104 include/net/inetpeer.h int vif, int create) vif 109 include/net/inetpeer.h daddr.a4.vif = vif; vif 268 include/net/mac80211.h struct ieee80211_vif *vif; vif 1030 include/net/mac80211.h struct ieee80211_vif *vif; vif 1638 include/net/mac80211.h static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) vif 1641 include/net/mac80211.h return vif->type == NL80211_IFTYPE_MESH_POINT; vif 1670 include/net/mac80211.h struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif); vif 2057 include/net/mac80211.h struct ieee80211_vif *vif; vif 3768 include/net/mac80211.h struct ieee80211_vif *vif); vif 3770 include/net/mac80211.h struct ieee80211_vif *vif, vif 3773 include/net/mac80211.h struct ieee80211_vif *vif); vif 3776 include/net/mac80211.h struct ieee80211_vif *vif, vif 3780 include/net/mac80211.h int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 3781 include/net/mac80211.h void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 3790 include/net/mac80211.h struct ieee80211_vif *vif, vif 3796 include/net/mac80211.h struct ieee80211_vif *vif, struct ieee80211_sta *sta, vif 3799 include/net/mac80211.h struct ieee80211_vif *vif, vif 3804 include/net/mac80211.h struct ieee80211_vif *vif, vif 3807 include/net/mac80211.h struct ieee80211_vif *vif, int idx); vif 3808 include/net/mac80211.h int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3811 include/net/mac80211.h struct ieee80211_vif *vif); vif 3813 include/net/mac80211.h struct ieee80211_vif *vif, vif 3817 include/net/mac80211.h struct ieee80211_vif *vif); vif 3819 include/net/mac80211.h struct ieee80211_vif *vif, vif 3822 include/net/mac80211.h struct ieee80211_vif *vif); vif 3830 include/net/mac80211.h int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3832 include/net/mac80211.h int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3836 include/net/mac80211.h struct ieee80211_vif *vif, vif 3840 include/net/mac80211.h void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3843 include/net/mac80211.h struct ieee80211_vif *vif, vif 3845 include/net/mac80211.h int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3850 include/net/mac80211.h struct ieee80211_vif *vif, vif 3853 include/net/mac80211.h struct ieee80211_vif *vif, vif 3857 include/net/mac80211.h struct ieee80211_vif *vif, vif 3860 include/net/mac80211.h struct ieee80211_vif *vif, vif 3864 include/net/mac80211.h struct ieee80211_vif *vif, u16 ac, vif 3866 include/net/mac80211.h u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 3867 include/net/mac80211.h void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3869 include/net/mac80211.h void (*offset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3871 include/net/mac80211.h void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 3903 include/net/mac80211.h struct ieee80211_vif *vif, vif 3910 include/net/mac80211.h int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3916 include/net/mac80211.h void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3919 include/net/mac80211.h struct ieee80211_vif *vif, vif 3925 include/net/mac80211.h struct ieee80211_vif *vif, vif 3930 include/net/mac80211.h struct ieee80211_vif *vif); vif 3935 include/net/mac80211.h int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 3938 include/net/mac80211.h struct ieee80211_vif *vif, vif 3953 include/net/mac80211.h struct ieee80211_vif *vif, int sset); vif 3955 include/net/mac80211.h struct ieee80211_vif *vif, vif 3958 include/net/mac80211.h struct ieee80211_vif *vif, vif 3962 include/net/mac80211.h struct ieee80211_vif *vif, vif 3966 include/net/mac80211.h struct ieee80211_vif *vif); vif 3976 include/net/mac80211.h struct ieee80211_vif *vif, vif 3979 include/net/mac80211.h struct ieee80211_vif *vif, vif 3991 include/net/mac80211.h struct ieee80211_vif *vif, vif 3995 include/net/mac80211.h struct ieee80211_vif *vif, vif 3998 include/net/mac80211.h struct ieee80211_vif *vif, vif 4002 include/net/mac80211.h struct ieee80211_vif *vif); vif 4004 include/net/mac80211.h struct ieee80211_vif *vif); vif 4006 include/net/mac80211.h struct ieee80211_vif *vif, vif 4009 include/net/mac80211.h int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 4010 include/net/mac80211.h void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 4013 include/net/mac80211.h int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4017 include/net/mac80211.h struct ieee80211_vif *vif, vif 4022 include/net/mac80211.h struct ieee80211_vif *vif, vif 4025 include/net/mac80211.h struct ieee80211_vif *vif, vif 4033 include/net/mac80211.h struct ieee80211_vif *vif, vif 4036 include/net/mac80211.h struct ieee80211_vif *vif); vif 4038 include/net/mac80211.h struct ieee80211_vif *vif, vif 4041 include/net/mac80211.h struct ieee80211_vif *vif, vif 4044 include/net/mac80211.h struct ieee80211_vif *vif, vif 4050 include/net/mac80211.h struct ieee80211_vif *vif, vif 4052 include/net/mac80211.h int (*start_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4054 include/net/mac80211.h void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4502 include/net/mac80211.h void ieee80211_get_tx_rates(struct ieee80211_vif *vif, vif 4687 include/net/mac80211.h struct ieee80211_vif *vif, vif 4713 include/net/mac80211.h struct ieee80211_vif *vif, vif 4726 include/net/mac80211.h struct ieee80211_vif *vif) vif 4728 include/net/mac80211.h return ieee80211_beacon_get_tim(hw, vif, NULL, NULL); vif 4743 include/net/mac80211.h u8 ieee80211_csa_update_counter(struct ieee80211_vif *vif); vif 4756 include/net/mac80211.h void ieee80211_csa_set_counter(struct ieee80211_vif *vif, u8 counter); vif 4766 include/net/mac80211.h void ieee80211_csa_finish(struct ieee80211_vif *vif); vif 4774 include/net/mac80211.h bool ieee80211_csa_is_complete(struct ieee80211_vif *vif); vif 4790 include/net/mac80211.h struct ieee80211_vif *vif); vif 4807 include/net/mac80211.h struct ieee80211_vif *vif); vif 4829 include/net/mac80211.h struct ieee80211_vif *vif, vif 4864 include/net/mac80211.h void ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4883 include/net/mac80211.h struct ieee80211_vif *vif, size_t frame_len, vif 4901 include/net/mac80211.h struct ieee80211_vif *vif, vif 4920 include/net/mac80211.h struct ieee80211_vif *vif, vif 4938 include/net/mac80211.h struct ieee80211_vif *vif, vif 4965 include/net/mac80211.h ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif); vif 5125 include/net/mac80211.h ieee80211_gtk_rekey_add(struct ieee80211_vif *vif, vif 5135 include/net/mac80211.h void ieee80211_gtk_rekey_notify(struct ieee80211_vif *vif, const u8 *bssid, vif 5252 include/net/mac80211.h struct ieee80211_vif *vif), vif 5273 include/net/mac80211.h struct ieee80211_vif *vif), vif 5299 include/net/mac80211.h struct ieee80211_vif *vif), vif 5318 include/net/mac80211.h struct ieee80211_vif *vif), vif 5387 include/net/mac80211.h void ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, vif 5413 include/net/mac80211.h void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, vif 5427 include/net/mac80211.h struct ieee80211_sta *ieee80211_find_sta(struct ieee80211_vif *vif, vif 5578 include/net/mac80211.h struct ieee80211_vif *vif, vif 5580 include/net/mac80211.h struct ieee80211_vif *vif, vif 5602 include/net/mac80211.h struct ieee80211_vif *vif, vif 5604 include/net/mac80211.h struct ieee80211_vif *vif, vif 5651 include/net/mac80211.h struct ieee80211_vif *vif); vif 5662 include/net/mac80211.h void ieee80211_beacon_loss(struct ieee80211_vif *vif); vif 5678 include/net/mac80211.h void ieee80211_connection_loss(struct ieee80211_vif *vif); vif 5701 include/net/mac80211.h void ieee80211_resume_disconnect(struct ieee80211_vif *vif); vif 5716 include/net/mac80211.h void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif, vif 5727 include/net/mac80211.h void ieee80211_cqm_beacon_loss_notify(struct ieee80211_vif *vif, gfp_t gfp); vif 5744 include/net/mac80211.h void ieee80211_chswitch_done(struct ieee80211_vif *vif, bool success); vif 5755 include/net/mac80211.h void ieee80211_request_smps(struct ieee80211_vif *vif, vif 5784 include/net/mac80211.h void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, vif 5816 include/net/mac80211.h void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn); vif 5824 include/net/mac80211.h void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif, const u8 *addr, vif 5841 include/net/mac80211.h static inline void ieee80211_start_rx_ba_session_offl(struct ieee80211_vif *vif, vif 5846 include/net/mac80211.h ieee80211_manage_rx_ba_offl(vif, addr, tid); vif 5863 include/net/mac80211.h static inline void ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif *vif, vif 5868 include/net/mac80211.h ieee80211_manage_rx_ba_offl(vif, addr, tid + IEEE80211_NUM_TIDS); vif 5883 include/net/mac80211.h void ieee80211_rx_ba_timer_expired(struct ieee80211_vif *vif, vif 6073 include/net/mac80211.h ieee80211_vif_type_p2p(struct ieee80211_vif *vif) vif 6075 include/net/mac80211.h return ieee80211_iftype_p2p(vif->type, vif->p2p); vif 6090 include/net/mac80211.h void ieee80211_update_mu_groups(struct ieee80211_vif *vif, vif 6093 include/net/mac80211.h void ieee80211_enable_rssi_reports(struct ieee80211_vif *vif, vif 6097 include/net/mac80211.h void ieee80211_disable_rssi_reports(struct ieee80211_vif *vif); vif 6109 include/net/mac80211.h int ieee80211_ave_rssi(struct ieee80211_vif *vif); vif 6119 include/net/mac80211.h void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif, vif 6134 include/net/mac80211.h struct ieee80211_vif *vif, struct sk_buff *skb, vif 6194 include/net/mac80211.h void ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer, vif 6400 include/net/mac80211.h void ieee80211_nan_func_terminated(struct ieee80211_vif *vif, vif 6416 include/net/mac80211.h void ieee80211_nan_func_match(struct ieee80211_vif *vif, vif 316 net/ipv4/icmp.c int vif; vif 325 net/ipv4/icmp.c vif = l3mdev_master_ifindex(dst->dev); vif 326 net/ipv4/icmp.c peer = inet_getpeer_v4(net->ipv4.peers, fl4->daddr, vif, 1); vif 92 net/ipv4/ip_fragment.c inet_getpeer_v4(net->ipv4.peers, key->saddr, key->vif, 1) : vif 204 net/ipv4/ip_fragment.c u32 user, int vif) vif 210 net/ipv4/ip_fragment.c .vif = vif, vif 477 net/ipv4/ip_fragment.c int vif = l3mdev_master_ifindex_rcu(dev); vif 484 net/ipv4/ip_fragment.c qp = ip_find(net, ip_hdr(skb), user, vif); vif 647 net/ipv4/ipmr.c struct vif_device *vif, vif 651 net/ipv4/ipmr.c vif, vif_index, tb_id, vif 1379 net/ipv4/ipmr.c struct vifctl vif; vif 1441 net/ipv4/ipmr.c if (optlen != sizeof(vif)) { vif 1445 net/ipv4/ipmr.c if (copy_from_user(&vif, optval, sizeof(vif))) { vif 1449 net/ipv4/ipmr.c if (vif.vifc_vifi >= MAXVIFS) { vif 1454 net/ipv4/ipmr.c ret = vif_add(net, mrt, &vif, vif 1457 net/ipv4/ipmr.c ret = vif_delete(mrt, vif.vifc_vifi, 0, NULL); vif 1614 net/ipv4/ipmr.c struct vif_device *vif; vif 1631 net/ipv4/ipmr.c vif = &mrt->vif_table[vr.vifi]; vif 1633 net/ipv4/ipmr.c vr.icount = vif->pkt_in; vif 1634 net/ipv4/ipmr.c vr.ocount = vif->pkt_out; vif 1635 net/ipv4/ipmr.c vr.ibytes = vif->bytes_in; vif 1636 net/ipv4/ipmr.c vr.obytes = vif->bytes_out; vif 1689 net/ipv4/ipmr.c struct vif_device *vif; vif 1706 net/ipv4/ipmr.c vif = &mrt->vif_table[vr.vifi]; vif 1708 net/ipv4/ipmr.c vr.icount = vif->pkt_in; vif 1709 net/ipv4/ipmr.c vr.ocount = vif->pkt_out; vif 1710 net/ipv4/ipmr.c vr.ibytes = vif->bytes_in; vif 1711 net/ipv4/ipmr.c vr.obytes = vif->bytes_out; vif 1842 net/ipv4/ipmr.c struct vif_device *vif = &mrt->vif_table[vifi]; vif 1848 net/ipv4/ipmr.c if (!vif->dev) vif 1851 net/ipv4/ipmr.c if (vif->flags & VIFF_REGISTER) { vif 1852 net/ipv4/ipmr.c vif->pkt_out++; vif 1853 net/ipv4/ipmr.c vif->bytes_out += skb->len; vif 1854 net/ipv4/ipmr.c vif->dev->stats.tx_bytes += skb->len; vif 1855 net/ipv4/ipmr.c vif->dev->stats.tx_packets++; vif 1863 net/ipv4/ipmr.c if (vif->flags & VIFF_TUNNEL) { vif 1865 net/ipv4/ipmr.c vif->remote, vif->local, vif 1868 net/ipv4/ipmr.c RT_TOS(iph->tos), vif->link); vif 1876 net/ipv4/ipmr.c RT_TOS(iph->tos), vif->link); vif 1900 net/ipv4/ipmr.c vif->pkt_out++; vif 1901 net/ipv4/ipmr.c vif->bytes_out += skb->len; vif 1910 net/ipv4/ipmr.c if (vif->flags & VIFF_TUNNEL) { vif 1911 net/ipv4/ipmr.c ip_encap(net, skb, vif->local, vif->remote); vif 1913 net/ipv4/ipmr.c vif->dev->stats.tx_packets++; vif 1914 net/ipv4/ipmr.c vif->dev->stats.tx_bytes += skb->len; vif 1956 net/ipv4/ipmr.c int vif, ct; vif 1958 net/ipv4/ipmr.c vif = c->_c.mfc_parent; vif 1969 net/ipv4/ipmr.c cache_proxy = mr_mfc_find_any_parent(mrt, vif); vif 1976 net/ipv4/ipmr.c if (mrt->vif_table[vif].dev != dev) { vif 2015 net/ipv4/ipmr.c mrt->vif_table[vif].pkt_in++; vif 2016 net/ipv4/ipmr.c mrt->vif_table[vif].bytes_in += skb->len; vif 2153 net/ipv4/ipmr.c int vif = ipmr_find_vif(mrt, dev); vif 2155 net/ipv4/ipmr.c if (vif >= 0) vif 2157 net/ipv4/ipmr.c vif); vif 2162 net/ipv4/ipmr.c int vif; vif 2173 net/ipv4/ipmr.c vif = ipmr_find_vif(mrt, dev); vif 2174 net/ipv4/ipmr.c if (vif >= 0) { vif 2175 net/ipv4/ipmr.c int err2 = ipmr_cache_unresolved(mrt, vif, skb, dev); vif 2272 net/ipv4/ipmr.c int vif = ipmr_find_vif(mrt, skb->dev); vif 2274 net/ipv4/ipmr.c if (vif >= 0) vif 2275 net/ipv4/ipmr.c cache = ipmr_cache_find_any(mrt, daddr, vif); vif 2281 net/ipv4/ipmr.c int vif = -1; vif 2286 net/ipv4/ipmr.c vif = ipmr_find_vif(mrt, dev); vif 2287 net/ipv4/ipmr.c if (vif < 0) { vif 2308 net/ipv4/ipmr.c err = ipmr_cache_unresolved(mrt, vif, skb2, dev); vif 2775 net/ipv4/ipmr.c struct vif_device *vif; vif 2781 net/ipv4/ipmr.c vif = &mrt->vif_table[vifid]; vif 2785 net/ipv4/ipmr.c if (nla_put_u32(skb, IPMRA_VIFA_IFINDEX, vif->dev->ifindex) || vif 2787 net/ipv4/ipmr.c nla_put_u16(skb, IPMRA_VIFA_FLAGS, vif->flags) || vif 2788 net/ipv4/ipmr.c nla_put_u64_64bit(skb, IPMRA_VIFA_BYTES_IN, vif->bytes_in, vif 2790 net/ipv4/ipmr.c nla_put_u64_64bit(skb, IPMRA_VIFA_BYTES_OUT, vif->bytes_out, vif 2792 net/ipv4/ipmr.c nla_put_u64_64bit(skb, IPMRA_VIFA_PACKETS_IN, vif->pkt_in, vif 2794 net/ipv4/ipmr.c nla_put_u64_64bit(skb, IPMRA_VIFA_PACKETS_OUT, vif->pkt_out, vif 2796 net/ipv4/ipmr.c nla_put_be32(skb, IPMRA_VIFA_LOCAL_ADDR, vif->local) || vif 2797 net/ipv4/ipmr.c nla_put_be32(skb, IPMRA_VIFA_REMOTE_ADDR, vif->remote)) { vif 2948 net/ipv4/ipmr.c const struct vif_device *vif = v; vif 2949 net/ipv4/ipmr.c const char *name = vif->dev ? vif 2950 net/ipv4/ipmr.c vif->dev->name : "none"; vif 2954 net/ipv4/ipmr.c vif - mrt->vif_table, vif 2955 net/ipv4/ipmr.c name, vif->bytes_in, vif->pkt_in, vif 2956 net/ipv4/ipmr.c vif->bytes_out, vif->pkt_out, vif 2957 net/ipv4/ipmr.c vif->flags, vif->local, vif->remote); vif 237 net/ipv4/ipmr_base.c struct vif_device *vif; vif 247 net/ipv4/ipmr_base.c vif = &mrt->vif_table[ct]; vif 248 net/ipv4/ipmr_base.c nhp->rtnh_ifindex = vif->dev->ifindex; vif 279 net/ipv4/ipmr_base.c const struct vif_device *vif; vif 281 net/ipv4/ipmr_base.c vif = &mrt->vif_table[ct]; vif 282 net/ipv4/ipmr_base.c if (vif->dev == dev) vif 876 net/ipv4/route.c int vif; vif 885 net/ipv4/route.c vif = l3mdev_master_ifindex_rcu(rt->dst.dev); vif 889 net/ipv4/route.c peer = inet_getpeer_v4(net->ipv4.peers, ip_hdr(skb)->saddr, vif, 1); vif 433 net/ipv6/ip6mr.c const struct vif_device *vif = v; vif 434 net/ipv6/ip6mr.c const char *name = vif->dev ? vif->dev->name : "none"; vif 438 net/ipv6/ip6mr.c vif - mrt->vif_table, vif 439 net/ipv6/ip6mr.c name, vif->bytes_in, vif->pkt_in, vif 440 net/ipv6/ip6mr.c vif->bytes_out, vif->pkt_out, vif 441 net/ipv6/ip6mr.c vif->flags); vif 674 net/ipv6/ip6mr.c struct vif_device *vif, vif 678 net/ipv6/ip6mr.c vif, vif_index, tb_id, vif 1630 net/ipv6/ip6mr.c struct mif6ctl vif; vif 1661 net/ipv6/ip6mr.c if (optlen < sizeof(vif)) vif 1663 net/ipv6/ip6mr.c if (copy_from_user(&vif, optval, sizeof(vif))) vif 1665 net/ipv6/ip6mr.c if (vif.mif6c_mifi >= MAXMIFS) vif 1668 net/ipv6/ip6mr.c ret = mif6_add(net, mrt, &vif, vif 1853 net/ipv6/ip6mr.c struct vif_device *vif; vif 1870 net/ipv6/ip6mr.c vif = &mrt->vif_table[vr.mifi]; vif 1872 net/ipv6/ip6mr.c vr.icount = vif->pkt_in; vif 1873 net/ipv6/ip6mr.c vr.ocount = vif->pkt_out; vif 1874 net/ipv6/ip6mr.c vr.ibytes = vif->bytes_in; vif 1875 net/ipv6/ip6mr.c vr.obytes = vif->bytes_out; vif 1928 net/ipv6/ip6mr.c struct vif_device *vif; vif 1945 net/ipv6/ip6mr.c vif = &mrt->vif_table[vr.mifi]; vif 1947 net/ipv6/ip6mr.c vr.icount = vif->pkt_in; vif 1948 net/ipv6/ip6mr.c vr.ocount = vif->pkt_out; vif 1949 net/ipv6/ip6mr.c vr.ibytes = vif->bytes_in; vif 1950 net/ipv6/ip6mr.c vr.obytes = vif->bytes_out; vif 2000 net/ipv6/ip6mr.c struct vif_device *vif = &mrt->vif_table[vifi]; vif 2005 net/ipv6/ip6mr.c if (!vif->dev) vif 2009 net/ipv6/ip6mr.c if (vif->flags & MIFF_REGISTER) { vif 2010 net/ipv6/ip6mr.c vif->pkt_out++; vif 2011 net/ipv6/ip6mr.c vif->bytes_out += skb->len; vif 2012 net/ipv6/ip6mr.c vif->dev->stats.tx_bytes += skb->len; vif 2013 net/ipv6/ip6mr.c vif->dev->stats.tx_packets++; vif 2022 net/ipv6/ip6mr.c .flowi6_oif = vif->link, vif 2046 net/ipv6/ip6mr.c dev = vif->dev; vif 2048 net/ipv6/ip6mr.c vif->pkt_out++; vif 2049 net/ipv6/ip6mr.c vif->bytes_out += skb->len; vif 2086 net/ipv6/ip6mr.c int vif, ct; vif 2089 net/ipv6/ip6mr.c vif = c->_c.mfc_parent; vif 2101 net/ipv6/ip6mr.c cache_proxy = mr_mfc_find_any_parent(mrt, vif); vif 2113 net/ipv6/ip6mr.c if (mrt->vif_table[vif].dev != dev) { vif 2134 net/ipv6/ip6mr.c mrt->vif_table[vif].pkt_in++; vif 2135 net/ipv6/ip6mr.c mrt->vif_table[vif].bytes_in += skb->len; vif 2217 net/ipv6/ip6mr.c int vif = ip6mr_find_vif(mrt, dev); vif 2219 net/ipv6/ip6mr.c if (vif >= 0) vif 2222 net/ipv6/ip6mr.c vif); vif 2229 net/ipv6/ip6mr.c int vif; vif 2231 net/ipv6/ip6mr.c vif = ip6mr_find_vif(mrt, dev); vif 2232 net/ipv6/ip6mr.c if (vif >= 0) { vif 2233 net/ipv6/ip6mr.c int err = ip6mr_cache_unresolved(mrt, vif, skb, dev); vif 2265 net/ipv6/ip6mr.c int vif = ip6mr_find_vif(mrt, skb->dev); vif 2267 net/ipv6/ip6mr.c if (vif >= 0) vif 2269 net/ipv6/ip6mr.c vif); vif 2276 net/ipv6/ip6mr.c int vif; vif 2279 net/ipv6/ip6mr.c if (!dev || (vif = ip6mr_find_vif(mrt, dev)) < 0) { vif 2309 net/ipv6/ip6mr.c err = ip6mr_cache_unresolved(mrt, vif, skb2, dev); vif 125 net/mac80211/agg-rx.c void ieee80211_stop_rx_ba_session(struct ieee80211_vif *vif, u16 ba_rx_bitmap, vif 128 net/mac80211/agg-rx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 194 net/mac80211/agg-rx.c he_cap = ieee80211_get_he_iftype_cap(sband, sdata->vif.type); vif 235 net/mac80211/agg-rx.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 236 net/mac80211/agg-rx.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 237 net/mac80211/agg-rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 238 net/mac80211/agg-rx.c sdata->vif.type == NL80211_IFTYPE_MESH_POINT) vif 239 net/mac80211/agg-rx.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 240 net/mac80211/agg-rx.c else if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 242 net/mac80211/agg-rx.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 509 net/mac80211/agg-rx.c void ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif, vif 512 net/mac80211/agg-rx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 528 net/mac80211/agg-rx.c void ieee80211_rx_ba_timer_expired(struct ieee80211_vif *vif, vif 531 net/mac80211/agg-rx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 79 net/mac80211/agg-tx.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 80 net/mac80211/agg-tx.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 81 net/mac80211/agg-tx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 82 net/mac80211/agg-tx.c sdata->vif.type == NL80211_IFTYPE_MESH_POINT) vif 83 net/mac80211/agg-tx.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 84 net/mac80211/agg-tx.c else if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 86 net/mac80211/agg-tx.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 112 net/mac80211/agg-tx.c void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) vif 114 net/mac80211/agg-tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 129 net/mac80211/agg-tx.c memcpy(bar->ta, sdata->vif.addr, ETH_ALEN); vif 164 net/mac80211/agg-tx.c int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; vif 179 net/mac80211/agg-tx.c int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; vif 201 net/mac80211/agg-tx.c sdata = vif_to_sdata(txq->vif); vif 243 net/mac80211/agg-tx.c int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; vif 591 net/mac80211/agg-tx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 592 net/mac80211/agg-tx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT && vif 593 net/mac80211/agg-tx.c sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 594 net/mac80211/agg-tx.c sdata->vif.type != NL80211_IFTYPE_AP && vif 595 net/mac80211/agg-tx.c sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 617 net/mac80211/agg-tx.c if (sta->sdata->vif.type == NL80211_IFTYPE_ADHOC && vif 780 net/mac80211/agg-tx.c void ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, vif 783 net/mac80211/agg-tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 889 net/mac80211/agg-tx.c void ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, vif 892 net/mac80211/agg-tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 38 net/mac80211/cfg.c memcpy(sdata->vif.bss_conf.mu_group.membership, vif 40 net/mac80211/cfg.c memcpy(sdata->vif.bss_conf.mu_group.position, vif 57 net/mac80211/cfg.c sdata->vif.mu_mimo_owner = mu_mimo_groups || mu_mimo_follow; vif 169 net/mac80211/cfg.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { vif 243 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_NAN) vif 271 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_NAN) vif 326 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_NAN || vif 419 net/mac80211/cfg.c cs = ieee80211_cs_get(local, params->cipher, sdata->vif.type); vif 456 net/mac80211/cfg.c switch (sdata->vif.type) { vif 532 net/mac80211/cfg.c ieee80211_key_free(key, sdata->vif.type == NL80211_IFTYPE_STATION); vif 697 net/mac80211/cfg.c int shift = ieee80211_vif_get_shift(&sta->sdata->vif); vif 842 net/mac80211/cfg.c bss_conf = &sdata->vif.bss_conf; vif 947 net/mac80211/cfg.c sdata->vif.bss_conf.ftm_responder = params->ftm_responder; vif 1009 net/mac80211/cfg.c prev_beacon_int = sdata->vif.bss_conf.beacon_int; vif 1010 net/mac80211/cfg.c sdata->vif.bss_conf.beacon_int = params->beacon_interval; vif 1013 net/mac80211/cfg.c sdata->vif.bss_conf.he_support = true; vif 1022 net/mac80211/cfg.c sdata->vif.bss_conf.beacon_int = prev_beacon_int; vif 1036 net/mac80211/cfg.c sdata->vif.type); vif 1048 net/mac80211/cfg.c vlan->vif.type); vif 1051 net/mac80211/cfg.c sdata->vif.bss_conf.dtim_period = params->dtim_period; vif 1052 net/mac80211/cfg.c sdata->vif.bss_conf.enable_beacon = true; vif 1053 net/mac80211/cfg.c sdata->vif.bss_conf.allow_p2p_go_ps = sdata->vif.p2p; vif 1054 net/mac80211/cfg.c sdata->vif.bss_conf.twt_responder = params->twt_responder; vif 1055 net/mac80211/cfg.c memcpy(&sdata->vif.bss_conf.he_obss_pd, ¶ms->he_obss_pd, vif 1058 net/mac80211/cfg.c sdata->vif.bss_conf.ssid_len = params->ssid_len; vif 1060 net/mac80211/cfg.c memcpy(sdata->vif.bss_conf.ssid, params->ssid, vif 1062 net/mac80211/cfg.c sdata->vif.bss_conf.hidden_ssid = vif 1065 net/mac80211/cfg.c memset(&sdata->vif.bss_conf.p2p_noa_attr, 0, vif 1066 net/mac80211/cfg.c sizeof(sdata->vif.bss_conf.p2p_noa_attr)); vif 1067 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow = vif 1070 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow |= vif 1114 net/mac80211/cfg.c if (sdata->vif.csa_active) vif 1146 net/mac80211/cfg.c sdata->vif.csa_active = false; vif 1171 net/mac80211/cfg.c kfree(sdata->vif.bss_conf.ftmr_params); vif 1172 net/mac80211/cfg.c sdata->vif.bss_conf.ftmr_params = NULL; vif 1177 net/mac80211/cfg.c sdata->vif.bss_conf.enable_beacon = false; vif 1178 net/mac80211/cfg.c sdata->vif.bss_conf.ssid_len = 0; vif 1183 net/mac80211/cfg.c chandef = sdata->vif.bss_conf.chandef; vif 1345 net/mac80211/cfg.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 1479 net/mac80211/cfg.c ieee80211_parse_bitrates(&sdata->vif.bss_conf.chandef, vif 1510 net/mac80211/cfg.c if (ieee80211_vif_is_mesh(&sdata->vif)) vif 1539 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 1540 net/mac80211/cfg.c sdata->vif.type != NL80211_IFTYPE_AP) vif 1545 net/mac80211/cfg.c if (ether_addr_equal(mac, sdata->vif.addr)) vif 1552 net/mac80211/cfg.c sdata->vif.type == NL80211_IFTYPE_STATION && vif 1622 net/mac80211/cfg.c switch (sdata->vif.type) { vif 1671 net/mac80211/cfg.c if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN && vif 1694 net/mac80211/cfg.c if ((sdata->vif.type == NL80211_IFTYPE_AP || vif 1695 net/mac80211/cfg.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) && vif 1705 net/mac80211/cfg.c sta->sdata->vif.bss_conf.bssid); vif 1708 net/mac80211/cfg.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 1983 net/mac80211/cfg.c memcpy(sdata->vif.bss_conf.mcast_rate, setup->mcast_rate, vif 1985 net/mac80211/cfg.c sdata->vif.bss_conf.basic_rates = setup->basic_rates; vif 1987 net/mac80211/cfg.c sdata->vif.bss_conf.beacon_int = setup->beacon_interval; vif 1988 net/mac80211/cfg.c sdata->vif.bss_conf.dtim_period = setup->dtim_period; vif 2079 net/mac80211/cfg.c sdata->vif.bss_conf.ht_operation_mode = nconf->ht_opmode; vif 2165 net/mac80211/cfg.c sdata->vif.bss_conf.use_cts_prot = params->use_cts_prot; vif 2169 net/mac80211/cfg.c sdata->vif.bss_conf.use_short_preamble = vif 2174 net/mac80211/cfg.c if (!sdata->vif.bss_conf.use_short_slot && vif 2176 net/mac80211/cfg.c sdata->vif.bss_conf.use_short_slot = true; vif 2181 net/mac80211/cfg.c sdata->vif.bss_conf.use_short_slot = vif 2187 net/mac80211/cfg.c ieee80211_parse_bitrates(&sdata->vif.bss_conf.chandef, vif 2191 net/mac80211/cfg.c &sdata->vif.bss_conf.basic_rates); vif 2205 net/mac80211/cfg.c sdata->vif.bss_conf.ht_operation_mode = vif 2211 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow &= vif 2213 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow |= vif 2219 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow |= vif 2223 net/mac80211/cfg.c sdata->vif.bss_conf.p2p_noa_attr.oppps_ctwindow &= vif 2297 net/mac80211/cfg.c switch (ieee80211_vif_type_p2p(&sdata->vif)) { vif 2415 net/mac80211/cfg.c memcpy(sdata->vif.bss_conf.mcast_rate, rate, vif 2493 net/mac80211/cfg.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { vif 2512 net/mac80211/cfg.c if (txp_type != sdata->vif.bss_conf.txpower_type) { vif 2514 net/mac80211/cfg.c sdata->vif.bss_conf.txpower_type = txp_type; vif 2537 net/mac80211/cfg.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { vif 2542 net/mac80211/cfg.c if (txp_type != sdata->vif.bss_conf.txpower_type) vif 2544 net/mac80211/cfg.c sdata->vif.bss_conf.txpower_type = txp_type; vif 2547 net/mac80211/cfg.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) vif 2557 net/mac80211/cfg.c if (txp_type != sdata->vif.bss_conf.txpower_type) vif 2559 net/mac80211/cfg.c sdata->vif.bss_conf.txpower_type = txp_type; vif 2581 net/mac80211/cfg.c *dbm = sdata->vif.bss_conf.txpower; vif 2609 net/mac80211/cfg.c struct ieee80211_vif *vif = NULL; vif 2619 net/mac80211/cfg.c vif = &sdata->vif; vif 2622 net/mac80211/cfg.c return local->ops->testmode_cmd(&local->hw, vif, data, len); vif 2645 net/mac80211/cfg.c if (WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_AP)) vif 2648 net/mac80211/cfg.c if (sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) vif 2697 net/mac80211/cfg.c sdata->vif.bss_conf.bssid); vif 2718 net/mac80211/cfg.c if (WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION)) vif 2734 net/mac80211/cfg.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) vif 2774 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 2807 net/mac80211/cfg.c struct ieee80211_vif *vif = &sdata->vif; vif 2808 net/mac80211/cfg.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 2814 net/mac80211/cfg.c if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER && vif 2815 net/mac80211/cfg.c !(sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI)) vif 2826 net/mac80211/cfg.c sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI) vif 2837 net/mac80211/cfg.c struct ieee80211_vif *vif = &sdata->vif; vif 2838 net/mac80211/cfg.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 2840 net/mac80211/cfg.c if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) vif 2851 net/mac80211/cfg.c sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI) vif 2875 net/mac80211/cfg.c if (rcu_access_pointer(sdata->vif.chanctx_conf) && vif 2876 net/mac80211/cfg.c sdata->vif.bss_conf.chandef.chan) { vif 2877 net/mac80211/cfg.c u32 basic_rates = sdata->vif.bss_conf.basic_rates; vif 2878 net/mac80211/cfg.c enum nl80211_band band = sdata->vif.bss_conf.chandef.chan->band; vif 3050 net/mac80211/cfg.c void ieee80211_csa_finish(struct ieee80211_vif *vif) vif 3052 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 3064 net/mac80211/cfg.c switch (sdata->vif.type) { vif 3126 net/mac80211/cfg.c if (!cfg80211_chandef_identical(&sdata->vif.bss_conf.chandef, vif 3130 net/mac80211/cfg.c sdata->vif.csa_active = false; vif 3174 net/mac80211/cfg.c if (!sdata->vif.csa_active) vif 3195 net/mac80211/cfg.c switch (sdata->vif.type) { vif 3242 net/mac80211/cfg.c if (!sdata->vif.bss_conf.ibss_joined) vif 3282 net/mac80211/cfg.c if (params->chandef.width != sdata->vif.bss_conf.chandef.width) vif 3286 net/mac80211/cfg.c if (sdata->vif.bss_conf.chandef.chan->band != vif 3343 net/mac80211/cfg.c &sdata->vif.bss_conf.chandef)) vif 3347 net/mac80211/cfg.c if (sdata->vif.csa_active) vif 3351 net/mac80211/cfg.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 3391 net/mac80211/cfg.c sdata->vif.csa_active = true; vif 3480 net/mac80211/cfg.c sdata->vif.probe_req_reg++; vif 3485 net/mac80211/cfg.c if (sdata->vif.probe_req_reg) vif 3486 net/mac80211/cfg.c sdata->vif.probe_req_reg--; vif 3492 net/mac80211/cfg.c if (sdata->vif.probe_req_reg == 1) vif 3495 net/mac80211/cfg.c else if (sdata->vif.probe_req_reg == 0) vif 3558 net/mac80211/cfg.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 3597 net/mac80211/cfg.c memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); vif 3598 net/mac80211/cfg.c memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); vif 3640 net/mac80211/cfg.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 3642 net/mac80211/cfg.c *chandef = sdata->vif.bss_conf.chandef; vif 3646 net/mac80211/cfg.c sdata->vif.type == NL80211_IFTYPE_MONITOR) { vif 3713 net/mac80211/cfg.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 3775 net/mac80211/cfg.c void ieee80211_nan_func_terminated(struct ieee80211_vif *vif, vif 3780 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 3784 net/mac80211/cfg.c if (WARN_ON(vif->type != NL80211_IFTYPE_NAN)) vif 3802 net/mac80211/cfg.c cfg80211_nan_func_terminated(ieee80211_vif_to_wdev(vif), inst_id, vif 3807 net/mac80211/cfg.c void ieee80211_nan_func_match(struct ieee80211_vif *vif, vif 3811 net/mac80211/cfg.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 3814 net/mac80211/cfg.c if (WARN_ON(vif->type != NL80211_IFTYPE_NAN)) vif 3828 net/mac80211/cfg.c cfg80211_nan_match(ieee80211_vif_to_wdev(vif), match, gfp); vif 3908 net/mac80211/cfg.c if (!sdata->vif.txq) { vif 3912 net/mac80211/cfg.c ieee80211_fill_txq_stats(txqstats, to_txq_info(sdata->vif.txq)); vif 73 net/mac80211/chan.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 119 net/mac80211/chan.c compat = &sdata->vif.bss_conf.chandef; vif 122 net/mac80211/chan.c &sdata->vif.bss_conf.chandef, compat); vif 251 net/mac80211/chan.c struct ieee80211_vif *vif = &sdata->vif; vif 257 net/mac80211/chan.c if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) vif 260 net/mac80211/chan.c switch (vif->type) { vif 271 net/mac80211/chan.c width = max(vif->bss_conf.chandef.width, vif 281 net/mac80211/chan.c width = vif->bss_conf.chandef.width; vif 295 net/mac80211/chan.c if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) vif 433 net/mac80211/chan.c if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) vif 581 net/mac80211/chan.c if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) vif 583 net/mac80211/chan.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 587 net/mac80211/chan.c compat = &sdata->vif.bss_conf.chandef; vif 590 net/mac80211/chan.c &sdata->vif.bss_conf.chandef, compat); vif 648 net/mac80211/chan.c if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_NAN)) vif 651 net/mac80211/chan.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 673 net/mac80211/chan.c rcu_assign_pointer(sdata->vif.chanctx_conf, conf); vif 675 net/mac80211/chan.c sdata->vif.bss_conf.idle = !conf; vif 689 net/mac80211/chan.c if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && vif 690 net/mac80211/chan.c sdata->vif.type != NL80211_IFTYPE_MONITOR) vif 717 net/mac80211/chan.c if (rcu_access_pointer(sdata->vif.chanctx_conf) != vif 721 net/mac80211/chan.c switch (sdata->vif.type) { vif 767 net/mac80211/chan.c rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) vif 799 net/mac80211/chan.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP)) vif 810 net/mac80211/chan.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 818 net/mac80211/chan.c rcu_assign_pointer(vlan->vif.chanctx_conf, conf); vif 967 net/mac80211/chan.c switch (sdata->vif.type) { vif 999 net/mac80211/chan.c sdata->vif.bss_conf.chandef = *chandef; vif 1001 net/mac80211/chan.c if (sdata->vif.type != NL80211_IFTYPE_AP) vif 1005 net/mac80211/chan.c vlan->vif.bss_conf.chandef = *chandef; vif 1044 net/mac80211/chan.c vif_chsw[0].vif = &sdata->vif; vif 1061 net/mac80211/chan.c rcu_assign_pointer(sdata->vif.chanctx_conf, &new_ctx->conf); vif 1063 net/mac80211/chan.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 1071 net/mac80211/chan.c if (sdata->vif.bss_conf.chandef.width != sdata->reserved_chandef.width) vif 1211 net/mac80211/chan.c vif_chsw[i].vif = &sdata->vif; vif 1408 net/mac80211/chan.c rcu_assign_pointer(sdata->vif.chanctx_conf, &ctx->conf); vif 1410 net/mac80211/chan.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 1418 net/mac80211/chan.c if (sdata->vif.bss_conf.chandef.width != vif 1527 net/mac80211/chan.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 1694 net/mac80211/chan.c if (cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) { vif 1700 net/mac80211/chan.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { vif 1705 net/mac80211/chan.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 1768 net/mac80211/chan.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->bss)) vif 1775 net/mac80211/chan.c conf = rcu_dereference_protected(ap->vif.chanctx_conf, vif 1777 net/mac80211/chan.c rcu_assign_pointer(sdata->vif.chanctx_conf, conf); vif 378 net/mac80211/debugfs_key.c if (!sdata->vif.debugfs_dir) vif 392 net/mac80211/debugfs_key.c sdata->vif.debugfs_dir, buf); vif 404 net/mac80211/debugfs_key.c sdata->vif.debugfs_dir, buf); vif 413 net/mac80211/debugfs_key.c if (!sdata->vif.debugfs_dir) vif 422 net/mac80211/debugfs_key.c sdata->vif.debugfs_dir, buf); vif 212 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC); vif 223 net/mac80211/debugfs_netdev.c sdata->vif.hw_queue[IEEE80211_AC_VO], vif 224 net/mac80211/debugfs_netdev.c sdata->vif.hw_queue[IEEE80211_AC_VI], vif 225 net/mac80211/debugfs_netdev.c sdata->vif.hw_queue[IEEE80211_AC_BE], vif 226 net/mac80211/debugfs_netdev.c sdata->vif.hw_queue[IEEE80211_AC_BK]); vif 228 net/mac80211/debugfs_netdev.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 230 net/mac80211/debugfs_netdev.c sdata->vif.cab_queue); vif 257 net/mac80211/debugfs_netdev.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 258 net/mac80211/debugfs_netdev.c sdata->vif.type != NL80211_IFTYPE_AP) vif 262 net/mac80211/debugfs_netdev.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 281 net/mac80211/debugfs_netdev.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 285 net/mac80211/debugfs_netdev.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 333 net/mac80211/debugfs_netdev.c switch (sdata->vif.type) { vif 338 net/mac80211/debugfs_netdev.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 339 net/mac80211/debugfs_netdev.c memcpy(hdr->addr3, sdata->vif.addr, ETH_ALEN); vif 351 net/mac80211/debugfs_netdev.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 379 net/mac80211/debugfs_netdev.c if (!ieee80211_sdata_running(sdata) || !sdata->vif.bss_conf.assoc) vif 382 net/mac80211/debugfs_netdev.c ieee80211_beacon_loss(&sdata->vif); vif 493 net/mac80211/debugfs_netdev.c if (!sdata->vif.txq) vif 496 net/mac80211/debugfs_netdev.c txqi = to_txq_info(sdata->vif.txq); vif 651 net/mac80211/debugfs_netdev.c debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \ vif 667 net/mac80211/debugfs_netdev.c sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && vif 668 net/mac80211/debugfs_netdev.c sdata->vif.type != NL80211_IFTYPE_NAN) vif 699 net/mac80211/debugfs_netdev.c debugfs_create_file("num_mcast_sta", 0400, sdata->vif.debugfs_dir, vif 724 net/mac80211/debugfs_netdev.c sdata->vif.debugfs_dir); vif 740 net/mac80211/debugfs_netdev.c sdata->vif.debugfs_dir); vif 778 net/mac80211/debugfs_netdev.c if (!sdata->vif.debugfs_dir) vif 787 net/mac80211/debugfs_netdev.c if (sdata->vif.type != NL80211_IFTYPE_MONITOR) vif 790 net/mac80211/debugfs_netdev.c switch (sdata->vif.type) { vif 823 net/mac80211/debugfs_netdev.c sdata->vif.debugfs_dir = debugfs_create_dir(buf, vif 826 net/mac80211/debugfs_netdev.c sdata->vif.debugfs_dir); vif 832 net/mac80211/debugfs_netdev.c if (!sdata->vif.debugfs_dir) vif 835 net/mac80211/debugfs_netdev.c debugfs_remove_recursive(sdata->vif.debugfs_dir); vif 836 net/mac80211/debugfs_netdev.c sdata->vif.debugfs_dir = NULL; vif 845 net/mac80211/debugfs_netdev.c dir = sdata->vif.debugfs_dir; vif 59 net/mac80211/driver-ops.c if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 60 net/mac80211/driver-ops.c (sdata->vif.type == NL80211_IFTYPE_MONITOR && vif 66 net/mac80211/driver-ops.c ret = local->ops->add_interface(&local->hw, &sdata->vif); vif 87 net/mac80211/driver-ops.c ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); vif 101 net/mac80211/driver-ops.c local->ops->remove_interface(&local->hw, &sdata->vif); vif 123 net/mac80211/driver-ops.c ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, vif 153 net/mac80211/driver-ops.c ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif, vif 168 net/mac80211/driver-ops.c (sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 169 net/mac80211/driver-ops.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT)); vif 173 net/mac80211/driver-ops.c local->ops->sta_rc_update(&local->hw, &sdata->vif, vif 203 net/mac80211/driver-ops.c ret = local->ops->conf_tx(&local->hw, &sdata->vif, vif 221 net/mac80211/driver-ops.c ret = local->ops->get_tsf(&local->hw, &sdata->vif); vif 237 net/mac80211/driver-ops.c local->ops->set_tsf(&local->hw, &sdata->vif, tsf); vif 252 net/mac80211/driver-ops.c local->ops->offset_tsf(&local->hw, &sdata->vif, offset); vif 266 net/mac80211/driver-ops.c local->ops->reset_tsf(&local->hw, &sdata->vif); vif 338 net/mac80211/driver-ops.c ret = local->ops->ampdu_action(&local->hw, &sdata->vif, params); vif 25 net/mac80211/driver-ops.h if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 55 net/mac80211/driver-ops.h local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); vif 67 net/mac80211/driver-ops.h local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); vif 79 net/mac80211/driver-ops.h rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, vif 160 net/mac80211/driver-ops.h sdata->vif.type != NL80211_IFTYPE_AP && vif 161 net/mac80211/driver-ops.h sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 162 net/mac80211/driver-ops.h sdata->vif.type != NL80211_IFTYPE_MESH_POINT && vif 163 net/mac80211/driver-ops.h sdata->vif.type != NL80211_IFTYPE_OCB)) vif 166 net/mac80211/driver-ops.h if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || vif 167 net/mac80211/driver-ops.h sdata->vif.type == NL80211_IFTYPE_NAN || vif 168 net/mac80211/driver-ops.h (sdata->vif.type == NL80211_IFTYPE_MONITOR && vif 169 net/mac80211/driver-ops.h !sdata->vif.mu_mimo_owner && vif 178 net/mac80211/driver-ops.h local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed); vif 221 net/mac80211/driver-ops.h local->ops->config_iface_filter(&local->hw, &sdata->vif, vif 253 net/mac80211/driver-ops.h ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key); vif 275 net/mac80211/driver-ops.h local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, vif 292 net/mac80211/driver-ops.h ret = local->ops->hw_scan(&local->hw, &sdata->vif, req); vif 306 net/mac80211/driver-ops.h local->ops->cancel_hw_scan(&local->hw, &sdata->vif); vif 324 net/mac80211/driver-ops.h ret = local->ops->sched_scan_start(&local->hw, &sdata->vif, vif 341 net/mac80211/driver-ops.h ret = local->ops->sched_scan_stop(&local->hw, &sdata->vif); vif 355 net/mac80211/driver-ops.h local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr); vif 366 net/mac80211/driver-ops.h local->ops->sw_scan_complete(&local->hw, &sdata->vif); vif 448 net/mac80211/driver-ops.h local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta); vif 466 net/mac80211/driver-ops.h ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); vif 485 net/mac80211/driver-ops.h local->ops->sta_remove(&local->hw, &sdata->vif, sta); vif 503 net/mac80211/driver-ops.h local->ops->sta_add_debugfs(&local->hw, &sdata->vif, vif 520 net/mac80211/driver-ops.h local->ops->sta_pre_rcu_remove(&local->hw, &sdata->vif, vif 551 net/mac80211/driver-ops.h local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta); vif 567 net/mac80211/driver-ops.h local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo); vif 630 net/mac80211/driver-ops.h struct ieee80211_vif *vif = sdata ? &sdata->vif : NULL; vif 639 net/mac80211/driver-ops.h local->ops->flush(&local->hw, vif, queues, drop); vif 650 net/mac80211/driver-ops.h local->ops->channel_switch(&local->hw, &sdata->vif, ch_switch); vif 688 net/mac80211/driver-ops.h ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, vif 704 net/mac80211/driver-ops.h ret = local->ops->cancel_remain_on_channel(&local->hw, &sdata->vif); vif 764 net/mac80211/driver-ops.h &sdata->vif, mask); vif 779 net/mac80211/driver-ops.h local->ops->set_rekey_data(&local->hw, &sdata->vif, data); vif 789 net/mac80211/driver-ops.h local->ops->event_callback(&local->hw, &sdata->vif, event); vif 831 net/mac80211/driver-ops.h WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); vif 835 net/mac80211/driver-ops.h local->ops->mgd_prepare_tx(&local->hw, &sdata->vif, duration); vif 847 net/mac80211/driver-ops.h WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); vif 851 net/mac80211/driver-ops.h local->ops->mgd_protect_tdls_discover(&local->hw, &sdata->vif); vif 914 net/mac80211/driver-ops.h &sdata->vif, vif 935 net/mac80211/driver-ops.h &sdata->vif, vif 955 net/mac80211/driver-ops.h trace_drv_start_ap(local, sdata, &sdata->vif.bss_conf); vif 957 net/mac80211/driver-ops.h ret = local->ops->start_ap(&local->hw, &sdata->vif); vif 970 net/mac80211/driver-ops.h local->ops->stop_ap(&local->hw, &sdata->vif); vif 998 net/mac80211/driver-ops.h local->ops->set_default_unicast_key(&local->hw, &sdata->vif, vif 1010 net/mac80211/driver-ops.h local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); vif 1023 net/mac80211/driver-ops.h local->ops->channel_switch_beacon(&local->hw, &sdata->vif, vif 1040 net/mac80211/driver-ops.h ret = local->ops->pre_channel_switch(&local->hw, &sdata->vif, vif 1057 net/mac80211/driver-ops.h ret = local->ops->post_channel_switch(&local->hw, &sdata->vif); vif 1073 net/mac80211/driver-ops.h local->ops->abort_channel_switch(&local->hw, &sdata->vif); vif 1087 net/mac80211/driver-ops.h local->ops->channel_switch_rx_beacon(&local->hw, &sdata->vif, vif 1100 net/mac80211/driver-ops.h trace_drv_join_ibss(local, sdata, &sdata->vif.bss_conf); vif 1102 net/mac80211/driver-ops.h ret = local->ops->join_ibss(&local->hw, &sdata->vif); vif 1116 net/mac80211/driver-ops.h local->ops->leave_ibss(&local->hw, &sdata->vif); vif 1141 net/mac80211/driver-ops.h ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); vif 1164 net/mac80211/driver-ops.h ret = local->ops->tdls_channel_switch(&local->hw, &sdata->vif, sta, vif 1184 net/mac80211/driver-ops.h local->ops->tdls_cancel_channel_switch(&local->hw, &sdata->vif, sta); vif 1195 net/mac80211/driver-ops.h local->ops->tdls_recv_channel_switch(&local->hw, &sdata->vif, vif 1203 net/mac80211/driver-ops.h struct ieee80211_sub_if_data *sdata = vif_to_sdata(txq->txq.vif); vif 1241 net/mac80211/driver-ops.h &sdata->vif, vif 1261 net/mac80211/driver-ops.h ret = local->ops->start_pmsr(&local->hw, &sdata->vif, request); vif 1278 net/mac80211/driver-ops.h local->ops->abort_pmsr(&local->hw, &sdata->vif, request); vif 1292 net/mac80211/driver-ops.h ret = local->ops->start_nan(&local->hw, &sdata->vif, conf); vif 1304 net/mac80211/driver-ops.h local->ops->stop_nan(&local->hw, &sdata->vif); vif 1322 net/mac80211/driver-ops.h ret = local->ops->nan_change_conf(&local->hw, &sdata->vif, conf, vif 1342 net/mac80211/driver-ops.h ret = local->ops->add_nan_func(&local->hw, &sdata->vif, nan_func); vif 1357 net/mac80211/driver-ops.h local->ops->del_nan_func(&local->hw, &sdata->vif, instance_id); vif 103 net/mac80211/ethtool.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 149 net/mac80211/ethtool.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 55 net/mac80211/he.c ieee80211_he_op_ie_to_bss_conf(struct ieee80211_vif *vif, vif 59 net/mac80211/he.c &vif->bss_conf.he_operation; vif 66 net/mac80211/he.c vif->bss_conf.he_operation = *he_op_ie_elem; vif 70 net/mac80211/he.c ieee80211_he_spr_ie_to_bss_conf(struct ieee80211_vif *vif, vif 74 net/mac80211/he.c &vif->bss_conf.he_obss_pd; vif 54 net/mac80211/ht.c switch (sdata->vif.type) { vif 164 net/mac80211/ht.c if (sdata->vif.type == NL80211_IFTYPE_STATION || vif 165 net/mac80211/ht.c sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 250 net/mac80211/ht.c switch (sdata->vif.bss_conf.chandef.width) { vif 424 net/mac80211/ht.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 425 net/mac80211/ht.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 426 net/mac80211/ht.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 427 net/mac80211/ht.c sdata->vif.type == NL80211_IFTYPE_MESH_POINT) vif 428 net/mac80211/ht.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 429 net/mac80211/ht.c else if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 431 net/mac80211/ht.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 560 net/mac80211/ht.c void ieee80211_request_smps(struct ieee80211_vif *vif, vif 563 net/mac80211/ht.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 565 net/mac80211/ht.c if (WARN_ON_ONCE(vif->type != NL80211_IFTYPE_STATION && vif 566 net/mac80211/ht.c vif->type != NL80211_IFTYPE_AP)) vif 569 net/mac80211/ht.c if (vif->type == NL80211_IFTYPE_STATION) { vif 80 net/mac80211/ibss.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 247 net/mac80211/ibss.c if (sdata->vif.bss_conf.ibss_joined) { vif 248 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_joined = false; vif 249 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_creator = false; vif 250 net/mac80211/ibss.c sdata->vif.bss_conf.enable_beacon = false; vif 326 net/mac80211/ibss.c sdata->vif.bss_conf.enable_beacon = true; vif 327 net/mac80211/ibss.c sdata->vif.bss_conf.beacon_int = beacon_int; vif 328 net/mac80211/ibss.c sdata->vif.bss_conf.basic_rates = basic_rates; vif 329 net/mac80211/ibss.c sdata->vif.bss_conf.ssid_len = ifibss->ssid_len; vif 330 net/mac80211/ibss.c memcpy(sdata->vif.bss_conf.ssid, ifibss->ssid, ifibss->ssid_len); vif 351 net/mac80211/ibss.c sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; vif 362 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_joined = true; vif 363 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_creator = creator; vif 367 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_joined = false; vif 368 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_creator = false; vif 369 net/mac80211/ibss.c sdata->vif.bss_conf.enable_beacon = false; vif 370 net/mac80211/ibss.c sdata->vif.bss_conf.ssid_len = 0; vif 446 net/mac80211/ibss.c shift = ieee80211_vif_get_shift(&sdata->vif); vif 519 net/mac80211/ibss.c sdata->vif.bss_conf.beacon_int, vif 520 net/mac80211/ibss.c sdata->vif.bss_conf.basic_rates, vif 639 net/mac80211/ibss.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 725 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_joined = false; vif 726 net/mac80211/ibss.c sdata->vif.bss_conf.ibss_creator = false; vif 727 net/mac80211/ibss.c sdata->vif.bss_conf.enable_beacon = false; vif 728 net/mac80211/ibss.c sdata->vif.bss_conf.ssid_len = 0; vif 884 net/mac80211/ibss.c &sdata->vif.bss_conf.chandef)) { vif 935 net/mac80211/ibss.c if (!sdata->vif.csa_active) vif 998 net/mac80211/ibss.c if (sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 1152 net/mac80211/ibss.c if (sdata->vif.csa_active || vif 1229 net/mac80211/ibss.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 1341 net/mac80211/ibss.c bssid[i] ^= sdata->vif.addr[i]; vif 1353 net/mac80211/ibss.c __ieee80211_sta_join_ibss(sdata, bssid, sdata->vif.bss_conf.beacon_int, vif 1749 net/mac80211/ibss.c if (sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 1809 net/mac80211/ibss.c memcpy(sdata->vif.bss_conf.mcast_rate, params->mcast_rate, vif 1812 net/mac80211/ibss.c sdata->vif.bss_conf.beacon_int = params->beacon_interval; vif 1845 net/mac80211/ibss.c sdata->vif.bss_conf.ht_operation_mode |= vif 988 net/mac80211/ieee80211_i.h struct ieee80211_vif vif; vif 994 net/mac80211/ieee80211_i.h return container_of(p, struct ieee80211_sub_if_data, vif); vif 1034 net/mac80211/ieee80211_i.h ieee80211_vif_get_shift(struct ieee80211_vif *vif) vif 1040 net/mac80211/ieee80211_i.h chanctx_conf = rcu_dereference(vif->chanctx_conf); vif 1433 net/mac80211/ieee80211_i.h chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 1583 net/mac80211/ieee80211_i.h if (sdata->vif.type == NL80211_IFTYPE_AP) vif 1585 net/mac80211/ieee80211_i.h if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta) vif 1877 net/mac80211/ieee80211_i.h ieee80211_he_spr_ie_to_bss_conf(struct ieee80211_vif *vif, vif 1881 net/mac80211/ieee80211_i.h ieee80211_he_op_ie_to_bss_conf(struct ieee80211_vif *vif, vif 1963 net/mac80211/ieee80211_i.h chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 53 net/mac80211/iface.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 68 net/mac80211/iface.c if (power != sdata->vif.bss_conf.txpower) { vif 69 net/mac80211/iface.c sdata->vif.bss_conf.txpower = power; vif 182 net/mac80211/iface.c if (iter->vif.type == NL80211_IFTYPE_MONITOR && vif 186 net/mac80211/iface.c m = iter->vif.addr; vif 211 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR && vif 222 net/mac80211/iface.c memcpy(sdata->vif.addr, sa->sa_data, ETH_ALEN); vif 258 net/mac80211/iface.c if ((sdata->vif.type == NL80211_IFTYPE_OCB && vif 259 net/mac80211/iface.c nsdata->vif.type != NL80211_IFTYPE_MONITOR) || vif 260 net/mac80211/iface.c (sdata->vif.type != NL80211_IFTYPE_MONITOR && vif 261 net/mac80211/iface.c nsdata->vif.type == NL80211_IFTYPE_OCB)) vif 275 net/mac80211/iface.c nsdata->vif.type == NL80211_IFTYPE_ADHOC) vif 281 net/mac80211/iface.c if (nsdata->vif.csa_active) vif 288 net/mac80211/iface.c if (!ether_addr_equal(sdata->vif.addr, vif 289 net/mac80211/iface.c nsdata->vif.addr)) vif 296 net/mac80211/iface.c nsdata->vif.type)) vif 303 net/mac80211/iface.c nsdata->vif.type == NL80211_IFTYPE_AP) vif 325 net/mac80211/iface.c if (WARN_ON_ONCE(sdata->vif.hw_queue[i] == vif 328 net/mac80211/iface.c if (WARN_ON_ONCE(sdata->vif.hw_queue[i] >= vif 338 net/mac80211/iface.c sdata->vif.cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 342 net/mac80211/iface.c if (WARN_ON_ONCE(sdata->vif.cab_queue == IEEE80211_INVAL_HW_QUEUE)) vif 345 net/mac80211/iface.c if (WARN_ON_ONCE(sdata->vif.cab_queue >= n_queues)) vif 378 net/mac80211/iface.c sdata->vif.hw_queue[i] = IEEE80211_INVAL_HW_QUEUE; vif 380 net/mac80211/iface.c sdata->vif.hw_queue[i] = i; vif 382 net/mac80211/iface.c sdata->vif.hw_queue[i] = 0; vif 384 net/mac80211/iface.c sdata->vif.cab_queue = IEEE80211_INVAL_HW_QUEUE; vif 406 net/mac80211/iface.c sdata->vif.type = NL80211_IFTYPE_MONITOR; vif 499 net/mac80211/iface.c switch (sdata->vif.type) { vif 522 net/mac80211/iface.c sdata->vif.cab_queue = master->vif.cab_queue; vif 523 net/mac80211/iface.c memcpy(sdata->vif.hw_queue, master->vif.hw_queue, vif 524 net/mac80211/iface.c sizeof(sdata->vif.hw_queue)); vif 525 net/mac80211/iface.c sdata->vif.bss_conf.chandef = master->vif.bss_conf.chandef; vif 582 net/mac80211/iface.c switch (sdata->vif.type) { vif 631 net/mac80211/iface.c ieee80211_vif_type_p2p(&sdata->vif)); vif 636 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 641 net/mac80211/iface.c } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { vif 645 net/mac80211/iface.c if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && vif 646 net/mac80211/iface.c sdata->vif.type != NL80211_IFTYPE_NAN) vif 650 net/mac80211/iface.c switch (sdata->vif.type) { vif 674 net/mac80211/iface.c sdata->vif.type != NL80211_IFTYPE_STATION); vif 679 net/mac80211/iface.c switch (sdata->vif.type) { vif 730 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR || vif 731 net/mac80211/iface.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 745 net/mac80211/iface.c if (sdata->vif.cab_queue == IEEE80211_INVAL_HW_QUEUE || vif 746 net/mac80211/iface.c (local->queue_stop_reasons[sdata->vif.cab_queue] == 0 && vif 747 net/mac80211/iface.c skb_queue_empty(&local->pending[sdata->vif.cab_queue]))) { vif 749 net/mac80211/iface.c int ac_queue = sdata->vif.hw_queue[ac]; vif 767 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 786 net/mac80211/iface.c err = ieee80211_check_concurrent_iface(sdata, sdata->vif.type); vif 820 net/mac80211/iface.c switch (sdata->vif.type) { vif 855 net/mac80211/iface.c WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 856 net/mac80211/iface.c ((sdata->vif.type != NL80211_IFTYPE_WDS && flushed > 0) || vif 857 net/mac80211/iface.c (sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1))); vif 863 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 866 net/mac80211/iface.c } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { vif 885 net/mac80211/iface.c sdata->vif.csa_active = false; vif 886 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 901 net/mac80211/iface.c chandef = sdata->vif.bss_conf.chandef; vif 912 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 920 net/mac80211/iface.c } else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 938 net/mac80211/iface.c switch (sdata->vif.type) { vif 943 net/mac80211/iface.c RCU_INIT_POINTER(sdata->vif.chanctx_conf, NULL); vif 1000 net/mac80211/iface.c if (info->control.vif == &sdata->vif) { vif 1008 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 1016 net/mac80211/iface.c sdata->vif.bss_conf.beacon_int = 0; vif 1033 net/mac80211/iface.c switch (sdata->vif.type) { vif 1122 net/mac80211/iface.c if (ieee80211_vif_is_mesh(&sdata->vif)) vif 1335 net/mac80211/iface.c } else switch (sdata->vif.type) { vif 1343 net/mac80211/iface.c if (!ieee80211_vif_is_mesh(&sdata->vif)) vif 1356 net/mac80211/iface.c switch (sdata->vif.type) { vif 1364 net/mac80211/iface.c if (!ieee80211_vif_is_mesh(&sdata->vif)) vif 1397 net/mac80211/iface.c sdata->vif.type = type; vif 1398 net/mac80211/iface.c sdata->vif.p2p = false; vif 1404 net/mac80211/iface.c sdata->vif.bss_conf.idle = true; vif 1424 net/mac80211/iface.c sdata->vif.type = type; vif 1425 net/mac80211/iface.c sdata->vif.p2p = true; vif 1432 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->vif.addr; vif 1437 net/mac80211/iface.c sdata->vif.type = type; vif 1438 net/mac80211/iface.c sdata->vif.p2p = true; vif 1441 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; vif 1445 net/mac80211/iface.c sdata->vif.bss_conf.bssid = bssid_wildcard; vif 1449 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; vif 1453 net/mac80211/iface.c if (ieee80211_vif_is_mesh(&sdata->vif)) vif 1463 net/mac80211/iface.c sdata->vif.bss_conf.bssid = NULL; vif 1468 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->vif.addr; vif 1472 net/mac80211/iface.c sdata->vif.bss_conf.bssid = sdata->vif.addr; vif 1496 net/mac80211/iface.c switch (sdata->vif.type) { vif 1546 net/mac80211/iface.c type = ieee80211_vif_type_p2p(&sdata->vif); vif 1570 net/mac80211/iface.c if (type == ieee80211_vif_type_p2p(&sdata->vif)) vif 1616 net/mac80211/iface.c if (sdata->vif.type != NL80211_IFTYPE_AP) vif 1618 net/mac80211/iface.c memcpy(perm_addr, sdata->vif.addr, ETH_ALEN); vif 1627 net/mac80211/iface.c if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE) vif 1631 net/mac80211/iface.c memcpy(perm_addr, sdata->vif.addr, ETH_ALEN); vif 1643 net/mac80211/iface.c sdata->vif.addr)) { vif 1678 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) vif 1680 net/mac80211/iface.c m = sdata->vif.addr; vif 1703 net/mac80211/iface.c if (ether_addr_equal(tmp_addr, sdata->vif.addr)) { vif 1749 net/mac80211/iface.c memcpy(sdata->vif.addr, wdev->address, ETH_ALEN); vif 1809 net/mac80211/iface.c memcpy(sdata->vif.addr, ndev->dev_addr, ETH_ALEN); vif 1906 net/mac80211/iface.c if (sdata->vif.txq) vif 1907 net/mac80211/iface.c ieee80211_txq_purge(sdata->local, to_txq_info(sdata->vif.txq)); vif 2010 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 2012 net/mac80211/iface.c else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 2018 net/mac80211/iface.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 2020 net/mac80211/iface.c else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 66 net/mac80211/key.c if (sdata->vif.type != NL80211_IFTYPE_AP) vif 169 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 360 net/mac80211/key.c if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN) vif 748 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 775 net/mac80211/key.c bool delay_tailroom = sdata->vif.type == NL80211_IFTYPE_STATION; vif 862 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 880 net/mac80211/key.c struct ieee80211_vif *vif, vif 882 net/mac80211/key.c struct ieee80211_vif *vif, vif 895 net/mac80211/key.c if (vif) { vif 896 net/mac80211/key.c sdata = vif_to_sdata(vif); vif 898 net/mac80211/key.c iter(hw, &sdata->vif, vif 905 net/mac80211/key.c iter(hw, &sdata->vif, vif 917 net/mac80211/key.c struct ieee80211_vif *vif, vif 932 net/mac80211/key.c iter(hw, &sdata->vif, vif 939 net/mac80211/key.c struct ieee80211_vif *vif, vif 941 net/mac80211/key.c struct ieee80211_vif *vif, vif 950 net/mac80211/key.c if (vif) { vif 951 net/mac80211/key.c sdata = vif_to_sdata(vif); vif 996 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 1006 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 1020 net/mac80211/key.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 1043 net/mac80211/key.c __ieee80211_key_destroy(key, key->sdata->vif.type == vif 1054 net/mac80211/key.c __ieee80211_key_destroy(key, key->sdata->vif.type == vif 1091 net/mac80211/key.c void ieee80211_gtk_rekey_notify(struct ieee80211_vif *vif, const u8 *bssid, vif 1094 net/mac80211/key.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 1237 net/mac80211/key.c ieee80211_gtk_rekey_add(struct ieee80211_vif *vif, vif 1240 net/mac80211/key.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 1248 net/mac80211/key.c if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) vif 145 net/mac80211/main.c if (!rcu_access_pointer(sdata->vif.chanctx_conf)) vif 147 net/mac80211/main.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 149 net/mac80211/main.c power = min(power, sdata->vif.bss_conf.txpower); vif 200 net/mac80211/main.c if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 203 net/mac80211/main.c drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); vif 208 net/mac80211/main.c sdata->vif.bss_conf.use_cts_prot = false; vif 209 net/mac80211/main.c sdata->vif.bss_conf.use_short_preamble = false; vif 210 net/mac80211/main.c sdata->vif.bss_conf.use_short_slot = false; vif 267 net/mac80211/main.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 341 net/mac80211/main.c bss_conf = &sdata->vif.bss_conf; vif 344 net/mac80211/main.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 398 net/mac80211/main.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 93 net/mac80211/mesh.c if (sdata->vif.bss_conf.basic_rates != basic_rates) vif 96 net/mac80211/mesh.c cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, vif 103 net/mac80211/mesh.c if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, vif 392 net/mac80211/mesh.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 419 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 420 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 421 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 444 net/mac80211/mesh.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 456 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 457 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 458 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 465 net/mac80211/mesh.c ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, vif 466 net/mac80211/mesh.c sdata->vif.bss_conf.ht_operation_mode, vif 483 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 484 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 485 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 508 net/mac80211/mesh.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 520 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 521 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 522 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 530 net/mac80211/mesh.c &sdata->vif.bss_conf.chandef); vif 549 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 550 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 551 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 576 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || vif 577 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || vif 578 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) vif 742 net/mac80211/mesh.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 789 net/mac80211/mesh.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 790 net/mac80211/mesh.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 793 net/mac80211/mesh.c cpu_to_le16(sdata->vif.bss_conf.beacon_int); vif 963 net/mac80211/mesh.c sdata->vif.bss_conf.ht_operation_mode = vif 965 net/mac80211/mesh.c sdata->vif.bss_conf.enable_beacon = true; vif 996 net/mac80211/mesh.c sdata->vif.bss_conf.enable_beacon = false; vif 1031 net/mac80211/mesh.c &sdata->vif.bss_conf.chandef, vif 1035 net/mac80211/mesh.c &sdata->vif.bss_conf.chandef, GFP_ATOMIC); vif 1056 net/mac80211/mesh.c switch (sdata->vif.bss_conf.chandef.width) { vif 1072 net/mac80211/mesh.c sta_flags, sdata->vif.addr, vif 1094 net/mac80211/mesh.c sdata->vif.addr, vif 1110 net/mac80211/mesh.c sdata->vif.addr, vif 1121 net/mac80211/mesh.c &sdata->vif.bss_conf.chandef)) { vif 1176 net/mac80211/mesh.c if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) && vif 1226 net/mac80211/mesh.c !ether_addr_equal(mgmt->da, sdata->vif.addr)) vif 1262 net/mac80211/mesh.c !sdata->vif.csa_active) vif 1295 net/mac80211/mesh.c sdata->vif.bss_conf.chandef.chan->center_freq); vif 1349 net/mac80211/mesh.c memcpy(mgmt_fwd->sa, sdata->vif.addr, ETH_ALEN); vif 1350 net/mac80211/mesh.c memcpy(mgmt_fwd->bssid, sdata->vif.addr, ETH_ALEN); vif 1389 net/mac80211/mesh.c if (!sdata->vif.csa_active && vif 1472 net/mac80211/mesh.c if (sdata->vif.bss_conf.enable_beacon && vif 1543 net/mac80211/mesh.c sdata->vif.bss_conf.bssid = zero_addr; vif 126 net/mac80211/mesh_hwmp.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 128 net/mac80211/mesh_hwmp.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 214 net/mac80211/mesh_hwmp.c info->control.vif = &sdata->vif; vif 262 net/mac80211/mesh_hwmp.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 264 net/mac80211/mesh_hwmp.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 435 net/mac80211/mesh_hwmp.c if (ether_addr_equal(orig_addr, sdata->vif.addr)) { vif 585 net/mac80211/mesh_hwmp.c if (ether_addr_equal(target_addr, sdata->vif.addr)) { vif 608 net/mac80211/mesh_hwmp.c target_addr = sdata->vif.addr; vif 710 net/mac80211/mesh_hwmp.c if (ether_addr_equal(orig_addr, sdata->vif.addr)) vif 833 net/mac80211/mesh_hwmp.c if (ether_addr_equal(orig_addr, sdata->vif.addr)) vif 1103 net/mac80211/mesh_hwmp.c mesh_path_sel_frame_tx(MPATH_PREQ, 0, sdata->vif.addr, ifmsh->sn, vif 1203 net/mac80211/mesh_hwmp.c ether_addr_equal(sdata->vif.addr, hdr->addr4) && vif 1211 net/mac80211/mesh_hwmp.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 1265 net/mac80211/mesh_hwmp.c mesh_path_sel_frame_tx(MPATH_RANN, flags, sdata->vif.addr, vif 1277 net/mac80211/mesh_hwmp.c mesh_path_sel_frame_tx(MPATH_PREQ, flags, sdata->vif.addr, vif 95 net/mac80211/mesh_pathtbl.c memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); vif 138 net/mac80211/mesh_pathtbl.c memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); vif 405 net/mac80211/mesh_pathtbl.c if (ether_addr_equal(dst, sdata->vif.addr)) vif 448 net/mac80211/mesh_pathtbl.c if (ether_addr_equal(dst, sdata->vif.addr)) vif 136 net/mac80211/mesh_plink.c if (sdata->vif.bss_conf.use_short_slot != short_slot) { vif 137 net/mac80211/mesh_plink.c sdata->vif.bss_conf.use_short_slot = short_slot; vif 140 net/mac80211/mesh_plink.c sdata->vif.addr, short_slot); vif 162 net/mac80211/mesh_plink.c switch (sdata->vif.bss_conf.chandef.width) { vif 195 net/mac80211/mesh_plink.c sdata->vif.bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) vif 200 net/mac80211/mesh_plink.c if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) vif 203 net/mac80211/mesh_plink.c sdata->vif.bss_conf.ht_operation_mode = ht_opmode; vif 251 net/mac80211/mesh_plink.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 252 net/mac80211/mesh_plink.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 33 net/mac80211/mesh_ps.c sdata->vif.addr); vif 434 net/mac80211/mesh_ps.c info->control.vif = &sdata->vif; vif 51 net/mac80211/mesh_sync.c u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; vif 112 net/mac80211/mlme.c if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) vif 284 net/mac80211/mlme.c cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) vif 329 net/mac80211/mlme.c struct ieee80211_channel *chan = sdata->vif.bss_conf.chandef.chan; vif 359 net/mac80211/mlme.c if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { vif 361 net/mac80211/mlme.c sdata->vif.bss_conf.ht_operation_mode = ht_opmode; vif 386 net/mac80211/mlme.c if (cfg80211_chandef_identical(&chandef, &sdata->vif.bss_conf.chandef)) vif 584 net/mac80211/mlme.c if (other->vif.mu_mimo_owner) { vif 592 net/mac80211/mlme.c sdata->vif.mu_mimo_owner = true; vif 657 net/mac80211/mlme.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 665 net/mac80211/mlme.c shift = ieee80211_vif_get_shift(&sdata->vif); vif 730 net/mac80211/mlme.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 998 net/mac80211/mlme.c skb = ieee80211_pspoll_get(&local->hw, &sdata->vif); vif 1018 net/mac80211/mlme.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 1022 net/mac80211/mlme.c skb = ieee80211_nullfunc_get(&local->hw, &sdata->vif, vif 1050 net/mac80211/mlme.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION)) vif 1068 net/mac80211/mlme.c memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); vif 1070 net/mac80211/mlme.c memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); vif 1095 net/mac80211/mlme.c if (!sdata->vif.csa_active) vif 1118 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width != vif 1153 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width > vif 1170 net/mac80211/mlme.c if (sdata->vif.bss_conf.chandef.width < vif 1180 net/mac80211/mlme.c if (!cfg80211_chandef_identical(&sdata->vif.bss_conf.chandef, vif 1208 net/mac80211/mlme.c WARN_ON(!sdata->vif.csa_active); vif 1216 net/mac80211/mlme.c sdata->vif.csa_active = false; vif 1231 net/mac80211/mlme.c void ieee80211_chswitch_done(struct ieee80211_vif *vif, bool success) vif 1233 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 1275 net/mac80211/mlme.c sdata->vif.csa_active = false; vif 1326 net/mac80211/mlme.c if (beacon && sdata->vif.csa_active && !ifmgd->csa_waiting_bcn) { vif 1332 net/mac80211/mlme.c } else if (sdata->vif.csa_active || res) { vif 1351 net/mac80211/mlme.c &sdata->vif.bss_conf.chandef) && vif 1372 net/mac80211/mlme.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 1405 net/mac80211/mlme.c sdata->vif.csa_active = true; vif 1440 net/mac80211/mlme.c sdata->vif.csa_active = true; vif 1676 net/mac80211/mlme.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 1684 net/mac80211/mlme.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 1715 net/mac80211/mlme.c if (sdata->vif.bss_conf.ps != ps_allowed) { vif 1716 net/mac80211/mlme.c sdata->vif.bss_conf.ps = ps_allowed; vif 1820 net/mac80211/mlme.c struct cfg80211_chan_def chandef = sdata->vif.bss_conf.chandef; vif 2071 net/mac80211/mlme.c sdata->vif.bss_conf.qos = true; vif 2093 net/mac80211/mlme.c struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; vif 2140 net/mac80211/mlme.c struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; vif 2156 net/mac80211/mlme.c if (sdata->vif.p2p || vif 2157 net/mac80211/mlme.c sdata->vif.driver_flags & IEEE80211_VIF_GET_NOA_UPDATE) { vif 2202 net/mac80211/mlme.c if (sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI && vif 2301 net/mac80211/mlme.c sdata->vif.bss_conf.assoc = false; vif 2304 net/mac80211/mlme.c memset(&sdata->vif.bss_conf.p2p_noa_attr, 0, vif 2305 net/mac80211/mlme.c sizeof(sdata->vif.bss_conf.p2p_noa_attr)); vif 2314 net/mac80211/mlme.c memset(sdata->vif.bss_conf.mu_group.membership, 0, vif 2315 net/mac80211/mlme.c sizeof(sdata->vif.bss_conf.mu_group.membership)); vif 2316 net/mac80211/mlme.c memset(sdata->vif.bss_conf.mu_group.position, 0, vif 2317 net/mac80211/mlme.c sizeof(sdata->vif.bss_conf.mu_group.position)); vif 2319 net/mac80211/mlme.c sdata->vif.mu_mimo_owner = false; vif 2327 net/mac80211/mlme.c if (sdata->vif.bss_conf.arp_addr_cnt) vif 2330 net/mac80211/mlme.c sdata->vif.bss_conf.qos = false; vif 2345 net/mac80211/mlme.c sdata->vif.bss_conf.dtim_period = 0; vif 2346 net/mac80211/mlme.c sdata->vif.bss_conf.beacon_rate = NULL; vif 2354 net/mac80211/mlme.c sdata->vif.csa_active = false; vif 2540 net/mac80211/mlme.c ieee80211_mlme_send_probe_req(sdata, sdata->vif.addr, dst, vif 2576 net/mac80211/mlme.c ieee80211_cqm_beacon_loss_notify(&sdata->vif, GFP_KERNEL); vif 2611 net/mac80211/mlme.c struct ieee80211_vif *vif) vif 2613 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 2620 net/mac80211/mlme.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION)) vif 2642 net/mac80211/mlme.c skb = ieee80211_build_probe_req(sdata, sdata->vif.addr, cbss->bssid, vif 2694 net/mac80211/mlme.c sdata->vif.csa_active = false; vif 2737 net/mac80211/mlme.c void ieee80211_beacon_loss(struct ieee80211_vif *vif) vif 2739 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 2749 net/mac80211/mlme.c void ieee80211_connection_loss(struct ieee80211_vif *vif) vif 2751 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 2810 net/mac80211/mlme.c sdata->vif.mu_mimo_owner = false; vif 3176 net/mac80211/mlme.c if (sdata->vif.bss_conf.twt_requester != twt) { vif 3177 net/mac80211/mlme.c sdata->vif.bss_conf.twt_requester = twt; vif 3194 net/mac80211/mlme.c struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; vif 3395 net/mac80211/mlme.c ieee80211_he_op_ie_to_bss_conf(&sdata->vif, elems.he_operation); vif 3396 net/mac80211/mlme.c ieee80211_he_spr_ie_to_bss_conf(&sdata->vif, elems.he_spr); vif 3641 net/mac80211/mlme.c sdata->vif.bss_conf.beacon_rate = bss->beacon_rate; vif 3659 net/mac80211/mlme.c if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) vif 3745 net/mac80211/mlme.c !(sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI)) { vif 3755 net/mac80211/mlme.c &sdata->vif, vif 3762 net/mac80211/mlme.c &sdata->vif, vif 3779 net/mac80211/mlme.c &sdata->vif, vif 3786 net/mac80211/mlme.c &sdata->vif, vif 3808 net/mac80211/mlme.c struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; vif 3830 net/mac80211/mlme.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 3857 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = vif 3859 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = vif 3861 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = elems.dtim_count; vif 3930 net/mac80211/mlme.c if (sdata->vif.p2p || vif 3931 net/mac80211/mlme.c sdata->vif.driver_flags & IEEE80211_VIF_GET_NOA_UPDATE) { vif 3972 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = vif 3974 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = vif 3976 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = elems.dtim_count; vif 4450 net/mac80211/mlme.c if (sdata->vif.csa_active && !ifmgd->csa_waiting_bcn) vif 4465 net/mac80211/mlme.c if (sdata->vif.csa_active && !ifmgd->csa_waiting_bcn) vif 4482 net/mac80211/mlme.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 4956 net/mac80211/mlme.c int shift = ieee80211_vif_get_shift(&sdata->vif); vif 4985 net/mac80211/mlme.c sdata->vif.bss_conf.basic_rates = basic_rates; vif 4997 net/mac80211/mlme.c sdata->vif.bss_conf.beacon_int = cbss->beacon_interval; vif 5001 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = ies->tsf; vif 5002 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = vif 5006 net/mac80211/mlme.c &sdata->vif.bss_conf.sync_dtim_count, vif 5012 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = ies->tsf; vif 5013 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = vif 5015 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = 0; vif 5017 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = 0; vif 5018 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = 0; vif 5019 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = 0; vif 5381 net/mac80211/mlme.c if (WARN((sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_UAPSD) && vif 5384 net/mac80211/mlme.c sdata->vif.driver_flags &= ~IEEE80211_VIF_SUPPORTS_UAPSD; vif 5387 net/mac80211/mlme.c (sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_UAPSD)) { vif 5421 net/mac80211/mlme.c sdata->vif.type); vif 5488 net/mac80211/mlme.c sdata->vif.bss_conf.sync_tsf = beacon_ies->tsf; vif 5489 net/mac80211/mlme.c sdata->vif.bss_conf.sync_device_ts = vif 5491 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = dtim_count; vif 5497 net/mac80211/mlme.c sdata->vif.bss_conf.profile_periodicity = ie[4]; vif 5503 net/mac80211/mlme.c sdata->vif.bss_conf.ema_ap = true; vif 5669 net/mac80211/mlme.c void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif, vif 5674 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 5682 net/mac80211/mlme.c void ieee80211_cqm_beacon_loss_notify(struct ieee80211_vif *vif, gfp_t gfp) vif 5684 net/mac80211/mlme.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 62 net/mac80211/ocb.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 129 net/mac80211/offchannel.c if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || vif 130 net/mac80211/offchannel.c sdata->vif.type == NL80211_IFTYPE_NAN) vif 133 net/mac80211/offchannel.c if (sdata->vif.type != NL80211_IFTYPE_MONITOR) vif 137 net/mac80211/offchannel.c if (sdata->vif.bss_conf.enable_beacon) { vif 140 net/mac80211/offchannel.c sdata->vif.bss_conf.enable_beacon = false; vif 145 net/mac80211/offchannel.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 161 net/mac80211/offchannel.c if (sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) vif 164 net/mac80211/offchannel.c if (sdata->vif.type != NL80211_IFTYPE_MONITOR) vif 171 net/mac80211/offchannel.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 177 net/mac80211/offchannel.c sdata->vif.bss_conf.enable_beacon = true; vif 802 net/mac80211/offchannel.c switch (sdata->vif.type) { vif 804 net/mac80211/offchannel.c if (!sdata->vif.bss_conf.ibss_joined) vif 809 net/mac80211/offchannel.c if (ieee80211_vif_is_mesh(&sdata->vif) && vif 817 net/mac80211/offchannel.c if (sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 818 net/mac80211/offchannel.c !ieee80211_vif_is_mesh(&sdata->vif) && vif 864 net/mac80211/offchannel.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 895 net/mac80211/offchannel.c if (sdata->vif.csa_active && vif 896 net/mac80211/offchannel.c (sdata->vif.type == NL80211_IFTYPE_AP || vif 897 net/mac80211/offchannel.c sdata->vif.type == NL80211_IFTYPE_MESH_POINT || vif 898 net/mac80211/offchannel.c sdata->vif.type == NL80211_IFTYPE_ADHOC) && vif 905 net/mac80211/offchannel.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 907 net/mac80211/offchannel.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 909 net/mac80211/offchannel.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 89 net/mac80211/pm.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 146 net/mac80211/pm.c switch (sdata->vif.type) { vif 200 net/mac80211/pm.c void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif, vif 204 net/mac80211/pm.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 46 net/mac80211/rate.c chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); vif 96 net/mac80211/rate.c chanctx_conf = rcu_dereference(sta->sdata->vif.chanctx_conf); vif 263 net/mac80211/rate.c u32 user_mask, basic_rates = sdata->vif.bss_conf.basic_rates; vif 266 net/mac80211/rate.c if (WARN_ON(!sdata->vif.bss_conf.chandef.chan)) vif 272 net/mac80211/rate.c band = sdata->vif.bss_conf.chandef.chan->band; vif 386 net/mac80211/rate.c if (ieee80211_vif_is_mesh(&sta->sdata->vif)) vif 584 net/mac80211/rate.c static void rate_fixup_ratelist(struct ieee80211_vif *vif, vif 604 net/mac80211/rate.c u32 basic_rates = vif->bss_conf.basic_rates; vif 734 net/mac80211/rate.c flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); vif 790 net/mac80211/rate.c chan_width = sta->sdata->vif.bss_conf.chandef.width; vif 827 net/mac80211/rate.c chan_width = sdata->vif.bss_conf.chandef.width; vif 840 net/mac80211/rate.c void ieee80211_get_tx_rates(struct ieee80211_vif *vif, vif 853 net/mac80211/rate.c if (!vif) vif 856 net/mac80211/rate.c sdata = vif_to_sdata(vif); vif 867 net/mac80211/rate.c rate_fixup_ratelist(vif, sband, info, dest, max_rates); vif 909 net/mac80211/rate.c ieee80211_get_tx_rates(&sdata->vif, ista, txrc->skb, vif 1049 net/mac80211/rx.c char *dev_addr = rx->sdata->vif.addr; vif 1486 net/mac80211/rx.c if (ieee80211_vif_is_mesh(&rx->sdata->vif)) vif 1491 net/mac80211/rx.c rx->sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 1492 net/mac80211/rx.c rx->sdata->vif.type != NL80211_IFTYPE_WDS && vif 1493 net/mac80211/rx.c rx->sdata->vif.type != NL80211_IFTYPE_OCB && vif 1500 net/mac80211/rx.c if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION && vif 1515 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_AP && vif 1568 net/mac80211/rx.c if (sta->sdata->vif.type == NL80211_IFTYPE_AP || vif 1569 net/mac80211/rx.c sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 1698 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_AP && vif 1699 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP_VLAN) vif 1759 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_ADHOC) { vif 1770 net/mac80211/rx.c } else if (rx->sdata->vif.type == NL80211_IFTYPE_OCB) { vif 1782 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_STATION) vif 1821 net/mac80211/rx.c (rx->sdata->vif.type == NL80211_IFTYPE_AP || vif 1822 net/mac80211/rx.c rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)) { vif 1833 net/mac80211/rx.c if (ieee80211_vif_is_mesh(&rx->sdata->vif)) vif 1850 net/mac80211/rx.c (rx->sdata->vif.type == NL80211_IFTYPE_AP || vif 1851 net/mac80211/rx.c (rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN && vif 2384 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta) vif 2387 net/mac80211/rx.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 2392 net/mac80211/rx.c else if (!ether_addr_equal(hdr->addr1, sdata->vif.addr)) vif 2397 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN && sdata->u.vlan.sta) vif 2400 net/mac80211/rx.c ret = ieee80211_data_to_8023(rx->skb, sdata->vif.addr, sdata->vif.type); vif 2427 net/mac80211/rx.c (ether_addr_equal(ehdr->h_dest, rx->sdata->vif.addr) || vif 2491 net/mac80211/rx.c if ((sdata->vif.type == NL80211_IFTYPE_AP || vif 2492 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) && vif 2494 net/mac80211/rx.c (sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->u.vlan.sta)) { vif 2580 net/mac80211/rx.c } else switch (rx->sdata->vif.type) { vif 2601 net/mac80211/rx.c rx->sdata->vif.addr, vif 2602 net/mac80211/rx.c rx->sdata->vif.type, vif 2607 net/mac80211/rx.c rx->sdata->vif.type, vif 2643 net/mac80211/rx.c switch (rx->sdata->vif.type) { vif 2743 net/mac80211/rx.c ether_addr_equal(sdata->vif.addr, hdr->addr3)) vif 2747 net/mac80211/rx.c q = sdata->vif.hw_queue[ac]; vif 2778 net/mac80211/rx.c info->control.vif = &rx->sdata->vif; vif 2782 net/mac80211/rx.c memcpy(fwd_hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 2830 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP) { vif 2865 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN && vif 2966 net/mac80211/rx.c if (!ether_addr_equal(mgmt->da, sdata->vif.addr)) { vif 2989 net/mac80211/rx.c memcpy(resp->sa, sdata->vif.addr, ETH_ALEN); vif 3020 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_AP && vif 3068 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 3069 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT && vif 3070 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 3071 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP && vif 3072 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 3163 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 3177 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 3178 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT && vif 3179 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 3180 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP && vif 3181 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 3205 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 3206 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT && vif 3207 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 3208 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_AP && vif 3209 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 3251 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 3262 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 3263 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 3264 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT) vif 3267 net/mac80211/rx.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 3269 net/mac80211/rx.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 3271 net/mac80211/rx.c else if (sdata->vif.type == NL80211_IFTYPE_MESH_POINT) vif 3290 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 3305 net/mac80211/rx.c if (!ieee80211_vif_is_mesh(&sdata->vif)) vif 3313 net/mac80211/rx.c if (!ieee80211_vif_is_mesh(&sdata->vif)) vif 3323 net/mac80211/rx.c if (!ieee80211_vif_is_mesh(&sdata->vif)) vif 3407 net/mac80211/rx.c (sdata->vif.type == NL80211_IFTYPE_AP || vif 3408 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN)) vif 3425 net/mac80211/rx.c memcpy(nmgmt->sa, rx->sdata->vif.addr, ETH_ALEN); vif 3429 net/mac80211/rx.c if (rx->sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE) { vif 3456 net/mac80211/rx.c if (!ieee80211_vif_is_mesh(&sdata->vif) && vif 3457 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 3458 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_OCB && vif 3459 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_STATION) vif 3474 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION && vif 3475 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_ADHOC) vif 3486 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 3491 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 3492 net/mac80211/rx.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT) vif 3552 net/mac80211/rx.c if (sdata->vif.type != NL80211_IFTYPE_MONITOR || vif 3650 net/mac80211/rx.c if (ieee80211_vif_is_mesh(&rx->sdata->vif)) vif 3831 net/mac80211/rx.c u8 *bssid = ieee80211_get_bssid(hdr, skb->len, sdata->vif.type); vif 3834 net/mac80211/rx.c switch (sdata->vif.type) { vif 3842 net/mac80211/rx.c return ether_addr_equal(sdata->vif.addr, hdr->addr1); vif 3846 net/mac80211/rx.c if (ether_addr_equal(sdata->vif.addr, hdr->addr2) || vif 3854 net/mac80211/rx.c !ether_addr_equal(sdata->vif.addr, hdr->addr1)) vif 3887 net/mac80211/rx.c if (ether_addr_equal(sdata->vif.addr, hdr->addr2)) vif 3891 net/mac80211/rx.c return ether_addr_equal(sdata->vif.addr, hdr->addr1); vif 3895 net/mac80211/rx.c return ether_addr_equal(sdata->vif.addr, hdr->addr1); vif 3897 net/mac80211/rx.c if (!ieee80211_bssid_match(bssid, sdata->vif.addr)) { vif 3905 net/mac80211/rx.c !ether_addr_equal(sdata->vif.addr, hdr->addr1)) vif 3971 net/mac80211/rx.c .vif_type = sdata->vif.type, vif 3982 net/mac80211/rx.c ether_addr_copy(fastrx.vif_addr, sdata->vif.addr); vif 3991 net/mac80211/rx.c switch (sdata->vif.type) { vif 4035 net/mac80211/rx.c (sdata->vif.type != NL80211_IFTYPE_AP_VLAN || vif 4038 net/mac80211/rx.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && vif 4481 net/mac80211/rx.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR || vif 4482 net/mac80211/rx.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 172 net/mac80211/scan.c if (scan_sdata && scan_sdata->vif.type == NL80211_IFTYPE_STATION && vif 173 net/mac80211/scan.c scan_sdata->vif.bss_conf.assoc && vif 179 net/mac80211/scan.c scan_sdata->vif.bss_conf.bssid); vif 233 net/mac80211/scan.c return ether_addr_equal(da, sdata->vif.addr); vif 555 net/mac80211/scan.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 727 net/mac80211/scan.c memcpy(local->scan_addr, sdata->vif.addr, ETH_ALEN); vif 795 net/mac80211/scan.c if (ieee80211_vif_type_p2p(&sdata->vif) == vif 838 net/mac80211/scan.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 122 net/mac80211/spectmgmt.c switch (sdata->vif.bss_conf.chandef.width) { vif 126 net/mac80211/spectmgmt.c sdata->vif.bss_conf.chandef.width; vif 203 net/mac80211/spectmgmt.c memcpy(msr_report->sa, sdata->vif.addr, ETH_ALEN); vif 95 net/mac80211/sta_info.c if (sta->sdata->vif.type == NL80211_IFTYPE_AP || vif 96 net/mac80211/sta_info.c sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 98 net/mac80211/sta_info.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 129 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif)) vif 329 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 335 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif) && vif 447 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 448 net/mac80211/sta_info.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 512 net/mac80211/sta_info.c if (WARN_ON(ether_addr_equal(sta->sta.addr, sdata->vif.addr) || vif 555 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { vif 573 net/mac80211/sta_info.c bool allow_p2p_go_ps = sdata->vif.p2p; vif 588 net/mac80211/sta_info.c if (allow_p2p_go_ps != sdata->vif.bss_conf.allow_p2p_go_ps) { vif 589 net/mac80211/sta_info.c sdata->vif.bss_conf.allow_p2p_go_ps = allow_p2p_go_ps; vif 663 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif)) vif 770 net/mac80211/sta_info.c if (sta->sdata->vif.type == NL80211_IFTYPE_AP || vif 771 net/mac80211/sta_info.c sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 777 net/mac80211/sta_info.c } else if (ieee80211_vif_is_mesh(&sta->sdata->vif)) { vif 860 net/mac80211/sta_info.c sta->sdata->vif.bss_conf.beacon_int * vif 954 net/mac80211/sta_info.c !ieee80211_vif_is_mesh(&sta->sdata->vif)) vif 1014 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && vif 1174 net/mac80211/sta_info.c WARN_ON(vlans && sdata->vif.type != NL80211_IFTYPE_AP); vif 1215 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif) && vif 1240 net/mac80211/sta_info.c !ether_addr_equal(sta->sdata->vif.addr, localaddr)) vif 1251 net/mac80211/sta_info.c struct ieee80211_sta *ieee80211_find_sta(struct ieee80211_vif *vif, vif 1256 net/mac80211/sta_info.c if (!vif) vif 1259 net/mac80211/sta_info.c sta = sta_info_get_bss(vif_to_sdata(vif), addr); vif 1280 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 1284 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 1286 net/mac80211/sta_info.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 1344 net/mac80211/sta_info.c if (!ieee80211_vif_is_mesh(&sdata->vif) && vif 1354 net/mac80211/sta_info.c sdata->vif.bss_conf.bssid); vif 1383 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 1408 net/mac80211/sta_info.c memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); vif 1409 net/mac80211/sta_info.c memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); vif 1447 net/mac80211/sta_info.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 1988 net/mac80211/sta_info.c if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 1989 net/mac80211/sta_info.c sta->sdata->vif.type == NL80211_IFTYPE_AP) vif 2195 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 2207 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 2298 net/mac80211/sta_info.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 2299 net/mac80211/sta_info.c !(sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER)) { vif 2302 net/mac80211/sta_info.c sinfo->rx_beacon_signal_avg = ieee80211_ave_rssi(&sdata->vif); vif 2357 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 2382 net/mac80211/sta_info.c if (sdata->vif.bss_conf.use_cts_prot) vif 2384 net/mac80211/sta_info.c if (sdata->vif.bss_conf.use_short_preamble) vif 2386 net/mac80211/sta_info.c if (sdata->vif.bss_conf.use_short_slot) vif 2388 net/mac80211/sta_info.c sinfo->bss_param.dtim_period = sdata->vif.bss_conf.dtim_period; vif 2389 net/mac80211/sta_info.c sinfo->bss_param.beacon_interval = sdata->vif.bss_conf.beacon_int; vif 2436 net/mac80211/sta_info.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 68 net/mac80211/status.c info->control.vif = &sta->sdata->vif; vif 179 net/mac80211/status.c ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); vif 228 net/mac80211/status.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 238 net/mac80211/status.c } else if (sdata->vif.type == NL80211_IFTYPE_AP || vif 239 net/mac80211/status.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 834 net/mac80211/status.c if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { vif 887 net/mac80211/status.c shift = ieee80211_vif_get_shift(&sta->sdata->vif); vif 895 net/mac80211/status.c if (ieee80211_vif_is_mesh(&sta->sdata->vif) && vif 924 net/mac80211/status.c ieee80211_send_bar(&sta->sdata->vif, hdr->addr1, vif 971 net/mac80211/status.c if (ieee80211_vif_is_mesh(&sta->sdata->vif)) vif 977 net/mac80211/status.c if ((sta->sdata->vif.type == NL80211_IFTYPE_STATION) && vif 1083 net/mac80211/status.c if (!ether_addr_equal(hdr->addr2, sta->sdata->vif.addr)) vif 1143 net/mac80211/status.c if (ieee80211_vif_is_mesh(&sta->sdata->vif)) vif 161 net/mac80211/tdls.c if (!ieee80211_chandef_to_operating_class(&sdata->vif.bss_conf.chandef, vif 209 net/mac80211/tdls.c init_addr = sdata->vif.addr; vif 213 net/mac80211/tdls.c rsp_addr = sdata->vif.addr; vif 439 net/mac80211/tdls.c sta->tdls_chandef = sdata->vif.bss_conf.chandef; vif 568 net/mac80211/tdls.c sta->tdls_chandef = sdata->vif.bss_conf.chandef; vif 614 net/mac80211/tdls.c &sdata->vif.bss_conf.chandef, prot, vif 755 net/mac80211/tdls.c memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); vif 836 net/mac80211/tdls.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 1200 net/mac80211/tdls.c if (sdata->vif.type != NL80211_IFTYPE_STATION || vif 1258 net/mac80211/tdls.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 1328 net/mac80211/tdls.c opmode = sdata->vif.bss_conf.ht_operation_mode; vif 1335 net/mac80211/tdls.c if (opmode == sdata->vif.bss_conf.ht_operation_mode) vif 1338 net/mac80211/tdls.c sdata->vif.bss_conf.ht_operation_mode = opmode; vif 1353 net/mac80211/tdls.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 1376 net/mac80211/tdls.c if (sdata->vif.csa_active) { vif 1442 net/mac80211/tdls.c void ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer, vif 1446 net/mac80211/tdls.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 1448 net/mac80211/tdls.c if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc) { vif 1735 net/mac80211/tdls.c !memcmp(elems.lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); vif 1881 net/mac80211/tdls.c !memcmp(elems.lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); vif 1964 net/mac80211/tdls.c ieee80211_tdls_oper_request(&sdata->vif, sta->sta.addr, vif 1984 net/mac80211/tdls.c sdata->vif.type != NL80211_IFTYPE_STATION || vif 1985 net/mac80211/tdls.c !ether_addr_equal(tf->da, sdata->vif.addr)) vif 2003 net/mac80211/tdls.c sta = ieee80211_find_sta(&sdata->vif, peer); vif 2014 net/mac80211/tdls.c ieee80211_tdls_oper_request(&sdata->vif, peer, vif 168 net/mac80211/tkip.c tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); vif 299 net/mac80211/tkip.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 33 net/mac80211/trace.h #define VIF_ASSIGN __entry->vif_type = sdata->vif.type; __entry->sdata = sdata; \ vif 34 net/mac80211/trace.h __entry->p2p = sdata->vif.p2p; \ vif 141 net/mac80211/trace.h memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN); vif 1555 net/mac80211/trace.h struct trace_vif_entry vif; vif 1589 net/mac80211/trace.h sdata = container_of(vifs[i].vif, vif 1591 net/mac80211/trace.h vif); vif 1593 net/mac80211/trace.h SWITCH_ENTRY_ASSIGN(vif.vif_type, vif->type); vif 1594 net/mac80211/trace.h SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p); vif 1595 net/mac80211/trace.h strncpy(local_vifs[i].vif.vif_name, vif 1597 net/mac80211/trace.h sizeof(local_vifs[i].vif.vif_name)); vif 69 net/mac80211/tx.c chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); vif 150 net/mac80211/tx.c if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) vif 191 net/mac80211/tx.c tx->sdata->vif.bss_conf.use_short_preamble, vif 201 net/mac80211/tx.c tx->sdata->vif.bss_conf.use_short_preamble, vif 240 net/mac80211/tx.c if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) vif 314 net/mac80211/tx.c if (tx->sdata->vif.type == NL80211_IFTYPE_OCB) vif 317 net/mac80211/tx.c if (tx->sdata->vif.type == NL80211_IFTYPE_WDS) vif 363 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 365 net/mac80211/tx.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 416 net/mac80211/tx.c if (tx->sdata->vif.type == NL80211_IFTYPE_AP || vif 417 net/mac80211/tx.c tx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 422 net/mac80211/tx.c } else if (ieee80211_vif_is_mesh(&tx->sdata->vif)) { vif 437 net/mac80211/tx.c info->hw_queue = tx->sdata->vif.cab_queue; vif 532 net/mac80211/tx.c info->control.vif = &tx->sdata->vif; vif 689 net/mac80211/tx.c txrc.bss_conf = &tx->sdata->vif.bss_conf; vif 698 net/mac80211/tx.c txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP || vif 699 net/mac80211/tx.c tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT || vif 700 net/mac80211/tx.c tx->sdata->vif.type == NL80211_IFTYPE_ADHOC || vif 701 net/mac80211/tx.c tx->sdata->vif.type == NL80211_IFTYPE_OCB); vif 709 net/mac80211/tx.c info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; vif 717 net/mac80211/tx.c if (tx->sdata->vif.bss_conf.use_short_preamble && vif 815 net/mac80211/tx.c if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR)) vif 1134 net/mac80211/tx.c info->control.vif = &tx->sdata->vif; vif 1188 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 1247 net/mac80211/tx.c struct ieee80211_vif *vif, vif 1262 net/mac80211/tx.c vif->type == NL80211_IFTYPE_STATION) && vif 1277 net/mac80211/tx.c } else if (vif) { vif 1278 net/mac80211/tx.c txq = vif->txq; vif 1314 net/mac80211/tx.c local = vif_to_sdata(txqi->txq.vif)->local; vif 1333 net/mac80211/tx.c local = vif_to_sdata(txqi->txq.vif)->local; vif 1422 net/mac80211/tx.c return info->control.vif == data; vif 1433 net/mac80211/tx.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP_VLAN)) vif 1438 net/mac80211/tx.c if (!ap->vif.txq) vif 1441 net/mac80211/tx.c txqi = to_txq_info(ap->vif.txq); vif 1445 net/mac80211/tx.c fq_tin_filter(fq, tin, fq_vlan_filter_func, &sdata->vif, vif 1461 net/mac80211/tx.c txqi->txq.vif = &sdata->vif; vif 1464 net/mac80211/tx.c sdata->vif.txq = &txqi->txq; vif 1472 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_STATION) { vif 1600 net/mac80211/tx.c struct ieee80211_vif *vif; vif 1604 net/mac80211/tx.c sdata->vif.type == NL80211_IFTYPE_MONITOR) vif 1607 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 1611 net/mac80211/tx.c vif = &sdata->vif; vif 1612 net/mac80211/tx.c txqi = ieee80211_get_txq(local, vif, sta, skb); vif 1625 net/mac80211/tx.c struct ieee80211_vif *vif, vif 1687 net/mac80211/tx.c info->control.vif = vif; vif 1706 net/mac80211/tx.c struct ieee80211_vif *vif; vif 1718 net/mac80211/tx.c sdata = vif_to_sdata(info->control.vif); vif 1727 net/mac80211/tx.c switch (sdata->vif.type) { vif 1730 net/mac80211/tx.c vif = &sdata->vif; vif 1735 net/mac80211/tx.c vif = &sdata->vif; vif 1737 net/mac80211/tx.c vif->hw_queue[skb_get_queue_mapping(skb)]; vif 1742 net/mac80211/tx.c vif = NULL; vif 1749 net/mac80211/tx.c vif = &sdata->vif; vif 1753 net/mac80211/tx.c result = ieee80211_tx_frags(local, vif, pubsta, skbs, vif 1857 net/mac80211/tx.c struct ieee80211_vif *vif, struct sk_buff *skb, vif 1860 net/mac80211/tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 1869 net/mac80211/tx.c info->control.vif = vif; vif 1870 net/mac80211/tx.c info->hw_queue = vif->hw_queue[skb_get_queue_mapping(skb)]; vif 1930 net/mac80211/tx.c sdata->vif.hw_queue[skb_get_queue_mapping(skb)]; vif 2009 net/mac80211/tx.c info->control.vif = &sdata->vif; vif 2011 net/mac80211/tx.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 2301 net/mac80211/tx.c if (tmp_sdata->vif.type == NL80211_IFTYPE_MONITOR || vif 2302 net/mac80211/tx.c tmp_sdata->vif.type == NL80211_IFTYPE_AP_VLAN || vif 2303 net/mac80211/tx.c tmp_sdata->vif.type == NL80211_IFTYPE_WDS) vif 2305 net/mac80211/tx.c if (ether_addr_equal(tmp_sdata->vif.addr, hdr->addr2)) { vif 2311 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2316 net/mac80211/tx.c rcu_dereference(tmp_sdata->vif.chanctx_conf); vif 2343 net/mac80211/tx.c sdata->vif.type)) vif 2379 net/mac80211/tx.c switch (sdata->vif.type) { vif 2497 net/mac80211/tx.c switch (sdata->vif.type) { vif 2503 net/mac80211/tx.c memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); vif 2512 net/mac80211/tx.c chanctx_conf = rcu_dereference(ap_sdata->vif.chanctx_conf); vif 2522 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 2523 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2531 net/mac80211/tx.c memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); vif 2540 net/mac80211/tx.c memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); vif 2582 net/mac80211/tx.c if (ether_addr_equal(sdata->vif.addr, skb->data + ETH_ALEN) && vif 2603 net/mac80211/tx.c mesh_da, sdata->vif.addr); vif 2616 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2647 net/mac80211/tx.c memcpy(hdr.addr2, sdata->vif.addr, ETH_ALEN); vif 2659 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2672 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2685 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2703 net/mac80211/tx.c } else if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 2718 net/mac80211/tx.c if (unlikely(!ieee80211_vif_is_mesh(&sdata->vif) && vif 2719 net/mac80211/tx.c (sdata->vif.type != NL80211_IFTYPE_OCB) && vif 2722 net/mac80211/tx.c !ether_addr_equal(sdata->vif.addr, skb->data + ETH_ALEN)))) { vif 2903 net/mac80211/tx.c sdata->vif.type == NL80211_IFTYPE_STATION) vif 2924 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 2934 net/mac80211/tx.c switch (sdata->vif.type) { vif 2958 net/mac80211/tx.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 2977 net/mac80211/tx.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 2988 net/mac80211/tx.c memcpy(hdr->addr2, sdata->vif.addr, ETH_ALEN); vif 3200 net/mac80211/tx.c switch (sdata->vif.type) { vif 3206 net/mac80211/tx.c bssid = sdata->vif.addr; vif 3392 net/mac80211/tx.c info->hw_queue = sdata->vif.hw_queue[skb_get_queue_mapping(skb)]; vif 3499 net/mac80211/tx.c info->control.vif = &sdata->vif; vif 3542 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) vif 3547 net/mac80211/tx.c ieee80211_tx_frags(local, &sdata->vif, &sta->sta, &tx.skbs, false); vif 3563 net/mac80211/tx.c struct ieee80211_vif *vif = txq->vif; vif 3574 net/mac80211/tx.c if (vif->txqs_stopped[ieee80211_ac_from_tid(txq->tid)]) { vif 3597 net/mac80211/tx.c tx.sdata = vif_to_sdata(info->control.vif); vif 3606 net/mac80211/tx.c !ieee80211_vif_is_mesh(&tx.sdata->vif) && vif 3607 net/mac80211/tx.c tx.sdata->vif.type != NL80211_IFTYPE_OCB && vif 3612 net/mac80211/tx.c !ether_addr_equal(tx.sdata->vif.addr, vif 3667 net/mac80211/tx.c switch (tx.sdata->vif.type) { vif 3670 net/mac80211/tx.c vif = &tx.sdata->vif; vif 3675 net/mac80211/tx.c vif = &tx.sdata->vif; vif 3677 net/mac80211/tx.c vif->hw_queue[skb_get_queue_mapping(skb)]; vif 3682 net/mac80211/tx.c vif = NULL; vif 3690 net/mac80211/tx.c vif = &tx.sdata->vif; vif 3694 net/mac80211/tx.c IEEE80211_SKB_CB(skb)->control.vif = vif; vif 3958 net/mac80211/tx.c switch (sdata->vif.type) { vif 4133 net/mac80211/tx.c sdata = vif_to_sdata(info->control.vif); vif 4136 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 4184 net/mac80211/tx.c if (WARN_ON(!info->control.vif)) { vif 4226 net/mac80211/tx.c ps->dtim_count = sdata->vif.bss_conf.dtim_period - 1; vif 4235 net/mac80211/tx.c *pos++ = sdata->vif.bss_conf.dtim_period; vif 4307 net/mac80211/tx.c switch (sdata->vif.type) { vif 4338 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP && resp) vif 4354 net/mac80211/tx.c u8 ieee80211_csa_update_counter(struct ieee80211_vif *vif) vif 4356 net/mac80211/tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 4362 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 4364 net/mac80211/tx.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 4366 net/mac80211/tx.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 4380 net/mac80211/tx.c void ieee80211_csa_set_counter(struct ieee80211_vif *vif, u8 counter) vif 4382 net/mac80211/tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 4387 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 4389 net/mac80211/tx.c else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) vif 4391 net/mac80211/tx.c else if (ieee80211_vif_is_mesh(&sdata->vif)) vif 4405 net/mac80211/tx.c bool ieee80211_csa_is_complete(struct ieee80211_vif *vif) vif 4407 net/mac80211/tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 4417 net/mac80211/tx.c if (vif->type == NL80211_IFTYPE_AP) { vif 4425 net/mac80211/tx.c } else if (vif->type == NL80211_IFTYPE_ADHOC) { vif 4434 net/mac80211/tx.c } else if (vif->type == NL80211_IFTYPE_MESH_POINT) { vif 4465 net/mac80211/tx.c struct ieee80211_vif *vif, vif 4481 net/mac80211/tx.c sdata = vif_to_sdata(vif); vif 4482 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 4490 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 4532 net/mac80211/tx.c } else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) { vif 4557 net/mac80211/tx.c } else if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 4626 net/mac80211/tx.c txrc.bss_conf = &sdata->vif.bss_conf; vif 4633 net/mac80211/tx.c info->control.vif = vif; vif 4646 net/mac80211/tx.c struct ieee80211_vif *vif, vif 4649 net/mac80211/tx.c return __ieee80211_beacon_get(hw, vif, offs, true); vif 4654 net/mac80211/tx.c struct ieee80211_vif *vif, vif 4658 net/mac80211/tx.c struct sk_buff *bcn = __ieee80211_beacon_get(hw, vif, &offs, false); vif 4681 net/mac80211/tx.c shift = ieee80211_vif_get_shift(vif); vif 4682 net/mac80211/tx.c sband = ieee80211_get_sband(vif_to_sdata(vif)); vif 4694 net/mac80211/tx.c struct ieee80211_vif *vif) vif 4700 net/mac80211/tx.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 4702 net/mac80211/tx.c if (sdata->vif.type != NL80211_IFTYPE_AP) vif 4728 net/mac80211/tx.c struct ieee80211_vif *vif) vif 4736 net/mac80211/tx.c if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) vif 4739 net/mac80211/tx.c sdata = vif_to_sdata(vif); vif 4758 net/mac80211/tx.c memcpy(pspoll->ta, vif->addr, ETH_ALEN); vif 4765 net/mac80211/tx.c struct ieee80211_vif *vif, vif 4775 net/mac80211/tx.c if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) vif 4778 net/mac80211/tx.c sdata = vif_to_sdata(vif); vif 4816 net/mac80211/tx.c memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); vif 4861 net/mac80211/tx.c void ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4870 net/mac80211/tx.c rts->duration = ieee80211_rts_duration(hw, vif, frame_len, vif 4877 net/mac80211/tx.c void ieee80211_ctstoself_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, vif 4886 net/mac80211/tx.c cts->duration = ieee80211_ctstoself_duration(hw, vif, vif 4894 net/mac80211/tx.c struct ieee80211_vif *vif) vif 4904 net/mac80211/tx.c sdata = vif_to_sdata(vif); vif 4907 net/mac80211/tx.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 4912 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 4920 net/mac80211/tx.c } else if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 4945 net/mac80211/tx.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 4977 net/mac80211/tx.c switch (sdata->vif.type) { vif 5013 net/mac80211/tx.c queues = BIT(sdata->vif.hw_queue[ieee802_1d_to_ac[tid]]); vif 5038 net/mac80211/tx.c switch (sdata->vif.type) { vif 5117 net/mac80211/tx.c memcpy(ehdr->h_source, sdata->vif.addr, ETH_ALEN); vif 129 net/mac80211/util.c struct ieee80211_vif *vif, vif 140 net/mac80211/util.c if (vif) { vif 141 net/mac80211/util.c sdata = vif_to_sdata(vif); vif 142 net/mac80211/util.c short_preamble = sdata->vif.bss_conf.use_short_preamble; vif 145 net/mac80211/util.c shift = ieee80211_vif_get_shift(vif); vif 156 net/mac80211/util.c struct ieee80211_vif *vif, size_t frame_len, vif 174 net/mac80211/util.c if (vif) { vif 175 net/mac80211/util.c sdata = vif_to_sdata(vif); vif 176 net/mac80211/util.c short_preamble = sdata->vif.bss_conf.use_short_preamble; vif 179 net/mac80211/util.c shift = ieee80211_vif_get_shift(vif); vif 199 net/mac80211/util.c struct ieee80211_vif *vif, vif 217 net/mac80211/util.c if (vif) { vif 218 net/mac80211/util.c sdata = vif_to_sdata(vif); vif 219 net/mac80211/util.c short_preamble = sdata->vif.bss_conf.use_short_preamble; vif 222 net/mac80211/util.c shift = ieee80211_vif_get_shift(vif); vif 243 net/mac80211/util.c struct ieee80211_vif *vif = &sdata->vif; vif 253 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 256 net/mac80211/util.c sdata->vif.txqs_stopped[ac] = false; vif 283 net/mac80211/util.c if (!vif->txq) vif 286 net/mac80211/util.c txqi = to_txq_info(vif->txq); vif 289 net/mac80211/util.c (ps && atomic_read(&ps->num_sta_ps)) || ac != vif->txq->ac) vif 325 net/mac80211/util.c int ac_queue = sdata->vif.hw_queue[ac]; vif 328 net/mac80211/util.c sdata->vif.cab_queue == i) vif 365 net/mac80211/util.c if (sdata->vif.cab_queue != IEEE80211_INVAL_HW_QUEUE && vif 366 net/mac80211/util.c local->queue_stop_reasons[sdata->vif.cab_queue] != 0) vif 370 net/mac80211/util.c int ac_queue = sdata->vif.hw_queue[ac]; vif 373 net/mac80211/util.c (sdata->vif.cab_queue == queue && vif 485 net/mac80211/util.c if (sdata->vif.hw_queue[ac] == queue || vif 486 net/mac80211/util.c sdata->vif.cab_queue == queue) { vif 492 net/mac80211/util.c sdata->vif.txqs_stopped[ac] = true; vif 528 net/mac80211/util.c if (WARN_ON(!info->control.vif)) { vif 554 net/mac80211/util.c if (WARN_ON(!info->control.vif)) { vif 654 net/mac80211/util.c queues |= BIT(sdata->vif.hw_queue[ac]); vif 655 net/mac80211/util.c if (sdata->vif.cab_queue != IEEE80211_INVAL_HW_QUEUE) vif 656 net/mac80211/util.c queues |= BIT(sdata->vif.cab_queue); vif 717 net/mac80211/util.c struct ieee80211_vif *vif), vif 724 net/mac80211/util.c switch (sdata->vif.type) { vif 738 net/mac80211/util.c iterator(data, sdata->vif.addr, vif 739 net/mac80211/util.c &sdata->vif); vif 748 net/mac80211/util.c iterator(data, sdata->vif.addr, &sdata->vif); vif 754 net/mac80211/util.c struct ieee80211_vif *vif), vif 768 net/mac80211/util.c struct ieee80211_vif *vif), vif 783 net/mac80211/util.c struct ieee80211_vif *vif), vif 830 net/mac80211/util.c return &sdata->vif; vif 834 net/mac80211/util.c struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif) vif 838 net/mac80211/util.c if (!vif) vif 841 net/mac80211/util.c sdata = vif_to_sdata(vif); vif 1409 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_AP && vif 1410 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_STATION) vif 1414 net/mac80211/util.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 1430 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_AP) vif 1461 net/mac80211/util.c chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); vif 1467 net/mac80211/util.c is_ocb = (sdata->vif.type == NL80211_IFTYPE_OCB); vif 1542 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_MONITOR && vif 1543 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && vif 1544 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_NAN) { vif 1545 net/mac80211/util.c sdata->vif.bss_conf.qos = enable_qos; vif 1575 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 1608 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 1624 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_STATION || vif 1897 net/mac80211/util.c chandef.width = sdata->vif.bss_conf.chandef.width; vif 1939 net/mac80211/util.c rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); vif 1940 net/mac80211/util.c shift = ieee80211_vif_get_shift(&sdata->vif); vif 2063 net/mac80211/util.c conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 2123 net/mac80211/util.c ieee80211_nan_func_terminated(&sdata->vif, vif 2237 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 2238 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_MONITOR && vif 2252 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN && vif 2253 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_MONITOR && vif 2288 net/mac80211/util.c switch (sdata->vif.type) { vif 2293 net/mac80211/util.c if (sdata->vif.bss_conf.ibss_joined) vif 2320 net/mac80211/util.c if (sdata->vif.mu_mimo_owner) vif 2323 net/mac80211/util.c switch (sdata->vif.type) { vif 2333 net/mac80211/util.c if (sdata->vif.bss_conf.max_idle_period || vif 2334 net/mac80211/util.c sdata->vif.bss_conf.protected_keep_alive) vif 2351 net/mac80211/util.c if (sdata->vif.bss_conf.ftm_responder == 1 && vif 2356 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_AP) { vif 2365 net/mac80211/util.c if (sdata->vif.bss_conf.enable_beacon) { vif 2403 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 2420 net/mac80211/util.c if (sta->sdata->vif.type != NL80211_IFTYPE_AP && vif 2421 net/mac80211/util.c sta->sdata->vif.type != NL80211_IFTYPE_AP_VLAN) vif 2531 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_STATION) vif 2543 net/mac80211/util.c void ieee80211_resume_disconnect(struct ieee80211_vif *vif) vif 2549 net/mac80211/util.c if (WARN_ON(!vif)) vif 2552 net/mac80211/util.c sdata = vif_to_sdata(vif); vif 2558 net/mac80211/util.c if (WARN_ON(vif->type != NL80211_IFTYPE_STATION)) vif 2578 net/mac80211/util.c chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 2604 net/mac80211/util.c chanctx_conf = rcu_dereference_protected(sdata->vif.chanctx_conf, vif 2632 net/mac80211/util.c if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION)) vif 2644 net/mac80211/util.c void ieee80211_enable_rssi_reports(struct ieee80211_vif *vif, vif 2648 net/mac80211/util.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 2658 net/mac80211/util.c void ieee80211_disable_rssi_reports(struct ieee80211_vif *vif) vif 2660 net/mac80211/util.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 3108 net/mac80211/util.c u32 basic_rates = sdata->vif.bss_conf.basic_rates; vif 3111 net/mac80211/util.c shift = ieee80211_vif_get_shift(&sdata->vif); vif 3112 net/mac80211/util.c rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); vif 3152 net/mac80211/util.c u32 basic_rates = sdata->vif.bss_conf.basic_rates; vif 3155 net/mac80211/util.c rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); vif 3156 net/mac80211/util.c shift = ieee80211_vif_get_shift(&sdata->vif); vif 3193 net/mac80211/util.c int ieee80211_ave_rssi(struct ieee80211_vif *vif) vif 3195 net/mac80211/util.c struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif); vif 3198 net/mac80211/util.c if (WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION)) { vif 3333 net/mac80211/util.c chandef = sdata->vif.bss_conf.chandef; vif 3479 net/mac80211/util.c if (sdata->vif.type != NL80211_IFTYPE_ADHOC && vif 3480 net/mac80211/util.c sdata->vif.type != NL80211_IFTYPE_MESH_POINT) vif 3497 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); vif 3498 net/mac80211/util.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 3499 net/mac80211/util.c memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); vif 3527 net/mac80211/util.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 3775 net/mac80211/util.c u16 beacon_int = sdata->vif.bss_conf.beacon_int * 1024; vif 3776 net/mac80211/util.c u8 dtim_period = sdata->vif.bss_conf.dtim_period; vif 3783 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 3784 net/mac80211/util.c sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { vif 3789 net/mac80211/util.c } else if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 3835 net/mac80211/util.c radar_detect |= BIT(sdata->vif.bss_conf.chandef.width); vif 3866 net/mac80211/util.c if (sdata->vif.type == NL80211_IFTYPE_AP || vif 3867 net/mac80211/util.c sdata->vif.type == NL80211_IFTYPE_MESH_POINT) { vif 3873 net/mac80211/util.c params.new_beacon_int = sdata->vif.bss_conf.beacon_int; vif 37 net/mac80211/vht.c if (sdata->vif.type != NL80211_IFTYPE_STATION) vif 164 net/mac80211/vht.c if (sdata->vif.type == NL80211_IFTYPE_STATION && vif 440 net/mac80211/vht.c enum nl80211_chan_width bss_width = sdata->vif.bss_conf.chandef.width; vif 557 net/mac80211/vht.c struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; vif 559 net/mac80211/vht.c if (!sdata->vif.mu_mimo_owner) vif 578 net/mac80211/vht.c void ieee80211_update_mu_groups(struct ieee80211_vif *vif, vif 581 net/mac80211/vht.c struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; vif 583 net/mac80211/vht.c if (WARN_ON_ONCE(!vif->mu_mimo_owner)) vif 148 net/mac80211/wme.c if (sdata->vif.type == NL80211_IFTYPE_MESH_POINT || vif 149 net/mac80211/wme.c sdata->vif.type == NL80211_IFTYPE_OCB) vif 196 net/mac80211/wme.c switch (sdata->vif.type) { vif 272 net/mac80211/wme.c if (ieee80211_vif_is_mesh(&sdata->vif)) { vif 137 net/mac80211/wpa.c if (rx->sdata->vif.type == NL80211_IFTYPE_AP && rx->key->conf.keyidx) {