linux-stable/drivers/staging/wfx/debug.h
Jérôme Pouiller 4f8b7fabb1 staging: wfx: allow to send commands to chip
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>
2019-10-04 10:46:10 +02:00

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 */