#include <drv_types.h>
#include <rtw_debug.h>
#include <rtl8723b_hal.h>
#include "hal_com_h2c.h"
#define MAX_H2C_BOX_NUMS …
#define MESSAGE_BOX_SIZE …
#define RTL8723B_MAX_CMD_LEN …
#define RTL8723B_EX_MESSAGE_BOX_SIZE …
static u8 _is_fw_read_cmd_down(struct adapter *padapter, u8 msgbox_num)
{ … }
s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer)
{ … }
static void ConstructBeacon(struct adapter *padapter, u8 *pframe, u32 *pLength)
{ … }
static void ConstructPSPoll(struct adapter *padapter, u8 *pframe, u32 *pLength)
{ … }
static void ConstructNullFunctionData(
struct adapter *padapter,
u8 *pframe,
u32 *pLength,
u8 *StaAddr,
u8 bQoS,
u8 AC,
u8 bEosp,
u8 bForcePowerSave
)
{ … }
void CheckFwRsvdPageContent(struct adapter *Adapter)
{ … }
static void rtl8723b_set_FwRsvdPage_cmd(struct adapter *padapter, struct rsvdpage_loc *rsvdpageloc)
{ … }
static void rtl8723b_set_FwAoacRsvdPage_cmd(struct adapter *padapter, struct rsvdpage_loc *rsvdpageloc)
{ … }
void rtl8723b_set_FwMediaStatusRpt_cmd(struct adapter *padapter, u8 mstatus, u8 macid)
{ … }
void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask)
{ … }
void rtl8723b_set_rssi_cmd(struct adapter *padapter, u8 *param)
{ … }
void rtl8723b_set_FwPwrMode_cmd(struct adapter *padapter, u8 psmode)
{ … }
void rtl8723b_set_FwPsTuneParam_cmd(struct adapter *padapter)
{ … }
void rtl8723b_set_FwPwrModeInIPS_cmd(struct adapter *padapter, u8 cmd_param)
{ … }
static void rtl8723b_set_FwRsvdPagePkt(
struct adapter *padapter, bool bDLFinished
)
{ … }
void rtl8723b_download_rsvd_page(struct adapter *padapter, u8 mstatus)
{ … }
void rtl8723b_set_FwJoinBssRpt_cmd(struct adapter *padapter, u8 mstatus)
{ … }
void rtl8723b_Add_RateATid(
struct adapter *padapter,
u32 bitmap,
u8 *arg,
u8 rssi_level
)
{ … }
static void ConstructBtNullFunctionData(
struct adapter *padapter,
u8 *pframe,
u32 *pLength,
u8 *StaAddr,
u8 bQoS,
u8 AC,
u8 bEosp,
u8 bForcePowerSave
)
{ … }
static void SetFwRsvdPagePkt_BTCoex(struct adapter *padapter)
{ … }
void rtl8723b_download_BTCoex_AP_mode_rsvd_page(struct adapter *padapter)
{ … }