linux/drivers/net/wireless/ath/ath11k/htc.c

// SPDX-License-Identifier: BSD-3-Clause-Clear
/*
 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
 */
#include <linux/skbuff.h>
#include <linux/ctype.h>

#include "debug.h"
#include "hif.h"

struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size)
{}

static void ath11k_htc_control_tx_complete(struct ath11k_base *ab,
					   struct sk_buff *skb)
{}

static struct sk_buff *ath11k_htc_build_tx_ctrl_skb(void *ab)
{}

static void ath11k_htc_prepare_tx_skb(struct ath11k_htc_ep *ep,
				      struct sk_buff *skb)
{}

int ath11k_htc_send(struct ath11k_htc *htc,
		    enum ath11k_htc_ep_id eid,
		    struct sk_buff *skb)
{}

static void
ath11k_htc_process_credit_report(struct ath11k_htc *htc,
				 const struct ath11k_htc_credit_report *report,
				 int len,
				 enum ath11k_htc_ep_id eid)
{}

static int ath11k_htc_process_trailer(struct ath11k_htc *htc,
				      u8 *buffer,
				      int length,
				      enum ath11k_htc_ep_id src_eid)
{}

static void ath11k_htc_suspend_complete(struct ath11k_base *ab, bool ack)
{}

void ath11k_htc_tx_completion_handler(struct ath11k_base *ab,
				      struct sk_buff *skb)
{}

static void ath11k_htc_wakeup_from_suspend(struct ath11k_base *ab)
{}

void ath11k_htc_rx_completion_handler(struct ath11k_base *ab,
				      struct sk_buff *skb)
{}

static void ath11k_htc_control_rx_complete(struct ath11k_base *ab,
					   struct sk_buff *skb)
{}

static const char *htc_service_name(enum ath11k_htc_svc_id id)
{}

static void ath11k_htc_reset_endpoint_states(struct ath11k_htc *htc)
{}

static u8 ath11k_htc_get_credit_allocation(struct ath11k_htc *htc,
					   u16 service_id)
{}

static int ath11k_htc_setup_target_buffer_assignments(struct ath11k_htc *htc)
{}

int ath11k_htc_wait_target(struct ath11k_htc *htc)
{}

int ath11k_htc_connect_service(struct ath11k_htc *htc,
			       struct ath11k_htc_svc_conn_req *conn_req,
			       struct ath11k_htc_svc_conn_resp *conn_resp)
{}

int ath11k_htc_start(struct ath11k_htc *htc)
{}

int ath11k_htc_init(struct ath11k_base *ab)
{}