qcacmn: Disable CP Stats for BE emulation
Disable CP Stats for Beryllium emulation environment. These stats are invoked heavily by userspace and need to be retrieved from the FW.The userpace is holding the rtnl_lock while invoking these stats. This prevents any additional commands to be sent while a stats command is pending. Since in emulation environment, the turnaround time is quite high, no iwpriv/ifconfig/iw command can be sent while the CP stats are pending, making the driver in accessible from command line. Hence, disable CP stats by simply returning 0 to the caller in emulation environment. CRs-Fixed: 2984362 Change-Id: I80aee6ce2bed1c37b964dd5e7194a66287301355
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
47a165fe8e
işleme
2ee6da1686
@@ -375,6 +375,15 @@ send_infra_cp_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef QCA_WIFI_EMULATION
|
||||
static QDF_STATUS
|
||||
send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
uint8_t macaddr[QDF_MAC_ADDR_SIZE],
|
||||
struct stats_request_params *param)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#else
|
||||
/**
|
||||
* send_stats_request_cmd_tlv() - WMI request stats function
|
||||
* @param wmi_handle: handle to WMI.
|
||||
@@ -424,6 +433,7 @@ send_stats_request_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
|
||||
return qdf_status_from_os_return(ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_BIG_DATA_STATS
|
||||
/**
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle