Lines Matching refs:tid_agg_rx
274 struct tid_ampdu_rx *tid_agg_rx; in __ieee80211_start_rx_ba_session() local
387 tid_agg_rx = kzalloc(sizeof(*tid_agg_rx), GFP_KERNEL); in __ieee80211_start_rx_ba_session()
388 if (!tid_agg_rx) in __ieee80211_start_rx_ba_session()
391 spin_lock_init(&tid_agg_rx->reorder_lock); in __ieee80211_start_rx_ba_session()
394 timer_setup(&tid_agg_rx->session_timer, in __ieee80211_start_rx_ba_session()
398 timer_setup(&tid_agg_rx->reorder_timer, in __ieee80211_start_rx_ba_session()
402 tid_agg_rx->reorder_buf = in __ieee80211_start_rx_ba_session()
404 tid_agg_rx->reorder_time = in __ieee80211_start_rx_ba_session()
406 if (!tid_agg_rx->reorder_buf || !tid_agg_rx->reorder_time) { in __ieee80211_start_rx_ba_session()
407 kfree(tid_agg_rx->reorder_buf); in __ieee80211_start_rx_ba_session()
408 kfree(tid_agg_rx->reorder_time); in __ieee80211_start_rx_ba_session()
409 kfree(tid_agg_rx); in __ieee80211_start_rx_ba_session()
414 __skb_queue_head_init(&tid_agg_rx->reorder_buf[i]); in __ieee80211_start_rx_ba_session()
420 kfree(tid_agg_rx->reorder_buf); in __ieee80211_start_rx_ba_session()
421 kfree(tid_agg_rx->reorder_time); in __ieee80211_start_rx_ba_session()
422 kfree(tid_agg_rx); in __ieee80211_start_rx_ba_session()
427 tid_agg_rx->ssn = start_seq_num; in __ieee80211_start_rx_ba_session()
428 tid_agg_rx->head_seq_num = start_seq_num; in __ieee80211_start_rx_ba_session()
429 tid_agg_rx->buf_size = buf_size; in __ieee80211_start_rx_ba_session()
430 tid_agg_rx->timeout = timeout; in __ieee80211_start_rx_ba_session()
431 tid_agg_rx->stored_mpdu_num = 0; in __ieee80211_start_rx_ba_session()
432 tid_agg_rx->auto_seq = auto_seq; in __ieee80211_start_rx_ba_session()
433 tid_agg_rx->started = false; in __ieee80211_start_rx_ba_session()
434 tid_agg_rx->reorder_buf_filtered = 0; in __ieee80211_start_rx_ba_session()
435 tid_agg_rx->tid = tid; in __ieee80211_start_rx_ba_session()
436 tid_agg_rx->sta = sta; in __ieee80211_start_rx_ba_session()
440 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx); in __ieee80211_start_rx_ba_session()
443 mod_timer(&tid_agg_rx->session_timer, TU_TO_EXP_TIME(timeout)); in __ieee80211_start_rx_ba_session()
444 tid_agg_rx->last_rx = jiffies; in __ieee80211_start_rx_ba_session()