mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "qcacld-3.0: Disable 160MHz SGI if SGI 40MHz INI cfg is disabled" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
3a2dc8d9cf
1 changed files with 9 additions and 1 deletions
|
|
@ -6627,12 +6627,20 @@ static bool hdd_update_vht_cap_in_cfg(hdd_context_t *hdd_ctx)
|
|||
if ((config->dot11Mode == eHDD_DOT11_MODE_AUTO) ||
|
||||
(config->dot11Mode == eHDD_DOT11_MODE_11ac_ONLY) ||
|
||||
(config->dot11Mode == eHDD_DOT11_MODE_11ac)) {
|
||||
/* Currently shortGI40Mhz is used for shortGI80Mhz */
|
||||
/* Currently shortGI40Mhz is used for shortGI80Mhz and 160MHz*/
|
||||
if (sme_cfg_set_int(hdd_ctx->hHal, WNI_CFG_VHT_SHORT_GI_80MHZ,
|
||||
config->ShortGI40MhzEnable) == QDF_STATUS_E_FAILURE) {
|
||||
status = false;
|
||||
hdd_err("Couldn't pass WNI_VHT_SHORT_GI_80MHZ to CFG");
|
||||
}
|
||||
|
||||
if (sme_cfg_set_int(hdd_ctx->hHal,
|
||||
WNI_CFG_VHT_SHORT_GI_160_AND_80_PLUS_80MHZ,
|
||||
config->ShortGI40MhzEnable) == QDF_STATUS_E_FAILURE) {
|
||||
status = false;
|
||||
hdd_err("Couldn't pass SHORT_GI_160MHZ to CFG");
|
||||
}
|
||||
|
||||
/* Hardware is capable of doing
|
||||
* 128K AMPDU in 11AC mode
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue