hc
2024-03-25 edb30157bad0c0001c32b854271ace01d3b9a16a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/******************************************************************************
 *
 * 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