• Home
  • Raw
  • Download

Lines Matching refs:tid_info

348 	struct carl9170_sta_tid *tid_info, u16 seq)  in carl9170_tx_shift_bm()  argument
352 off = SEQ_DIFF(seq, tid_info->bsn); in carl9170_tx_shift_bm()
363 WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap)); in carl9170_tx_shift_bm()
365 off = SEQ_DIFF(tid_info->snx, tid_info->bsn); in carl9170_tx_shift_bm()
369 if (!bitmap_empty(tid_info->bitmap, off)) in carl9170_tx_shift_bm()
370 off = find_first_bit(tid_info->bitmap, off); in carl9170_tx_shift_bm()
372 tid_info->bsn += off; in carl9170_tx_shift_bm()
373 tid_info->bsn &= 0x0fff; in carl9170_tx_shift_bm()
375 bitmap_shift_right(tid_info->bitmap, tid_info->bitmap, in carl9170_tx_shift_bm()
386 struct carl9170_sta_tid *tid_info; in carl9170_tx_status_process_ampdu() local
401 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_tx_status_process_ampdu()
402 if (!tid_info) in carl9170_tx_status_process_ampdu()
405 spin_lock_bh(&tid_info->lock); in carl9170_tx_status_process_ampdu()
406 if (likely(tid_info->state >= CARL9170_TID_STATE_IDLE)) in carl9170_tx_status_process_ampdu()
407 carl9170_tx_shift_bm(ar, tid_info, get_seq_h(hdr)); in carl9170_tx_status_process_ampdu()
432 spin_unlock_bh(&tid_info->lock); in carl9170_tx_status_process_ampdu()
1112 struct carl9170_sta_tid *tid_info; in carl9170_tx_ampdu() local
1129 tid_info = rcu_dereference(ar->tx_ampdu_iter); in carl9170_tx_ampdu()
1130 if (WARN_ON_ONCE(!tid_info)) { in carl9170_tx_ampdu()
1136 list_for_each_entry_continue_rcu(tid_info, &ar->tx_ampdu_list, list) { in carl9170_tx_ampdu()
1139 if (tid_info->state < CARL9170_TID_STATE_PROGRESS) in carl9170_tx_ampdu()
1142 queue = TID_TO_WME_AC(tid_info->tid); in carl9170_tx_ampdu()
1144 spin_lock_bh(&tid_info->lock); in carl9170_tx_ampdu()
1145 if (tid_info->state != CARL9170_TID_STATE_XMIT) in carl9170_tx_ampdu()
1148 tid_info->counter++; in carl9170_tx_ampdu()
1149 first = skb_peek(&tid_info->queue); in carl9170_tx_ampdu()
1151 seq = tid_info->snx; in carl9170_tx_ampdu()
1154 tid_info->state = CARL9170_TID_STATE_IDLE; in carl9170_tx_ampdu()
1159 while ((skb = skb_peek(&tid_info->queue))) { in carl9170_tx_ampdu()
1165 if (unlikely(SEQ_DIFF(tid_info->snx, tid_info->bsn) >= in carl9170_tx_ampdu()
1166 (tid_info->max - 1))) in carl9170_tx_ampdu()
1173 tid_info->snx = seq = SEQ_NEXT(seq); in carl9170_tx_ampdu()
1174 __skb_unlink(skb, &tid_info->queue); in carl9170_tx_ampdu()
1182 if (skb_queue_empty(&tid_info->queue) || in carl9170_tx_ampdu()
1183 carl9170_get_seq(skb_peek(&tid_info->queue)) != in carl9170_tx_ampdu()
1184 tid_info->snx) { in carl9170_tx_ampdu()
1190 tid_info->state = CARL9170_TID_STATE_IDLE; in carl9170_tx_ampdu()
1195 spin_unlock_bh(&tid_info->lock); in carl9170_tx_ampdu()
1214 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); in carl9170_tx_ampdu()