Search Linux Wireless

RE: [PATCH rtw-next 3/4] wifi: rtw88: Set AMPDU factor to hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote:
> 
> Tell the chip the maximum AMPDU size supported by the AP. This greatly
> improves the TX speed of RTL8814AU in the 2.4 GHz band. Before: ~90
> Mbps. After: ~300 Mbps.
> 
> Add this configuration for all the chips, even if it only has an effect
> on RTL8814AU in my tests. Surely they all need this.

The hardware default value of REG_AMPDU_MAX_LENGTH is 0xffff (unlimited)
for most chips. It seems like RTL8812A/RTL8821A are also exceptions, so
at power on function they do
    rtw_write32(rtwdev, REG_AMPDU_MAX_LENGTH, 0xffffffff);

I feel RTL8814A has similar setting, so maybe you can just add similar 
stuff. 

By the way, the AMPDU is controlled by TX descriptor basically: 
	pkt_info->ampdu_factor = ampdu_factor;
	pkt_info->ampdu_density = ampdu_density;
	pkt_info->ampdu_en = ampdu_en;

Since you didn't change this part at all, I still feel setting 
REG_AMPDU_MAX_LENGTH to 0xffffffff can fix low throughput problem.





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux