qcacmn: WMI registration change to support to WIN modularization

Change WMI initialization sequence to support WMI modularization.
TLV and Non-TLV modules calls WMI module registration based on target type.
WMI attach will call respective attach routines based on registration.

Change-Id: Id56446f491d129758537913d2d5d6633f8dec918
CRs-Fixed: 2179854
This commit is contained in:
Pratik Gandhi
2018-01-30 19:05:41 +05:30
committed by Gerrit - the friendly Code Review server
parent 6c99befe8c
commit 6c8fdba41b
9 changed files with 170 additions and 75 deletions

View File

@@ -108,7 +108,8 @@ struct wmi_rx_ops {
*/
enum wmi_target_type {
WMI_TLV_TARGET,
WMI_NON_TLV_TARGET
WMI_NON_TLV_TARGET,
WMI_MAX_TARGET_TYPE
};
/**