While updating the rtlwifi family of drivers based on the latest vendor driver, I became aware that each of them has its own routine for getting a rate index from the descriptor rate. As the code is identical, these patches move a copy of the updated routine to rtlwifi, and convert each of the drivers to use that routine. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, This is -next material. Larry --- Larry Finger (5): rtlwifi: Install updated rate-mapping routine rtlwifi: rtl8192ce: Convert to use the new rate-mapping routine in rtlwifi rtlwifi: rtl8192cu: Convert to use the new rate-mapping routine in rtlwifi rtlwifi: rtl8192se: Convert to use the new rate-mapping routine in rtlwifi rtlwifi: rtl8192de: Convert to use the new rate-mapping routine in rtlwifi drivers/net/wireless/rtlwifi/base.c | 161 ++++++++++++++++++++++++++ drivers/net/wireless/rtlwifi/base.h | 2 + drivers/net/wireless/rtlwifi/rtl8192ce/def.h | 139 ---------------------- drivers/net/wireless/rtlwifi/rtl8192ce/sw.c | 30 +++--- drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 116 ++----------------- drivers/net/wireless/rtlwifi/rtl8192ce/trx.h | 8 +- drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 4 +- drivers/net/wireless/rtlwifi/rtl8192cu/mac.h | 8 +- drivers/net/wireless/rtlwifi/rtl8192cu/rf.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 28 +++--- drivers/net/wireless/rtlwifi/rtl8192cu/trx.c | 23 ++-- drivers/net/wireless/rtlwifi/rtl8192de/def.h | 35 ------ drivers/net/wireless/rtlwifi/rtl8192de/sw.c | 30 +++--- drivers/net/wireless/rtlwifi/rtl8192de/trx.c | 121 +++----------------- drivers/net/wireless/rtlwifi/rtl8192de/trx.h | 8 +- drivers/net/wireless/rtlwifi/rtl8192se/def.h | 39 +------ drivers/net/wireless/rtlwifi/rtl8192se/sw.c | 30 +++--- drivers/net/wireless/rtlwifi/rtl8192se/trx.c | 124 ++------------------ drivers/net/wireless/rtlwifi/wifi.h | 35 ++++++ 19 files changed, 322 insertions(+), 621 deletions(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html