blob: 0bc4b768e847c0d7af8f09b400d42492fe54ec91 [file] [log] [blame]
Sunil Paidimarrifbbcd072017-04-04 17:43:50 -07001/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
Amir Levy9659e592016-10-27 18:08:27 +03002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#include <linux/ipa_mhi.h>
14#include <linux/ipa_qmi_service_v01.h>
15
16#ifndef _IPA_UC_OFFLOAD_COMMON_I_H_
17#define _IPA_UC_OFFLOAD_COMMON_I_H_
18
19int ipa_setup_uc_ntn_pipes(struct ipa_ntn_conn_in_params *in,
20 ipa_notify_cb notify, void *priv, u8 hdr_len,
21 struct ipa_ntn_conn_out_params *outp);
22int ipa_tear_down_uc_offload_pipes(int ipa_ep_idx_ul, int ipa_ep_idx_dl);
23
Sunil Paidimarrifbbcd072017-04-04 17:43:50 -070024int ipa_ntn_uc_reg_rdyCB(void (*ipauc_ready_cb)(void *user_data),
25 void *user_data);
26void ipa_ntn_uc_dereg_rdyCB(void);
Amir Levy9659e592016-10-27 18:08:27 +030027#endif /* _IPA_UC_OFFLOAD_COMMON_I_H_ */