cnss_utils: add smem-mailbox APIs

Add smem_mailbox start, stop, and write API usage.

Change-Id: Ie284b0df439bb3181168b3bdb2e532daf593a951
CRs-Fixed: 3723643
This commit is contained in:
Mohammed Ahmed
2024-01-30 15:37:33 -08:00
committed by Ravindra Konda
parent 26a92221c3
commit b02f8575e8
3 changed files with 74 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved. */
/*
* Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _CNSS_UTILS_H_
#define _CNSS_UTILS_H_
@@ -44,4 +47,9 @@ extern void cnss_utils_set_cc_source(struct device *dev,
enum cnss_utils_cc_src cc_source);
extern enum cnss_utils_cc_src cnss_utils_get_cc_source(struct device *dev);
#ifdef CONFIG_FEATURE_SMEM_MAILBOX
extern int cnss_utils_smem_mailbox_write(struct device *dev, int flags,
const __u8 *data, uint32_t len);
#endif
#endif