summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSkylar Chang <chiaweic@codeaurora.org>2016-03-04 10:53:42 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:04 -0700
commit55b24c8c5a3bc936a4e1680e061f354b638f8ab7 (patch)
tree517d59714891816007aab28a69b7eaba9d8e4d9f /include
parent5f181ee0ddd0935cc204dfca78c4b7d0f768f3a4 (diff)
msm: ipa: add support for AGGR_SW_EOF_ACTIVE
Configure AGGR_SW_EOF_ACTIVE for WAN_CONS pipe in order to allow modem to close aggregation on this pipe. This is needed in order for modem to ensure a QMAP command packet always resides in the end of aggregated frame. Change-Id: I7412f1f0af8d2109853e311de815a1f1ec3220e3 CRs-Fixed: 979484 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipa.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ipa.h b/include/linux/ipa.h
index a1e32aa775a9..28fe30e430c7 100644
--- a/include/linux/ipa.h
+++ b/include/linux/ipa.h
@@ -246,6 +246,13 @@ struct ipa_ep_cfg_mode {
* will apply - frames close once a packet causes the
* accumulated byte-count to cross the byte-limit
* threshold (closed frame will contain that packet).
+ * @aggr_sw_eof_active: 0: EOF does not close aggregation. HW closes aggregation
+ * (sends EOT) only based on its aggregation config
+ * (byte/time limit, etc).
+ * 1: EOF closes aggregation in addition to HW based
+ * aggregation closure. Valid for Output Pipes only (IPA
+ * Producer). EOF affects only Pipes configured for generic
+ * aggregation.
*/
struct ipa_ep_cfg_aggr {
enum ipa_aggr_en_type aggr_en;
@@ -254,6 +261,7 @@ struct ipa_ep_cfg_aggr {
u32 aggr_time_limit;
u32 aggr_pkt_limit;
u32 aggr_hard_byte_limit_en;
+ bool aggr_sw_eof_active;
};
/**