msm: ipc: Update server lookup operation to return complete information
QMI Server lookup returns only node_id and port_id. This information is not sufficient when the QMI clients look for a specific instance of a service. Hence the server lookup routine returns the instance ID along with the server address information. Change-Id: I644e6c8bb9dc3108c0198b7779ef277aa65f7bc5 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
b657cc0ec7
commit
2e378e8de8
@@ -62,12 +62,19 @@ struct sockaddr_msm_ipc {
|
||||
#define IPC_ROUTER_IOCTL_BIND_CONTROL_PORT \
|
||||
_IOR(IPC_ROUTER_IOCTL_MAGIC, 4, unsigned int)
|
||||
|
||||
struct msm_ipc_server_info {
|
||||
uint32_t node_id;
|
||||
uint32_t port_id;
|
||||
uint32_t service;
|
||||
uint32_t instance;
|
||||
};
|
||||
|
||||
struct server_lookup_args {
|
||||
struct msm_ipc_port_name port_name;
|
||||
int num_entries_in_array;
|
||||
int num_entries_found;
|
||||
uint32_t lookup_mask;
|
||||
struct msm_ipc_port_addr port_addr[0];
|
||||
struct msm_ipc_server_info srv_info[0];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user