Files
android_kernel_samsung_sm86…/core/rmnet_ll.h
Sean Tranchetti aeba491583 rmnet_core: Add IPA driver support for low-latency framework
Allows the use of the LL channel on IPA based targetds. MHI specific
functionality is split into the new rmnet_ll_mhi.c file, and IPA is
placed in rmnet_ll_ipa.c. rmnet_ll.c works as a generic interface to the
core rmnet module, and handles calling specific functions in the active
HW module to provide the low latency channel functionality.

Change-Id: Id3e77b8433134872eba09818fc662fc109687d80
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
2021-05-14 10:30:09 -07:00

40 lines
1.0 KiB
C

/* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* RmNet Low Latency channel handlers
*/
#ifndef __RMNET_LL_H__
#define __RMNET_LL_H__
#include <linux/skbuff.h>
struct rmnet_ll_stats {
u64 tx_queue;
u64 tx_queue_err;
u64 tx_complete;
u64 tx_complete_err;
u64 rx_queue;
u64 rx_queue_err;
u64 rx_status_err;
u64 rx_null;
u64 rx_oom;
u64 rx_pkts;
u64 rx_tmp_allocs;
};
int rmnet_ll_send_skb(struct sk_buff *skb);
struct rmnet_ll_stats *rmnet_ll_get_stats(void);
int rmnet_ll_init(void);
void rmnet_ll_exit(void);
#endif