component/bt: implement bluetooth modem sleep mode, one mode for BLE only and another for dual mode bluetooth

1. provide options for bluetooth low power mode
2. provide two options for bluetooth low power clock: main XTAL and external 32kHz XTAL
3. provide function and callbacks to control bluetooth low power mode, including enable/disable sleep, software wakeup request, low power clock settings, check power state, etc
4. modify vhci API vhci_host_send_packet to use blocking mode
5. note that DFS and bluetooth modem sleep can not be used together currently.
This commit is contained in:
wangmengyang
2018-04-08 19:19:47 +08:00
parent 041faad1c9
commit 22e21b38f7
10 changed files with 354 additions and 16 deletions

View File

@@ -169,6 +169,7 @@ PROVIDE ( hci_cmd_desc_tab_testing = 0x3ff97a98 );
PROVIDE ( hci_cmd_desc_tab_vs = 0x3ff97714 );
PROVIDE ( hci_command_handler = 0x4004c928 );
PROVIDE ( hci_env = 0x3ffb9350 );
PROVIDE ( rwip_env = 0x3ffb8bcc );
PROVIDE ( hci_evt_dbg_desc_tab = 0x3ff9750c );
PROVIDE ( hci_evt_desc_tab = 0x3ff9751c );
PROVIDE ( hci_evt_le_desc_tab = 0x3ff974b4 );