Searched refs:tid_agg_rx (Results 1 – 2 of 2) sorted by relevance
260 struct tid_ampdu_rx *tid_agg_rx; in ___ieee80211_start_rx_ba_session() local374 tid_agg_rx = kzalloc(sizeof(*tid_agg_rx), GFP_KERNEL); in ___ieee80211_start_rx_ba_session()375 if (!tid_agg_rx) in ___ieee80211_start_rx_ba_session()378 spin_lock_init(&tid_agg_rx->reorder_lock); in ___ieee80211_start_rx_ba_session()381 timer_setup(&tid_agg_rx->session_timer, in ___ieee80211_start_rx_ba_session()385 timer_setup(&tid_agg_rx->reorder_timer, in ___ieee80211_start_rx_ba_session()389 tid_agg_rx->reorder_buf = in ___ieee80211_start_rx_ba_session()391 tid_agg_rx->reorder_time = in ___ieee80211_start_rx_ba_session()393 if (!tid_agg_rx->reorder_buf || !tid_agg_rx->reorder_time) { in ___ieee80211_start_rx_ba_session()394 kfree(tid_agg_rx->reorder_buf); in ___ieee80211_start_rx_ba_session()[all …]
1079 static inline bool ieee80211_rx_reorder_ready(struct tid_ampdu_rx *tid_agg_rx, in ieee80211_rx_reorder_ready() argument1082 struct sk_buff_head *frames = &tid_agg_rx->reorder_buf[index]; in ieee80211_rx_reorder_ready()1086 if (tid_agg_rx->reorder_buf_filtered && in ieee80211_rx_reorder_ready()1087 tid_agg_rx->reorder_buf_filtered & BIT_ULL(index)) in ieee80211_rx_reorder_ready()1101 struct tid_ampdu_rx *tid_agg_rx, in ieee80211_release_reorder_frame() argument1105 struct sk_buff_head *skb_list = &tid_agg_rx->reorder_buf[index]; in ieee80211_release_reorder_frame()1109 lockdep_assert_held(&tid_agg_rx->reorder_lock); in ieee80211_release_reorder_frame()1114 if (!ieee80211_rx_reorder_ready(tid_agg_rx, index)) { in ieee80211_release_reorder_frame()1120 tid_agg_rx->stored_mpdu_num--; in ieee80211_release_reorder_frame()1128 if (tid_agg_rx->reorder_buf_filtered) in ieee80211_release_reorder_frame()[all …]