Lines Matching refs:mpa_tx
106 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0)
109 #define MP_TX_AGGR_BUF_HAS_ROOM(a, len) ((a->mpa_tx.buf_len+len) \
110 <= a->mpa_tx.buf_size)
114 memmove(&a->mpa_tx.buf[a->mpa_tx.buf_len], \
116 a->mpa_tx.buf_len += pkt_len; \
117 if (!a->mpa_tx.pkt_cnt) \
118 a->mpa_tx.start_port = port; \
119 if (a->mpa_tx.start_port <= port) \
120 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \
122 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \
125 a->mpa_tx.pkt_cnt++; \
130 (a->mpa_tx.pkt_cnt == a->mpa_tx.pkt_aggr_limit)
134 a->mpa_tx.pkt_cnt = 0; \
135 a->mpa_tx.buf_len = 0; \
136 a->mpa_tx.ports = 0; \
137 a->mpa_tx.start_port = 0; \
273 struct mwifiex_sdio_mpa_tx mpa_tx; member
348 if (card->curr_wr_port < card->mpa_tx.start_port) { in mp_tx_aggr_port_limit_reached()
354 if (((card->max_ports - card->mpa_tx.start_port) + in mp_tx_aggr_port_limit_reached()
362 if ((card->curr_wr_port - card->mpa_tx.start_port) >= in mp_tx_aggr_port_limit_reached()