Bluetooth: btnxpuart: Enable Power Save feature on startup
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Fri, 14 Jun 2024 08:20:39 +0000 (13:50 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 28 Jun 2024 18:30:37 +0000 (14:30 -0400)
commit4183a7be77009fc31c5760429fe095f163bf96a9
tree9e1a881f10776e38cc44dea608be69996032e95c
parent0d151a103775dd9645c78c97f77d6e2a5298d913
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 <neeraj.sanjaykale@nxp.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btnxpuart.c