Lines Matching refs:sta_priv
710 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local
758 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action()
761 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action()
778 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local
786 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
788 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add()
790 sta_priv->client = true; in iwlagn_mac_sta_add()
801 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
811 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local
823 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
825 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
1545 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_notify() local
1552 WARN_ON(!sta_priv->client); in iwlagn_mac_sta_notify()
1553 sta_priv->asleep = true; in iwlagn_mac_sta_notify()
1554 if (atomic_read(&sta_priv->pending_frames) > 0) in iwlagn_mac_sta_notify()
1558 WARN_ON(!sta_priv->client); in iwlagn_mac_sta_notify()
1559 if (!sta_priv->asleep) in iwlagn_mac_sta_notify()
1561 sta_priv->asleep = false; in iwlagn_mac_sta_notify()