qcacmn: Support phyid conversion map for wmi_handle

Support phyid conversion map for dynamic mode switch.

Change-Id: I02aa1831bf48ca1365354d0ab9ebc240fa116043
CRs-Fixed: 2601427
This commit is contained in:
Shaakir Mohamed
2020-01-10 12:02:15 -08:00
committed by nshrivas
parent ab425a2edf
commit 68a9a92a15
4 changed files with 125 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -459,8 +459,9 @@ void
wmi_flush_endpoint(wmi_unified_t wmi_handle);
/**
* wmi_pdev_id_conversion_enable() - API to enable pdev_id conversion in WMI
* By default pdev_id conversion is not done in WMI.
* wmi_pdev_id_conversion_enable() - API to enable pdev_id and phy_id
* conversion in WMI. By default pdev_id and
* phyid conversion is not done in WMI.
* This API can be used enable conversion in WMI.
* @param wmi_handle : handle to WMI
* @param *pdev_id_map : pdev conversion map
@@ -468,7 +469,8 @@ wmi_flush_endpoint(wmi_unified_t wmi_handle);
* Return none
*/
void wmi_pdev_id_conversion_enable(wmi_unified_t wmi_handle,
uint32_t *pdev_id_map, uint8_t size);
uint32_t *pdev_id_map,
uint8_t size);
/**
* API to handle wmi rx event after UMAC has taken care of execution