summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingcheng Zhu <mingchen@qca.qualcomm.com>2014-02-14 17:48:07 -0800
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-02-20 21:42:16 -0800
commitd6ae63c63d40279df48ef410c08768cddfa0bd17 (patch)
treec20e0dab4cec7f0ce9aedbaae03d893dac20777a
parent51f513d42020abb9c0b26c993d9746545d153d94 (diff)
wlan: set short GI for fixed rate mcast
The short GI flag has been passed to FW when vdev starts. But FW still requires host driver to explicitly set the short GI parameter for the fix rate mcast before setting the fixed mcast rate. CRs-Fixed: 584490 Change-Id: I7187177c19a74b6bfafd61d73a7b223cf424a67e
-rw-r--r--CORE/SERVICES/WMA/wma.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index 952a100da081..f3fb8ed749ca 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -13852,6 +13852,14 @@ VOS_STATUS wma_process_rate_update_indicate(tp_wma_handle wma,
vos_mem_free(pRateUpdateParams);
return ret;
}
+ ret = wmi_unified_vdev_set_param_send(wma->wmi_handle, vdev_id,
+ WMI_VDEV_PARAM_SGI, short_gi);
+ if (ret) {
+ WMA_LOGE("%s: Failed to Set WMI_VDEV_PARAM_SGI (%d), ret = %d",
+ __func__, short_gi, ret);
+ vos_mem_free(pRateUpdateParams);
+ return VOS_STATUS_E_FAILURE;
+ }
ret = wmi_unified_vdev_set_param_send(wma->wmi_handle,
vdev_id, paramId, rate);
vos_mem_free(pRateUpdateParams);