Lines Matching defs:wvif
150 static int wfx_add_key(struct wfx_vif *wvif, struct ieee80211_sta *sta,
156 struct wfx_dev *wdev = wvif->wdev;
157 int idx = wfx_alloc_key(wvif->wdev);
159 struct ieee80211_vif *vif = wvif_to_vif(wvif);
165 k.int_id = wvif->id;
207 static int wfx_remove_key(struct wfx_vif *wvif, struct ieee80211_key_conf *key)
210 wfx_free_key(wvif->wdev, key->hw_key_idx);
211 return wfx_hif_remove_key(wvif->wdev, key->hw_key_idx);
218 struct wfx_vif *wvif = (struct wfx_vif *)vif->drv_priv;
220 mutex_lock(&wvif->wdev->conf_mutex);
222 ret = wfx_add_key(wvif, sta, key);
224 ret = wfx_remove_key(wvif, key);
225 mutex_unlock(&wvif->wdev->conf_mutex);