Bluetooth: controller: Controller to Host Flow Control bits
Enable the bits corresponding to the new 3 commands supported when enabling Controller to Host Flow Control, in order for the Host to be able to enable the feature. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
689bd232f8
commit
ccd4d4f401
1 changed files with 4 additions and 0 deletions
|
@ -344,6 +344,10 @@ static void read_supported_commands(struct net_buf *buf, struct net_buf **evt)
|
|||
rp->commands[0] = (1 << 5);
|
||||
/* Set Event Mask, and Reset. */
|
||||
rp->commands[5] = (1 << 6) | (1 << 7);
|
||||
#if defined(CONFIG_BLUETOOTH_CONTROLLER_TO_HOST_FC)
|
||||
/* Set FC, Host Buffer Size and Host Num Completed */
|
||||
rp->commands[10] = (1 << 5) | (1 << 6) | (1 << 7);
|
||||
#endif
|
||||
/* Read Local Version Info, Read Local Supported Features. */
|
||||
rp->commands[14] = (1 << 3) | (1 << 5);
|
||||
/* Read BD ADDR. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue