• Home
  • Raw
  • Download

Lines Matching refs:mvmsta

277 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,  in iwl_mvm_drain_sta()  argument
286 cmd.mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color); in iwl_mvm_drain_sta()
287 cmd.sta_id = mvmsta->sta_id; in iwl_mvm_drain_sta()
301 mvmsta->sta_id); in iwl_mvm_drain_sta()
306 mvmsta->sta_id); in iwl_mvm_drain_sta()
808 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_start() local
815 if (mvmsta->tid_data[tid].state != IWL_AGG_OFF) { in iwl_mvm_sta_tx_agg_start()
817 mvmsta->tid_data[tid].state); in iwl_mvm_sta_tx_agg_start()
834 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_start()
838 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_start()
846 tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_sta_tx_agg_start()
853 mvmsta->sta_id, tid, txq_id, tid_data->ssn, in iwl_mvm_sta_tx_agg_start()
863 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_start()
871 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_oper() local
872 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_sta_tx_agg_oper()
876 BUILD_BUG_ON((sizeof(mvmsta->agg_tids) * BITS_PER_BYTE) in iwl_mvm_sta_tx_agg_oper()
881 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_oper()
885 mvmsta->agg_tids |= BIT(tid); in iwl_mvm_sta_tx_agg_oper()
887 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_oper()
895 iwl_mvm_enable_agg_txq(mvm, queue, fifo, mvmsta->sta_id, tid, in iwl_mvm_sta_tx_agg_oper()
905 mvmsta->max_agg_bufsize = in iwl_mvm_sta_tx_agg_oper()
906 min(mvmsta->max_agg_bufsize, buf_size); in iwl_mvm_sta_tx_agg_oper()
907 mvmsta->lq_sta.lq.agg_frame_cnt_limit = mvmsta->max_agg_bufsize; in iwl_mvm_sta_tx_agg_oper()
912 return iwl_mvm_send_lq_cmd(mvm, &mvmsta->lq_sta.lq, false); in iwl_mvm_sta_tx_agg_oper()
918 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_stop() local
919 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_sta_tx_agg_stop()
933 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_stop()
938 mvmsta->sta_id, tid, txq_id, tid_data->state); in iwl_mvm_sta_tx_agg_stop()
940 mvmsta->agg_tids &= ~BIT(tid); in iwl_mvm_sta_tx_agg_stop()
960 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_stop()
986 mvmsta->sta_id, tid, tid_data->state); in iwl_mvm_sta_tx_agg_stop()
992 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_stop()
1000 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_tx_agg_flush() local
1001 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_sta_tx_agg_flush()
1009 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_flush()
1012 mvmsta->sta_id, tid, txq_id, tid_data->state); in iwl_mvm_sta_tx_agg_flush()
1015 mvmsta->agg_tids &= ~BIT(tid); in iwl_mvm_sta_tx_agg_flush()
1016 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_tx_agg_flush()
1393 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_modify_ps_wake() local
1396 .sta_id = mvmsta->sta_id, in iwl_mvm_sta_modify_ps_wake()
1398 .mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color), in iwl_mvm_sta_modify_ps_wake()
1413 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_modify_sleep_tx_count() local
1416 .sta_id = mvmsta->sta_id, in iwl_mvm_sta_modify_sleep_tx_count()
1419 .mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color), in iwl_mvm_sta_modify_sleep_tx_count()
1441 spin_lock_bh(&mvmsta->lock); in iwl_mvm_sta_modify_sleep_tx_count()
1446 tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_sta_modify_sleep_tx_count()
1451 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_modify_sleep_tx_count()
1464 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_sta_modify_sleep_tx_count()
1478 mvmsta->next_status_eosp = true; in iwl_mvm_sta_modify_sleep_tx_count()
1511 struct iwl_mvm_sta *mvmsta, bool disable) in iwl_mvm_sta_modify_disable_tx() argument
1515 .sta_id = mvmsta->sta_id, in iwl_mvm_sta_modify_disable_tx()
1518 .mac_id_n_color = cpu_to_le32(mvmsta->mac_id_n_color), in iwl_mvm_sta_modify_disable_tx()