Lines Matching refs:sta
597 if (iwlagn_tx_skb(priv, control->sta, skb)) in iwlagn_mac_tx()
604 struct ieee80211_sta *sta, in iwlagn_mac_update_tkip_key() argument
609 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
614 struct ieee80211_sta *sta, in iwlagn_mac_set_key() argument
670 key->cipher == WLAN_CIPHER_SUITE_WEP104) && !sta) { in iwlagn_mac_set_key()
685 ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta); in iwlagn_mac_set_key()
701 ret = iwl_remove_dynamic_key(priv, ctx, key, sta); in iwlagn_mac_set_key()
739 struct ieee80211_sta *sta = params->sta; in iwlagn_mac_ampdu_action() local
744 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action()
747 sta->addr, tid); in iwlagn_mac_ampdu_action()
760 ret = iwl_sta_rx_agg_start(priv, sta, tid, *ssn); in iwlagn_mac_ampdu_action()
764 ret = iwl_sta_rx_agg_stop(priv, sta, tid); in iwlagn_mac_ampdu_action()
772 ret = iwlagn_tx_agg_start(priv, vif, sta, tid, ssn); in iwlagn_mac_ampdu_action()
777 ret = iwlagn_tx_agg_flush(priv, vif, sta, tid); in iwlagn_mac_ampdu_action()
781 ret = iwlagn_tx_agg_stop(priv, vif, sta, tid); in iwlagn_mac_ampdu_action()
799 ret = iwlagn_tx_agg_oper(priv, vif, sta, tid, buf_size); in iwlagn_mac_ampdu_action()
809 struct ieee80211_sta *sta) in iwlagn_mac_sta_add() argument
812 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add()
819 sta->addr); in iwlagn_mac_sta_add()
826 ret = iwl_add_station_common(priv, vif_priv->ctx, sta->addr, in iwlagn_mac_sta_add()
827 is_ap, sta, &sta_id); in iwlagn_mac_sta_add()
830 sta->addr, ret); in iwlagn_mac_sta_add()
842 struct ieee80211_sta *sta) in iwlagn_mac_sta_remove() argument
845 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove()
848 IWL_DEBUG_INFO(priv, "proceeding to remove station %pM\n", sta->addr); in iwlagn_mac_sta_remove()
857 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
859 ret = iwl_remove_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
862 "Error removing station %pM\n", sta->addr); in iwlagn_mac_sta_remove()
869 struct ieee80211_sta *sta, in iwlagn_mac_sta_state() argument
881 sta->addr, old_state, new_state); in iwlagn_mac_sta_state()
905 ret = iwlagn_mac_sta_add(hw, vif, sta); in iwlagn_mac_sta_state()
915 priv->stations[iwl_sta_id(sta)].used &= in iwlagn_mac_sta_state()
920 ret = iwlagn_mac_sta_remove(hw, vif, sta); in iwlagn_mac_sta_state()
923 ret = iwlagn_mac_sta_add(hw, vif, sta); in iwlagn_mac_sta_state()
929 sta->addr); in iwlagn_mac_sta_state()
930 iwl_rs_rate_init(priv, sta, iwl_sta_id(sta)); in iwlagn_mac_sta_state()
935 ret = iwl_sta_update_ht(priv, vif_priv->ctx, sta); in iwlagn_mac_sta_state()
940 sta->addr); in iwlagn_mac_sta_state()
941 iwl_rs_rate_init(priv, sta, iwl_sta_id(sta)); in iwlagn_mac_sta_state()
1180 struct ieee80211_sta *sta, bool set) in iwlagn_mac_set_tim() argument
1566 .sta.sta_id = sta_id, in iwl_sta_modify_ps_wake()
1575 struct ieee80211_sta *sta) in iwlagn_mac_sta_notify() argument
1578 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_notify()
1588 ieee80211_sta_block_awake(hw, sta, true); in iwlagn_mac_sta_notify()
1595 sta_id = iwl_sta_id(sta); in iwlagn_mac_sta_notify()