Added a converter from ieee80211 rates to indices