Lines Matching refs:cindex
2569 int index, cindex;
2613 cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);
2615 "%s: tid=%d, seqno %d; window %d:%d; index=%d cindex=%d "
2618 tap->txa_start, tap->txa_wnd, index, cindex, tid->baw_head,
2623 assert(tid->tx_buf[cindex] == NULL);
2625 if (tid->tx_buf[cindex] != NULL) {
2627 "%s: ba packet dup (index=%d, cindex=%d, "
2629 __func__, index, cindex, tid->baw_head, tid->baw_tail);
2633 tid->tx_buf[cindex],
2634 SEQNO(tid->tx_buf[cindex]->bf_state.bfs_seqno),
2639 tid->tx_buf[cindex] = bf;
2643 tid->baw_tail = cindex;
2661 int index, cindex;
2669 cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);
2686 if (tid->tx_buf[cindex] != old_bf) {
2694 tid->tx_buf[cindex] = new_bf;
2708 int index, cindex;
2716 cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1);
2719 "%s: tid=%d, baw=%d:%d, seqno=%d, index=%d, cindex=%d, "
2722 cindex, tid->baw_head, tid->baw_tail);
2734 if (tid->tx_buf[cindex] != bf) {
2738 tid->tx_buf[cindex],
2739 (tid->tx_buf[cindex] != NULL) ?
2740 SEQNO(tid->tx_buf[cindex]->bf_state.bfs_seqno) : -1);
2743 tid->tx_buf[cindex] = NULL;