From 066dd1bba2da228e81b7943b30fbfea58dc13658 Mon Sep 17 00:00:00 2001 From: Xianjun Jiao Date: Tue, 29 Mar 2022 10:06:27 +0200 Subject: [PATCH] fine tuning of ack tx wait time for new design --- driver/xpu/xpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/xpu/xpu.c b/driver/xpu/xpu.c index 7eef660..ae4c779 100644 --- a/driver/xpu/xpu.c +++ b/driver/xpu/xpu.c @@ -433,7 +433,7 @@ static inline u32 hw_init(enum xpu_mode mode){ // xpu_api->XPU_REG_CSMA_CFG_write(268435459); // Linux will do config for each queue via openwifi_conf_tx // xpu_api->XPU_REG_CSMA_CFG_write(0xe0000000); // Linux will do config for each queue via openwifi_conf_tx - xpu_api->XPU_REG_SEND_ACK_WAIT_TOP_write( ((51)<<16)|0 );//now our tx send out I/Q immediately + xpu_api->XPU_REG_SEND_ACK_WAIT_TOP_write( ((16+23)<<16)|(0+23) ); xpu_api->XPU_REG_RECV_ACK_COUNT_TOP0_write( (((45+2+2)*10 + 15)<<16) | 10 );//2.4GHz. extra 300 clocks are needed when rx core fall into fake ht detection phase (rx mcs 6M) xpu_api->XPU_REG_RECV_ACK_COUNT_TOP1_write( (((51+2+2)*10 + 15)<<16) | 10 );//5GHz. extra 300 clocks are needed when rx core fall into fake ht detection phase (rx mcs 6M)