#define EDL_PATCH_CMD_OPCODE …
#define EDL_NVM_ACCESS_OPCODE …
#define EDL_WRITE_BD_ADDR_OPCODE …
#define EDL_PATCH_CMD_LEN …
#define EDL_PATCH_VER_REQ_CMD …
#define EDL_PATCH_TLV_REQ_CMD …
#define EDL_GET_BUILD_INFO_CMD …
#define EDL_GET_BID_REQ_CMD …
#define EDL_NVM_ACCESS_SET_REQ_CMD …
#define EDL_PATCH_CONFIG_CMD …
#define MAX_SIZE_PER_TLV_SEGMENT …
#define QCA_PRE_SHUTDOWN_CMD …
#define QCA_DISABLE_LOGGING …
#define EDL_CMD_REQ_RES_EVT …
#define EDL_PATCH_VER_RES_EVT …
#define EDL_APP_VER_RES_EVT …
#define EDL_TVL_DNLD_RES_EVT …
#define EDL_CMD_EXE_STATUS_EVT …
#define EDL_SET_BAUDRATE_RSP_EVT …
#define EDL_NVM_ACCESS_CODE_EVT …
#define EDL_PATCH_CONFIG_RES_EVT …
#define QCA_DISABLE_LOGGING_SUB_OP …
#define EDL_TAG_ID_BD_ADDR …
#define EDL_TAG_ID_HCI …
#define EDL_TAG_ID_DEEP_SLEEP …
#define QCA_WCN3990_POWERON_PULSE …
#define QCA_WCN3990_POWEROFF_PULSE …
#define QCA_HCI_CC_OPCODE …
#define QCA_HCI_CC_SUCCESS …
#define QCA_WCN3991_SOC_ID …
#define get_soc_ver(soc_id, rom_ver) …
#define QCA_HSP_GF_SOC_ID …
#define QCA_HSP_GF_SOC_MASK …
enum qca_baudrate { … };
enum qca_tlv_dnld_mode { … };
enum qca_tlv_type { … };
struct qca_fw_config { … };
struct edl_event_hdr { … } __packed;
struct qca_btsoc_version { … } __packed;
struct tlv_seg_resp { … } __packed;
struct tlv_type_patch { … } __packed;
struct tlv_type_nvm { … } __packed;
struct tlv_type_hdr { … } __packed;
enum qca_btsoc_type { … };
#if IS_ENABLED(CONFIG_BT_QCA)
int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr);
int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
enum qca_btsoc_type soc_type, struct qca_btsoc_version ver,
const char *firmware_name);
int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver,
enum qca_btsoc_type);
int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
int qca_send_pre_shutdown_cmd(struct hci_dev *hdev);
#else
static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr)
{
return -EOPNOTSUPP;
}
static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
enum qca_btsoc_type soc_type,
struct qca_btsoc_version ver,
const char *firmware_name)
{
return -EOPNOTSUPP;
}
static inline int qca_read_soc_version(struct hci_dev *hdev,
struct qca_btsoc_version *ver,
enum qca_btsoc_type)
{
return -EOPNOTSUPP;
}
static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr)
{
return -EOPNOTSUPP;
}
static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hdev)
{
return -EOPNOTSUPP;
}
#endif