msm: ipa: update wan rx size buffer

Consider headroom also while calculating wan
pipe rx buffer size.

Change-Id: Ic1edcb3548eae152fc01de88859bcf311f48f847
CRs-Fixed: 1037822
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
This commit is contained in:
Sunil Paidimarri 2016-07-05 12:08:36 -07:00
parent ec9fd7cc51
commit 9f8a7d8e9d

View file

@ -3169,7 +3169,7 @@ static int ipa_assign_policy_v2(struct ipa_sys_connect_params *in,
IPA_GENERIC_RX_BUFF_SZ( IPA_GENERIC_RX_BUFF_SZ(
ipa_adjust_ra_buff_base_sz( ipa_adjust_ra_buff_base_sz(
in->ipa_ep_cfg.aggr. in->ipa_ep_cfg.aggr.
aggr_byte_limit)); aggr_byte_limit - IPA_HEADROOM));
in->ipa_ep_cfg.aggr. in->ipa_ep_cfg.aggr.
aggr_byte_limit = aggr_byte_limit =
sys->rx_buff_sz < in-> sys->rx_buff_sz < in->