Lines Matching refs:mpa_rx
143 (a->mpa_rx.pkt_cnt == a->mpa_rx.pkt_aggr_limit)
146 #define MP_RX_AGGR_IN_PROGRESS(a) (a->mpa_rx.pkt_cnt > 0)
150 ((a->mpa_rx.buf_len+rx_len) <= a->mpa_rx.buf_size)
154 a->mpa_rx.pkt_cnt = 0; \
155 a->mpa_rx.buf_len = 0; \
156 a->mpa_rx.ports = 0; \
157 a->mpa_rx.start_port = 0; \
271 struct mwifiex_sdio_mpa_rx mpa_rx; member
318 if (card->curr_rd_port < card->mpa_rx.start_port) { in mp_rx_aggr_port_limit_reached()
324 if (((card->max_ports - card->mpa_rx.start_port) + in mp_rx_aggr_port_limit_reached()
332 if ((card->curr_rd_port - card->mpa_rx.start_port) >= in mp_rx_aggr_port_limit_reached()
369 card->mpa_rx.buf_len += rx_len; in mp_rx_aggr_setup()
371 if (!card->mpa_rx.pkt_cnt) in mp_rx_aggr_setup()
372 card->mpa_rx.start_port = port; in mp_rx_aggr_setup()
375 card->mpa_rx.ports |= (1 << port); in mp_rx_aggr_setup()
377 if (card->mpa_rx.start_port <= port) in mp_rx_aggr_setup()
378 card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt); in mp_rx_aggr_setup()
380 card->mpa_rx.ports |= 1 << (card->mpa_rx.pkt_cnt + 1); in mp_rx_aggr_setup()
382 card->mpa_rx.skb_arr[card->mpa_rx.pkt_cnt] = NULL; in mp_rx_aggr_setup()
383 card->mpa_rx.len_arr[card->mpa_rx.pkt_cnt] = rx_len; in mp_rx_aggr_setup()
384 card->mpa_rx.pkt_cnt++; in mp_rx_aggr_setup()