sdk-hwV1.3/lichee/linux-4.9/drivers/net/wireless/xr806/include/low_cmd.h

36 lines
855 B
C

/*
* xr806/low_cmd.h
*
* Copyright (c) 2022
* Allwinner Technology Co., Ltd. <www.allwinner.com>
* laumy <liumingyuan@allwinner.com>
*
* wlan interface APIs for Xr806 drivers
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
*/
#ifndef __LOW_CMD_H__
#define __LOW_CMD_H__
int xradio_low_cmd_init(void *priv);
void xradio_low_cmd_deinit(void *priv);
int xradio_low_cmd_push(u8 *buff, u32 len);
int xraido_low_cmd_dev_hand_way(void);
#define KEEP_ALIVE_USE_TIMER 1
#if KEEP_ALIVE_USE_TIMER
void xradio_keep_alive_update_tx_status(int value);
#endif
typedef void (*kp_timeout_cb)(void);
int xradio_keep_alive(kp_timeout_cb cb);
#endif