summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja Mani <rmani@qti.qualcomm.com>2013-10-24 13:29:10 +0530
committerMadan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com>2013-10-29 17:31:44 -0700
commita067471d2e56cfd6cb9e2cd5ad1f29dbfb2c6309 (patch)
treea05c9e825097e72c31d6dc59b2b49fd30d4062f2
parent82913ba6a3f95713d60578f893cf59d97211730a (diff)
cld: Enable host based beaconing always
Current host driver disables host based beaconing if firmware enables beacon tx offload capability in service ready event. Recent FW (SU39) enabled beacon tx offload capability in service ready. Due to this, host driver is skipping SWBA event handling. And also, the code to support beacon tx offload feature is not committed in host driver. Overall, beaconing will not happen with current host driver + FW SU39. Until code to support beacon tx offload feature gets into driver, this patch enables host based beaconing always. Change-Id: I464f11367fb17b5a1f6606977b233969526209a6 CRs-fixed: 566174
-rw-r--r--CORE/SERVICES/WMA/wma.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index d56658ffda5d..6094ff66afee 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -8291,20 +8291,13 @@ v_VOID_t wma_rx_service_ready_event(WMA_HANDLE handle, void *cmd_param_info)
param_buf->wmi_service_bitmap,
sizeof(wma_handle->wmi_service_bitmap));
#ifndef QCA_WIFI_ISOC
- if (!WMI_SERVICE_IS_ENABLED(wma_handle->wmi_service_bitmap,
- WMI_SERVICE_BEACON_OFFLOAD)) {
-
- WMA_LOGD("%s: FW doesn't have beacon offload capability, "
- "enabling host based beaconing support\n", __func__);
-
- /* SWBA event handler for beacon transmission */
- status = wmi_unified_register_event_handler(wma_handle->wmi_handle,
- WMI_HOST_SWBA_EVENTID,
- wma_beacon_swba_handler);
- if (status) {
- WMA_LOGE("Failed to register swba beacon event cb");
- return;
- }
+ /* SWBA event handler for beacon transmission */
+ status = wmi_unified_register_event_handler(wma_handle->wmi_handle,
+ WMI_HOST_SWBA_EVENTID,
+ wma_beacon_swba_handler);
+ if (status) {
+ WMA_LOGE("Failed to register swba beacon event cb");
+ return;
}
#endif
#ifdef WLAN_FEATURE_GTK_OFFLOAD