qcacmn: Add support of extended service bitmap handling
Extended service bitmap is used by FW to indicate supported services bitmap for services excedding the current limitation of 128. Add support to save and use this bitmap to check services supported in FW. Also, change exisiting services bitmap to be dynamic allocated buffer to optimize the buffer used to save the bitmap. Change-Id: I24a0321bc1a06ee3aedf1c6acbc379e907bbd464 CRs-Fixed: 2103617
This commit is contained in:

committed by
snandini

parent
1384bb06e9
commit
34bea52100
@@ -1150,9 +1150,26 @@ QDF_STATUS wmi_unified_init_cmd_send(void *wmi_hdl,
|
||||
|
||||
bool wmi_service_enabled(void *wmi_hdl, uint32_t service_id);
|
||||
|
||||
/**
|
||||
* wmi_save_service_bitmap() - save service bitmap
|
||||
* @wmi_handle: wmi handle
|
||||
* @param evt_buf: pointer to event buffer
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS failure code
|
||||
*/
|
||||
QDF_STATUS wmi_save_service_bitmap(void *wmi_hdl, void *evt_buf,
|
||||
void *bitmap_buf);
|
||||
|
||||
/**
|
||||
* wmi_save_ext_service_bitmap() - save extended service bitmap
|
||||
* @wmi_handle: wmi handle
|
||||
* @param evt_buf: pointer to event buffer
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS failure code
|
||||
*/
|
||||
QDF_STATUS wmi_save_ext_service_bitmap(void *wmi_hdl, void *evt_buf,
|
||||
void *bitmap_buf);
|
||||
|
||||
QDF_STATUS wmi_save_fw_version(void *wmi_hdl, void *evt_buf);
|
||||
|
||||
QDF_STATUS wmi_get_target_cap_from_service_ready(void *wmi_hdl,
|
||||
|
Reference in New Issue
Block a user