Lines Matching refs:sta_priv
750 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local
798 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action()
801 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action()
818 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local
826 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
828 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add()
830 sta_priv->client = true; in iwlagn_mac_sta_add()
841 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
851 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local
863 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
865 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
1704 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_notify() local
1711 WARN_ON(!sta_priv->client); in iwlagn_mac_sta_notify()
1712 sta_priv->asleep = true; in iwlagn_mac_sta_notify()
1713 if (atomic_read(&sta_priv->pending_frames) > 0) in iwlagn_mac_sta_notify()
1717 WARN_ON(!sta_priv->client); in iwlagn_mac_sta_notify()
1718 if (!sta_priv->asleep) in iwlagn_mac_sta_notify()
1720 sta_priv->asleep = false; in iwlagn_mac_sta_notify()