Searched refs:tid_agg_rx (Results 1 – 2 of 2) sorted by relevance
276 struct tid_ampdu_rx *tid_agg_rx; in ___ieee80211_start_rx_ba_session() local388 tid_agg_rx = kzalloc(sizeof(*tid_agg_rx), GFP_KERNEL); in ___ieee80211_start_rx_ba_session()389 if (!tid_agg_rx) in ___ieee80211_start_rx_ba_session()392 spin_lock_init(&tid_agg_rx->reorder_lock); in ___ieee80211_start_rx_ba_session()395 timer_setup(&tid_agg_rx->session_timer, in ___ieee80211_start_rx_ba_session()399 timer_setup(&tid_agg_rx->reorder_timer, in ___ieee80211_start_rx_ba_session()403 tid_agg_rx->reorder_buf = in ___ieee80211_start_rx_ba_session()405 tid_agg_rx->reorder_time = in ___ieee80211_start_rx_ba_session()407 if (!tid_agg_rx->reorder_buf || !tid_agg_rx->reorder_time) { in ___ieee80211_start_rx_ba_session()408 kfree(tid_agg_rx->reorder_buf); in ___ieee80211_start_rx_ba_session()[all …]
1104 static inline bool ieee80211_rx_reorder_ready(struct tid_ampdu_rx *tid_agg_rx, in ieee80211_rx_reorder_ready() argument1107 struct sk_buff_head *frames = &tid_agg_rx->reorder_buf[index]; in ieee80211_rx_reorder_ready()1111 if (tid_agg_rx->reorder_buf_filtered & BIT_ULL(index)) in ieee80211_rx_reorder_ready()1125 struct tid_ampdu_rx *tid_agg_rx, in ieee80211_release_reorder_frame() argument1129 struct sk_buff_head *skb_list = &tid_agg_rx->reorder_buf[index]; in ieee80211_release_reorder_frame()1133 lockdep_assert_held(&tid_agg_rx->reorder_lock); in ieee80211_release_reorder_frame()1138 if (!ieee80211_rx_reorder_ready(tid_agg_rx, index)) { in ieee80211_release_reorder_frame()1144 tid_agg_rx->stored_mpdu_num--; in ieee80211_release_reorder_frame()1152 tid_agg_rx->reorder_buf_filtered &= ~BIT_ULL(index); in ieee80211_release_reorder_frame()1153 tid_agg_rx->head_seq_num = ieee80211_sn_inc(tid_agg_rx->head_seq_num); in ieee80211_release_reorder_frame()[all …]