mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2026-01-19 10:26:35 +00:00
Update to 5.8.7.1
This commit is contained in:
@@ -25,20 +25,6 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static void _dbg_dump_macreg(PADAPTER padapter)
|
||||
{
|
||||
u32 offset = 0;
|
||||
u32 val32 = 0;
|
||||
u32 index = 0;
|
||||
|
||||
for (index = 0; index < 64; index++) {
|
||||
offset = index * 4;
|
||||
val32 = rtw_read32(padapter, offset);
|
||||
RTW_INFO("offset : 0x%02x ,val:0x%08x\n", offset, val32);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FWLPS_IN_IPS
|
||||
u8 rtl8822bu_fw_ips_init(_adapter *padapter)
|
||||
{
|
||||
@@ -218,9 +204,10 @@ u32 rtl8822bu_init(PADAPTER padapter)
|
||||
|
||||
hal_init_misc(padapter);
|
||||
|
||||
#ifdef CONFIG_FWLPS_IN_IPS
|
||||
exit:
|
||||
#endif
|
||||
RTW_INFO("%s in %dms\n", __func__, rtw_get_passing_time_ms(init_start_time));
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@@ -258,7 +245,9 @@ u32 rtl8822bu_deinit(PADAPTER padapter)
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FWLPS_IN_IPS
|
||||
exit:
|
||||
#endif
|
||||
RTW_INFO("%s <==\n", __func__);
|
||||
return _SUCCESS;
|
||||
}
|
||||
@@ -424,8 +413,6 @@ void rtl8822bu_interface_configure(PADAPTER padapter)
|
||||
else
|
||||
pHalData->UsbBulkOutSize = USB_FULL_SPEED_BULK_SIZE;
|
||||
|
||||
pHalData->interfaceIndex = pdvobjpriv->InterfaceNumber;
|
||||
|
||||
#ifdef CONFIG_USB_TX_AGGREGATION
|
||||
/* according to value defined by halmac */
|
||||
pHalData->UsbTxAggMode = 1;
|
||||
|
||||
@@ -152,7 +152,7 @@ static void gethwreg(PADAPTER padapter, u8 variable, u8 *val)
|
||||
Description:
|
||||
Change default setting of specified variable.
|
||||
*/
|
||||
static u8 sethaldefvar(PADAPTER padapter, HAL_DEF_VARIABLE eVariable, PVOID pValue)
|
||||
static u8 sethaldefvar(PADAPTER padapter, HAL_DEF_VARIABLE eVariable, void *pValue)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
u8 bResult = _SUCCESS;
|
||||
@@ -170,7 +170,7 @@ static u8 sethaldefvar(PADAPTER padapter, HAL_DEF_VARIABLE eVariable, PVOID pVal
|
||||
Description:
|
||||
Query setting of specified variable.
|
||||
*/
|
||||
static u8 gethaldefvar(PADAPTER padapter, HAL_DEF_VARIABLE eVariable, PVOID pValue)
|
||||
static u8 gethaldefvar(PADAPTER padapter, HAL_DEF_VARIABLE eVariable, void *pValue)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
u8 bResult = _SUCCESS;
|
||||
|
||||
@@ -36,7 +36,6 @@ static u8 recvbuf2recvframe_proccess_c2h(PADAPTER padapter, u8 *pbuf, s32 transf
|
||||
/* send rx desc + c2h content to halmac */
|
||||
rtl8822b_c2h_handler_no_io(padapter, pbuf, transfer_len);
|
||||
|
||||
exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -112,13 +112,13 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bag
|
||||
if ((pxmitframe->frame_tag & 0x0f) == DATA_FRAMETAG) {
|
||||
/* RTW_INFO("pxmitframe->frame_tag == DATA_FRAMETAG\n"); */
|
||||
rtl8822b_fill_txdesc_sectype(pattrib, ptxdesc);
|
||||
#ifdef CONFIG_TX_CSUM_OFFLOAD
|
||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
|
||||
if (pattrib->hw_csum == 1) {
|
||||
int offset = 48 + pxmitframe->pkt_offset*8 + 8;
|
||||
|
||||
SET_TX_DESC_OFFSET_8822B(ptxdesc, offset);
|
||||
SET_TX_DESC_CHK_EN_8822B(ptxdesc, 1);
|
||||
SET_TX_DESC_WHEADER_LEN_8822B(ptxdesc, (pattrib->hdrlen + pattrib->iv_len)>>1);
|
||||
SET_TX_DESC_WHEADER_LEN_8822B(ptxdesc, (pattrib->hdrlen + pattrib->iv_len + XATTRIB_GET_MCTRL_LEN(pattrib))>>1);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -136,6 +136,9 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bag
|
||||
if (bmcst)
|
||||
rtl8822b_fill_txdesc_force_bmc_camid(pattrib, ptxdesc);
|
||||
#endif
|
||||
#ifdef CONFIG_SUPPORT_DYNAMIC_TXPWR
|
||||
rtw_phydm_set_dyntxpwr(padapter, ptxdesc, pattrib->mac_id);
|
||||
#endif
|
||||
|
||||
if ((pattrib->ether_type != 0x888e) &&
|
||||
(pattrib->ether_type != 0x0806) &&
|
||||
|
||||
Reference in New Issue
Block a user