summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rmnet_data.h
diff options
context:
space:
mode:
authorHarout Hedeshian <harouth@codeaurora.org>2013-10-24 09:28:22 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:58 -0700
commit3a9fa2aa8025735dcbf413d02ac694fd636f21f5 (patch)
tree828d05b792c5566ca5db15821cba66d3344f3c4e /include/uapi/linux/rmnet_data.h
parent162318ea3eec2d52f7f46752fb3be10541953289 (diff)
net: rmnet_data: In-band flow control
Implement MAP based in-band flow control. Added 2 new configuration messages to allow adding and deleting flow handles. Added handlers in VND for flow control events. Added flow control command handler in rmnet_map_commands. CRs-fixed: 568534 Change-Id: Ica52e4ad89430c9fa5e2b38e389ee6bc91de2e9b Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/rmnet_data.h')
-rw-r--r--include/uapi/linux/rmnet_data.h27
1 files changed, 25 insertions, 2 deletions
diff --git a/include/uapi/linux/rmnet_data.h b/include/uapi/linux/rmnet_data.h
index bcff313a95c0..02778bb2260f 100644
--- a/include/uapi/linux/rmnet_data.h
+++ b/include/uapi/linux/rmnet_data.h
@@ -66,6 +66,11 @@ struct rmnet_nl_msg_s {
uint32_t id;
uint8_t vnd_name[RMNET_MAX_STR_LEN];
} vnd;
+ struct {
+ uint32_t id;
+ uint32_t map_flow_id;
+ uint32_t tc_flow_id;
+ } flow_control;
};
};
@@ -186,7 +191,24 @@ enum rmnet_netlink_message_types_e {
* Args: int32_t node number
* Returns: status code
*/
- RMNET_NETLINK_FREE_VND
+ RMNET_NETLINK_FREE_VND,
+
+ /*
+ * RMNET_NETLINK_ADD_VND_TC_FLOW - Add flow control handle on VND
+ * Args: int32_t node number
+ * uint32_t MAP Flow Handle
+ * uint32_t TC Flow Handle
+ * Returns: status code
+ */
+ RMNET_NETLINK_ADD_VND_TC_FLOW,
+
+ /*
+ * RMNET_NETLINK_DEL_VND_TC_FLOW - Removes flow control handle on VND
+ * Args: int32_t node number
+ * uint32_t MAP Flow Handle
+ * Returns: status code
+ */
+ RMNET_NETLINK_DEL_VND_TC_FLOW
};
enum rmnet_config_endpoint_modes_e {
@@ -205,7 +227,8 @@ enum rmnet_config_return_codes_e {
RMNET_CONFIG_INVALID_REQUEST,
RMNET_CONFIG_NO_SUCH_DEVICE,
RMNET_CONFIG_BAD_ARGUMENTS,
- RMNET_CONFIG_BAD_EGRESS_DEVICE
+ RMNET_CONFIG_BAD_EGRESS_DEVICE,
+ RMNET_CONFIG_TC_HANDLE_FULL
};
#endif /* _RMNET_DATA_H_ */