mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 07:04:44 +00:00
4f8b7fabb1
Chip has multiple input buffers and can handle multiple 802.11 frames in parallel. However, other HIF command must be sent sequentially. wsm_send_cmd() handles these requests. This commit also add send_hif_cmd in debugfs. This file allows to send arbitrary commands to chip. It can be used for debug and testing. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20190919142527.31797-12-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
425 B
C
19 lines
425 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Debugfs interface.
|
|
*
|
|
* Copyright (c) 2017-2019, Silicon Laboratories, Inc.
|
|
* Copyright (c) 2011, ST-Ericsson
|
|
*/
|
|
#ifndef WFX_DEBUG_H
|
|
#define WFX_DEBUG_H
|
|
|
|
struct wfx_dev;
|
|
|
|
int wfx_debug_init(struct wfx_dev *wdev);
|
|
|
|
const char *get_hif_name(unsigned long id);
|
|
const char *get_mib_name(unsigned long id);
|
|
const char *get_reg_name(unsigned long id);
|
|
|
|
#endif /* WFX_DEBUG_H */
|