bluetooth: host: Update FAE table type for HCI commands
Update FAE table type from array of uint8_t to int8_t. From Vol 6.0, Part B, section 2.4.2.52: "The ChFAE field contains the per-channel mode-0 FAE table of the local Controller. Every per-channel mode-0 FAE value is represented by an 8-bit signed integer" Signed-off-by: Adam Cavender <adam.cavender@nordicsemi.no>
This commit is contained in:
parent
fbea2ceba3
commit
a68a0a4a5b
|
@ -410,7 +410,7 @@ struct bt_conn_le_cs_capabilities {
|
|||
|
||||
/** Remote FAE Table for LE connections supporting CS */
|
||||
struct bt_conn_le_cs_fae_table {
|
||||
uint8_t *remote_fae_table;
|
||||
int8_t *remote_fae_table;
|
||||
};
|
||||
|
||||
/** Channel sounding main mode */
|
||||
|
|
|
@ -886,7 +886,7 @@ int bt_le_cs_write_cached_remote_supported_capabilities(
|
|||
*
|
||||
* @return Zero on success or (negative) error code on failure.
|
||||
*/
|
||||
int bt_le_cs_write_cached_remote_fae_table(struct bt_conn *conn, uint8_t remote_fae_table[72]);
|
||||
int bt_le_cs_write_cached_remote_fae_table(struct bt_conn *conn, int8_t remote_fae_table[72]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -2500,7 +2500,7 @@ struct bt_hci_cp_le_read_remote_fae_table {
|
|||
|
||||
struct bt_hci_cp_le_write_cached_remote_fae_table {
|
||||
uint16_t handle;
|
||||
uint8_t remote_fae_table[72];
|
||||
int8_t remote_fae_table[72];
|
||||
} __packed;
|
||||
|
||||
#define BT_HCI_OP_LE_CS_SET_CHANNEL_CLASSIFICATION BT_OP(BT_OGF_LE, 0x0092) /* 0x2092 */
|
||||
|
@ -3547,7 +3547,7 @@ struct bt_hci_evt_le_cs_read_remote_supported_capabilities_complete {
|
|||
struct bt_hci_evt_le_cs_read_remote_fae_table_complete {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
uint8_t remote_fae_table[72];
|
||||
int8_t remote_fae_table[72];
|
||||
} __packed;
|
||||
|
||||
#define BT_HCI_LE_CS_CONFIG_ACTION_REMOVED 0x00
|
||||
|
|
|
@ -1171,7 +1171,7 @@ int bt_le_cs_write_cached_remote_supported_capabilities(
|
|||
NULL);
|
||||
}
|
||||
|
||||
int bt_le_cs_write_cached_remote_fae_table(struct bt_conn *conn, uint8_t remote_fae_table[72])
|
||||
int bt_le_cs_write_cached_remote_fae_table(struct bt_conn *conn, int8_t remote_fae_table[72])
|
||||
{
|
||||
struct bt_hci_cp_le_write_cached_remote_fae_table *cp;
|
||||
struct net_buf *buf;
|
||||
|
|
Loading…
Reference in New Issue