Lines Matching refs:sta_priv
305 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_add() local
307 sta_priv->vif_id = wvif->id; in wfx_sta_add()
315 sta_priv->link_id = ffz(wvif->link_id_map); in wfx_sta_add()
316 wvif->link_id_map |= BIT(sta_priv->link_id); in wfx_sta_add()
317 WARN_ON(!sta_priv->link_id); in wfx_sta_add()
318 WARN_ON(sta_priv->link_id >= HIF_LINK_ID_MAX); in wfx_sta_add()
319 wfx_hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add()
327 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_remove() local
330 if (!sta_priv->link_id) in wfx_sta_remove()
333 wfx_hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove()
334 wvif->link_id_map &= ~BIT(sta_priv->link_id); in wfx_sta_remove()