qcacld-3.0: Add support for changing LISTEN interval dynamically

Current method for calculating LISTEN INTERVAL are static
configuration a.ka. ini based. Now OEM / USER want to take
control of setting LISTEN INTERVAL as per their applications
need. Once if USER configure the LISTEN INTERVAL value using
vendor command then host should avoid changing the LI value
during each suspend/resume. User LI value will be override
configuration. Once USER will Disable the LI using vendor
command then host can fallback to current default method.

Change-Id: Ia9b412b073c059df0cdff7bcda8198f7581e796d
CRs-Fixed: 2040298
This commit is contained in:
Mukul Sharma
2017-05-01 17:58:12 +05:30
zatwierdzone przez snandini
rodzic dfbcca7068
commit 6398b253fb
7 zmienionych plików z 150 dodań i 6 usunięć

Wyświetl plik

@@ -1029,6 +1029,7 @@ typedef struct {
* @plink_status_req: link status request
* @psnr_req: snr request
* @delay_before_vdev_stop: delay
* @override_li: dynamically user configured listen interval
* @tx_streams: number of tx streams can be used by the vdev
* @rx_streams: number of rx streams can be used by the vdev
* @chain_mask: chain mask can be used by the vdev
@@ -1101,6 +1102,7 @@ struct wma_txrx_node {
#endif
uint32_t alt_modulated_dtim;
bool alt_modulated_dtim_enabled;
uint32_t override_li;
uint32_t tx_streams;
uint32_t rx_streams;
uint32_t chain_mask;