return retval;
}
-void rtl8723a_set_tx_pause(struct rtw_adapter *padapter, u8 pause)
-{
- rtw_write8(padapter, REG_TXPAUSE, pause);
-}
-
void rtl8723a_set_beacon_interval(struct rtw_adapter *padapter, u16 interval)
{
rtw_write16(padapter, REG_BCN_INTERVAL, interval);
void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
{
switch (variable) {
- case HW_VAR_TXPAUSE:
- rtl8723a_set_tx_pause(padapter, *val);
- break;
-
default:
break;
}
struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter);
switch (variable) {
- case HW_VAR_TXPAUSE:
- *val = rtw_read8(padapter, REG_TXPAUSE);
- break;
-
case HW_VAR_RF_TYPE:
*val = pHalData->rf_type;
break;
void rtl8723a_set_apfm_on_mac(struct rtw_adapter *padapter, u8 val);
void rtl8723a_bcn_valid(struct rtw_adapter *padapter);
bool rtl8723a_get_bcn_valid(struct rtw_adapter *padapter);
-void rtl8723a_set_tx_pause(struct rtw_adapter *padapter, u8 pause);
void rtl8723a_set_beacon_interval(struct rtw_adapter *padapter, u16 interval);
void rtl8723a_set_resp_sifs(struct rtw_adapter *padapter,
u8 r2t1, u8 r2t2, u8 t2t1, u8 t2t2);
enum HW_VARIABLES {
HW_VAR_INIT_RTS_RATE,
- HW_VAR_TXPAUSE,
HW_VAR_RF_TYPE,
HW_VAR_CAM_READ,
HW_VAR_FWLPS_RF_ON,