Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/ShangGui_386/output/eeprom.dat	(revision 1299)
+++ /branch/mouse_project/YJX_Project/ShangGui_386/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-f2
+ea
 1c
 c2
 84
@@ -23,11 +23,11 @@
 c0
 42
 87
-3a
+38
 c0
 44
 87
-0d
+0b
 c0
 50
 80
@@ -71,7 +71,7 @@
 c0
 76
 05
-e2
+e0
 20
 20
 2a
@@ -79,51 +79,51 @@
 c0
 1c
 85
-e7
+e5
 c0
 21
 85
-ef
+ed
 c0
 25
 05
-f5
+f3
 c0
 2b
 85
-f8
+f6
 c0
 2c
 86
-0f
+0d
 c0
 31
 86
-1c
+1a
 c0
 33
 06
-46
+44
 c0
 33
 86
-65
+63
 c0
 35
 06
-a1
+9f
 c0
 3b
 86
-ac
+aa
 c0
 7d
 06
-bd
+bb
 c0
 46
 06
-c6
+c4
 20
 20
 2a
@@ -359,7 +359,7 @@
 20
 40
 06
-e3
+e1
 20
 40
 00
@@ -711,7 +711,7 @@
 20
 40
 06
-d9
+d7
 68
 00
 cd
@@ -819,7 +819,7 @@
 20
 40
 06
-d9
+d7
 70
 4d
 06
@@ -1155,7 +1155,7 @@
 20
 40
 06
-d5
+d3
 68
 00
 cb
@@ -1211,7 +1211,7 @@
 20
 40
 06
-d2
+d0
 20
 20
 01
@@ -2835,7 +2835,7 @@
 20
 40
 06
-d2
+d0
 68
 00
 c6
@@ -3003,7 +3003,7 @@
 c0
 7f
 85
-d5
+d4
 d8
 e0
 00
@@ -3023,7 +3023,7 @@
 20
 40
 05
-d1
+d0
 70
 43
 8f
@@ -3587,7 +3587,7 @@
 58
 00
 06
-b6
+b4
 60
 01
 41
@@ -4387,7 +4387,7 @@
 20
 20
 06
-5c
+5a
 20
 40
 03
@@ -4727,7 +4727,7 @@
 c0
 00
 85
-d6
+d5
 20
 60
 00
@@ -5952,10 +5952,6 @@
 40
 43
 ce
-70
-47
-9f
-00
 d8
 c0
 4b
@@ -5993,10 +5989,6 @@
 03
 51
 70
-47
-9f
-00
-70
 43
 6f
 00
@@ -6075,7 +6067,7 @@
 20
 40
 06
-e3
+e1
 20
 20
 53
@@ -6119,11 +6111,11 @@
 20
 40
 05
-ff
+fd
 20
 40
 06
-09
+07
 20
 20
 55
@@ -6171,7 +6163,7 @@
 20
 21
 05
-fb
+f9
 68
 00
 c3
@@ -6183,7 +6175,7 @@
 20
 20
 05
-fd
+fb
 68
 00
 c7
@@ -6219,7 +6211,7 @@
 20
 40
 06
-14
+12
 24
 74
 00
@@ -6267,11 +6259,11 @@
 c2
 82
 86
-30
+2e
 20
 40
 06
-d5
+d3
 68
 00
 c7
@@ -6279,7 +6271,7 @@
 24
 3a
 06
-26
+24
 68
 00
 84
@@ -6287,7 +6279,7 @@
 c3
 02
 06
-2a
+28
 68
 00
 82
@@ -6295,7 +6287,7 @@
 20
 3a
 06
-2a
+28
 20
 20
 56
@@ -6323,7 +6315,7 @@
 c0
 82
 86
-2d
+2b
 70
 47
 8e
@@ -6343,11 +6335,11 @@
 20
 40
 06
-32
+30
 20
 20
 06
-3e
+3c
 68
 00
 c6
@@ -6399,7 +6391,7 @@
 20
 20
 06
-d9
+d7
 68
 00
 c7
@@ -6483,7 +6475,7 @@
 c0
 01
 86
-55
+53
 20
 20
 56
@@ -6495,11 +6487,11 @@
 c0
 00
 06
-59
+57
 c0
 00
 86
-60
+5e
 20
 20
 5c
@@ -6559,11 +6551,11 @@
 c0
 02
 06
-69
+67
 c0
 03
 06
-96
+94
 20
 20
 56
@@ -6575,7 +6567,7 @@
 20
 40
 06
-3f
+3d
 20
 40
 7e
@@ -6591,7 +6583,7 @@
 c0
 08
 06
-78
+76
 1f
 ec
 84
@@ -6603,7 +6595,7 @@
 20
 21
 06
-86
+84
 d8
 40
 47
@@ -6687,7 +6679,7 @@
 c0
 05
 06
-88
+86
 20
 20
 58
@@ -6703,7 +6695,7 @@
 c2
 81
 86
-8f
+8d
 68
 01
 04
@@ -6731,7 +6723,7 @@
 24
 22
 86
-8b
+89
 20
 40
 5a
@@ -6739,7 +6731,7 @@
 24
 34
 06
-8b
+89
 70
 04
 7a
@@ -6755,11 +6747,11 @@
 c0
 00
 86
-9a
+98
 c0
 02
 86
-9c
+9a
 20
 20
 5a
@@ -6803,7 +6795,7 @@
 20
 40
 06
-a7
+a5
 d8
 e0
 00
@@ -6843,7 +6835,7 @@
 20
 37
 06
-af
+ad
 24
 36
 d8
@@ -6923,7 +6915,7 @@
 c0
 09
 06
-c3
+c1
 20
 20
 7d
@@ -7027,7 +7019,7 @@
 24
 41
 06
-e1
+df
 68
 00
 cd
@@ -7083,7 +7075,7 @@
 c5
 13
 06
-eb
+e9
 58
 00
 00
@@ -7095,7 +7087,7 @@
 24
 21
 07
-03
+01
 68
 00
 cd
@@ -7107,7 +7099,7 @@
 24
 21
 06
-f3
+f1
 68
 00
 cd
@@ -7115,7 +7107,7 @@
 c0
 00
 07
-04
+02
 20
 60
 00
@@ -7143,7 +7135,7 @@
 c5
 13
 06
-fa
+f8
 58
 00
 00
@@ -7163,7 +7155,7 @@
 c0
 00
 07
-0b
+09
 1f
 e0
 ff
@@ -7175,7 +7167,7 @@
 c0
 00
 07
-0b
+09
 70
 41
 de
@@ -7195,7 +7187,7 @@
 c0
 01
 07
-09
+07
 1f
 e0
 fe
@@ -7206,8 +7198,8 @@
 0f
 c0
 00
-87
-01
+86
+ff
 70
 41
 de
@@ -7291,19 +7283,19 @@
 c0
 01
 07
-25
+23
 c0
 02
 07
-2d
+2b
 c0
 10
 07
-37
+35
 20
 40
 07
-32
+30
 70
 89
 55
@@ -7355,7 +7347,7 @@
 20
 40
 07
-32
+30
 70
 89
 55
@@ -7412,8 +7404,8 @@
 20
 28
 fa
-52
-28
+c9
+aa
 aa
 55
 08
@@ -8042,8 +8034,8 @@
 4c
 04
 01
-14
-2b
+02
+c2
 ff
 ff
 ff
@@ -8188,5 +8180,13 @@
 ff
 ff
 ff
-bb
-c0
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+bd
+06
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/ShangGui_386/output/program.lis	(revision 1299)
+++ /branch/mouse_project/YJX_Project/ShangGui_386/output/program.lis	(working copy)
@@ -4,8 +4,8 @@
 0001 c0000029 beq patch00_0 ,p_soft_reset 
 0002 c000802c beq patch00_1 ,p_soft_reset_1 
 0003 c0010035 beq patch00_2 ,p_soft_reset_2 
-0004 c042873a beq patch10_5 ,p_shutdown_radio 
-0005 c044870d beq patch11_1 ,p_set_freq_tx 
+0004 c0428738 beq patch10_5 ,p_shutdown_radio 
+0005 c044870b beq patch11_1 ,p_set_freq_tx 
 0006 c050803e beq patch14_1 ,p_init_param 
 0007 c0588043 beq patch16_1 ,p_lpm_check_wake_lock 
 0008 c059004f beq patch16_2 ,p_g24_dispatch 
@@ -16,22 +16,22 @@
 000d c0730570 beq patch1c_6 ,p_mouse_motion 
 000e c07505ac beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
 000f c07585b1 beq patch1d_3 ,p_mouse_start_discovery 
-0010 c07605e2 beq patch1d_4 ,p_mouse_stop_discovery 
+0010 c07605e0 beq patch1d_4 ,p_mouse_stop_discovery 
 0011 20202a8e branch loop 
 
 pf_patch_ext:
-0012 c01c85e7 beq patch27_1 ,p_le_slave_match 
-0013 c02185ef beq patch28_3 ,p_le_next_adv_channel 
-0014 c02505f5 beq patch29_2 ,p_le_receive_skip 
-0015 c02b85f8 beq patch2a_7 ,p_le_update_param 
-0016 c02c860f beq patch2b_1 ,p_le_update_channel_map 
-0017 c031861c beq patch2c_3 ,p_le_prepare_tx 
-0018 c0330646 beq patch2c_6 ,p_le_parse 
-0019 c0338665 beq patch2c_7 ,p_le_parse_l2cap 
-001a c03506a1 beq patch2d_2 ,p_le_adv_not_match 
-001b c03b86ac beq patch2e_7 ,p_le_lpm_setmult 
-001c c07d06bd beq patch3f_2 ,p_check_51cmd_once_continue 
-001d c04606c6 beq patch31_4 ,p_twspi_reset 
+0012 c01c85e5 beq patch27_1 ,p_le_slave_match 
+0013 c02185ed beq patch28_3 ,p_le_next_adv_channel 
+0014 c02505f3 beq patch29_2 ,p_le_receive_skip 
+0015 c02b85f6 beq patch2a_7 ,p_le_update_param 
+0016 c02c860d beq patch2b_1 ,p_le_update_channel_map 
+0017 c031861a beq patch2c_3 ,p_le_prepare_tx 
+0018 c0330644 beq patch2c_6 ,p_le_parse 
+0019 c0338663 beq patch2c_7 ,p_le_parse_l2cap 
+001a c035069f beq patch2d_2 ,p_le_adv_not_match 
+001b c03b86aa beq patch2e_7 ,p_le_lpm_setmult 
+001c c07d06bb beq patch3f_2 ,p_check_51cmd_once_continue 
+001d c04606c4 beq patch31_4 ,p_twspi_reset 
 001e 20202a8e branch loop 
 
 p_rssi_signal:
@@ -110,7 +110,7 @@
 0055 20400117 call p_g24_transmit_packet 
 0056 6800cbe3 fetch 1 ,mem_24g_pairing_sm 
 0057 c1ff8000 rtnne state_24g_pairing_success 
-0058 204006e3 call power_ctrl_start 
+0058 204006e1 call power_ctrl_start 
 0059 20400061 call g24_long_sleep_shorter_param_update 
 005a 6800cb01 fetch 1 ,mem_mouse_multi_led_state 
 005b c00081af beq on ,p_g24_transmit_by_interrupt_enable 
@@ -230,7 +230,7 @@
 00af 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail:
-00b0 204006d9 call power_ctrl_pac_succ_decrs 
+00b0 204006d7 call power_ctrl_pac_succ_decrs 
 00b1 6800cd0a fetch 1 ,mem_24g_rf_work_stage 
 00b2 c00080b5 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
 00b3 c00100b9 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
@@ -271,7 +271,7 @@
 00ca 20200117 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-00cb 204006d9 call power_ctrl_pac_succ_decrs 
+00cb 204006d7 call power_ctrl_pac_succ_decrs 
 00cc 704d0600 jam 0 ,mem_24g_hop_fastly_cnt 
 00cd 202000a7 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -385,7 +385,7 @@
 011c 2437813c nbranch p_g24_retransmit ,user3 
 011d 2040012a call p_g24_txbuf_clear 
 011e 20400158 call p_g24_ackpayload_parse 
-011f 204006d5 call power_ctrl_pac_succ_incrs 
+011f 204006d3 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0120 6800cbd2 fetch 1 ,mem_24g_pid 
@@ -407,7 +407,7 @@
 012c 20207ec6 branch memset0 
 
 p_g24_paring_mode_start:
-012d 204006d2 call power_ctrl_pac_succ_cnt_init 
+012d 204006d0 call power_ctrl_pac_succ_cnt_init 
 012e 2020018b branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
@@ -945,7 +945,7 @@
 02c0 204003c4 call p_mouse_data_init 
 02c1 6800c1de fetch 1 ,mem_tx_power 
 02c2 6000cc8a store 1 ,mem_tx_power_temp 
-02c3 204006d2 call power_ctrl_pac_succ_cnt_init 
+02c3 204006d0 call power_ctrl_pac_succ_cnt_init 
 02c4 6800c685 fetch 1 ,mem_ui_button_timeout 
 02c5 6000c6da store 1 ,mem_combination_ui_button_count 
 02c6 204043ca call mouse_bt_discovery_button_down_disable 
@@ -1003,12 +1003,12 @@
 p_mouse4_0_check_reconn_target_next:
 02eb 600146ae store 2 ,mem_mouse_direct_timer 
 02ec 6800cb40 fetch 1 ,mem_mouse_fast_conn_flag 
-02ed c07f85d5 beq 0xff ,p_mouse_check_fast_conn_adv_start 
+02ed c07f85d4 beq 0xff ,p_mouse_check_fast_conn_adv_start 
 02ee d8e00007 arg mouse_store_eeprom_flag ,queue 
 02ef 204043ce call mouse_enable_function_flag 
 02f0 20403418 call app_lpm_mult_disable 
 02f1 d8c04390 arg mem_le_scan_data ,contr 
-02f2 204005d1 call p_le_adv_data_update 
+02f2 204005d0 call p_le_adv_data_update 
 02f3 70438f1f jam 0x1f ,mem_le_scan_data_len 
 02f4 20207df4 branch check_51cmd_adv 
 
@@ -1213,7 +1213,7 @@
 037c 60014d04 store 2 ,mem_cb_24g_data 
 037d 580003a3 setarg p_mouse_le 
 037e 600141ef store 2 ,mem_cb_le_process 
-037f 580006b6 setarg p_le_mouse_bb_event_connect_complete 
+037f 580006b4 setarg p_le_mouse_bb_event_connect_complete 
 0380 600141f9 store 2 ,mem_cb_att_write 
 0381 580002a6 setarg p_mouse_before_lpm 
 0382 600141ed store 2 ,mem_cb_before_lpm 
@@ -1479,7 +1479,7 @@
 
 p_mouse_le_conn_param_update_rsp_not_accepted:
 0446 704b4c01 jam 1 ,mem_mouse_le_updata_not_accepted_flag 
-0447 2020065c branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
+0447 2020065a branch p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset 
 
 p_mouse_24g_pairing_complete:
 0448 2040031b call p_mouse_init_sensor_reset 
@@ -1590,7 +1590,7 @@
 0499 1fe17e01 and_into 1 ,pdata 
 049a 6000cb49 store 1 ,mem_le_switch_adv_count 
 049b c00005c7 beq 0 ,p_check_51cmd_adv 
-049c c00085d6 beq 1 ,p_mouse_check_fast_conn_adv_start1 
+049c c00085d5 beq 1 ,p_mouse_check_fast_conn_adv_start1 
 049d 20600000 rtn 
 
 p_mouse_24g_long_sleep_param_update_timer:
@@ -2043,513 +2043,511 @@
 05cc 70438f1f jam 0x1f ,mem_le_scan_data_len 
 05cd d8e00007 arg mouse_store_eeprom_flag ,queue 
 05ce 204043ce call mouse_enable_function_flag 
-05cf 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
-05d0 d8c04b1e arg mem_le_adv_swift_pair ,contr 
+05cf d8c04b1e arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-05d1 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05d2 df200013 arg 19 ,loopcnt 
-05d3 20407f01 call memcpy 
-05d4 202057b8 branch le_modified_name_adv 
+05d0 d8a0437b arg mem_le_adv_data + 11 ,contw 
+05d1 df200013 arg 19 ,loopcnt 
+05d2 20407f01 call memcpy 
+05d3 202057b8 branch le_modified_name_adv 
 
 p_mouse_check_fast_conn_adv_start:
-05d5 20400539 call p_mouse_discovery_multi_led_blink 
+05d4 20400539 call p_mouse_discovery_multi_led_blink 
 
 p_mouse_check_fast_conn_adv_start1:
-05d6 d8e00007 arg mouse_store_eeprom_flag ,queue 
-05d7 204043d2 call mouse_disable_function_flag 
-05d8 20400351 call p_mouse_fast_conn_init 
-05d9 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
-05da 70436f00 jam 0 ,mem_le_adv_data_len 
-05db 70438f1f jam 0x1f ,mem_le_scan_data_len 
-05dc 20207df4 branch check_51cmd_adv 
+05d5 d8e00007 arg mouse_store_eeprom_flag ,queue 
+05d6 204043d2 call mouse_disable_function_flag 
+05d7 20400351 call p_mouse_fast_conn_init 
+05d8 70436f00 jam 0 ,mem_le_adv_data_len 
+05d9 70438f1f jam 0x1f ,mem_le_scan_data_len 
+05da 20207df4 branch check_51cmd_adv 
 
 p_le_fast_conn_adv_data_update:
-05dd 20400351 call p_mouse_fast_conn_init 
-05de d8a04370 arg mem_le_adv_data ,contw 
-05df df20000b arg 11 ,loopcnt 
-05e0 20407f01 call memcpy 
-05e1 202057b8 branch le_modified_name_adv 
+05db 20400351 call p_mouse_fast_conn_init 
+05dc d8a04370 arg mem_le_adv_data ,contw 
+05dd df20000b arg 11 ,loopcnt 
+05de 20407f01 call memcpy 
+05df 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-05e2 20400541 call p_mouse_discovey_led_blink_off 
-05e3 58000000 setarg 0 
-05e4 600146ac store 2 ,mem_mouse_discovery_timer 
-05e5 204003c0 call p_mouse_sensor_poweron 
-05e6 202042cb branch mouse_stop_discovery + 1 
+05e0 20400541 call p_mouse_discovey_led_blink_off 
+05e1 58000000 setarg 0 
+05e2 600146ac store 2 ,mem_mouse_discovery_timer 
+05e3 204003c0 call p_mouse_sensor_poweron 
+05e4 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-05e7 6800c50f fetch 1 ,mem_le_md_count 
-05e8 1fe0fe01 pincrease 1 
-05e9 6000c50f store 1 ,mem_le_md_count 
-05ea c0065395 beq le_md_max_count ,le_slave_cont 
-05eb 204055aa call le_acknowledge 
-05ec 2040561e call le_prepare_tx 
-05ed 204006e3 call power_ctrl_start 
-05ee 2020538f branch le_slave_match + 7 
+05e5 6800c50f fetch 1 ,mem_le_md_count 
+05e6 1fe0fe01 pincrease 1 
+05e7 6000c50f store 1 ,mem_le_md_count 
+05e8 c0065395 beq le_md_max_count ,le_slave_cont 
+05e9 204055aa call le_acknowledge 
+05ea 2040561e call le_prepare_tx 
+05eb 204006e1 call power_ctrl_start 
+05ec 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05ef 68008016 fetch 1 ,mem_le_ch_mapped 
-05f0 1fe0fe01 increase 1 ,pdata 
-05f1 60008016 store 1 ,mem_le_ch_mapped 
-05f2 c1940000 rtnne 40 
-05f3 70001625 jam 37 ,mem_le_ch_mapped 
-05f4 20600000 rtn 
+05ed 68008016 fetch 1 ,mem_le_ch_mapped 
+05ee 1fe0fe01 increase 1 ,pdata 
+05ef 60008016 store 1 ,mem_le_ch_mapped 
+05f0 c1940000 rtnne 40 
+05f1 70001625 jam 37 ,mem_le_ch_mapped 
+05f2 20600000 rtn 
 
 p_le_receive_skip:
-05f5 204029bb call save_rssi 
-05f6 2040001f call p_rssi_signal 
-05f7 202054a3 branch le_receive_skip + 2 
+05f3 204029bb call save_rssi 
+05f4 2040001f call p_rssi_signal 
+05f5 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05f8 204005ff call p_mouse_le_conn_param_check 
-05f9 20400609 call p_mouse_le_reconn_fastly_write_enable 
-05fa 2020557d branch le_update_param + 8 
+05f6 204005fd call p_mouse_le_conn_param_check 
+05f7 20400607 call p_mouse_le_reconn_fastly_write_enable 
+05f8 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-05fb 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-05fc 6000c172 store 1 ,mem_lpm_mult 
+05f9 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+05fa 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-05fd 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-05fe 20600000 rtn 
+05fb 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+05fc 20600000 rtn 
 
 p_mouse_le_conn_param_check:
-05ff 6800c3d6 fetch 1 ,mem_le_new_conninterval 
-0600 1fe67c0c sub pdata ,le_interval_15ms ,null 
-0601 24210444 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
-0602 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0603 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-0604 98467c00 isub temp ,null 
-0605 202105fb branch p_mouse_le_lpm_mult_reinit ,positive 
-0606 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0607 6000c172 store 1 ,mem_lpm_mult 
-0608 202005fd branch p_mouse_le_conn_param_lpm_enable 
+05fd 6800c3d6 fetch 1 ,mem_le_new_conninterval 
+05fe 1fe67c0c sub pdata ,le_interval_15ms ,null 
+05ff 24210444 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
+0600 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0601 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+0602 98467c00 isub temp ,null 
+0603 202105f9 branch p_mouse_le_lpm_mult_reinit ,positive 
+0604 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+0605 6000c172 store 1 ,mem_lpm_mult 
+0606 202005fb branch p_mouse_le_conn_param_lpm_enable 
 
 p_mouse_le_reconn_fastly_write_enable:
-0609 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0607 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0608 207a0000 rtn blank 
+0609 6800c6c6 fetch 1 ,mem_le_start_encrypt_timer 
 060a 207a0000 rtn blank 
-060b 6800c6c6 fetch 1 ,mem_le_start_encrypt_timer 
-060c 207a0000 rtn blank 
-060d 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-060e 20203d60 branch mouse_le_write_enable 
+060b 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+060c 20203d60 branch mouse_le_write_enable 
 
 p_le_update_channel_map:
-060f 6800843f fetch 1 ,mem_le_state 
-0610 c4030000 rtnbit0 lestate_update_map 
-0611 20400614 call p_le_channel_map_overflow_check 
-0612 24740000 nrtn user 
-0613 202055a0 branch le_update_channel_map + 3 
+060d 6800843f fetch 1 ,mem_le_state 
+060e c4030000 rtnbit0 lestate_update_map 
+060f 20400612 call p_le_channel_map_overflow_check 
+0610 24740000 nrtn user 
+0611 202055a0 branch le_update_channel_map + 3 
 
 p_le_channel_map_overflow_check:
-0614 78347c00 enable user 
-0615 6800845a fetch 1 ,mem_le_event_count + 1 
-0616 1ff1fe00 rshift4 pdata ,pdata 
-0617 c1878000 rtnne 0x0f 
-0618 68008460 fetch 1 ,mem_le_instant + 1 
-0619 1ff1fe00 rshift4 pdata ,pdata 
-061a c1800000 rtnne 0x00 
-061b 20207fe9 branch disable_user 
+0612 78347c00 enable user 
+0613 6800845a fetch 1 ,mem_le_event_count + 1 
+0614 1ff1fe00 rshift4 pdata ,pdata 
+0615 c1878000 rtnne 0x0f 
+0616 68008460 fetch 1 ,mem_le_instant + 1 
+0617 1ff1fe00 rshift4 pdata ,pdata 
+0618 c1800000 rtnne 0x00 
+0619 20207fe9 branch disable_user 
 
 p_le_prepare_tx:
-061c 68008456 fetch 1 ,mem_le_arq 
-061d c2828630 bbit1 wak ,p_le_prepare_tx_wak 
-061e 204006d5 call power_ctrl_pac_succ_incrs 
-061f 6800c78e fetch 1 ,mem_empty_count 
-0620 243a0626 nbranch p_le_send_empyt ,blank 
-0621 6800843f fetch 1 ,mem_le_state 
-0622 c302062a bbit0 lestate_encryption ,p_le_tx_4 
-0623 680082da fetch 1 ,mem_le_rxbuf + 1 
-0624 203a062a branch p_le_tx_4 ,blank 
-0625 20205664 branch le_send_empty 
+061a 68008456 fetch 1 ,mem_le_arq 
+061b c282862e bbit1 wak ,p_le_prepare_tx_wak 
+061c 204006d3 call power_ctrl_pac_succ_incrs 
+061d 6800c78e fetch 1 ,mem_empty_count 
+061e 243a0624 nbranch p_le_send_empyt ,blank 
+061f 6800843f fetch 1 ,mem_le_state 
+0620 c3020628 bbit0 lestate_encryption ,p_le_tx_4 
+0621 680082da fetch 1 ,mem_le_rxbuf + 1 
+0622 203a0628 branch p_le_tx_4 ,blank 
+0623 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-0626 6800c78e fetch 1 ,mem_empty_count 
-0627 1fe0ffff increase -1 ,pdata 
-0628 6000c78e store 1 ,mem_empty_count 
-0629 20205664 branch le_send_empty 
+0624 6800c78e fetch 1 ,mem_empty_count 
+0625 1fe0ffff increase -1 ,pdata 
+0626 6000c78e store 1 ,mem_empty_count 
+0627 20205664 branch le_send_empty 
 
 p_le_tx_4:
-062a 6800c4c4 fetch 1 ,mem_le_pairing_state 
-062b c082862d bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-062c 70478e03 jam 3 ,mem_empty_count 
+0628 6800c4c4 fetch 1 ,mem_le_pairing_state 
+0629 c082862b bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+062a 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-062d 20405892 call le_fifo_check_nearly_full 
-062e 205a03d1 call p_mouse_data_pull ,blank 
-062f 20205622 branch le_prepare_tx + 4 
+062b 20405892 call le_fifo_check_nearly_full 
+062c 205a03d1 call p_mouse_data_pull ,blank 
+062d 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
-0630 20400632 call p_le_check_tx_retransmit_setmd 
-0631 2020063e branch p_le_power_ctrl_pac_succ_decrs 
+062e 20400630 call p_le_check_tx_retransmit_setmd 
+062f 2020063c branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-0632 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0633 1fe17e03 and pdata ,0x03 ,pdata 
-0634 c1818000 rtnne 0x03 
-0635 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0630 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0631 1fe17e03 and pdata ,0x03 ,pdata 
+0632 c1818000 rtnne 0x03 
+0633 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0634 207a0000 rtn blank 
+0635 6800c3dd fetch 1 ,mem_le_txlen 
 0636 207a0000 rtn blank 
-0637 6800c3dd fetch 1 ,mem_le_txlen 
-0638 207a0000 rtn blank 
-0639 6800c3dc fetch 1 ,mem_le_txheader 
-063a 79207e04 set1 md ,pdata 
-063b 6000c3dc store 1 ,mem_le_txheader 
-063c 20405650 call le_set_md 
-063d 20600000 rtn 
+0637 6800c3dc fetch 1 ,mem_le_txheader 
+0638 79207e04 set1 md ,pdata 
+0639 6000c3dc store 1 ,mem_le_txheader 
+063a 20405650 call le_set_md 
+063b 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-063e 202006d9 branch power_ctrl_pac_succ_decrs 
+063c 202006d7 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-063f 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0640 207a0000 rtn blank 
-0641 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0642 1fe17e03 and pdata ,0x03 ,pdata 
-0643 c1018000 rtneq 0x03 
-0644 7046c603 jam 3 ,mem_le_start_encrypt_timer 
-0645 20600000 rtn 
+063d 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+063e 207a0000 rtn blank 
+063f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0640 1fe17e03 and pdata ,0x03 ,pdata 
+0641 c1018000 rtneq 0x03 
+0642 7046c603 jam 3 ,mem_le_start_encrypt_timer 
+0643 20600000 rtn 
 
 p_le_parse:
-0646 c6078000 rtnmark1 mark_old_packet 
-0647 20405890 call le_fifo_check_full 
-0648 247a0000 nrtn blank 
-0649 680082d9 fetch 1 ,mem_le_rxbuf 
-064a 1fe17e03 and pdata ,0x3 ,pdata 
-064b 6000c50c store 1 ,mem_le_packet_llid 
-064c e8c08000 ifetch 1 ,contr 
-064d 1fe17e1f and pdata ,0x1f ,pdata 
-064e 6000c50b store 1 ,mem_le_packet_size 
-064f 207a0000 rtn blank 
-0650 18c27e00 copy contr ,pdata 
-0651 6001450d store 2 ,mem_le_payload_ptr 
-0652 6800c50c fetch 1 ,mem_le_packet_llid 
-0653 c0018655 beq llid_le_ll ,p_le_parse_ll 
-0654 2020568d branch le_parse_l2cap 
+0644 c6078000 rtnmark1 mark_old_packet 
+0645 20405890 call le_fifo_check_full 
+0646 247a0000 nrtn blank 
+0647 680082d9 fetch 1 ,mem_le_rxbuf 
+0648 1fe17e03 and pdata ,0x3 ,pdata 
+0649 6000c50c store 1 ,mem_le_packet_llid 
+064a e8c08000 ifetch 1 ,contr 
+064b 1fe17e1f and pdata ,0x1f ,pdata 
+064c 6000c50b store 1 ,mem_le_packet_size 
+064d 207a0000 rtn blank 
+064e 18c27e00 copy contr ,pdata 
+064f 6001450d store 2 ,mem_le_payload_ptr 
+0650 6800c50c fetch 1 ,mem_le_packet_llid 
+0651 c0018653 beq llid_le_ll ,p_le_parse_ll 
+0652 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-0655 680082db fetch 1 ,mem_le_rxbuf + 2 
-0656 c0000659 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-0657 c0008660 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0658 20205c65 branch le_parse_ll + 1 
+0653 680082db fetch 1 ,mem_le_rxbuf + 2 
+0654 c0000657 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+0655 c000865e beq ll_channel_map_req ,p_le_parse_channel_map_req 
+0656 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_connection_update_req:
-0659 20405c7b call le_parse_connection_update_req 
-065a 6800cb4c fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
-065b 207a0000 rtn blank 
+0657 20405c7b call le_parse_connection_update_req 
+0658 6800cb4c fetch 1 ,mem_mouse_le_updata_not_accepted_flag 
+0659 207a0000 rtn blank 
 
 p_mouse_le_conn_param_update_rsp_not_accepted_mult_reset:
-065c 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-065d 6000c172 store 1 ,mem_lpm_mult 
-065e 6000c7c5 store 1 ,mem_lpm_mult_init 
-065f 20600000 rtn 
+065a 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+065b 6000c172 store 1 ,mem_lpm_mult 
+065c 6000c7c5 store 1 ,mem_lpm_mult_init 
+065d 20600000 rtn 
 
 p_le_parse_channel_map_req:
-0660 e8c28000 ifetch 5 ,contr 
-0661 6002c3ce store 5 ,mem_le_new_map 
-0662 e8c10000 ifetch 2 ,contr 
-0663 6001045f store 2 ,mem_le_instant 
-0664 20205c8a branch le_parse_channel_map_req + 7 
+065e e8c28000 ifetch 5 ,contr 
+065f 6002c3ce store 5 ,mem_le_new_map 
+0660 e8c10000 ifetch 2 ,contr 
+0661 6001045f store 2 ,mem_le_instant 
+0662 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-0665 e8c10000 ifetch 2 ,contr 
-0666 c0020669 beq le_l2cap_cid_att ,p_le_parse_att 
-0667 c0030696 beq le_l2cap_cid_smp ,p_le_parse_smp 
-0668 20205698 branch le_parse_l2cap + 11 
+0663 e8c10000 ifetch 2 ,contr 
+0664 c0020667 beq le_l2cap_cid_att ,p_le_parse_att 
+0665 c0030694 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0666 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0669 20407ea5 call store_contr 
-066a 2040063f call p_mouse_le_reconn_write_enable_timer_reinit 
-066b 20407e9f call get_contr 
-066c e8c18000 ifetch 3 ,contr 
-066d 60018477 store 3 ,mem_le_att_opcode 
-066e c0080678 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-066f 1fec8400 rshift8 pdata ,temp 
-0670 18467c24 sub temp ,0x24 ,null 
-0671 20210686 branch p_le_parse_att1 ,positive 
-0672 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-0673 600944bc storet 2 ,mem_ui_le_uuid_table 
-0674 204058ad call le_parse_att + 2 
-0675 58008e7a setarg 0x8e7a 
-0676 600144bc store 2 ,mem_ui_le_uuid_table 
-0677 20600000 rtn 
+0667 20407ea5 call store_contr 
+0668 2040063d call p_mouse_le_reconn_write_enable_timer_reinit 
+0669 20407e9f call get_contr 
+066a e8c18000 ifetch 3 ,contr 
+066b 60018477 store 3 ,mem_le_att_opcode 
+066c c0080676 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+066d 1fec8400 rshift8 pdata ,temp 
+066e 18467c24 sub temp ,0x24 ,null 
+066f 20210684 branch p_le_parse_att1 ,positive 
+0670 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+0671 600944bc storet 2 ,mem_ui_le_uuid_table 
+0672 204058ad call le_parse_att + 2 
+0673 58008e7a setarg 0x8e7a 
+0674 600144bc store 2 ,mem_ui_le_uuid_table 
+0675 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0678 204059fa call le_parse_att_read_by_group_type_request 
-0679 20405879 call le_fifo_get_last_tx_ptr 
-067a 18c08c07 increase 7 ,contr 
-067b e8c08000 ifetch 1 ,contr 
-067c c1888000 rtnne attop_read_by_group_type_response 
-067d 18c08c05 increase 5 ,contr 
-067e e8c10000 ifetch 2 ,contr 
-067f d8401812 arg uuid_service_hids ,temp 
-0680 98467c00 isub temp ,null 
-0681 24628000 nrtn zero 
-0682 18c08dfc increase -4 ,contr 
-0683 5800002b setarg 0x2b 
-0684 e0c10000 istore 2 ,contr 
-0685 20600000 rtn 
+0676 204059fa call le_parse_att_read_by_group_type_request 
+0677 20405879 call le_fifo_get_last_tx_ptr 
+0678 18c08c07 increase 7 ,contr 
+0679 e8c08000 ifetch 1 ,contr 
+067a c1888000 rtnne attop_read_by_group_type_response 
+067b 18c08c05 increase 5 ,contr 
+067c e8c10000 ifetch 2 ,contr 
+067d d8401812 arg uuid_service_hids ,temp 
+067e 98467c00 isub temp ,null 
+067f 24628000 nrtn zero 
+0680 18c08dfc increase -4 ,contr 
+0681 5800002b setarg 0x2b 
+0682 e0c10000 istore 2 ,contr 
+0683 20600000 rtn 
 
 p_le_parse_att1:
-0686 c0050688 beq attop_read_request ,p_le_parse_att_read_request 
-0687 202058ad branch le_parse_att + 2 
+0684 c0050686 beq attop_read_request ,p_le_parse_att_read_request 
+0685 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0688 68090478 fetcht 2 ,mem_le_att_handle 
-0689 6800c4e9 fetch 1 ,mem_le_configuration 
-068a c281868f bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0686 68090478 fetcht 2 ,mem_le_att_handle 
+0687 6800c4e9 fetch 1 ,mem_le_configuration 
+0688 c281868d bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-068b 68010478 fetch 2 ,mem_le_att_handle 
-068c c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-068d 68090478 fetcht 2 ,mem_le_att_handle 
-068e 202059bf branch le_send_att_read_response 
+0689 68010478 fetch 2 ,mem_le_att_handle 
+068a c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+068b 68090478 fetcht 2 ,mem_le_att_handle 
+068c 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-068f 680144fa fetch 2 ,mem_le_pairing_handle 
-0690 98467c00 isub temp ,null 
-0691 2422868b nbranch p_le_send_att_read_response ,zero 
+068d 680144fa fetch 2 ,mem_le_pairing_handle 
+068e 98467c00 isub temp ,null 
+068f 24228689 nbranch p_le_send_att_read_response ,zero 
 
 p_le_send_att_read_response_error_insufficient_auth:
-0692 20405a42 call le_check_encrypt_state 
-0693 2434068b nbranch p_le_send_att_read_response ,user 
-0694 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0695 20205a77 branch le_send_att_error_response 
+0690 20405a42 call le_check_encrypt_state 
+0691 24340689 nbranch p_le_send_att_read_response ,user 
+0692 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0693 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0696 e8c08000 ifetch 1 ,contr 
-0697 c000869a beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0698 c002869c beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0699 20205af5 branch le_parse_smp + 1 
+0694 e8c08000 ifetch 1 ,contr 
+0695 c0008698 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0696 c002869a beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0697 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_request:
-069a 704b3d01 jam 1 ,mem_le_send_security_request_flag 
-069b 20205b09 branch le_parse_smp_pairing_request 
+0698 704b3d01 jam 1 ,mem_le_send_security_request_flag 
+0699 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-069c 20405b5a call le_parse_smp_pairing_failed 
-069d 6800843f fetch 1 ,mem_le_state 
-069e 793ffe05 set0 lestate_update_param ,pdata 
-069f 6000843f store 1 ,mem_le_state 
-06a0 20205c8e branch le_parse_terminate_ind 
+069a 20405b5a call le_parse_smp_pairing_failed 
+069b 6800843f fetch 1 ,mem_le_state 
+069c 793ffe05 set0 lestate_update_param ,pdata 
+069d 6000843f store 1 ,mem_le_state 
+069e 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-06a1 68008016 fetch 1 ,mem_le_ch_mapped 
-06a2 c093d6f2 bne 39 ,le_adv_loop 
-06a3 204006a7 call p_le_adv_random_delay 
-06a4 d8e00000 arg le_adv_interval_timer ,queue 
-06a5 68014482 fetch 2 ,mem_le_adv_interval 
-06a6 20207f08 branch timer_init 
+069f 68008016 fetch 1 ,mem_le_ch_mapped 
+06a0 c093d6f2 bne 39 ,le_adv_loop 
+06a1 204006a5 call p_le_adv_random_delay 
+06a2 d8e00000 arg le_adv_interval_timer ,queue 
+06a3 68014482 fetch 2 ,mem_le_adv_interval 
+06a4 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-06a7 180a7e00 random pdata 
-06a8 d84001ff arg 0x1ff ,temp 
-06a9 98417e00 iand temp ,pdata 
-06aa 1fe0fefa add pdata ,250 ,pdata 
-06ab 20203cbe branch delay 
+06a5 180a7e00 random pdata 
+06a6 d84001ff arg 0x1ff ,temp 
+06a7 98417e00 iand temp ,pdata 
+06a8 1fe0fefa add pdata ,250 ,pdata 
+06a9 20203cbe branch delay 
 
 p_le_lpm_setmult:
-06ac 7855fc00 disable wake 
-06ad 203706af branch p_le_lpm_set_mult_attempt ,attempt 
-06ae 2436d806 nbranch le_lpm_lost ,match 
+06aa 7855fc00 disable wake 
+06ab 203706ad branch p_le_lpm_set_mult_attempt ,attempt 
+06ac 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-06af 20402bcb call lpm_match 
-06b0 680140c1 fetch 2 ,mem_rx_window_sniff 
-06b1 6001044d store 2 ,mem_le_receive_window 
-06b2 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-06b3 2fe00603 compare 3 ,pdata ,3 
-06b4 2420abde nbranch lpm_mult_short ,true 
-06b5 202057fb branch le_lpm_set_mult_attempt + 3 
+06ad 20402bcb call lpm_match 
+06ae 680140c1 fetch 2 ,mem_rx_window_sniff 
+06af 6001044d store 2 ,mem_le_receive_window 
+06b0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+06b1 2fe00603 compare 3 ,pdata ,3 
+06b2 2420abde nbranch lpm_mult_short ,true 
+06b3 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-06b6 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-06b7 247a0000 nrtn blank 
-06b8 68008478 fetch 1 ,mem_le_att_handle 
-06b9 1fe67e1a sub pdata ,26 ,pdata 
-06ba 24628000 nrtn zero 
-06bb 7046c600 jam 0 ,mem_le_start_encrypt_timer 
-06bc 20203d60 branch mouse_le_write_enable 
+06b4 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+06b5 247a0000 nrtn blank 
+06b6 68008478 fetch 1 ,mem_le_att_handle 
+06b7 1fe67e1a sub pdata ,26 ,pdata 
+06b8 24628000 nrtn zero 
+06b9 7046c600 jam 0 ,mem_le_start_encrypt_timer 
+06ba 20203d60 branch mouse_le_write_enable 
 
 p_check_51cmd_once_continue:
-06bd 204062bc call lmo_fifo_check 
-06be 243a7ddb nbranch check_51cmd_restore ,blank 
-06bf 68008a99 fetch 1 ,mem_fifo_temp 
-06c0 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06c1 c00906c3 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06c2 20207dca branch check_51cmd_once_continue + 2 
+06bb 204062bc call lmo_fifo_check 
+06bc 243a7ddb nbranch check_51cmd_restore ,blank 
+06bd 68008a99 fetch 1 ,mem_fifo_temp 
+06be c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06bf c00906c1 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06c0 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-06c3 20405890 call le_fifo_check_full 
-06c4 247a0000 nrtn blank 
-06c5 20205abf branch le_l2cap_tx_update_req 
+06c1 20405890 call le_fifo_check_full 
+06c2 247a0000 nrtn blank 
+06c3 20205abf branch le_l2cap_tx_update_req 
 
 p_twspi_reset:
-06c6 68108077 hfetch 1 ,core_gpio_out3 
-06c7 1fe17efd and_into 0xfd ,pdata 
-06c8 60108077 hstore 1 ,core_gpio_out3 
-06c9 68188073 hfetcht 1 ,core_gpio_oe3 
-06ca 18418402 or_into 0x2 ,temp 
-06cb 60188073 hstoret 1 ,core_gpio_oe3 
-06cc 204063ee call twspi_disable 
-06cd 184104fd and_into 0xfd ,temp 
-06ce 2000000d nop 13 
-06cf 204063f2 call twspi_enable 
-06d0 60188073 hstoret 1 ,core_gpio_oe3 
-06d1 20600000 rtn 
+06c4 68108077 hfetch 1 ,core_gpio_out3 
+06c5 1fe17efd and_into 0xfd ,pdata 
+06c6 60108077 hstore 1 ,core_gpio_out3 
+06c7 68188073 hfetcht 1 ,core_gpio_oe3 
+06c8 18418402 or_into 0x2 ,temp 
+06c9 60188073 hstoret 1 ,core_gpio_oe3 
+06ca 204063ee call twspi_disable 
+06cb 184104fd and_into 0xfd ,temp 
+06cc 2000000d nop 13 
+06cd 204063f2 call twspi_enable 
+06ce 60188073 hstoret 1 ,core_gpio_oe3 
+06cf 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_init:
-06d2 704d0f01 jam 1 ,mem_power_ctrl_level 
-06d3 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06d4 20600000 rtn 
+06d0 704d0f01 jam 1 ,mem_power_ctrl_level 
+06d1 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06d2 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06d5 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06d6 1fe0fe01 increase 1 ,pdata 
-06d7 6000cd0c store 1 ,mem_power_ctrl_pac_succ_cnt 
-06d8 20600000 rtn 
+06d3 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d4 1fe0fe01 increase 1 ,pdata 
+06d5 6000cd0c store 1 ,mem_power_ctrl_pac_succ_cnt 
+06d6 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06d9 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06da 1fe67c02 sub pdata ,2 ,null 
-06db 244106e1 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06dc 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06dd c1000000 rtneq 0 
-06de 1fe0ffff increase -1 ,pdata 
-06df 6000cd0c store 1 ,mem_power_ctrl_pac_succ_cnt 
-06e0 20600000 rtn 
+06d7 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06d8 1fe67c02 sub pdata ,2 ,null 
+06d9 244106df ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06da 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06db c1000000 rtneq 0 
+06dc 1fe0ffff increase -1 ,pdata 
+06dd 6000cd0c store 1 ,mem_power_ctrl_pac_succ_cnt 
+06de 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06e1 704d0c03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06e2 20600000 rtn 
+06df 704d0c03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06e0 20600000 rtn 
 
 power_ctrl_start:
-06e3 68014682 fetch 2 ,mem_ui_state_map 
-06e4 c3858000 rtnbit1 ui_state_ble_adv 
-06e5 da204c95 arg mem_rssi_signal_buf ,rega 
-06e6 20400295 call p_rssi_average 
-06e7 6008cd0d storet 1 ,mem_rssi_avg_received 
-06e8 58000082 setarg rssi_dis_max_24g 
-06e9 c51306eb bmark1 mark_24g ,power_ctrl_start_next 
-06ea 58000080 setarg rssi_dis_max_ble 
+06e1 68014682 fetch 2 ,mem_ui_state_map 
+06e2 c3858000 rtnbit1 ui_state_ble_adv 
+06e3 da204c95 arg mem_rssi_signal_buf ,rega 
+06e4 20400295 call p_rssi_average 
+06e5 6008cd0d storet 1 ,mem_rssi_avg_received 
+06e6 58000082 setarg rssi_dis_max_24g 
+06e7 c51306e9 bmark1 mark_24g ,power_ctrl_start_next 
+06e8 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-06eb 98467c00 isub temp ,null 
-06ec 24210703 nbranch power_ctrl_txpower_incrs_force ,positive 
-06ed 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ee 1fe67c02 sub pdata ,2 ,null 
-06ef 242106f3 nbranch power_ctrl_txpower_decrs_check ,positive 
-06f0 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f1 c0000704 beq 0 ,power_ctrl_txpower_incrs 
-06f2 20600000 rtn 
+06e9 98467c00 isub temp ,null 
+06ea 24210701 nbranch power_ctrl_txpower_incrs_force ,positive 
+06eb 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ec 1fe67c02 sub pdata ,2 ,null 
+06ed 242106f1 nbranch power_ctrl_txpower_decrs_check ,positive 
+06ee 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06ef c0000702 beq 0 ,power_ctrl_txpower_incrs 
+06f0 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-06f3 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f4 c1900000 rtnne 32 
-06f5 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f1 6800cd0c fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f2 c1900000 rtnne 32 
+06f3 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-06f6 6808cd0d fetcht 1 ,mem_rssi_avg_received 
-06f7 58000077 setarg rssi_dis_min_24g 
-06f8 c51306fa bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-06f9 58000075 setarg rssi_dis_min_ble 
+06f4 6808cd0d fetcht 1 ,mem_rssi_avg_received 
+06f5 58000077 setarg rssi_dis_min_24g 
+06f6 c51306f8 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+06f7 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-06fa 98467c00 isub temp ,null 
-06fb 24610000 nrtn positive 
-06fc 6800cd0f fetch 1 ,mem_power_ctrl_level 
-06fd c000070b beq 0 ,power_ctrl_decrs_level0 
-06fe 1fe0ffff increase -1 ,pdata 
-06ff 6000cd0f store 1 ,mem_power_ctrl_level 
-0700 c000070b beq 0 ,power_ctrl_decrs_level0 
+06f8 98467c00 isub temp ,null 
+06f9 24610000 nrtn positive 
+06fa 6800cd0f fetch 1 ,mem_power_ctrl_level 
+06fb c0000709 beq 0 ,power_ctrl_decrs_level0 
+06fc 1fe0ffff increase -1 ,pdata 
+06fd 6000cd0f store 1 ,mem_power_ctrl_level 
+06fe c0000709 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0701 7041de00 jam tx_power_0db ,mem_tx_power 
-0702 20600000 rtn 
+06ff 7041de00 jam tx_power_0db ,mem_tx_power 
+0700 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0703 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0701 704d0c00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0704 6800cd0f fetch 1 ,mem_power_ctrl_level 
-0705 c0010709 beq 2 ,power_ctrl_incrs_level2 
-0706 1fe0fe01 increase 1 ,pdata 
-0707 6000cd0f store 1 ,mem_power_ctrl_level 
-0708 c0008701 beq 1 ,power_ctrl_incrs_level1 
+0702 6800cd0f fetch 1 ,mem_power_ctrl_level 
+0703 c0010707 beq 2 ,power_ctrl_incrs_level2 
+0704 1fe0fe01 increase 1 ,pdata 
+0705 6000cd0f store 1 ,mem_power_ctrl_level 
+0706 c00086ff beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0709 7041de02 jam tx_power_5db ,mem_tx_power 
-070a 20600000 rtn 
+0707 7041de02 jam tx_power_5db ,mem_tx_power 
+0708 20600000 rtn 
 
 power_ctrl_decrs_level0:
-070b 7041de04 jam tx_power_f5db ,mem_tx_power 
-070c 20600000 rtn 
+0709 7041de04 jam tx_power_f5db ,mem_tx_power 
+070a 20600000 rtn 
 
 p_set_freq_tx:
-070d 60088017 storet 1 ,mem_last_freq 
-070e 1840a200 add temp ,0 ,rega 
-070f 20402981 call rf_write_freq 
-0710 58000500 setarg param_pll_setup 
-0711 20402a8f call sleep 
+070b 60088017 storet 1 ,mem_last_freq 
+070c 1840a200 add temp ,0 ,rega 
+070d 20402981 call rf_write_freq 
+070e 58000500 setarg param_pll_setup 
+070f 20402a8f call sleep 
 
 p_rf_tx_enable:
-0712 70890601 jam 0x1 ,rfen_adc 
-0713 7089003c jam 0x3c ,rfen_rx 
-0714 708901e0 jam 0xe0 ,rfen_tx 
-0715 2000000a nop 10 
-0716 70890201 jam 0x01 ,rfen_mdm 
-0717 7089023d jam 0x3d ,rfen_mdm 
+0710 70890601 jam 0x1 ,rfen_adc 
+0711 7089003c jam 0x3c ,rfen_rx 
+0712 708901e0 jam 0xe0 ,rfen_tx 
+0713 2000000a nop 10 
+0714 70890201 jam 0x01 ,rfen_mdm 
+0715 7089023d jam 0x3d ,rfen_mdm 
+0716 2000000a nop 10 
+0717 708903b7 jam 0xb7 ,rfen_sn 
 0718 2000000a nop 10 
-0719 708903b7 jam 0xb7 ,rfen_sn 
-071a 2000000a nop 10 
-071b 7089027d jam 0x7d ,rfen_mdm 
-071c 6800c1de fetch 1 ,mem_tx_power 
-071d c0010725 beq tx_power_5db ,p_set_tx_power_5db 
-071e c002072d beq tx_power_f5db ,p_set_tx_power_f5db 
-071f c0100737 beq tx_power_pair ,p_set_tx_power_pair 
+0719 7089027d jam 0x7d ,rfen_mdm 
+071a 6800c1de fetch 1 ,mem_tx_power 
+071b c0010723 beq tx_power_5db ,p_set_tx_power_5db 
+071c c002072b beq tx_power_f5db ,p_set_tx_power_f5db 
+071d c0100735 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0720 20400732 call p_rx_low_sens 
-0721 708955d0 jam 0xd0 ,0x8955 
-0722 708956e0 jam 0xe0 ,0x8956 
-0723 7089586c jam 0x6c ,0x8958 
-0724 2020294b branch set_tx_power_0db 
+071e 20400730 call p_rx_low_sens 
+071f 708955d0 jam 0xd0 ,0x8955 
+0720 708956e0 jam 0xe0 ,0x8956 
+0721 7089586c jam 0x6c ,0x8958 
+0722 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
 
 p_rx_high_sens:
-0725 70894cfb jam 0xfb ,0x894c 
-0726 70894def jam 0xef ,0x894d 
-0727 70894eec jam 0xec ,0x894e 
-0728 70894f5e jam 0x5e ,0x894f 
-0729 708955d0 jam 0xd0 ,0x8955 
-072a 708956e0 jam 0xe0 ,0x8956 
-072b 7089583c jam 0x3c ,0x8958 
-072c 20202953 branch set_tx_power_5db 
+0723 70894cfb jam 0xfb ,0x894c 
+0724 70894def jam 0xef ,0x894d 
+0725 70894eec jam 0xec ,0x894e 
+0726 70894f5e jam 0x5e ,0x894f 
+0727 708955d0 jam 0xd0 ,0x8955 
+0728 708956e0 jam 0xe0 ,0x8956 
+0729 7089583c jam 0x3c ,0x8958 
+072a 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-072d 20400732 call p_rx_low_sens 
-072e 708955d0 jam 0xd0 ,0x8955 
-072f 708956c0 jam 0xc0 ,0x8956 
-0730 7089586c jam 0x6c ,0x8958 
-0731 2020295b branch set_tx_power_f5db 
+072b 20400730 call p_rx_low_sens 
+072c 708955d0 jam 0xd0 ,0x8955 
+072d 708956c0 jam 0xc0 ,0x8956 
+072e 7089586c jam 0x6c ,0x8958 
+072f 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0732 70894c5b jam 0x5b ,0x894c 
-0733 70894d96 jam 0x96 ,0x894d 
-0734 70894e2c jam 0x2c ,0x894e 
-0735 70894f46 jam 0x46 ,0x894f 
-0736 20600000 rtn 
+0730 70894c5b jam 0x5b ,0x894c 
+0731 70894d96 jam 0x96 ,0x894d 
+0732 70894e2c jam 0x2c ,0x894e 
+0733 70894f46 jam 0x46 ,0x894f 
+0734 20600000 rtn 
 
 p_set_tx_power_pair:
-0737 708956c2 jam 0xc2 ,0x8956 
-0738 708955d0 jam 0xd0 ,0x8955 
-0739 20600000 rtn 
+0735 708956c2 jam 0xc2 ,0x8956 
+0736 708955d0 jam 0xd0 ,0x8955 
+0737 20600000 rtn 
 
 p_shutdown_radio:
-073a 18002a08 force 8 ,radio_ctrl 
-073b 202028fa branch shutdown_radio + 1 
+0738 18002a08 force 8 ,radio_ctrl 
+0739 202028fa branch shutdown_radio + 1 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/ShangGui_386/program/patch.prog	(revision 1299)
+++ /branch/mouse_project/YJX_Project/ShangGui_386/program/patch.prog	(working copy)
@@ -2783,11 +2783,8 @@
 p_mouse_le_adv_data_update:
 	jam 0x1f,mem_le_adv_data_len
 	jam 0x1f,mem_le_scan_data_len
-
 	arg MOUSE_STORE_EEPROM_FLAG,queue
 	call mouse_enable_function_flag
-
-	jam 0,mem_mouse_le_reconnect_flag
 	arg mem_le_adv_swift_pair,contr
 p_le_adv_data_update:
 	arg mem_le_adv_data+11,contw
@@ -2801,7 +2798,6 @@
 	arg MOUSE_STORE_EEPROM_FLAG,queue
 	call mouse_disable_function_flag
 	call p_mouse_fast_conn_init
-	jam 0,mem_mouse_le_reconnect_flag
 	jam 0,mem_le_adv_data_len
 	jam 0x1f,mem_le_scan_data_len
 	branch check_51cmd_adv
