Home
last modified time | relevance | path

Searched refs:nDataRate (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c234 u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
241 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()
Dieee80211.h2381 u16 TxCountToDataRate(struct ieee80211_device *ieee, u8 nDataRate);
/linux-6.1.9/drivers/staging/rtl8192e/
Drtl819x_HTProc.c116 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
123 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()
Drtllib.h2100 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate);