mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Rework HDD IPA stats
Rework WLAN IPA uC stats: -IPA resource info -IPA session info -HDD IPA TX/RX stats -WLAN FW WDI stats -IPA WDI stats Update HDD IPA private data dump Remove deprecated stats in qcacld-3.0 Change-Id: I8f5170116156b48530ebb3f04f0a9f377972860c CRs-Fixed: 2124144
This commit is contained in:
parent
199c2ed245
commit
4625568612
3 changed files with 533 additions and 274 deletions
|
|
@ -124,7 +124,25 @@ void hdd_ipa_dump_info(struct hdd_context *hdd_ctx);
|
|||
QDF_STATUS hdd_ipa_uc_ol_init(struct hdd_context *hdd_ctx);
|
||||
void hdd_ipa_set_tx_flow_info(void);
|
||||
int hdd_ipa_uc_ol_deinit(struct hdd_context *hdd_ctx);
|
||||
|
||||
/**
|
||||
* hdd_ipa_uc_stat() - Print IPA uC stats
|
||||
* @adapter: network adapter
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void hdd_ipa_uc_stat(struct hdd_adapter *adapter);
|
||||
|
||||
/**
|
||||
* hdd_ipa_uc_info() - Print IPA uC resource and session information
|
||||
* @adapter: network adapter
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void hdd_ipa_uc_info(struct hdd_context *hdd_ctx);
|
||||
|
||||
#else
|
||||
|
||||
static inline QDF_STATUS hdd_ipa_init(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
@ -277,5 +295,26 @@ static inline int hdd_ipa_uc_ol_deinit(struct hdd_context *hdd_ctx)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* hdd_ipa_uc_stat() - Print IPA uC stats
|
||||
* @adapter: network adapter
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static inline void hdd_ipa_uc_stat(struct hdd_adapter *adapter)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* hdd_ipa_uc_info() - Print IPA uC resource and session information
|
||||
* @adapter: network adapter
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
static inline void hdd_ipa_uc_info(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* IPA_OFFLOAD */
|
||||
#endif /* #ifndef HDD_IPA_H__ */
|
||||
|
|
|
|||
|
|
@ -3695,7 +3695,10 @@ static __iw_softap_setparam(struct net_device *dev,
|
|||
/* If input value is non-zero get stats */
|
||||
switch (set_value) {
|
||||
case 1:
|
||||
hdd_ipa_uc_stat_request(adapter, set_value);
|
||||
hdd_ipa_uc_stat(adapter);
|
||||
break;
|
||||
case 2:
|
||||
hdd_ipa_uc_info(hdd_ctx);
|
||||
break;
|
||||
case 3:
|
||||
hdd_ipa_uc_rt_debug_host_dump(hdd_ctx);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue