wifi: (fixes #1095) Fix reception of WIFI_MOD_CLASS_HR_DSSS
This commit is contained in:
@@ -218,7 +218,10 @@ GetModulationClassForStandard(WifiStandard standard)
|
||||
modulationClass = WIFI_MOD_CLASS_OFDM;
|
||||
break;
|
||||
case WIFI_STANDARD_80211b:
|
||||
modulationClass = WIFI_MOD_CLASS_DSSS;
|
||||
// Although two modulation classes are supported in 802.11b, return the
|
||||
// numerically greater one defined in the WifiModulationClass enum.
|
||||
// See issue #1095 for more explanation.
|
||||
modulationClass = WIFI_MOD_CLASS_HR_DSSS;
|
||||
break;
|
||||
case WIFI_STANDARD_80211g:
|
||||
modulationClass = WIFI_MOD_CLASS_ERP_OFDM;
|
||||
|
||||
@@ -666,6 +666,10 @@ bool IsUlMu(WifiPreamble preamble);
|
||||
/**
|
||||
* Return the modulation class corresponding to a given standard.
|
||||
*
|
||||
* In the case of WIFI_STANDARD_80211b, two modulation classes are supported
|
||||
* (WIFI_MOD_CLASS_DSSS and WIFI_MOD_CLASS_HR_DSSS); this method will return
|
||||
* the latter.
|
||||
*
|
||||
* \param standard the standard
|
||||
* \return the modulation class corresponding to the standard
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user