Lines Matching refs:tid_rx
47 struct tid_ampdu_rx *tid_rx = in ieee80211_free_tid_rx() local
51 for (i = 0; i < tid_rx->buf_size; i++) in ieee80211_free_tid_rx()
52 __skb_queue_purge(&tid_rx->reorder_buf[i]); in ieee80211_free_tid_rx()
53 kfree(tid_rx->reorder_buf); in ieee80211_free_tid_rx()
54 kfree(tid_rx->reorder_time); in ieee80211_free_tid_rx()
55 kfree(tid_rx); in ieee80211_free_tid_rx()
62 struct tid_ampdu_rx *tid_rx; in ___ieee80211_stop_rx_ba_session() local
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session()
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session()
103 if (!tid_rx) in ___ieee80211_stop_rx_ba_session()
106 del_timer_sync(&tid_rx->session_timer); in ___ieee80211_stop_rx_ba_session()
109 spin_lock_bh(&tid_rx->reorder_lock); in ___ieee80211_stop_rx_ba_session()
110 tid_rx->removed = true; in ___ieee80211_stop_rx_ba_session()
111 spin_unlock_bh(&tid_rx->reorder_lock); in ___ieee80211_stop_rx_ba_session()
112 del_timer_sync(&tid_rx->reorder_timer); in ___ieee80211_stop_rx_ba_session()
114 call_rcu(&tid_rx->rcu_head, ieee80211_free_tid_rx); in ___ieee80211_stop_rx_ba_session()
154 struct tid_ampdu_rx *tid_rx = from_timer(tid_rx, t, session_timer); in sta_rx_agg_session_timer_expired() local
155 struct sta_info *sta = tid_rx->sta; in sta_rx_agg_session_timer_expired()
156 u8 tid = tid_rx->tid; in sta_rx_agg_session_timer_expired()
159 timeout = tid_rx->last_rx + TU_TO_JIFFIES(tid_rx->timeout); in sta_rx_agg_session_timer_expired()
161 mod_timer(&tid_rx->session_timer, timeout); in sta_rx_agg_session_timer_expired()
174 struct tid_ampdu_rx *tid_rx = from_timer(tid_rx, t, reorder_timer); in sta_rx_agg_reorder_timer_expired() local
177 ieee80211_release_reorder_timeout(tid_rx->sta, tid_rx->tid); in sta_rx_agg_reorder_timer_expired()
352 struct tid_ampdu_rx *tid_rx; in ___ieee80211_start_rx_ba_session() local
363 tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ___ieee80211_start_rx_ba_session()
364 if (tid_rx && tid_rx->timeout == timeout) in ___ieee80211_start_rx_ba_session()
446 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx); in ___ieee80211_start_rx_ba_session()