
For qdf_mtrace 15 bits are reserved for message id and currently WMI message IDs are getting used as 32 bit IDs. Write a wrapper function which accepts 32 bit message IDs and converts this 32 bit message id to 15 bit by extracting WMI_GRP_ID and WMI_MESSAGE_ID in that group. New 15 bit message ID for qdf_mtrace will be constucted as 8 bits (From LSB) specifies the WMI_GRP_ID and remaining 7 bits specifies the actual WMI command. With this notation there can be maximum 256 groups and each group can have max 128 commands which can be supported. Change-Id: Ia5adfc079b63c2311bdc8ae4c73488d89afd462f CRs-Fixed: 2298877
737 KiB
737 KiB