qcacmn: Send max commands as param to wmi_unified_attach

Modify arguments of wmi_unified_attach to use struct to
send attach params instead of individual params. Add max
WMI commands as a param. Based on requirement MAX WMI
commands value is different. In case of AP that supports
16 VAPs and more than 512 clients, 1024 commands is not
enough. Use this param to configure this value based on
the requirement.

Change-Id: I4e778475481e509051dfbac70980614b644e1b4a
CRs-fixed: 2034438
Šī revīzija ir iekļauta:
Chaithanya Garrepalli
2017-12-01 14:55:26 +05:30
revīziju iesūtīja nshrivas
vecāks b1a06b7e42
revīzija 09744011e5
2 mainīti faili ar 22 papildinājumiem un 7 dzēšanām

Parādīt failu

@@ -1641,6 +1641,7 @@ struct wmi_unified {
#endif
uint32_t *services;
struct wmi_soc *soc;
uint16_t wmi_max_cmds;
};
#define WMI_MAX_RADIOS 3
@@ -1669,6 +1670,7 @@ struct wmi_soc {
uint32_t vdev_param[wmi_vdev_param_max];
#endif
uint32_t services[wmi_services_max];
uint16_t wmi_max_cmds;
};