Lines Matching refs:mpa_tx
94 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0)
97 #define MP_TX_AGGR_BUF_HAS_ROOM(a, len) ((a->mpa_tx.buf_len+len) \
98 <= a->mpa_tx.buf_size)
102 memmove(&a->mpa_tx.buf[a->mpa_tx.buf_len], \
104 a->mpa_tx.buf_len += pkt_len; \
105 if (!a->mpa_tx.pkt_cnt) \
106 a->mpa_tx.start_port = port; \
107 if (a->mpa_tx.start_port <= port) \
108 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \
110 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \
113 a->mpa_tx.pkt_cnt++; \
118 (a->mpa_tx.pkt_cnt == a->mpa_tx.pkt_aggr_limit)
122 a->mpa_tx.pkt_cnt = 0; \
123 a->mpa_tx.buf_len = 0; \
124 a->mpa_tx.ports = 0; \
125 a->mpa_tx.start_port = 0; \
261 struct mwifiex_sdio_mpa_tx mpa_tx; member
336 if (card->curr_wr_port < card->mpa_tx.start_port) { in mp_tx_aggr_port_limit_reached()
342 if (((card->max_ports - card->mpa_tx.start_port) + in mp_tx_aggr_port_limit_reached()
350 if ((card->curr_wr_port - card->mpa_tx.start_port) >= in mp_tx_aggr_port_limit_reached()