Home
last modified time | relevance | path

Searched refs:is40MHz (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c241 static bool IsHTHalfNmodeSGI(struct ieee80211_device *ieee, bool is40MHz) in IsHTHalfNmodeSGI() argument
250 else if (is40MHz) { // ap support 40 bw in IsHTHalfNmodeSGI()
267 u8 is40MHz; in HTHalfMcsToDataRate() local
270 is40MHz = (IsHTHalfNmode40Bandwidth(ieee)) ? 1 : 0; in HTHalfMcsToDataRate()
271 isShortGI = (IsHTHalfNmodeSGI(ieee, is40MHz)) ? 1 : 0; in HTHalfMcsToDataRate()
273 return MCS_DATA_RATE[is40MHz][isShortGI][(nMcsRate & 0x7f)]; in HTHalfMcsToDataRate()
280 u8 is40MHz = (pHTInfo->bCurBW40MHz) ? 1 : 0; in HTMcsToDataRate() local
284 return MCS_DATA_RATE[is40MHz][isShortGI][(nMcsRate & 0x7f)]; in HTMcsToDataRate()
299 u8 is40MHz = 0; in TxCountToDataRate() local
306 is40MHz = 0; in TxCountToDataRate()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Drtl819x_HTProc.c120 u8 is40MHz = (pHTInfo->bCurBW40MHz) ? 1 : 0; in HTMcsToDataRate() local
124 return MCS_DATA_RATE[is40MHz][isShortGI][(nMcsRate & 0x7f)]; in HTMcsToDataRate()
131 u8 is40MHz = 0; in TxCountToDataRate() local
137 is40MHz = 0; in TxCountToDataRate()
140 is40MHz = 1; in TxCountToDataRate()
143 is40MHz = 0; in TxCountToDataRate()
146 is40MHz = 1; in TxCountToDataRate()
149 return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate&0xf]; in TxCountToDataRate()