hci_cmd: add hci_bcm_write_tx_power_table for Broadcom/Cypress

This commit is contained in:
Matthias Ringwald 2019-09-20 10:55:49 +02:00
parent cab2c6870c
commit 5cdaddfa07
2 changed files with 15 additions and 1 deletions

View File

@ -1318,3 +1318,16 @@ OPCODE(0x3f, 0x1c), "11111"
const hci_cmd_t hci_bcm_set_sleep_mode = {
OPCODE(0x3f, 0x0027), "111111111111"
};
/**
* @brief Set TX Power Table
* @param is_le 0=classic, 1=LE
* @param chip_max_tx_pwr_db chip level max TX power in dBM
*/
const hci_cmd_t hci_bcm_write_tx_power_table = {
OPCODE(0x3f, 0x1C9), "11"
};
const hci_cmd_t hci_bcm_set_tx_pwr = {
OPCODE(0x3f, 0x1A5), "11H"
};

View File

@ -213,8 +213,9 @@ extern const hci_cmd_t hci_le_transmitter_test;
extern const hci_cmd_t hci_le_write_suggested_default_data_length;
// Broadcom / Cypress specific HCI commands
extern const hci_cmd_t hci_bcm_write_sco_pcm_int;
extern const hci_cmd_t hci_bcm_set_sleep_mode;
extern const hci_cmd_t hci_bcm_write_sco_pcm_int;
extern const hci_cmd_t hci_bcm_write_tx_power_table;
/**
* construct HCI Command based on template