qcacld-3.0: Update hw_mode_list as per WMI_SERVICE_READY_EXT_EVENT

Driver updates its hw_mode_list entries as per hw_mode_list
given by firmware during WMI_SERVICE_READY_EVENT.

The enhancement is to update hw_mode_list entries in the driver
using the values received in WMI_SERVICE_READY_EXT_EVENT from
the firmware.

Change-Id: I5e4d97523cb7fd018767d5d2fda841f03b2406f6
CRs-Fixed: 1070005
Šī revīzija ir iekļauta:
Nitesh Shah
2016-09-22 19:27:58 +05:30
revīziju iesūtīja qcabuildsw
vecāks d60bde2bb6
revīzija 877ad5d74d
4 mainīti faili ar 221 papildinājumiem un 95 dzēšanām

Parādīt failu

@@ -1070,6 +1070,18 @@ struct dbs_hw_mode_info {
uint32_t *hw_mode_list;
};
/**
* struct mac_ss_bw_info - hw_mode_list PHY/MAC params for each MAC
* @mac_tx_stream: Max TX stream
* @mac_rx_stream: Max RX stream
* @mac_bw: Max bandwidth
*/
struct mac_ss_bw_info {
uint32_t mac_tx_stream;
uint32_t mac_rx_stream;
uint32_t mac_bw;
};
/* Current HTC credit is 2, pool size of 50 is sufficient */
#define WMI_DESC_POOL_MAX 50