• Stefano Brivio's avatar
    rc80211-pid: fix rate adjustment · 1d60ab05
    Stefano Brivio authored
    Merge rate_control_pid_shift_adjust() to rate_control_pid_adjust_rate()
    in order to make the learning algorithm aware of constraints on rates. Also
    add some comments and rename variables.
    
    This fixes a bug which prevented 802.11b/g non-AP STAs from working with
    802.11b only AP STAs.
    
    This patch was originally destined for 2.6.26, and is being backported
    to fix a user reported problem in post-2.6.24 kernels.
    Signed-off-by: default avatarStefano Brivio <stefano.brivio@polimi.it>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    1d60ab05
rc80211_pid_algo.c 16.3 KB