1 /****************************************************************************** 2 * 3 * Copyright(c) 2020 Realtek Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 *****************************************************************************/ 15 #ifndef _PHL_SOUND_CMD_H_ 16 #define _PHL_SOUND_CMD_H_ 17 18 #ifdef CONFIG_CMD_DISP 19 20 enum snd_cmd_disp_ctrl { 21 SND_CMD_DISP_CTRL_BFEE = 0, 22 SND_CMD_DISP_CTRL_BFER, 23 SND_CMD_DISP_CTRL_MAX 24 }; 25 26 enum snd_cmd_set_info_opcode { 27 SND_CMD_OP_NONE = 0, 28 SND_CMD_OP_SET_AID = 1, 29 SND_CMD_OP_MAX = 2, 30 }; 31 32 struct snd_cmd_set_aid { 33 u16 aid; 34 enum phl_mdl_ret_code cmd_sts; 35 struct rtw_phl_stainfo_t *sta_info; 36 }; 37 38 39 enum rtw_phl_status phl_snd_cmd_register_module(struct phl_info_t *phl_info); 40 41 enum rtw_phl_status 42 rtw_phl_snd_cmd_set_aid(void *phl, 43 struct rtw_wifi_role_t *wrole, 44 struct rtw_phl_stainfo_t *sta, 45 u16 aid); 46 47 enum rtw_phl_status 48 phl_snd_cmd_ntfy_ps(struct phl_info_t *phl, 49 struct rtw_wifi_role_t *wrole, 50 bool enter); 51 #endif 52 #endif