qcacld-3.0: Override powersave configuration for monitor mode

Currently, powersave configuration is being overwritten before INIs
are initialized by mlme component. As a result INI configuration is
not being overwritten in case of monitor mode.

To resolve this issue, overwrite PS configuration during start
modules and restore it in stop modules.

Change-Id: I2707b431b81881c943104b211d55c6f48f348ba9
CRs-Fixed: 2682164
Este commit está contenido en:
Bapiraju Alla
2020-06-22 17:42:15 +05:30
cometido por nshrivas
padre 9858a65c74
commit 9a61eedc9b
Se han modificado 4 ficheros con 65 adiciones y 6 borrados

Ver fichero

@@ -341,6 +341,15 @@ QDF_STATUS hdd_get_nss(struct hdd_adapter *adapter, uint8_t *nss);
*/
bool hdd_dfs_indicate_radar(struct hdd_context *hdd_ctx);
/**
* hdd_restore_all_ps() - Restore all the powersave configuration overwritten
* by hdd_override_all_ps.
* @hdd_ctx: Pointer to HDD context.
*
* Return: None
*/
void hdd_restore_all_ps(struct hdd_context *hdd_ctx);
/**
* hdd_override_all_ps() - overrides to disables all the powersave features.
* @hdd_ctx: Pointer to HDD context.