• Yan-Hsuan Chuang's avatar
    rtw88: fix unassigned rssi_level in rtw_sta_info · a24bad74
    Yan-Hsuan Chuang authored
    The new rssi_level should be stored in si, otherwise the rssi_level will
    never be updated and get a wrong RA mask, which is calculated by the
    rssi level
    
    If a wrong RA mask is chosen, the firmware will pick some *bad rates*.
    The most hurtful scene will be in *noisy environment*, such as office or
    public area with many APs and users.
    The latency would be high and the overall throughput would be only half
    or less.
    
    Tested in 2.4G in office area, with this patch the throughput increased
    from such as "1x Mbps -> 4x Mbps".
    Signed-off-by: default avatarYan-Hsuan Chuang <yhchuang@realtek.com>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    a24bad74
phy.c 40.3 KB