qcacmn: Changes to support pdev_id in host from zero
pdev_id in FW starts from one. Zero is reserved for Soc. But host uses pdev_id starting from zero. Make WMI changes to take care of this difference and always provide and accept pdev_id starting from zero at WMI. Use 0xFF for SoC on host. Change-Id: I49f481e54bbaeea9359753bc7d3da9092fc9559a CRs-Fixed: 2045125
Esse commit está contido em:
@@ -38,12 +38,12 @@
|
||||
#include "wmi.h"
|
||||
#include "wmi_unified.h"
|
||||
|
||||
/* Pdev_id starts from 1. For backward compatability value zero is used
|
||||
* for broadcast ID. pdev_id is used to distinguish the radio for which event
|
||||
|
||||
/* pdev_id is used to distinguish the radio for which event
|
||||
* is recieved. Since non-tlv target has only one radio, setting
|
||||
* default pdev_id to one to keep rest of the code using WMI APIs unfiorm.
|
||||
*/
|
||||
#define WMI_NON_TLV_DEFAULT_PDEV_ID 1
|
||||
#define WMI_NON_TLV_DEFAULT_PDEV_ID WMI_HOST_PDEV_ID_0
|
||||
|
||||
/**
|
||||
* send_vdev_create_cmd_non_tlv() - send VDEV create command to fw
|
||||
|
Referência em uma nova issue
Block a user