• Ulrich Kunitz's avatar
    [PATCH] zd1211rw: consistent handling of ZD1211 specific rates · 64f222cc
    Ulrich Kunitz authored
    As pointed out by Daniel Drake, the zd1211rw driver used several
    different rate values and names throughout the driver. He has
    written a patch to change it and tweaked it after some pretty wild
    ideas from my side. But the discussion helped me to understand the
    problem better and I think I have nailed it down with this patch.
    
    A zd-rate will consist from now on of a four-bit "pure" rate value
    and a modulation type flag as used in the ZD1211 control set used
    for packet transmission. This is consistent with the usage in the
    zd_rates table. If possible these zd-rates should be used in the
    code.
    Signed-off-by: default avatarUlrich Kunitz <kune@deine-taler.de>
    Signed-off-by: default avatarDaniel Drake <dsd@gentoo.org>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    64f222cc
zd_mac.c 35.4 KB