qcacmn: Runtime PM packets tagging after wow suspend
qcacld-2.0 to qcacmn propagation. Don't Tag Non-WoW packets as Runtime PM packets after wow suspend. Some WMI Commands can be send in Runtime PM context and MC thread context. Packets coming via MC Thread Context can be tagged as Runtime PM packets when runtime pm in progress. Packets should be tagged in the same caller context to avoid any race condition. Being stability issue, addressing this issue by not tagging any non-wow commands as runtime pm after wow suspend. This will ensure all the non-wow packets coming after wow_suspend flag is set as non runtime pm packets and will trigger a runtime resume. Git-commit: 4a396d80c5cc2ded75098c61426521b9b2762c17 Git-commit: 2ee4bf4791cc5db30ec03eceaf591367deffe39a CRs-Fixed: 1106496 Change-Id: I4e55733ad8403581aca0b49ce9442fc5591335c0
This commit is contained in:

committad av
qcabuildsw

förälder
47d855430f
incheckning
17b9e9ed33
@@ -7784,6 +7784,20 @@ static bool is_management_record_non_tlv(uint32_t cmd_id)
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wmi_set_htc_tx_tag_non_tlv() - set HTC TX tag for WMI commands
|
||||
* @wmi_handle: WMI handle
|
||||
* @buf: WMI buffer
|
||||
* @cmd_id: WMI command Id
|
||||
*
|
||||
* Return htc_tx_tag
|
||||
*/
|
||||
static uint16_t wmi_set_htc_tx_tag_non_tlv(wmi_unified_t wmi_handle,
|
||||
wmi_buf_t buf, uint32_t cmd_id)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct wmi_ops non_tlv_ops = {
|
||||
.send_vdev_create_cmd = send_vdev_create_cmd_non_tlv,
|
||||
.send_vdev_delete_cmd = send_vdev_delete_cmd_non_tlv,
|
||||
@@ -7996,7 +8010,7 @@ struct wmi_ops non_tlv_ops = {
|
||||
.extract_mu_db_entry = extract_mu_db_entry_non_tlv,
|
||||
.extract_atf_peer_stats_ev = extract_atf_peer_stats_ev_non_tlv,
|
||||
.extract_atf_token_info_ev = extract_atf_token_info_ev_non_tlv,
|
||||
|
||||
.wmi_set_htc_tx_tag = wmi_set_htc_tx_tag_non_tlv,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Referens i nytt ärende
Block a user