Lines Matching refs:sp
239 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_check_sta_magic() local
240 WARN_ON(sp->magic != HWSIM_STA_MAGIC); in hwsim_check_sta_magic()
245 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_set_sta_magic() local
246 sp->magic = HWSIM_STA_MAGIC; in hwsim_set_sta_magic()
251 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in hwsim_clear_sta_magic() local
252 sp->magic = 0; in hwsim_clear_sta_magic()
1699 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in mac80211_hwsim_rx() local
1702 sp->active_links_rx &= ~BIT(link_id); in mac80211_hwsim_rx()
1704 sp->active_links_rx |= BIT(link_id); in mac80211_hwsim_rx()
1859 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in mac80211_hwsim_select_tx_link() local
1875 link_id = (sp->last_link + i + 1) % ARRAY_SIZE(vif->link_conf); in mac80211_hwsim_select_tx_link()
1880 if (!(sp->active_links_rx & BIT(link_id))) in mac80211_hwsim_select_tx_link()
1895 sp->last_link = link_id; in mac80211_hwsim_select_tx_link()
2594 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in mac80211_hwsim_sta_add() local
2604 sp->active_links_rx = sta->valid_links; in mac80211_hwsim_sta_add()
3249 struct hwsim_sta_priv *sp = (void *)sta->drv_priv; in mac80211_hwsim_change_sta_links() local
3254 sp->active_links_rx = new_links; in mac80211_hwsim_change_sta_links()