Searched refs:nDataRate (Results 1 – 4 of 4) sorted by relevance
234 u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate) in TxCountToDataRate() argument241 if (nDataRate < 12) { in TxCountToDataRate()242 return CCKOFDMRate[nDataRate]; in TxCountToDataRate()244 if (nDataRate >= 0x10 && nDataRate <= 0x1f) { //if(nDataRate > 11 && nDataRate < 28 ) in TxCountToDataRate()249 } else if (nDataRate >= 0x20 && nDataRate <= 0x2f) { //(27, 44) in TxCountToDataRate()254 } else if (nDataRate >= 0x30 && nDataRate <= 0x3f) { //(43, 60) in TxCountToDataRate()259 } else if (nDataRate >= 0x40 && nDataRate <= 0x4f) { //(59, 76) in TxCountToDataRate()265 return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf]; in TxCountToDataRate()
2381 u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate);
116 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) in TxCountToDataRate() argument123 if (nDataRate < 12) in TxCountToDataRate()124 return CCKOFDMRate[nDataRate]; in TxCountToDataRate()125 if (nDataRate >= 0x10 && nDataRate <= 0x1f) { in TxCountToDataRate()128 } else if (nDataRate >= 0x20 && nDataRate <= 0x2f) { in TxCountToDataRate()131 } else if (nDataRate >= 0x30 && nDataRate <= 0x3f) { in TxCountToDataRate()134 } else if (nDataRate >= 0x40 && nDataRate <= 0x4f) { in TxCountToDataRate()138 return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf]; in TxCountToDataRate()
2100 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate);