Skip to content

Commit 4183a7b

Browse files
NeerajSanjayKaleVudentz
authored andcommitted
Bluetooth: btnxpuart: Enable Power Save feature on startup
This sets the default power save mode setting to enabled. The power save feature is now stable and stress test issues, such as the TX timeout error, have been resolved. commit c7ee0bc8db32 ("Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test") With this setting, the driver will send the vendor command to FW at startup, to enable power save feature. User can disable this feature using the following vendor command: hcitool cmd 3f 23 03 00 00 (HCI_NXP_AUTO_SLEEP_MODE) Signed-off-by: Neeraj Sanjay Kale <[email protected]> Reviewed-by: Paul Menzel <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 0d151a1 commit 4183a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bluetooth/btnxpuart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static u8 crc8_table[CRC8_TABLE_SIZE];
281281

282282
/* Default configurations */
283283
#define DEFAULT_H2C_WAKEUP_MODE WAKEUP_METHOD_BREAK
284-
#define DEFAULT_PS_MODE PS_MODE_DISABLE
284+
#define DEFAULT_PS_MODE PS_MODE_ENABLE
285285
#define FW_INIT_BAUDRATE HCI_NXP_PRI_BAUDRATE
286286

287287
static struct sk_buff *nxp_drv_send_cmd(struct hci_dev *hdev, u16 opcode,

0 commit comments

Comments
 (0)