android13/external/wifi_driver/rtl8852be/phl/phl_sound_cmd.h

52 lines
1.4 KiB
C

/******************************************************************************
*
* Copyright(c) 2020 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*****************************************************************************/
#ifndef _PHL_SOUND_CMD_H_
#define _PHL_SOUND_CMD_H_
#ifdef CONFIG_CMD_DISP
enum snd_cmd_disp_ctrl {
SND_CMD_DISP_CTRL_BFEE = 0,
SND_CMD_DISP_CTRL_BFER,
SND_CMD_DISP_CTRL_MAX
};
enum snd_cmd_set_info_opcode {
SND_CMD_OP_NONE = 0,
SND_CMD_OP_SET_AID = 1,
SND_CMD_OP_MAX = 2,
};
struct snd_cmd_set_aid {
u16 aid;
enum phl_mdl_ret_code cmd_sts;
struct rtw_phl_stainfo_t *sta_info;
};
enum rtw_phl_status phl_snd_cmd_register_module(struct phl_info_t *phl_info);
enum rtw_phl_status
rtw_phl_snd_cmd_set_aid(void *phl,
struct rtw_wifi_role_t *wrole,
struct rtw_phl_stainfo_t *sta,
u16 aid);
enum rtw_phl_status
phl_snd_cmd_ntfy_ps(struct phl_info_t *phl,
struct rtw_wifi_role_t *wrole,
bool enter);
#endif
#endif