Lines Matching refs:avf

75 	struct ath5k_vif *avf = (void *)vif->drv_priv;  in ath5k_add_interface()  local
103 avf->opmode = vif->type; in ath5k_add_interface()
111 ATH5K_DBG(ah, ATH5K_DEBUG_MODE, "add interface mode %d\n", avf->opmode); in ath5k_add_interface()
114 if ((avf->opmode == NL80211_IFTYPE_AP) || in ath5k_add_interface()
115 (avf->opmode == NL80211_IFTYPE_ADHOC) || in ath5k_add_interface()
116 (avf->opmode == NL80211_IFTYPE_MESH_POINT)) { in ath5k_add_interface()
120 avf->bbuf = list_first_entry(&ah->bcbuf, struct ath5k_buf, in ath5k_add_interface()
122 list_del(&avf->bbuf->list); in ath5k_add_interface()
124 avf->bslot = 0; in ath5k_add_interface()
127 avf->bslot = slot; in ath5k_add_interface()
131 BUG_ON(ah->bslot[avf->bslot] != NULL); in ath5k_add_interface()
132 ah->bslot[avf->bslot] = vif; in ath5k_add_interface()
133 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_add_interface()
135 else if (avf->opmode == NL80211_IFTYPE_ADHOC) in ath5k_add_interface()
137 else if (avf->opmode == NL80211_IFTYPE_MESH_POINT) in ath5k_add_interface()
159 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_remove_interface() local
165 if (avf->bbuf) { in ath5k_remove_interface()
166 ath5k_txbuf_free_skb(ah, avf->bbuf); in ath5k_remove_interface()
167 list_add_tail(&avf->bbuf->list, &ah->bcbuf); in ath5k_remove_interface()
174 avf->bbuf = NULL; in ath5k_remove_interface()
176 if (avf->opmode == NL80211_IFTYPE_AP) in ath5k_remove_interface()
178 else if (avf->opmode == NL80211_IFTYPE_ADHOC) in ath5k_remove_interface()
180 else if (avf->opmode == NL80211_IFTYPE_MESH_POINT) in ath5k_remove_interface()
252 struct ath5k_vif *avf = (void *)vif->drv_priv; in ath5k_bss_info_changed() local
280 avf->assoc = bss_conf->assoc; in ath5k_bss_info_changed()