qcacmn: Add support to send pdev id in the oem data wmi cmd

The FW API is updated for pdev_id in the fixed param.
The pdev_vdev_flag is used to indicate whether the command
is meant for pdev or vdev.

The pdev_vdev_flag should be set to 1 for pdev command and 0 for
vdev command.

CRs-Fixed: 2693893
Change-Id: I99aabb9b73fd44d746342dfc1741fc6585c0863c
Этот коммит содержится в:
Subrat Dash
2020-05-15 07:50:19 +05:30
коммит произвёл nshrivas
родитель 261d19bcb4
Коммит 94bf91fc2b
2 изменённых файлов: 23 добавлений и 0 удалений

Просмотреть файл

@@ -672,11 +672,17 @@ struct channel_param {
* struct oem_data - oem data to be sent to firmware
* @vdev_id: Unique identifier assigned to the vdev
* @data_len: len of data
* @pdev_id: pdev id to identify the pdev
* @pdev_vdev_flag: 0 when vdev is valid, 1 when pdev is valid
* @is_host_pdev_id: 1 for host pdev id, 0 otherwise
* @data: the pointer to the buffer containing data
*/
struct oem_data {
uint8_t vdev_id;
size_t data_len;
uint8_t pdev_id;
bool pdev_vdev_flag;
bool is_host_pdev_id;
uint8_t *data;
};
#endif