blob: ec58cd4e5ff00fdce53d39d98d6141cd58ef9321 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- sdk/driver/ble/ble.c 2021-08-16 11:59:34.000000000 -0500
+++ ../sdk/driver/ble/ble.c 2023-07-12 06:15:17.728550439 -0500
@@ -237,7 +237,7 @@
{
uint32_t fiq_status;
- hal_machw_disable_int();
+ //hal_machw_disable_int();
nxmac_tx_rx_int_ack_clear(0xffffffff);
nxmac_gen_int_ack_clear(0xffffffff);
fiq_status = sddev_control(ICU_DEV_NAME, CMD_GET_INTR_STATUS, 0);
@@ -252,14 +252,14 @@
GLOBAL_INT_DECLARATION();
GLOBAL_INT_DISABLE();
-
+#if 0 // wifi stack is not used so this should never be active
if (txl_cntrl_pck_get() && ble_switch_skip_cnt < MAX_SKIP_CNT)
{
ble_switch_skip_cnt++;
GLOBAL_INT_RESTORE();
return;
}
-
+#endif
if (ps_get_sleep_prevent() & 0x37)
{
GLOBAL_INT_RESTORE();
@@ -316,8 +316,8 @@
PS_WPRT("idle rec\r\n");
bk_printf("idle rec\r\n");
//long time wait idle interrupt,recover!
- hal_machw_disable_int();
- rwnxl_reset_handle(0);
+ //hal_machw_disable_int();
+ //rwnxl_reset_handle(0);
PS_WPRT("idle rec over\r\n");
nxmac_next_state_setf(HW_IDLE);
}
|