Index: format/app_mouse.format
===================================================================
--- /branch/mouse/format/app_mouse.format	(revision 237)
+++ /branch/mouse/format/app_mouse.format	(working copy)
@@ -176,14 +176,6 @@
 1 mem_empty_count
 13 mem_rf_init_data_new
 
-2 mem_mouse_x_sum
-2 mem_mouse_y_sum
-2 mem_mouse_x_pre
-2 mem_mouse_y_pre
-2 mem_mouse_x_data
-2 mem_mouse_y_data
-1 mem_mouse_asm_flag
-
 1 mem_mouse_clear_sensor_data_flag
 1 mem_mouse_null_enter_hibernate_flag
 1 mem_mouse_null_enter_hibernate_timer
Index: output/eeprom.dat
===================================================================
--- /branch/mouse/output/eeprom.dat	(revision 237)
+++ /branch/mouse/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-52
+66
 18
 c2
 84
@@ -11,11 +11,11 @@
 c0
 42
 85
-1f
+24
 c0
 44
 84
-d2
+d7
 c0
 00
 80
@@ -83,19 +83,19 @@
 c0
 33
 82
-c2
+c7
 c0
 35
 02
-eb
+f0
 c0
 3b
 82
-f6
+fb
 c0
 46
 03
-0e
+13
 c0
 7b
 00
@@ -107,7 +107,7 @@
 c0
 7d
 03
-1a
+1f
 20
 20
 2a
@@ -115,11 +115,11 @@
 68
 08
 c9
-c2
+b5
 58
 00
 49
-c9
+bc
 98
 40
 8a
@@ -143,7 +143,7 @@
 60
 08
 c9
-c2
+b5
 20
 60
 00
@@ -207,7 +207,7 @@
 68
 00
 ca
-47
+3a
 c0
 00
 80
@@ -215,7 +215,7 @@
 20
 40
 03
-8d
+92
 24
 34
 00
@@ -223,15 +223,15 @@
 20
 40
 03
-72
+77
 20
 40
 03
-b1
+b6
 68
 00
 c9
-17
+0a
 c1
 ff
 80
@@ -239,11 +239,11 @@
 20
 40
 04
-0e
+13
 68
 00
 ca
-47
+3a
 c1
 00
 80
@@ -287,7 +287,7 @@
 20
 40
 05
-21
+26
 24
 74
 00
@@ -299,7 +299,7 @@
 68
 00
 ca
-48
+3b
 1f
 e0
 fe
@@ -307,7 +307,7 @@
 60
 00
 ca
-48
+3b
 1f
 e6
 7c
@@ -322,24 +322,24 @@
 34
 70
 4a
-47
+3a
 00
 70
 4a
-48
+3b
 00
 70
 49
-42
+35
 00
 68
 00
 c9
-2d
+20
 60
 00
 c9
-2c
+1f
 20
 60
 00
@@ -347,11 +347,11 @@
 68
 00
 c9
-2e
+21
 60
 00
 c9
-2c
+1f
 20
 60
 00
@@ -359,7 +359,7 @@
 68
 00
 c9
-42
+35
 1f
 e0
 fe
@@ -367,7 +367,7 @@
 60
 00
 c9
-42
+35
 c0
 02
 00
@@ -382,11 +382,11 @@
 00
 70
 4a
-47
+3a
 01
 70
 4a
-48
+3b
 00
 20
 60
@@ -395,7 +395,7 @@
 68
 00
 c9
-33
+26
 20
 5a
 00
@@ -427,7 +427,7 @@
 68
 04
 49
-36
+29
 20
 40
 7f
@@ -442,20 +442,20 @@
 2a
 70
 49
-33
+26
 01
 70
 4a
-3c
+2f
 00
 20
 40
 03
-3a
+3f
 60
 00
 c8
-a3
+96
 58
 00
 00
@@ -463,39 +463,39 @@
 60
 03
 c8
-a4
+97
 68
 02
 49
-3e
+31
 60
 02
 48
-ab
+9e
 70
-49
-07
+48
+fa
 0c
 68
 00
-c9
-08
+c8
+fb
 79
 20
 7e
 03
 60
 00
-c9
-08
+c8
+fb
 20
 40
 05
-5d
+62
 20
 40
 03
-91
+96
 20
 20
 00
@@ -503,7 +503,7 @@
 68
 00
 c8
-13
+06
 24
 7a
 00
@@ -519,7 +519,7 @@
 68
 00
 c7
-a9
+9c
 c0
 00
 7f
@@ -527,7 +527,7 @@
 68
 00
 c7
-d1
+c4
 c0
 00
 ff
@@ -619,7 +619,7 @@
 d8
 a0
 48
-15
+08
 20
 40
 00
@@ -631,7 +631,7 @@
 d8
 a0
 48
-30
+23
 20
 40
 00
@@ -643,7 +643,7 @@
 d8
 a0
 48
-4b
+3e
 20
 40
 00
@@ -655,7 +655,7 @@
 d8
 a0
 48
-66
+59
 df
 20
 00
@@ -667,7 +667,7 @@
 d8
 c0
 48
-15
+08
 d8
 a0
 18
@@ -679,7 +679,7 @@
 d8
 c0
 48
-30
+23
 d8
 a0
 19
@@ -691,7 +691,7 @@
 d8
 c0
 48
-4b
+3e
 d8
 a0
 1a
@@ -703,7 +703,7 @@
 d8
 c0
 48
-66
+59
 d8
 a0
 1b
@@ -727,7 +727,7 @@
 20
 40
 05
-fa
+ff
 70
 80
 78
@@ -743,11 +743,11 @@
 60
 00
 c9
-be
+b1
 20
 40
-03
-fd
+04
+02
 68
 00
 c6
@@ -822,7 +822,7 @@
 00
 70
 47
-ac
+9f
 01
 68
 01
@@ -923,7 +923,7 @@
 60
 01
 49
-34
+27
 20
 40
 42
@@ -931,7 +931,7 @@
 20
 20
 04
-3e
+43
 68
 02
 46
@@ -1063,7 +1063,7 @@
 20
 40
 03
-34
+39
 20
 40
 3e
@@ -1259,11 +1259,11 @@
 20
 34
 04
-95
+9a
 20
 20
 04
-72
+77
 df
 20
 00
@@ -1271,7 +1271,7 @@
 d8
 c0
 49
-2f
+22
 20
 40
 7f
@@ -1307,7 +1307,7 @@
 60
 01
 4a
-38
+2b
 58
 00
 01
@@ -1359,7 +1359,7 @@
 58
 00
 03
-08
+0d
 60
 01
 41
@@ -1423,7 +1423,7 @@
 68
 00
 c7
-a9
+9c
 20
 5a
 01
@@ -1462,15 +1462,15 @@
 6d
 20
 20
-05
-ff
+06
+04
 70
 48
-13
+06
 01
 70
 48
-14
+07
 02
 20
 60
@@ -1482,7 +1482,7 @@
 14
 70
 47
-a9
+9c
 01
 20
 20
@@ -1571,23 +1571,23 @@
 20
 40
 05
-fa
+ff
 20
 20
 41
 c3
 70
 47
-d1
+c4
 00
 70
 47
-a9
+9c
 00
 20
 40
 05
-fa
+ff
 20
 40
 58
@@ -1607,7 +1607,7 @@
 68
 00
 c7
-ac
+9f
 c0
 00
 81
@@ -1675,7 +1675,7 @@
 68
 00
 c9
-be
+b1
 60
 00
 c1
@@ -1699,7 +1699,7 @@
 da
 20
 49
-2f
+22
 da
 40
 00
@@ -1715,7 +1715,7 @@
 da
 40
 49
-2f
+22
 ea
 42
 00
@@ -1730,12 +1730,12 @@
 35
 70
 4a
-47
+3a
 00
 68
 00
 c9
-be
+b1
 60
 00
 c1
@@ -1743,7 +1743,7 @@
 20
 40
 04
-bc
+c1
 20
 40
 01
@@ -1774,11 +1774,11 @@
 c8
 70
 47
-aa
+9d
 01
 70
 47
-ab
+9e
 28
 20
 60
@@ -1871,7 +1871,7 @@
 da
 60
 48
-14
+07
 da
 40
 01
@@ -1882,7 +1882,7 @@
 6d
 70
 48
-13
+06
 00
 20
 60
@@ -1922,7 +1922,7 @@
 a9
 70
 47
-ab
+9e
 28
 20
 40
@@ -1963,7 +1963,7 @@
 68
 00
 c7
-aa
+9d
 20
 7a
 00
@@ -1971,7 +1971,7 @@
 68
 00
 c7
-ab
+9e
 20
 3a
 01
@@ -1983,14 +1983,14 @@
 60
 00
 c7
-ab
+9e
 20
 60
 00
 00
 70
 47
-aa
+9d
 00
 20
 20
@@ -2310,11 +2310,11 @@
 00
 70
 47
-aa
+9d
 00
 70
 47
-ab
+9e
 00
 c5
 13
@@ -2327,7 +2327,7 @@
 20
 40
 04
-bc
+c1
 20
 20
 42
@@ -2347,7 +2347,7 @@
 60
 01
 47
-cf
+c2
 20
 20
 02
@@ -2359,14 +2359,14 @@
 60
 01
 47
-cf
+c2
 20
 20
 02
 4a
 70
 47
-a9
+9c
 00
 68
 01
@@ -2391,7 +2391,7 @@
 68
 09
 47
-cf
+c2
 18
 40
 84
@@ -2399,7 +2399,7 @@
 60
 09
 47
-cf
+c2
 60
 09
 44
@@ -2479,7 +2479,7 @@
 da
 20
 47
-cf
+c2
 da
 40
 00
@@ -2495,7 +2495,7 @@
 da
 20
 47
-cf
+c2
 da
 40
 00
@@ -2506,7 +2506,7 @@
 df
 70
 47
-ac
+9f
 00
 20
 40
@@ -2563,7 +2563,7 @@
 20
 40
 04
-0e
+13
 20
 20
 53
@@ -2619,14 +2619,14 @@
 68
 00
 c7
-d2
+c5
 60
 00
 c1
 72
 70
 47
-d1
+c4
 00
 20
 60
@@ -2634,7 +2634,7 @@
 00
 70
 47
-d1
+c4
 01
 20
 60
@@ -2659,7 +2659,7 @@
 68
 08
 c7
-d2
+c5
 98
 46
 7c
@@ -2691,7 +2691,7 @@
 20
 40
 04
-00
+05
 68
 00
 c7
@@ -2755,7 +2755,7 @@
 20
 5a
 06
-07
+0c
 20
 20
 56
@@ -2767,7 +2767,27 @@
 20
 20
 02
-ba
+bf
+68
+00
+c6
+c5
+1f
+e1
+7e
+03
+c1
+81
+80
+00
+68
+00
+c7
+c1
+20
+7a
+00
+00
 68
 00
 c3
@@ -2799,11 +2819,11 @@
 20
 20
 04
-04
+09
 68
 00
 c7
-ac
+9f
 20
 7a
 00
@@ -2835,11 +2855,11 @@
 c0
 02
 02
-c6
+cb
 c0
 03
 02
-e3
+e8
 20
 20
 56
@@ -2851,7 +2871,7 @@
 20
 40
 02
-bb
+c0
 20
 40
 7e
@@ -2867,7 +2887,7 @@
 c0
 08
 02
-d5
+da
 1f
 ec
 84
@@ -2883,7 +2903,7 @@
 d8
 40
 47
-d3
+c6
 60
 09
 44
@@ -2967,7 +2987,7 @@
 c0
 02
 82
-e6
+eb
 20
 20
 5a
@@ -3003,7 +3023,7 @@
 20
 40
 02
-f1
+f6
 d8
 e0
 00
@@ -3043,11 +3063,11 @@
 20
 37
 02
-f9
+fe
 24
 36
 83
-00
+05
 20
 40
 2b
@@ -3111,7 +3131,7 @@
 68
 00
 c7
-ac
+9f
 24
 7a
 00
@@ -3199,7 +3219,7 @@
 c0
 0f
 83
-20
+25
 20
 20
 7d
@@ -3219,7 +3239,7 @@
 20
 20
 03
-24
+29
 68
 02
 46
@@ -3243,7 +3263,7 @@
 20
 40
 03
-2e
+33
 68
 02
 46
@@ -3295,67 +3315,67 @@
 60
 02
 49
-3e
+31
 20
 60
 00
 00
 70
 4a
-3d
+30
 01
 70
 4a
-3f
+32
 00
 68
 00
-c9
-08
+c8
+fb
 1f
 e1
 7e
 07
 60
 00
-c9
-08
+c8
+fb
 20
 60
 00
 00
 68
 00
-c9
-08
+c8
+fb
 79
 20
 7e
 04
 60
 00
-c9
-08
+c8
+fb
 60
 00
 c8
-c3
+b6
 20
 60
 00
 00
 68
 00
-c9
-08
+c8
+fb
 79
 3f
 fe
 04
 60
 00
-c9
-08
+c8
+fb
 20
 60
 00
@@ -3363,51 +3383,51 @@
 20
 40
 04
-04
+09
 68
 00
 ca
-3e
+31
 c0
 00
 83
-4c
+51
 c0
 01
 03
-50
+55
 20
 60
 00
 00
 70
 4a
-3f
+32
 02
 70
 4a
-3b
+2e
 00
 70
 4a
-3d
+30
 00
 20
 20
 03
-3a
+3f
 70
 4a
-3c
+2f
 00
 20
 20
 03
-4d
+52
 68
 01
 49
-0d
+00
 1f
 e0
 fe
@@ -3415,35 +3435,35 @@
 60
 01
 49
-0d
+00
 c2
 85
 03
-f2
+f7
 68
 00
 ca
-3c
+2f
 c0
 00
 83
-5b
+60
 70
 4a
-3c
+2f
 01
 68
 00
 ca
-3c
+2f
 c0
 80
 83
-3a
+3f
 68
 00
 ca
-3a
+2d
 1f
 e0
 fe
@@ -3451,63 +3471,63 @@
 60
 00
 ca
-3a
+2d
 c0
 02
 03
-62
+67
 20
 40
 05
-6f
+74
 70
 49
-4c
+3f
 02
 20
 20
 03
-b1
+b6
 20
 40
 04
-04
+09
 70
 4a
-3a
+2d
 00
 20
 20
 03
-3a
+3f
 70
 4a
-3f
+32
 02
 70
 4a
-3d
+30
 01
 70
 4a
-3c
+2f
 00
 20
 20
 03
-3a
+3f
 68
 00
 ca
-3e
+31
 c0
 01
 83
-66
+6b
 68
 00
-c9
-08
+c8
+fb
 2f
 ec
 00
@@ -3515,19 +3535,19 @@
 20
 20
 83
-38
+3d
 68
 00
 ca
-3e
+31
 c0
 00
 83
-65
+6a
 c0
 01
 03
-66
+6b
 20
 60
 00
@@ -3535,7 +3555,7 @@
 68
 00
 c9
-17
+0a
 c1
 ff
 80
@@ -3543,11 +3563,11 @@
 20
 40
 03
-77
+7c
 24
 56
 03
-7f
+84
 20
 60
 00
@@ -3559,7 +3579,7 @@
 68
 00
 ca
-3d
+30
 c1
 80
 80
@@ -3567,18 +3587,18 @@
 68
 00
 ca
-3f
+32
 c1
 80
 00
 00
 70
 4a
-3e
+31
 01
 70
 49
-4c
+3f
 04
 20
 20
@@ -3587,11 +3607,11 @@
 68
 00
 ca
-3f
+32
 20
 3a
 03
-87
+8c
 1f
 e0
 ff
@@ -3599,18 +3619,18 @@
 60
 00
 ca
-3f
+32
 70
 4a
-3e
+31
 02
 20
 40
 05
-6f
+74
 70
 49
-4c
+3f
 04
 20
 60
@@ -3618,23 +3638,23 @@
 00
 70
 4a
-3e
+31
 03
 68
 00
 ca
-3c
+2f
 24
 3a
 03
-59
+5e
 20
 40
 05
-6f
+74
 70
 49
-4c
+3f
 02
 20
 60
@@ -3643,22 +3663,22 @@
 68
 00
 c9
-17
+0a
 c0
 ff
 84
-47
+4c
 20
 40
 03
-93
+98
 20
 40
 05
-5d
+62
 70
-49
-0c
+48
+ff
 01
 20
 60
@@ -3667,7 +3687,7 @@
 68
 01
 4a
-38
+2b
 20
 40
 7f
@@ -3675,11 +3695,11 @@
 20
 34
 03
-99
+9e
 68
 03
 c8
-a4
+97
 20
 7a
 00
@@ -3690,7 +3710,7 @@
 e7
 70
 49
-33
+26
 00
 1a
 20
@@ -3698,16 +3718,16 @@
 01
 60
 00
-c9
-07
+c8
+fa
 20
 40
 03
-3a
+3f
 60
 00
 c8
-a3
+96
 e8
 a8
 80
@@ -3747,11 +3767,11 @@
 c2
 00
 03
-a4
+a9
 d8
 a0
 48
-a9
+9c
 df
 20
 00
@@ -3779,14 +3799,14 @@
 c2
 00
 03
-aa
+af
 20
 60
 00
 00
 70
 49
-10
+03
 00
 d9
 60
@@ -3799,11 +3819,11 @@
 20
 40
 03
-cb
+d0
 68
 00
 c9
-43
+36
 c1
 00
 80
@@ -3811,11 +3831,11 @@
 24
 2c
 03
-da
+df
 24
 37
 83
-da
+df
 58
 00
 00
@@ -3823,39 +3843,39 @@
 60
 04
 48
-a3
+96
 20
 40
 03
-f6
+fb
 20
 40
 04
-00
+05
 68
 00
-c9
-06
+c8
+f9
 1f
 e0
 fe
 01
 60
 00
-c9
-06
+c8
+f9
 68
 00
 c9
-17
+0a
 c0
 ff
 83
-c9
+ce
 20
 40
 03
-69
+6e
 58
 00
 00
@@ -3863,18 +3883,18 @@
 60
 01
 49
-0d
+00
 60
 00
 c9
-0f
+02
 60
 00
 ca
-3b
+2e
 70
-49
-0c
+48
+ff
 00
 20
 60
@@ -3882,12 +3902,12 @@
 00
 20
 40
-03
-fd
+04
+02
 20
 20
 04
-62
+67
 78
 57
 fc
@@ -3895,15 +3915,15 @@
 20
 40
 05
-d9
+de
 68
 00
 c9
-43
+36
 c0
 00
 83
-d8
+dd
 18
 00
 2a
@@ -3911,7 +3931,7 @@
 68
 02
 49
-2f
+22
 98
 00
 12
@@ -3931,11 +3951,11 @@
 20
 40
 05
-92
+97
 20
 57
 85
-d1
+d6
 20
 60
 00
@@ -3943,15 +3963,15 @@
 20
 40
 05
-d1
+d6
 20
 20
 03
-bd
+c2
 68
 00
 c9
-0f
+02
 1f
 e0
 fe
@@ -3959,19 +3979,19 @@
 60
 00
 c9
-0f
+02
 68
 00
 c9
-17
+0a
 c0
 ff
 83
-ee
+f3
 68
 08
 c9
-10
+03
 18
 40
 84
@@ -3979,11 +3999,11 @@
 60
 08
 c9
-10
+03
 68
 00
 c9
-4c
+3f
 98
 46
 7e
@@ -3991,19 +4011,19 @@
 24
 3a
 03
-b2
+b7
 68
 00
 ca
-3e
+31
 c0
 01
 83
-52
+57
 68
 00
 ca
-3b
+2e
 1f
 e0
 fe
@@ -4011,39 +4031,39 @@
 60
 00
 ca
-3b
+2e
 c0
 01
 03
-47
+4c
 20
 40
 03
-3e
+43
 70
 49
-4c
+3f
 01
 20
 20
 03
-b1
+b6
 68
 00
 c9
-0f
+02
 c1
 ff
 80
 00
 70
 49
-0f
+02
 00
 20
 20
 03
-f4
+f9
 58
 00
 00
@@ -4051,7 +4071,7 @@
 60
 01
 49
-0d
+00
 70
 0a
 99
@@ -4063,11 +4083,11 @@
 20
 40
 04
-c5
+ca
 68
 00
-c9
-05
+c8
+f8
 20
 7a
 00
@@ -4079,22 +4099,22 @@
 d8
 c0
 48
-83
+76
 d8
 a0
 48
-e5
+d8
 20
 20
 7f
 01
 70
 4a
-43
+36
 01
 70
 4a
-40
+33
 00
 20
 60
@@ -4103,7 +4123,7 @@
 68
 00
 ca
-40
+33
 1f
 e0
 fe
@@ -4111,7 +4131,7 @@
 60
 00
 ca
-40
+33
 20
 60
 00
@@ -4119,7 +4139,7 @@
 68
 00
 ca
-40
+33
 1f
 e6
 7c
@@ -4127,11 +4147,11 @@
 24
 41
 04
-0c
+11
 68
 00
 ca
-40
+33
 c1
 00
 00
@@ -4143,14 +4163,14 @@
 60
 00
 ca
-40
+33
 20
 60
 00
 00
 70
 4a
-40
+33
 03
 20
 60
@@ -4159,15 +4179,15 @@
 da
 20
 49
-c9
+bc
 20
 40
 05
-3e
+43
 60
 08
 ca
-41
+34
 28
 0f
 fe
@@ -4175,11 +4195,11 @@
 20
 40
 84
-1c
+21
 24
 40
 84
-20
+25
 98
 46
 7c
@@ -4187,11 +4207,11 @@
 24
 21
 04
-34
+39
 68
 00
 ca
-40
+33
 1f
 e6
 7c
@@ -4199,15 +4219,15 @@
 24
 21
 04
-24
+29
 68
 00
 ca
-40
+33
 c0
 00
 04
-35
+3a
 20
 60
 00
@@ -4247,19 +4267,19 @@
 68
 00
 ca
-40
+33
 c1
 90
 00
 00
 70
 4a
-40
+33
 00
 68
 08
 ca
-41
+34
 28
 0f
 fe
@@ -4267,11 +4287,11 @@
 20
 40
 84
-1e
+23
 24
 40
 84
-22
+27
 98
 46
 7c
@@ -4283,11 +4303,11 @@
 68
 00
 ca
-43
+36
 c0
 00
 04
-3c
+41
 1f
 e0
 ff
@@ -4295,11 +4315,11 @@
 60
 00
 ca
-43
+36
 c0
 00
 04
-3c
+41
 70
 41
 de
@@ -4310,16 +4330,16 @@
 00
 70
 4a
-40
+33
 00
 68
 00
 ca
-43
+36
 c0
 01
 04
-3a
+3f
 1f
 e0
 fe
@@ -4327,11 +4347,11 @@
 60
 00
 ca
-43
+36
 c0
 00
 84
-32
+37
 70
 41
 de
@@ -4355,10 +4375,10 @@
 20
 40
 04
-42
+47
 70
 49
-17
+0a
 01
 20
 60
@@ -4369,25 +4389,25 @@
 de
 20
 70
-49
-06
+48
+f9
 00
 70
 49
-11
+04
 4e
 68
 02
 49
-13
+06
 20
 20
 05
-4f
+54
 68
 00
-c9
-0c
+c8
+ff
 c0
 00
 ff
@@ -4395,26 +4415,26 @@
 68
 00
 c9
-17
+0a
 c0
 00
 84
-4e
+53
 c0
 01
 04
-51
+56
 c0
 01
 84
-54
+59
 20
 20
 2a
 8c
 70
 49
-17
+0a
 11
 70
 11
@@ -4423,10 +4443,10 @@
 20
 20
 04
-56
+5b
 70
 49
-17
+0a
 12
 70
 11
@@ -4435,10 +4455,10 @@
 20
 20
 04
-56
+5b
 70
 49
-17
+0a
 13
 70
 11
@@ -4446,8 +4466,8 @@
 22
 68
 00
-c9
-08
+c8
+fb
 1f
 e1
 7e
@@ -4459,7 +4479,7 @@
 68
 02
 49
-3e
+31
 60
 02
 11
@@ -4479,15 +4499,15 @@
 20
 40
 04
-c0
+c5
 20
 40
 05
-5d
+62
 20
 40
 03
-91
+96
 20
 20
 7f
@@ -4495,7 +4515,7 @@
 68
 00
 c9
-17
+0a
 c1
 7f
 80
@@ -4503,38 +4523,38 @@
 c0
 08
 84
-68
+6d
 c0
 09
 04
-6a
+6f
 c0
 09
 84
-6c
+71
 20
 60
 00
 00
 70
 49
-17
+0a
 02
 20
 20
 03
-c3
+c8
 70
 49
-17
+0a
 03
 20
 20
 03
-c3
+c8
 70
 49
-17
+0a
 ff
 70
 0a
@@ -4547,15 +4567,15 @@
 68
 02
 48
-e7
+da
 20
 40
 05
-4f
+54
 20
 20
 03
-c3
+c8
 79
 3f
 80
@@ -4563,15 +4583,15 @@
 20
 40
 05
-50
+55
 20
 40
 05
-6f
+74
 68
 00
 c9
-17
+0a
 c1
 ff
 80
@@ -4579,7 +4599,7 @@
 20
 40
 04
-87
+8c
 58
 00
 00
@@ -4587,7 +4607,7 @@
 60
 01
 49
-34
+27
 20
 40
 2a
@@ -4599,23 +4619,23 @@
 68
 00
 c9
-34
+27
 c0
 7f
 83
-f4
+f9
 20
 40
 03
-cb
+d0
 24
 2c
 04
-90
+95
 24
 37
 84
-90
+95
 79
 20
 00
@@ -4627,7 +4647,7 @@
 60
 01
 49
-34
+27
 70
 0a
 99
@@ -4646,8 +4666,8 @@
 ff
 68
 00
-c9
-08
+c8
+fb
 60
 00
 91
@@ -4655,7 +4675,7 @@
 68
 02
 49
-3e
+31
 60
 02
 11
@@ -4671,15 +4691,15 @@
 20
 40
 04
-c0
+c5
 20
 20
 05
-5d
+62
 68
 01
 49
-34
+27
 1f
 e0
 fe
@@ -4687,15 +4707,15 @@
 60
 01
 49
-34
+27
 20
 40
 05
-6f
+74
 20
 20
 04
-7a
+7f
 79
 3f
 80
@@ -4703,14 +4723,14 @@
 20
 40
 04
-b2
+b7
 20
 40
 04
-87
+8c
 70
 49
-34
+27
 00
 20
 40
@@ -4723,31 +4743,31 @@
 68
 00
 c9
-34
+27
 c0
 7f
 83
-f4
+f9
 20
 40
 03
-cb
+d0
 24
 2c
 04
-a8
+ad
 24
 37
 84
-a8
+ad
 20
 40
 03
-f6
+fb
 68
 00
 c9
-be
+b1
 60
 00
 c1
@@ -4755,11 +4775,11 @@
 68
 02
 49
-2f
+22
 68
 0a
 49
-13
+06
 98
 46
 7c
@@ -4767,15 +4787,15 @@
 20
 22
 84
-3e
+43
 20
 20
 04
-81
+86
 68
 00
 c9
-34
+27
 1f
 e0
 fe
@@ -4783,11 +4803,11 @@
 60
 00
 c9
-34
+27
 68
 00
 ca
-45
+38
 1f
 e0
 fe
@@ -4799,15 +4819,15 @@
 60
 00
 ca
-45
+38
 c0
 00
 04
-b8
+bd
 c0
 00
 84
-ba
+bf
 20
 60
 00
@@ -4823,7 +4843,7 @@
 60
 01
 49
-2f
+22
 e0
 a1
 00
@@ -4831,27 +4851,27 @@
 20
 40
 05
-50
+55
 20
 20
 05
-6f
+74
 20
 40
 04
-b2
+b7
 20
 20
 04
-99
+9e
 20
 40
 04
-42
+47
 20
 20
 04
-99
+9e
 79
 3f
 80
@@ -4870,8 +4890,8 @@
 d2
 60
 08
-c9
-07
+c8
+fa
 18
 42
 72
@@ -4879,7 +4899,7 @@
 d8
 a0
 48
-a3
+96
 1a
 22
 0c
@@ -4891,15 +4911,15 @@
 68
 00
 c8
-82
+75
 1f
 e9
 7e
 00
 60
 00
-c9
-05
+c8
+f8
 1f
 e0
 fe
@@ -4907,7 +4927,7 @@
 d8
 c0
 48
-82
+75
 98
 c0
 8c
@@ -4919,11 +4939,11 @@
 60
 01
 c9
-44
+37
 68
 00
 c8
-82
+75
 1f
 e3
 7e
@@ -4935,7 +4955,7 @@
 60
 00
 c9
-4a
+3d
 20
 60
 00
@@ -5007,35 +5027,35 @@
 c0
 00
 04
-e9
+ee
 c0
 00
 84
-f1
+f6
 c0
 01
 04
-f9
+fe
 c0
 01
 85
-01
+06
 c0
 02
 05
-09
+0e
 c0
 10
 05
-1b
+20
 20
 20
 04
-e9
+ee
 20
 40
 05
-11
+16
 70
 89
 4b
@@ -5067,7 +5087,7 @@
 20
 40
 05
-16
+1b
 70
 89
 4b
@@ -5099,7 +5119,7 @@
 20
 40
 05
-16
+1b
 70
 89
 4b
@@ -5131,7 +5151,7 @@
 20
 40
 05
-11
+16
 70
 89
 4b
@@ -5163,7 +5183,7 @@
 20
 40
 05
-11
+16
 70
 89
 4b
@@ -5263,7 +5283,7 @@
 68
 0a
 49
-28
+1b
 1c
 42
 7e
@@ -5283,11 +5303,11 @@
 68
 02
 49
-28
+1b
 68
 08
 c9
-2c
+1f
 98
 40
 84
@@ -5311,7 +5331,7 @@
 60
 02
 49
-28
+1b
 20
 20
 7f
@@ -5327,7 +5347,7 @@
 68
 08
 c9
-c1
+b4
 da
 20
 0d
@@ -5335,11 +5355,11 @@
 20
 40
 05
-37
+3c
 60
 08
 c9
-c1
+b4
 20
 60
 00
@@ -5395,7 +5415,7 @@
 c2
 00
 05
-41
+46
 18
 49
 7e
@@ -5443,7 +5463,7 @@
 60
 02
 49
-2f
+22
 da
 20
 00
@@ -5455,7 +5475,7 @@
 d8
 c0
 49
-2f
+22
 e8
 c0
 80
@@ -5467,7 +5487,7 @@
 c2
 00
 05
-53
+58
 1a
 22
 7e
@@ -5475,15 +5495,15 @@
 60
 01
 49
-b8
+ab
 68
 00
 c9
-b8
+ab
 68
 08
 c9
-b9
+ac
 98
 40
 fe
@@ -5491,43 +5511,43 @@
 60
 00
 c9
-ba
+ad
 20
 60
 00
 00
 68
 00
-c9
-07
+c8
+fa
 1f
 e0
 fe
 02
 60
 00
-c9
-09
+c8
+fc
 68
 00
-c9
-08
+c8
+fb
 60
 00
 c8
-c3
+b6
 68
 00
-c9
-07
+c8
+fa
 1f
 e9
 fe
 00
 68
 08
-c9
-06
+c8
+f9
 18
 41
 04
@@ -5543,7 +5563,7 @@
 68
 08
 c9
-43
+36
 98
 40
 fe
@@ -5554,8 +5574,8 @@
 00
 68
 00
-c9
-07
+c8
+fa
 98
 00
 72
@@ -5563,7 +5583,7 @@
 d8
 c0
 48
-a3
+96
 20
 20
 7f
@@ -5571,15 +5591,15 @@
 68
 08
 c9
-12
+05
 20
 40
 05
-73
+78
 60
 08
 c9
-12
+05
 20
 60
 00
@@ -5587,7 +5607,7 @@
 20
 40
 05
-77
+7c
 18
 40
 84
@@ -5603,7 +5623,7 @@
 68
 00
 c9
-2f
+22
 1f
 e1
 7e
@@ -5615,7 +5635,7 @@
 58
 00
 49
-18
+0b
 9a
 20
 fe
@@ -5631,7 +5651,7 @@
 60
 00
 c9
-11
+04
 20
 60
 00
@@ -5655,7 +5675,7 @@
 68
 00
 c9
-11
+04
 1f
 ed
 84
@@ -5679,7 +5699,7 @@
 68
 02
 49
-2f
+22
 98
 00
 12
@@ -5691,7 +5711,7 @@
 68
 08
 c9
-11
+04
 20
 40
 29
@@ -5711,7 +5731,7 @@
 20
 40
 05
-80
+85
 78
 57
 fc
@@ -5734,8 +5754,8 @@
 00
 68
 01
-49
-0a
+48
+fd
 98
 00
 36
@@ -5747,7 +5767,7 @@
 24
 2c
 05
-d5
+da
 78
 46
 fc
@@ -5775,11 +5795,11 @@
 60
 00
 c9
-bb
+ae
 68
 08
 c9
-ba
+ad
 98
 46
 7c
@@ -5787,7 +5807,7 @@
 24
 22
 85
-d1
+d6
 09
 80
 00
@@ -5799,11 +5819,11 @@
 60
 00
 c8
-81
+74
 68
 00
 c9
-4d
+40
 1f
 e6
 7c
@@ -5811,15 +5831,15 @@
 20
 22
 85
-b0
+b5
 68
 00
 c8
-81
+74
 68
 08
-c9
-08
+c8
+fb
 a8
 40
 0e
@@ -5827,7 +5847,7 @@
 24
 20
 85
-d1
+d6
 09
 80
 00
@@ -5851,7 +5871,7 @@
 20
 22
 85
-ba
+bf
 09
 80
 00
@@ -5867,7 +5887,7 @@
 c2
 00
 05
-b6
+bb
 18
 a2
 22
@@ -5883,7 +5903,7 @@
 60
 00
 ca
-42
+35
 1a
 22
 0a
@@ -5919,7 +5939,7 @@
 20
 23
 05
-d1
+d6
 78
 37
 fc
@@ -5947,7 +5967,7 @@
 68
 00
 ca
-42
+35
 1f
 e2
 22
@@ -5979,7 +5999,7 @@
 20
 20
 05
-d1
+d6
 20
 40
 29
@@ -5987,7 +6007,7 @@
 68
 08
 c9
-11
+04
 20
 20
 29
@@ -5999,7 +6019,7 @@
 68
 02
 49
-2f
+22
 98
 00
 12
@@ -6007,11 +6027,11 @@
 20
 40
 05
-80
+85
 20
 40
 05
-d6
+db
 79
 20
 2a
@@ -6063,15 +6083,15 @@
 68
 00
 c9
-ba
+ad
 08
 00
 86
 08
 68
 00
-c9
-09
+c8
+fc
 98
 00
 72
@@ -6079,7 +6099,7 @@
 d8
 c0
 48
-c3
+b6
 e8
 c0
 80
@@ -6091,7 +6111,7 @@
 c2
 00
 05
-ef
+f4
 78
 24
 7c
@@ -6126,16 +6146,16 @@
 00
 70
 47
-ad
+a0
 07
 70
 47
-ae
+a1
 04
 58
 00
 47
-ad
+a0
 60
 01
 42
@@ -6155,7 +6175,7 @@
 20
 54
 06
-03
+08
 20
 60
 00
@@ -6163,7 +6183,7 @@
 68
 00
 c7
-ce
+c1
 1f
 e0
 fe
@@ -6171,7 +6191,7 @@
 60
 00
 c7
-ce
+c1
 20
 60
 00
@@ -6187,7 +6207,7 @@
 20
 34
 06
-0b
+10
 20
 60
 00
@@ -6199,7 +6219,7 @@
 68
 00
 c7
-ce
+c1
 1f
 e6
 7c
@@ -6211,7 +6231,7 @@
 68
 00
 c7
-ce
+c1
 20
 7a
 00
@@ -6223,13 +6243,13 @@
 60
 00
 c7
-ce
+c1
 20
 20
 3f
 90
-fc
-af
+07
+4d
 aa
 55
 08
@@ -6263,7 +6283,7 @@
 55
 01
 00
-44
+37
 4a
 00
 aa
@@ -6390,7 +6410,7 @@
 55
 01
 00
-d2
+c5
 47
 20
 aa
@@ -6956,7 +6976,7 @@
 55
 40
 00
-d3
+c6
 47
 25
 00
@@ -7026,43 +7046,43 @@
 55
 01
 00
-4d
+40
 49
 01
 aa
 55
 01
 00
-08
-49
+fb
+48
 01
 aa
 55
 01
 00
-4c
+3f
 49
 04
 aa
 55
 01
 00
-43
+36
 49
 00
 aa
 55
 02
 00
-0a
-49
+fd
+48
 c0
 12
 aa
 55
 03
 00
-2c
+1f
 49
 19
 19
@@ -7071,7 +7091,7 @@
 55
 10
 00
-18
+0b
 49
 00
 13
@@ -7093,14 +7113,14 @@
 55
 01
 00
-17
+0a
 49
 ff
 aa
 55
 04
 00
-13
+06
 49
 20
 15
@@ -7126,7 +7146,7 @@
 55
 08
 00
-36
+29
 49
 00
 48
@@ -7269,5 +7289,5 @@
 00
 00
 00
-29
-92
+07
+15
Index: output/memmap.format
===================================================================
--- /branch/mouse/output/memmap.format	(revision 237)
+++ /branch/mouse/output/memmap.format	(working copy)
@@ -1730,142 +1730,135 @@
 0x478c mem_le_rx_window_inc
 0x478e mem_empty_count
 0x478f mem_rf_init_data_new
-0x479c mem_mouse_x_sum
-0x479e mem_mouse_y_sum
-0x47a0 mem_mouse_x_pre
-0x47a2 mem_mouse_y_pre
-0x47a4 mem_mouse_x_data
-0x47a6 mem_mouse_y_data
-0x47a8 mem_mouse_asm_flag
-0x47a9 mem_mouse_clear_sensor_data_flag
-0x47aa mem_mouse_null_enter_hibernate_flag
-0x47ab mem_mouse_null_enter_hibernate_timer
-0x47ac mem_mouse_le_reconnect_flag
-0x47ad mem_mouse_data_queue
-0x47ce mem_mouse_data_queue_num
-0x47cf mem_random_addr_increase_count
-0x47d1 mem_mouse_le_conn_param_reject
-0x47d2 mem_lpm_mult_init
-0x47d3 mem_mouse_le_uuid_sup
-0x4813 mem_mouse_wheel_trigger
-0x4814 mem_mouse_wheel_trigger_timer
-0x4815 mem_le_tx_buffer0_omemalloc
-0x4830 mem_le_tx_buffer1_omemalloc
-0x484b mem_le_tx_buffer2_omemalloc
-0x4866 mem_le_tx_buffer3_omemalloc
-0x4881 mem_24g_rxbuf
-0x48a3 mem_24g_txbuf
-0x48c3 mem_24g_txpayload
-0x48e5 mem_24g_rxpayload
-0x4905 mem_24g_rxdata_length
-0x4906 mem_24g_pid
-0x4907 mem_24g_datalen
-0x4908 mem_24g_data_type
-0x4909 mem_24g_txlen
-0x490a mem_24g_rx_window
-0x490c mem_24g_ensure
-0x490d mem_24g_txfail_cnt
-0x490f mem_24g_get_ack_fail
-0x4910 mem_24g_retry
-0x4911 mem_24g_ch
-0x4912 mem_24g_current_ch_number
-0x4913 mem_24g_paring_addr
-0x4917 mem_24g_pairing_sm
-0x4918 mem_24g_ch_map1
-0x491c mem_24g_ch_map2
-0x4920 mem_24g_ch_map3
-0x4924 mem_24g_ch_map4
-0x4928 mem_24g_tx_btclk
-0x492c mem_24g_interval
-0x492d mem_24g_interval_min
-0x492e mem_24g_interval_max
-0x492f mem_24g_addr
-0x4933 mem_24g_abort_pac
-0x4934 mem_24g_check_dongle_times
-0x4936 mem_24g_enter_hibernate
-0x493e mem_24g_device_addr
-0x4942 mem_24g_pac_index
-0x4943 mem_24g_no_ack
-0x4944 mem_24g_sta_crc
-0x4947 mem_24g_last_crc
-0x494a mem_24g_sta_pid
-0x494b mem_24g_last_pid
-0x494c mem_24g_max_retry
-0x494d mem_24g_mode
-0x494e mem_24g_rxdata_temp
-0x4970 mem_24g_rx_addr
-0x4974 mem_dongle_mode_init
-0x4975 mem_dongle_work_mode
-0x4976 mem_dongle_ms_bind_step
-0x4977 mem_dongle_kb_bind_step
-0x4978 mem_dongle_bind_device_status
-0x4979 mem_24g_bind_payload
-0x4981 mem_24g_abort_packet
-0x4982 mem_24g_rf_laststa
-0x4983 mem_24g_hop_btclk
-0x4987 mem_24g_hop_interval
-0x4988 mem_24g_mode_switch
-0x4989 mem_24g_ackpayload_enable
-0x498a mem_24g_hop_packet
-0x498b mem_24g_pair_mode
-0x498c mem_24g_nodata_timer_enable
-0x498d mem_24g_time_slice
-0x498e mem_24g_kb_data_sta_data
-0x4996 mem_24g_kb_data_last_data
-0x499e mem_24g_kb_multikey_sta_data
-0x49a1 mem_24g_kb_multikey_last_data
-0x49a4 mem_24g_kb_blank_data_enable
-0x49a5 mem_24g_kb_mul_blank_data_enable
-0x49a6 mem_24g_ms_blank_data_enable
-0x49a7 mem_24g_kb_addr
-0x49ab mem_24g_ms_addr
-0x49af mem_24g_dg_last_ch
-0x49b0 mem_24g_dg_ch_number
-0x49b1 mem_24g_dg_config_ch_once
-0x49b2 mem_24g_kb_last_ch
-0x49b3 mem_24g_kb_ch_number
-0x49b4 mem_24g_kb_config_ch_once
-0x49b5 mem_24g_ms_last_ch
-0x49b6 mem_24g_ms_ch_number
-0x49b7 mem_24g_ms_config_ch_once
-0x49b8 mem_24g_syncword
-0x49ba mem_24g_syncword_crc8
-0x49bb mem_24g_get_syncword_crc8
-0x49bc mem_24g_ota_sta_pid
-0x49be mem_tx_power_temp
-0x49bf mem_rssi_hex
-0x49c0 mem_rssi_noise_avg
-0x49c1 mem_rssi_noise_index
-0x49c2 mem_rssi_signal_index
-0x49c3 mem_rssi_noise_dg_avg
-0x49c4 mem_rssi_noise_kb_avg
-0x49c5 mem_rssi_noise_ms_avg
-0x49c6 mem_rssi_noise_dg_index
-0x49c7 mem_rssi_noise_kb_index
-0x49c8 mem_rssi_noise_ms_index
-0x49c9 mem_rssi_signal_buf
-0x49d1 mem_queue_ele_num
-0x49d2 mem_queue_read
-0x49d4 mem_queue_write
-0x49d6 mem_queue_start
-0x49d6 mem_data_ele0
-0x49f6 mem_data_ele1
-0x4a16 mem_data_ele2
-0x4a36 mem_queue_end
-0x4a36 mem_queue_temp
-0x4a38 mem_cb_24g_data
-0x4a3a mem_24g_hop_fastly_cnt
-0x4a3b mem_24g_hop_pac_retry
-0x4a3c mem_24g_rf_hop_ch
-0x4a3d mem_24g_rf_last_sta
-0x4a3e mem_24g_rf_work_stage
-0x4a3f mem_24g_sync_cnt
-0x4a40 mem_power_ctrl_pac_succ_cnt
-0x4a41 mem_rssi_avg_received
-0x4a42 mem_rssi_hex_received
-0x4a43 mem_power_ctrl_level
-0x4a44 mem_seqi
-0x4a45 mem_24g_auto_paring_switch
-0x4a46 mem_24g_paccnt
-0x4a47 mem_24g_transmit_by_interrupt
-0x4a48 mem_24g_transmit_by_interrupt_exit_count
+0x479c mem_mouse_clear_sensor_data_flag
+0x479d mem_mouse_null_enter_hibernate_flag
+0x479e mem_mouse_null_enter_hibernate_timer
+0x479f mem_mouse_le_reconnect_flag
+0x47a0 mem_mouse_data_queue
+0x47c1 mem_mouse_data_queue_num
+0x47c2 mem_random_addr_increase_count
+0x47c4 mem_mouse_le_conn_param_reject
+0x47c5 mem_lpm_mult_init
+0x47c6 mem_mouse_le_uuid_sup
+0x4806 mem_mouse_wheel_trigger
+0x4807 mem_mouse_wheel_trigger_timer
+0x4808 mem_le_tx_buffer0_omemalloc
+0x4823 mem_le_tx_buffer1_omemalloc
+0x483e mem_le_tx_buffer2_omemalloc
+0x4859 mem_le_tx_buffer3_omemalloc
+0x4874 mem_24g_rxbuf
+0x4896 mem_24g_txbuf
+0x48b6 mem_24g_txpayload
+0x48d8 mem_24g_rxpayload
+0x48f8 mem_24g_rxdata_length
+0x48f9 mem_24g_pid
+0x48fa mem_24g_datalen
+0x48fb mem_24g_data_type
+0x48fc mem_24g_txlen
+0x48fd mem_24g_rx_window
+0x48ff mem_24g_ensure
+0x4900 mem_24g_txfail_cnt
+0x4902 mem_24g_get_ack_fail
+0x4903 mem_24g_retry
+0x4904 mem_24g_ch
+0x4905 mem_24g_current_ch_number
+0x4906 mem_24g_paring_addr
+0x490a mem_24g_pairing_sm
+0x490b mem_24g_ch_map1
+0x490f mem_24g_ch_map2
+0x4913 mem_24g_ch_map3
+0x4917 mem_24g_ch_map4
+0x491b mem_24g_tx_btclk
+0x491f mem_24g_interval
+0x4920 mem_24g_interval_min
+0x4921 mem_24g_interval_max
+0x4922 mem_24g_addr
+0x4926 mem_24g_abort_pac
+0x4927 mem_24g_check_dongle_times
+0x4929 mem_24g_enter_hibernate
+0x4931 mem_24g_device_addr
+0x4935 mem_24g_pac_index
+0x4936 mem_24g_no_ack
+0x4937 mem_24g_sta_crc
+0x493a mem_24g_last_crc
+0x493d mem_24g_sta_pid
+0x493e mem_24g_last_pid
+0x493f mem_24g_max_retry
+0x4940 mem_24g_mode
+0x4941 mem_24g_rxdata_temp
+0x4963 mem_24g_rx_addr
+0x4967 mem_dongle_mode_init
+0x4968 mem_dongle_work_mode
+0x4969 mem_dongle_ms_bind_step
+0x496a mem_dongle_kb_bind_step
+0x496b mem_dongle_bind_device_status
+0x496c mem_24g_bind_payload
+0x4974 mem_24g_abort_packet
+0x4975 mem_24g_rf_laststa
+0x4976 mem_24g_hop_btclk
+0x497a mem_24g_hop_interval
+0x497b mem_24g_mode_switch
+0x497c mem_24g_ackpayload_enable
+0x497d mem_24g_hop_packet
+0x497e mem_24g_pair_mode
+0x497f mem_24g_nodata_timer_enable
+0x4980 mem_24g_time_slice
+0x4981 mem_24g_kb_data_sta_data
+0x4989 mem_24g_kb_data_last_data
+0x4991 mem_24g_kb_multikey_sta_data
+0x4994 mem_24g_kb_multikey_last_data
+0x4997 mem_24g_kb_blank_data_enable
+0x4998 mem_24g_kb_mul_blank_data_enable
+0x4999 mem_24g_ms_blank_data_enable
+0x499a mem_24g_kb_addr
+0x499e mem_24g_ms_addr
+0x49a2 mem_24g_dg_last_ch
+0x49a3 mem_24g_dg_ch_number
+0x49a4 mem_24g_dg_config_ch_once
+0x49a5 mem_24g_kb_last_ch
+0x49a6 mem_24g_kb_ch_number
+0x49a7 mem_24g_kb_config_ch_once
+0x49a8 mem_24g_ms_last_ch
+0x49a9 mem_24g_ms_ch_number
+0x49aa mem_24g_ms_config_ch_once
+0x49ab mem_24g_syncword
+0x49ad mem_24g_syncword_crc8
+0x49ae mem_24g_get_syncword_crc8
+0x49af mem_24g_ota_sta_pid
+0x49b1 mem_tx_power_temp
+0x49b2 mem_rssi_hex
+0x49b3 mem_rssi_noise_avg
+0x49b4 mem_rssi_noise_index
+0x49b5 mem_rssi_signal_index
+0x49b6 mem_rssi_noise_dg_avg
+0x49b7 mem_rssi_noise_kb_avg
+0x49b8 mem_rssi_noise_ms_avg
+0x49b9 mem_rssi_noise_dg_index
+0x49ba mem_rssi_noise_kb_index
+0x49bb mem_rssi_noise_ms_index
+0x49bc mem_rssi_signal_buf
+0x49c4 mem_queue_ele_num
+0x49c5 mem_queue_read
+0x49c7 mem_queue_write
+0x49c9 mem_queue_start
+0x49c9 mem_data_ele0
+0x49e9 mem_data_ele1
+0x4a09 mem_data_ele2
+0x4a29 mem_queue_end
+0x4a29 mem_queue_temp
+0x4a2b mem_cb_24g_data
+0x4a2d mem_24g_hop_fastly_cnt
+0x4a2e mem_24g_hop_pac_retry
+0x4a2f mem_24g_rf_hop_ch
+0x4a30 mem_24g_rf_last_sta
+0x4a31 mem_24g_rf_work_stage
+0x4a32 mem_24g_sync_cnt
+0x4a33 mem_power_ctrl_pac_succ_cnt
+0x4a34 mem_rssi_avg_received
+0x4a35 mem_rssi_hex_received
+0x4a36 mem_power_ctrl_level
+0x4a37 mem_seqi
+0x4a38 mem_24g_auto_paring_switch
+0x4a39 mem_24g_paccnt
+0x4a3a mem_24g_transmit_by_interrupt
+0x4a3b mem_24g_transmit_by_interrupt_exit_count
Index: output/program.lis
===================================================================
--- /branch/mouse/output/program.lis	(revision 237)
+++ /branch/mouse/output/program.lis	(working copy)
@@ -1,8 +1,8 @@
 include "bt_format "
 org 0x0000
 0000 c284000e bbit1 8 ,pf_patch_ext 
-0001 c042851f beq patch10_5 ,p_shutdown_radio 
-0002 c04484d2 beq patch11_1 ,p_set_freq_tx 
+0001 c0428524 beq patch10_5 ,p_shutdown_radio 
+0002 c04484d7 beq patch11_1 ,p_set_freq_tx 
 0003 c0008024 beq patch00_1 ,p_soft_reset_1 
 0004 c050802c beq patch14_1 ,p_init_param 
 0005 c054007c beq patch15_0 ,p_lpm_dispatch_next2 
@@ -21,24 +21,24 @@
 0010 c0250287 beq patch29_2 ,p_le_receive_skip 
 0011 c02b828b beq patch2a_7 ,p_le_update_param 
 0012 c031829d beq patch2c_3 ,p_le_prepare_tx 
-0013 c03382c2 beq patch2c_7 ,p_le_parse_l2cap 
-0014 c03502eb beq patch2d_2 ,p_le_adv_not_match 
-0015 c03b82f6 beq patch2e_7 ,p_le_lpm_setmult 
-0016 c046030e beq patch31_4 ,p_twspi_reset 
+0013 c03382c7 beq patch2c_7 ,p_le_parse_l2cap 
+0014 c03502f0 beq patch2d_2 ,p_le_adv_not_match 
+0015 c03b82fb beq patch2e_7 ,p_le_lpm_setmult 
+0016 c0460313 beq patch31_4 ,p_twspi_reset 
 0017 c07b002a beq patch3e_6 ,p_ui_ipc_send_event 
 0018 c07b802b beq patch3e_7 ,p_ui_ipc_send_cmd 
-0019 c07d031a beq patch3f_2 ,p_check_51cmd_once_continue 
+0019 c07d031f beq patch3f_2 ,p_check_51cmd_once_continue 
 001a 20202a8e branch loop 
 
 p_rssi_signal:
-001b 6808c9c2 fetcht 1 ,mem_rssi_signal_index 
-001c 580049c9 setarg mem_rssi_signal_buf 
+001b 6808c9b5 fetcht 1 ,mem_rssi_signal_index 
+001c 580049bc setarg mem_rssi_signal_buf 
 001d 98408a00 iadd temp ,contw 
 001e 1a227e00 copy rega ,pdata 
 001f e0a08000 istore 1 ,contw 
 0020 18408401 increase 1 ,temp 
 0021 18410407 and_into rssi_buf_len_signal ,temp 
-0022 6008c9c2 storet 1 ,mem_rssi_signal_index 
+0022 6008c9b5 storet 1 ,mem_rssi_signal_index 
 0023 20600000 rtn 
 
 p_soft_reset_1:
@@ -64,22 +64,22 @@
 
 p_g24_dispatch:
 0031 c6930000 rtnmark0 mark_24g 
-0032 6800ca47 fetch 1 ,mem_24g_transmit_by_interrupt 
+0032 6800ca3a fetch 1 ,mem_24g_transmit_by_interrupt 
 0033 c0008046 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
 
 p_g24_transmit_process:
-0034 2040038d call p_g24_txdata_prep 
+0034 20400392 call p_g24_txdata_prep 
 0035 24340061 nbranch p_g24_nodata_transmit ,user 
-0036 20400372 call p_g24_rf_sta_check 
+0036 20400377 call p_g24_rf_sta_check 
 
 p_g24_transmit_start:
-0037 204003b1 call p_g24_transmit_packet 
-0038 6800c917 fetch 1 ,mem_24g_pairing_sm 
+0037 204003b6 call p_g24_transmit_packet 
+0038 6800c90a fetch 1 ,mem_24g_pairing_sm 
 0039 c1ff8000 rtnne state_24g_pairing_success 
-003a 2040040e call power_ctrl_start 
+003a 20400413 call power_ctrl_start 
 
 p_g24_short_sleep:
-003b 6800ca47 fetch 1 ,mem_24g_transmit_by_interrupt 
+003b 6800ca3a fetch 1 ,mem_24g_transmit_by_interrupt 
 003c c1008000 rtneq g24_tx_timer_int_enable 
 003d 20402afa call lpo_calibration 
 003e 6801c16f fetch 3 ,mem_clks_per_lpo 
@@ -92,46 +92,46 @@
 0045 20202b93 branch lpm_dispatch_sleep 
 
 p_g24_transmit_by_interrupt:
-0046 20400521 call p_g24_timer_check 
+0046 20400526 call p_g24_timer_check 
 0047 24740000 nrtn user 
 0048 20400058 call p_g24_interval_calibrate 
-0049 6800ca48 fetch 1 ,mem_24g_transmit_by_interrupt_exit_count 
+0049 6800ca3b fetch 1 ,mem_24g_transmit_by_interrupt_exit_count 
 004a 1fe0fe01 increase 1 ,pdata 
-004b 6000ca48 store 1 ,mem_24g_transmit_by_interrupt_exit_count 
+004b 6000ca3b store 1 ,mem_24g_transmit_by_interrupt_exit_count 
 004c 1fe67c19 sub pdata ,25 ,null 
 004d 2042804f call p_g24_transmit_by_interrupt_exit ,zero 
 004e 20200034 branch p_g24_transmit_process 
 
 p_g24_transmit_by_interrupt_exit:
-004f 704a4700 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-0050 704a4800 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+004f 704a3a00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0050 704a3b00 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
 
 p_g24_interval_min:
-0051 70494200 jam 0 ,mem_24g_pac_index 
-0052 6800c92d fetch 1 ,mem_24g_interval_min 
-0053 6000c92c store 1 ,mem_24g_interval 
+0051 70493500 jam 0 ,mem_24g_pac_index 
+0052 6800c920 fetch 1 ,mem_24g_interval_min 
+0053 6000c91f store 1 ,mem_24g_interval 
 0054 20600000 rtn 
 
 p_g24_interval_max:
-0055 6800c92e fetch 1 ,mem_24g_interval_max 
-0056 6000c92c store 1 ,mem_24g_interval 
+0055 6800c921 fetch 1 ,mem_24g_interval_max 
+0056 6000c91f store 1 ,mem_24g_interval 
 0057 20600000 rtn 
 
 p_g24_interval_calibrate:
-0058 6800c942 fetch 1 ,mem_24g_pac_index 
+0058 6800c935 fetch 1 ,mem_24g_pac_index 
 0059 1fe0fe01 increase 1 ,pdata 
-005a 6000c942 store 1 ,mem_24g_pac_index 
+005a 6000c935 store 1 ,mem_24g_pac_index 
 005b c0020055 beq 4 ,p_g24_interval_max 
 005c c0028051 beq 5 ,p_g24_interval_min 
 005d 20600000 rtn 
 
 p_g24_transmit_by_interrupt_enable:
-005e 704a4701 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-005f 704a4800 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
+005e 704a3a01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+005f 704a3b00 jam 0 ,mem_24g_transmit_by_interrupt_exit_count 
 0060 20600000 rtn 
 
 p_g24_nodata_transmit:
-0061 6800c933 fetch 1 ,mem_24g_abort_pac 
+0061 6800c926 fetch 1 ,mem_24g_abort_pac 
 0062 205a006d call p_g24_send_abort_packet ,blank 
 
 p_g24_long_sleep:
@@ -141,38 +141,38 @@
 0066 6800c091 fetch 1 ,mem_lpm_mode 
 0067 207a0000 rtn blank 
 0068 2040008f call p_mouse_setgpio_lpm 
-0069 68044936 fetch 8 ,mem_24g_enter_hibernate 
+0069 68044929 fetch 8 ,mem_24g_enter_hibernate 
 006a 20407f49 call clk2lpo 
 006b 600a415b storet 4 ,mem_sleep_counter 
 006c 20202b2a branch lpm_sleep 
 
 p_g24_send_abort_packet:
-006d 70493301 jam 1 ,mem_24g_abort_pac 
-006e 704a3c00 jam 0 ,mem_24g_rf_hop_ch 
-006f 2040033a call p_g24_transmit_rf_ctrl_clear 
-0070 6000c8a3 store 1 ,mem_24g_txbuf 
+006d 70492601 jam 1 ,mem_24g_abort_pac 
+006e 704a2f00 jam 0 ,mem_24g_rf_hop_ch 
+006f 2040033f call p_g24_transmit_rf_ctrl_clear 
+0070 6000c896 store 1 ,mem_24g_txbuf 
 0071 58000000 setarg 0 
-0072 6003c8a4 store 7 ,mem_24g_txbuf + 1 
-0073 6802493e fetch 4 ,mem_24g_device_addr 
-0074 600248ab store 4 ,mem_24g_txbuf + 8 
-0075 7049070c jam 12 ,mem_24g_datalen 
-0076 6800c908 fetch 1 ,mem_24g_data_type 
+0072 6003c897 store 7 ,mem_24g_txbuf + 1 
+0073 68024931 fetch 4 ,mem_24g_device_addr 
+0074 6002489e store 4 ,mem_24g_txbuf + 8 
+0075 7048fa0c jam 12 ,mem_24g_datalen 
+0076 6800c8fb fetch 1 ,mem_24g_data_type 
 0077 79207e03 set1 bit_abort ,pdata 
-0078 6000c908 store 1 ,mem_24g_data_type 
-0079 2040055d call p_g24_transmit_prep 
-007a 20400391 call p_g24_txdata_enable_tx 
+0078 6000c8fb store 1 ,mem_24g_data_type 
+0079 20400562 call p_g24_transmit_prep 
+007a 20400396 call p_g24_txdata_enable_tx 
 007b 20200037 branch p_g24_transmit_start 
 
 p_lpm_dispatch_next2:
-007c 6800c813 fetch 1 ,mem_mouse_wheel_trigger 
+007c 6800c806 fetch 1 ,mem_mouse_wheel_trigger 
 007d 247a0000 nrtn blank 
 007e 20202b7f branch lpm_dispatch_next2 
 
 p_lpm_check_wake_lock:
 007f c6130000 rtnmark1 mark_24g 
-0080 6800c7a9 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0080 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
 0081 c0007fef beq 0 ,disable_blank 
-0082 6800c7d1 fetch 1 ,mem_mouse_le_conn_param_reject 
+0082 6800c7c4 fetch 1 ,mem_mouse_le_conn_param_reject 
 0083 c000ffef beq le_lpm_disable ,disable_blank 
 0084 20207ff1 branch enable_blank 
 
@@ -203,32 +203,32 @@
 
 p_mouse_le_txbuff_save:
 0098 d8c01800 arg mem_le_tx_buffer0 ,contr 
-0099 d8a04815 arg mem_le_tx_buffer0_omemalloc ,contw 
+0099 d8a04808 arg mem_le_tx_buffer0_omemalloc ,contw 
 009a 204000a3 call p_mouse_le_txbuff_copy 
 009b d8c01900 arg mem_le_tx_buffer1 ,contr 
-009c d8a04830 arg mem_le_tx_buffer1_omemalloc ,contw 
+009c d8a04823 arg mem_le_tx_buffer1_omemalloc ,contw 
 009d 204000a3 call p_mouse_le_txbuff_copy 
 009e d8c01a00 arg mem_le_tx_buffer2 ,contr 
-009f d8a0484b arg mem_le_tx_buffer2_omemalloc ,contw 
+009f d8a0483e arg mem_le_tx_buffer2_omemalloc ,contw 
 00a0 204000a3 call p_mouse_le_txbuff_copy 
 00a1 d8c01b00 arg mem_le_tx_buffer3 ,contr 
-00a2 d8a04866 arg mem_le_tx_buffer3_omemalloc ,contw 
+00a2 d8a04859 arg mem_le_tx_buffer3_omemalloc ,contw 
 
 p_mouse_le_txbuff_copy:
 00a3 df20001b arg 27 ,loopcnt 
 00a4 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-00a5 d8c04815 arg mem_le_tx_buffer0_omemalloc ,contr 
+00a5 d8c04808 arg mem_le_tx_buffer0_omemalloc ,contr 
 00a6 d8a01800 arg mem_le_tx_buffer0 ,contw 
 00a7 204000a3 call p_mouse_le_txbuff_copy 
-00a8 d8c04830 arg mem_le_tx_buffer1_omemalloc ,contr 
+00a8 d8c04823 arg mem_le_tx_buffer1_omemalloc ,contr 
 00a9 d8a01900 arg mem_le_tx_buffer1 ,contw 
 00aa 204000a3 call p_mouse_le_txbuff_copy 
-00ab d8c0484b arg mem_le_tx_buffer2_omemalloc ,contr 
+00ab d8c0483e arg mem_le_tx_buffer2_omemalloc ,contr 
 00ac d8a01a00 arg mem_le_tx_buffer2 ,contw 
 00ad 204000a3 call p_mouse_le_txbuff_copy 
-00ae d8c04866 arg mem_le_tx_buffer3_omemalloc ,contr 
+00ae d8c04859 arg mem_le_tx_buffer3_omemalloc ,contr 
 00af d8a01b00 arg mem_le_tx_buffer3 ,contw 
 00b0 202000a3 branch p_mouse_le_txbuff_copy 
 
@@ -236,12 +236,12 @@
 00b1 204057b8 call le_modified_name_adv 
 00b2 20403416 call app_lpm_mult_enable 
 00b3 203580bd branch p_device_init_common ,wake 
-00b4 204005fa call p_mouse_data_init 
+00b4 204005ff call p_mouse_data_init 
 00b5 70807820 jam 0x20 ,core_gpio_pu0 
 00b6 70807901 jam 0x1 ,core_gpio_pu1 
 00b7 6800c1de fetch 1 ,mem_tx_power 
-00b8 6000c9be store 1 ,mem_tx_power_temp 
-00b9 204003fd call power_ctrl_pac_succ_cnt_init 
+00b8 6000c9b1 store 1 ,mem_tx_power_temp 
+00b9 20400402 call power_ctrl_pac_succ_cnt_init 
 00ba 6800c685 fetch 1 ,mem_ui_button_timeout 
 00bb 6000c6da store 1 ,mem_combination_ui_button_count 
 00bc 204043ca call mouse_bt_discovery_button_down_disable 
@@ -268,7 +268,7 @@
 00cb 20600000 rtn 
 
 p_mouse4_0_check_reconn_target:
-00cc 7047ac01 jam 1 ,mem_mouse_le_reconnect_flag 
+00cc 70479f01 jam 1 ,mem_mouse_le_reconnect_flag 
 00cd 680146a8 fetch 2 ,mem_mouse_direct_timeout 
 00ce 600146ae store 2 ,mem_mouse_direct_timer 
 00cf 20403418 call app_lpm_mult_disable 
@@ -299,9 +299,9 @@
 00e2 58000000 setarg 0 
 00e3 600146ae store 2 ,mem_mouse_direct_timer 
 00e4 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
-00e5 60014934 store 2 ,mem_24g_check_dongle_times 
+00e5 60014927 store 2 ,mem_24g_check_dongle_times 
 00e6 204042ca call mouse_stop_discovery 
-00e7 2020043e branch p_g24_start_pairing_sm1 
+00e7 20200443 branch p_g24_start_pairing_sm1 
 
 p_mouse_dpi_config:
 00e8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
@@ -348,7 +348,7 @@
 0107 20206413 branch twspi_write 
 
 p_mouse_setting_config:
-0108 20400334 call p_g24_set_device_addr 
+0108 20400339 call p_g24_set_device_addr 
 0109 20403e6e call mouse_gpio_init 
 010a 20403e1e call mouse_param_init 
 010b 58000000 setarg 0 
@@ -411,12 +411,12 @@
 0136 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 0137 c4088000 rtnbit0 mouse_enable_24g 
 0138 2040013b call p_g24_factory_check 
-0139 20340495 branch p_g24_auto_pair_start ,user 
-013a 20200472 branch p_g24_start_24g_mode 
+0139 2034049a branch p_g24_auto_pair_start ,user 
+013a 20200477 branch p_g24_start_24g_mode 
 
 p_g24_factory_check:
 013b df200002 arg 2 ,loopcnt 
-013c d8c0492f arg mem_24g_addr ,contr 
+013c d8c04922 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
 013d 20407fe7 call enable_user 
@@ -431,7 +431,7 @@
 
 p_mouse_cb_fuction:
 0144 58000159 setarg p_mouse_g24_package_data 
-0145 60014a38 store 2 ,mem_cb_24g_data 
+0145 60014a2b store 2 ,mem_cb_24g_data 
 0146 5800015d setarg p_mouse_le 
 0147 600141ef store 2 ,mem_cb_le_process 
 0148 58003f77 setarg mouse_send_process 
@@ -444,7 +444,7 @@
 014f 600141f3 store 2 ,mem_cb_idle_process 
 0150 580001be setarg p_mouse_before_hibernate 
 0151 600141eb store 2 ,mem_cb_before_hibernate 
-0152 58000308 setarg p_le_mouse_bb_event_connect_complete 
+0152 5800030d setarg p_le_mouse_bb_event_connect_complete 
 0153 600141f9 store 2 ,mem_cb_att_write 
 0154 580001c8 setarg p_mouse_bb_event_timer 
 0155 600141fd store 2 ,mem_cb_event_timer 
@@ -464,7 +464,7 @@
 015f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
 0160 1fe17e03 and pdata ,0x03 ,pdata 
 0161 c1818000 rtnne 0x03 
-0162 6800c7a9 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0162 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
 0163 205a0170 call p_mouse_clear_sensor_data ,blank 
 0164 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 0165 c281c179 bbit1 mosue_24g_pairing_flag ,mouse_le_send_empty_packet 
@@ -474,16 +474,16 @@
 0169 24740000 nrtn user 
 016a 6801469f fetch 2 ,mem_mouse_z 
 016b 245a016d ncall p_mouse_wheel_trigger ,blank 
-016c 202005ff branch p_mouse_data_push 
+016c 20200604 branch p_mouse_data_push 
 
 p_mouse_wheel_trigger:
-016d 70481301 jam 1 ,mem_mouse_wheel_trigger 
-016e 70481402 jam 2 ,mem_mouse_wheel_trigger_timer 
+016d 70480601 jam 1 ,mem_mouse_wheel_trigger 
+016e 70480702 jam 2 ,mem_mouse_wheel_trigger_timer 
 016f 20600000 rtn 
 
 p_mouse_clear_sensor_data:
 0170 20405814 call le_set_config_more_data 
-0171 7047a901 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0171 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
 0172 202000fe branch p_mouse_sensor_poweron 
 
 p_mouse_idle:
@@ -513,13 +513,13 @@
 0186 20200291 branch p_mouse_le_conn_param_lpm_disable 
 
 p_mouse_le_bb_event_connected:
-0187 204005fa call p_mouse_data_init 
+0187 204005ff call p_mouse_data_init 
 0188 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_bb_disconnected:
-0189 7047d100 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-018a 7047a900 jam 0 ,mem_mouse_clear_sensor_data_flag 
-018b 204005fa call p_mouse_data_init 
+0189 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+018a 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+018b 204005ff call p_mouse_data_init 
 018c 20405816 call le_clr_config_more_data 
 018d 202041d9 branch mouse_bb_disconnected 
 
@@ -530,7 +530,7 @@
 018f 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0190 6800c7ac fetch 1 ,mem_mouse_le_reconnect_flag 
+0190 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
 0191 c0008193 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
 0192 20200195 branch p_mouse_le_ll_enable_start_enc_flag 
 
@@ -553,7 +553,7 @@
 019e 1fe67c05 sub pdata ,p3610 ,null 
 019f 2042c039 call mouse_read_sensor3610_data ,zero 
 01a0 2442c05d ncall mouse_read_sensor_common ,zero 
-01a1 6800c9be fetch 1 ,mem_tx_power_temp 
+01a1 6800c9b1 fetch 1 ,mem_tx_power_temp 
 01a2 6000c1de store 1 ,mem_tx_power 
 01a3 68008004 fetch 1 ,mouse_flag_len ,mem_mouse_flag 
 01a4 c28981ab bbit1 mouse_enable_flash ,p_mouse_store_flash_24g_address 
@@ -561,22 +561,22 @@
 01a6 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_set_24g_addr_eeprom:
-01a7 da20492f arg mem_24g_addr ,rega 
+01a7 da204922 arg mem_24g_addr ,rega 
 01a8 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
 01a9 d8400004 arg 4 ,temp 
 01aa 20600000 rtn 
 
 p_mouse_store_flash_24g_address:
-01ab da40492f arg mem_24g_addr ,regb 
+01ab da404922 arg mem_24g_addr ,regb 
 01ac ea420000 ifetch 4 ,regb 
 01ad 6002477b store 4 ,mem_mouse_24g_addr 
 01ae 20204435 branch mouse_store_flash_device_info 
 
 p_mouse_24g_attempt_fail:
-01af 704a4700 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-01b0 6800c9be fetch 1 ,mem_tx_power_temp 
+01af 704a3a00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+01b0 6800c9b1 fetch 1 ,mem_tx_power_temp 
 01b1 6000c1de store 1 ,mem_tx_power 
-01b2 204004bc call p_g24_check_51cmd_stop_24g 
+01b2 204004c1 call p_g24_check_51cmd_stop_24g 
 01b3 20400123 call p_mouse_eeprom_load_recon_info 
 01b4 df200003 arg 3 ,loopcnt 
 01b5 d8c04722 arg mem_device1_addr ,contr 
@@ -586,8 +586,8 @@
 01b9 202000c8 branch p_mouse_check_reconn_target 
 
 p_mouse_null_enter_hibernate_count:
-01ba 7047aa01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
-01bb 7047ab28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+01ba 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+01bb 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
 01bc 20600000 rtn 
 
 p_mouse_24g_attempt_success:
@@ -618,12 +618,12 @@
 01d1 202001d7 branch p_mouse_le_enable_att_list_timer 
 
 p_mouse_wheel_trigger_timer:
-01d2 da604814 arg mem_mouse_wheel_trigger_timer ,regc 
+01d2 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
 01d3 da4001d5 arg p_mouse_wheel_trigger_disable ,regb 
 01d4 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-01d5 70481300 jam 0 ,mem_mouse_wheel_trigger 
+01d5 70480600 jam 0 ,mem_mouse_wheel_trigger 
 01d6 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
@@ -641,7 +641,7 @@
 01de 202043a9 branch mouse_bt_discovery_commbination_key_up 
 
 p_mouse_bt_discovery_commbination_key_down:
-01df 7047ab28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+01df 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
 01e0 204001e2 call p_mouse_bt_discovery_timer 
 01e1 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
@@ -657,16 +657,16 @@
 01e8 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_null_enter_hibernate_check:
-01e9 6800c7aa fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+01e9 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
 01ea 207a0000 rtn blank 
-01eb 6800c7ab fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+01eb 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
 01ec 203a01f0 branch p_mouse_null_enter_hibernate ,blank 
 01ed 1fe0ffff increase -1 ,pdata 
-01ee 6000c7ab store 1 ,mem_mouse_null_enter_hibernate_timer 
+01ee 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
 01ef 20600000 rtn 
 
 p_mouse_null_enter_hibernate:
-01f0 7047aa00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+01f0 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
 01f1 2020340a branch app_enter_hibernate 
 
 p_mouse_adc_read:
@@ -770,39 +770,39 @@
 023f 20600000 rtn 
 
 p_mouse_bb_event_discovery_btn:
-0240 7047aa00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-0241 7047ab00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+0240 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+0241 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
 0242 c5130244 bmark1 mark_24g ,p_mouse_switch_to_bt 
 0243 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_mouse_switch_to_bt:
-0244 204004bc call p_g24_check_51cmd_stop_24g 
+0244 204004c1 call p_g24_check_51cmd_stop_24g 
 0245 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
 0246 204068a2 call load_adc_init 
 0247 6801421d fetch 2 ,mem_0_5_adc_io_data 
 0248 203a024b branch p_le_otp_adc_empty ,blank 
-0249 600147cf store 2 ,mem_random_addr_increase_count 
+0249 600147c2 store 2 ,mem_random_addr_increase_count 
 
 p_le_addr_random_store:
 024a 20200269 branch p_mouse_store_eerpom_random_addr_increase_count 
 
 p_le_otp_adc_empty:
 024b 58001122 setarg 0x1122 
-024c 600147cf store 2 ,mem_random_addr_increase_count 
+024c 600147c2 store 2 ,mem_random_addr_increase_count 
 024d 2020024a branch p_le_addr_random_store 
 
 p_mouse_start_discovery:
-024e 7047a900 jam 0 ,mem_mouse_clear_sensor_data_flag 
+024e 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 024f 68014682 fetch 2 ,mem_ui_state_map 
 0250 c285825b bbit1 ui_state_ble_adv ,p_mouse_start_discovery_norandom 
 0251 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 0252 c30c025b bbit0 mouse_enable_ble_random_addre ,p_mouse_start_discovery_norandom 
 0253 2040026d call p_mouse_load_eeprom_random_addr_increase_count 
-0254 680947cf fetcht 2 ,mem_random_addr_increase_count 
+0254 680947c2 fetcht 2 ,mem_random_addr_increase_count 
 0255 18408401 increase 1 ,temp 
-0256 600947cf storet 2 ,mem_random_addr_increase_count 
+0256 600947c2 storet 2 ,mem_random_addr_increase_count 
 0257 600944a1 storet 2 ,mem_le_lap + 1 
 0258 20400269 call p_mouse_store_eerpom_random_addr_increase_count 
 0259 180a7e00 random pdata 
@@ -826,18 +826,18 @@
 
 p_mouse_store_eerpom_random_addr_increase_count:
 0269 d8400002 arg 2 ,temp 
-026a da2047cf arg mem_random_addr_increase_count ,rega 
+026a da2047c2 arg mem_random_addr_increase_count ,rega 
 026b da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
 026c 202065d1 branch iicd_write_protect_eep_data 
 
 p_mouse_load_eeprom_random_addr_increase_count:
 026d d8400002 arg 2 ,temp 
-026e da2047cf arg mem_random_addr_increase_count ,rega 
+026e da2047c2 arg mem_random_addr_increase_count ,rega 
 026f da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
 0270 202065df branch iicd_read_eep_data 
 
 p_check_51cmd_adv:
-0271 7047ac00 jam 0 ,mem_mouse_le_reconnect_flag 
+0271 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
 0272 204000d4 call p_le_check_adv_flag 
 0273 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
 0274 e0c08000 istore 1 ,contr 
@@ -855,7 +855,7 @@
 027c c0065395 beq le_md_max_count ,le_slave_cont 
 027d 204055aa call le_acknowledge 
 027e 2040561e call le_prepare_tx 
-027f 2040040e call power_ctrl_start 
+027f 20400413 call power_ctrl_start 
 0280 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
@@ -877,15 +877,15 @@
 028c 2020557d branch le_update_param + 8 
 
 p_mouse_le_lpm_mult_reinit:
-028d 6800c7d2 fetch 1 ,mem_lpm_mult_init 
+028d 6800c7c5 fetch 1 ,mem_lpm_mult_init 
 028e 6000c172 store 1 ,mem_lpm_mult 
 
 p_mouse_le_conn_param_lpm_enable:
-028f 7047d100 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+028f 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 0290 20600000 rtn 
 
 p_mouse_le_conn_param_lpm_disable:
-0291 7047d101 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0291 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
 0292 20600000 rtn 
 
 p_mouse_le_conn_param_check:
@@ -893,7 +893,7 @@
 0294 1fe67c0c sub pdata ,le_interval_15ms ,null 
 0295 24210291 nbranch p_mouse_le_conn_param_lpm_disable ,positive 
 0296 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-0297 6808c7d2 fetcht 1 ,mem_lpm_mult_init 
+0297 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
 0298 98467c00 isub temp ,null 
 0299 2021028d branch p_mouse_le_lpm_mult_reinit ,positive 
 029a 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
@@ -903,7 +903,7 @@
 p_le_prepare_tx:
 029d 68008456 fetch 1 ,mem_le_arq 
 029e c28282b1 bbit1 wak ,p_le_prepare_tx_wak 
-029f 20400400 call power_ctrl_pac_succ_incrs 
+029f 20400405 call power_ctrl_pac_succ_incrs 
 02a0 6800c78e fetch 1 ,mem_empty_count 
 02a1 243a02a7 nbranch p_le_send_empyt ,blank 
 02a2 6800843f fetch 1 ,mem_le_state 
@@ -925,1167 +925,1172 @@
 
 p_in_le_tx_4:
 02ae 20405892 call le_fifo_check_nearly_full 
-02af 205a0607 call p_mouse_data_pull ,blank 
+02af 205a060c call p_mouse_data_pull ,blank 
 02b0 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
 02b1 204002b3 call p_le_check_tx_retransmit_setmd 
-02b2 202002ba branch p_le_power_ctrl_pac_succ_decrs 
+02b2 202002bf branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-02b3 6800c3dd fetch 1 ,mem_le_txlen 
-02b4 207a0000 rtn blank 
-02b5 6800c3dc fetch 1 ,mem_le_txheader 
-02b6 79207e04 set1 md ,pdata 
-02b7 6000c3dc store 1 ,mem_le_txheader 
-02b8 20405650 call le_set_md 
-02b9 20600000 rtn 
+02b3 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+02b4 1fe17e03 and pdata ,0x03 ,pdata 
+02b5 c1818000 rtnne 0x03 
+02b6 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+02b7 207a0000 rtn blank 
+02b8 6800c3dd fetch 1 ,mem_le_txlen 
+02b9 207a0000 rtn blank 
+02ba 6800c3dc fetch 1 ,mem_le_txheader 
+02bb 79207e04 set1 md ,pdata 
+02bc 6000c3dc store 1 ,mem_le_txheader 
+02bd 20405650 call le_set_md 
+02be 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-02ba 20200404 branch power_ctrl_pac_succ_decrs 
+02bf 20200409 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-02bb 6800c7ac fetch 1 ,mem_mouse_le_reconnect_flag 
-02bc 207a0000 rtn blank 
-02bd 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-02be 1fe17e03 and pdata ,0x03 ,pdata 
-02bf c1018000 rtneq 0x03 
-02c0 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-02c1 20600000 rtn 
+02c0 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+02c1 207a0000 rtn blank 
+02c2 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+02c3 1fe17e03 and pdata ,0x03 ,pdata 
+02c4 c1018000 rtneq 0x03 
+02c5 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+02c6 20600000 rtn 
 
 p_le_parse_l2cap:
-02c2 e8c10000 ifetch 2 ,contr 
-02c3 c00202c6 beq le_l2cap_cid_att ,p_le_parse_att 
-02c4 c00302e3 beq le_l2cap_cid_smp ,p_le_parse_smp 
-02c5 20205698 branch le_parse_l2cap + 11 
+02c7 e8c10000 ifetch 2 ,contr 
+02c8 c00202cb beq le_l2cap_cid_att ,p_le_parse_att 
+02c9 c00302e8 beq le_l2cap_cid_smp ,p_le_parse_smp 
+02ca 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-02c6 20407ea5 call store_contr 
-02c7 204002bb call p_mouse_le_reconn_write_enable_timer_reinit 
-02c8 20407e9f call get_contr 
-02c9 e8c18000 ifetch 3 ,contr 
-02ca 60018477 store 3 ,mem_le_att_opcode 
-02cb c00802d5 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-02cc 1fec8400 rshift8 pdata ,temp 
-02cd 18467c24 sub temp ,0x24 ,null 
-02ce 202158ad branch le_parse_att + 2 ,positive 
-02cf d84047d3 arg mem_mouse_le_uuid_sup ,temp 
-02d0 600944bc storet 2 ,mem_ui_le_uuid_table 
-02d1 204058ad call le_parse_att + 2 
-02d2 58008e7a setarg 0x8e7a 
-02d3 600144bc store 2 ,mem_ui_le_uuid_table 
-02d4 20600000 rtn 
+02cb 20407ea5 call store_contr 
+02cc 204002c0 call p_mouse_le_reconn_write_enable_timer_reinit 
+02cd 20407e9f call get_contr 
+02ce e8c18000 ifetch 3 ,contr 
+02cf 60018477 store 3 ,mem_le_att_opcode 
+02d0 c00802da beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+02d1 1fec8400 rshift8 pdata ,temp 
+02d2 18467c24 sub temp ,0x24 ,null 
+02d3 202158ad branch le_parse_att + 2 ,positive 
+02d4 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+02d5 600944bc storet 2 ,mem_ui_le_uuid_table 
+02d6 204058ad call le_parse_att + 2 
+02d7 58008e7a setarg 0x8e7a 
+02d8 600144bc store 2 ,mem_ui_le_uuid_table 
+02d9 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-02d5 204059fa call le_parse_att_read_by_group_type_request 
-02d6 20405879 call le_fifo_get_last_tx_ptr 
-02d7 18c08c07 increase 7 ,contr 
-02d8 e8c08000 ifetch 1 ,contr 
-02d9 c1888000 rtnne attop_read_by_group_type_response 
-02da 18c08c05 increase 5 ,contr 
-02db e8c10000 ifetch 2 ,contr 
-02dc d8401812 arg uuid_service_hids ,temp 
-02dd 98467c00 isub temp ,null 
-02de 24628000 nrtn zero 
-02df 18c08dfc increase -4 ,contr 
-02e0 5800002b setarg 0x2b 
-02e1 e0c10000 istore 2 ,contr 
-02e2 20600000 rtn 
+02da 204059fa call le_parse_att_read_by_group_type_request 
+02db 20405879 call le_fifo_get_last_tx_ptr 
+02dc 18c08c07 increase 7 ,contr 
+02dd e8c08000 ifetch 1 ,contr 
+02de c1888000 rtnne attop_read_by_group_type_response 
+02df 18c08c05 increase 5 ,contr 
+02e0 e8c10000 ifetch 2 ,contr 
+02e1 d8401812 arg uuid_service_hids ,temp 
+02e2 98467c00 isub temp ,null 
+02e3 24628000 nrtn zero 
+02e4 18c08dfc increase -4 ,contr 
+02e5 5800002b setarg 0x2b 
+02e6 e0c10000 istore 2 ,contr 
+02e7 20600000 rtn 
 
 p_le_parse_smp:
-02e3 e8c08000 ifetch 1 ,contr 
-02e4 c00282e6 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-02e5 20205af5 branch le_parse_smp + 1 
+02e8 e8c08000 ifetch 1 ,contr 
+02e9 c00282eb beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+02ea 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_failed:
-02e6 20405b5a call le_parse_smp_pairing_failed 
-02e7 6800843f fetch 1 ,mem_le_state 
-02e8 793ffe05 set0 lestate_update_param ,pdata 
-02e9 6000843f store 1 ,mem_le_state 
-02ea 20205c8e branch le_parse_terminate_ind 
+02eb 20405b5a call le_parse_smp_pairing_failed 
+02ec 6800843f fetch 1 ,mem_le_state 
+02ed 793ffe05 set0 lestate_update_param ,pdata 
+02ee 6000843f store 1 ,mem_le_state 
+02ef 20205c8e branch le_parse_terminate_ind 
 
 p_le_adv_not_match:
-02eb 68008016 fetch 1 ,mem_le_ch_mapped 
-02ec c093d6f2 bne 39 ,le_adv_loop 
-02ed 204002f1 call p_le_adv_random_delay 
-02ee d8e00000 arg le_adv_interval_timer ,queue 
-02ef 68014482 fetch 2 ,mem_le_adv_interval 
-02f0 20207f08 branch timer_init 
+02f0 68008016 fetch 1 ,mem_le_ch_mapped 
+02f1 c093d6f2 bne 39 ,le_adv_loop 
+02f2 204002f6 call p_le_adv_random_delay 
+02f3 d8e00000 arg le_adv_interval_timer ,queue 
+02f4 68014482 fetch 2 ,mem_le_adv_interval 
+02f5 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-02f1 180a7e00 random pdata 
-02f2 d84001ff arg 0x1ff ,temp 
-02f3 98417e00 iand temp ,pdata 
-02f4 1fe0fefa add pdata ,250 ,pdata 
-02f5 20203cbe branch delay 
+02f6 180a7e00 random pdata 
+02f7 d84001ff arg 0x1ff ,temp 
+02f8 98417e00 iand temp ,pdata 
+02f9 1fe0fefa add pdata ,250 ,pdata 
+02fa 20203cbe branch delay 
 
 p_le_lpm_setmult:
-02f6 7855fc00 disable wake 
-02f7 203702f9 branch p_le_lpm_set_mult_attempt ,attempt 
-02f8 24368300 nbranch p_le_lpm_lost ,match 
+02fb 7855fc00 disable wake 
+02fc 203702fe branch p_le_lpm_set_mult_attempt ,attempt 
+02fd 24368305 nbranch p_le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-02f9 20402bcb call lpm_match 
-02fa 680140c1 fetch 2 ,mem_rx_window_sniff 
-02fb 6001044d store 2 ,mem_le_receive_window 
-02fc 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-02fd 2fe00603 compare 3 ,pdata ,3 
-02fe 2420abde nbranch lpm_mult_short ,true 
-02ff 202057fb branch le_lpm_set_mult_attempt + 3 
+02fe 20402bcb call lpm_match 
+02ff 680140c1 fetch 2 ,mem_rx_window_sniff 
+0300 6001044d store 2 ,mem_le_receive_window 
+0301 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0302 2fe00603 compare 3 ,pdata ,3 
+0303 2420abde nbranch lpm_mult_short ,true 
+0304 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_lpm_lost:
-0300 680940c1 fetcht 2 ,mem_rx_window_sniff 
-0301 6801478c fetch 2 ,mem_le_rx_window_inc 
-0302 98408400 iadd temp ,temp 
-0303 18430400 rshift temp ,temp 
-0304 6801044d fetch 2 ,mem_le_receive_window 
-0305 9840fe00 iadd temp ,pdata 
-0306 6001044d store 2 ,mem_le_receive_window 
-0307 20202bd6 branch lpm_lost 
+0305 680940c1 fetcht 2 ,mem_rx_window_sniff 
+0306 6801478c fetch 2 ,mem_le_rx_window_inc 
+0307 98408400 iadd temp ,temp 
+0308 18430400 rshift temp ,temp 
+0309 6801044d fetch 2 ,mem_le_receive_window 
+030a 9840fe00 iadd temp ,pdata 
+030b 6001044d store 2 ,mem_le_receive_window 
+030c 20202bd6 branch lpm_lost 
 
 p_le_mouse_bb_event_connect_complete:
-0308 6800c7ac fetch 1 ,mem_mouse_le_reconnect_flag 
-0309 247a0000 nrtn blank 
-030a 68008478 fetch 1 ,mem_le_att_handle 
-030b 1fe67e1a sub pdata ,26 ,pdata 
-030c 24628000 nrtn zero 
-030d 20203d60 branch mouse_le_write_enable 
+030d 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+030e 247a0000 nrtn blank 
+030f 68008478 fetch 1 ,mem_le_att_handle 
+0310 1fe67e1a sub pdata ,26 ,pdata 
+0311 24628000 nrtn zero 
+0312 20203d60 branch mouse_le_write_enable 
 
 p_twspi_reset:
-030e 68108077 hfetch 1 ,core_gpio_out3 
-030f 1fe17efd and_into 0xfd ,pdata 
-0310 60108077 hstore 1 ,core_gpio_out3 
-0311 68188073 hfetcht 1 ,core_gpio_oe3 
-0312 18418402 or_into 0x2 ,temp 
-0313 60188073 hstoret 1 ,core_gpio_oe3 
-0314 204063ee call twspi_disable 
-0315 184104fd and_into 0xfd ,temp 
-0316 2000000d nop 13 
-0317 204063f2 call twspi_enable 
+0313 68108077 hfetch 1 ,core_gpio_out3 
+0314 1fe17efd and_into 0xfd ,pdata 
+0315 60108077 hstore 1 ,core_gpio_out3 
+0316 68188073 hfetcht 1 ,core_gpio_oe3 
+0317 18418402 or_into 0x2 ,temp 
 0318 60188073 hstoret 1 ,core_gpio_oe3 
-0319 20600000 rtn 
+0319 204063ee call twspi_disable 
+031a 184104fd and_into 0xfd ,temp 
+031b 2000000d nop 13 
+031c 204063f2 call twspi_enable 
+031d 60188073 hstoret 1 ,core_gpio_oe3 
+031e 20600000 rtn 
 
 p_check_51cmd_once_continue:
-031a 204062bc call lmo_fifo_check 
-031b 243a7ddb nbranch check_51cmd_restore ,blank 
-031c 68008a99 fetch 1 ,mem_fifo_temp 
-031d c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-031e c00f8320 beq bt_cmd_store_reconn_info_le ,p_eeprom_store_le_reconn_info 
-031f 20207dca branch check_51cmd_once_continue + 2 
+031f 204062bc call lmo_fifo_check 
+0320 243a7ddb nbranch check_51cmd_restore ,blank 
+0321 68008a99 fetch 1 ,mem_fifo_temp 
+0322 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+0323 c00f8325 beq bt_cmd_store_reconn_info_le ,p_eeprom_store_le_reconn_info 
+0324 20207dca branch check_51cmd_once_continue + 2 
 
 p_eeprom_store_le_reconn_info:
-0320 6803044f fetch 6 ,mem_le_plap 
-0321 60030186 store 6 ,mem_temp_lap 
-0322 70018534 jam rec_4_mode ,mem_record_bt_mode 
-0323 20200324 branch p_mouse_store_remote_bdaddr 
+0325 6803044f fetch 6 ,mem_le_plap 
+0326 60030186 store 6 ,mem_temp_lap 
+0327 70018534 jam rec_4_mode ,mem_record_bt_mode 
+0328 20200329 branch p_mouse_store_remote_bdaddr 
 
 p_mouse_store_remote_bdaddr:
-0324 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0325 c4038000 rtnbit0 mouse_store_eeprom_flag 
-0326 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0327 204043d2 call mouse_disable_function_flag 
-0328 204042e8 call mouse_check_device_addr 
+0329 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+032a c4038000 rtnbit0 mouse_store_eeprom_flag 
+032b d8e00007 arg mouse_store_eeprom_flag ,queue 
+032c 204043d2 call mouse_disable_function_flag 
+032d 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-0329 2040032e call p_mouse_before_store_reconn_info 
-032a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-032b c289c435 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
-032c c28a42e4 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-032d 20600000 rtn 
+032e 20400333 call p_mouse_before_store_reconn_info 
+032f 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0330 c289c435 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+0331 c28a42e4 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0332 20600000 rtn 
 
 p_mouse_before_store_reconn_info:
-032e da204721 arg mem_device1_type ,rega 
-032f 68008185 fetch 1 ,mem_record_bt_mode 
-0330 e2208000 istore 1 ,rega 
-0331 c01a4305 beq rec_4_mode ,mouse_store_le_device 
-0332 c019c30c beq rec_3_mode ,mouse_store_bt_device 
-0333 20600000 rtn 
+0333 da204721 arg mem_device1_type ,rega 
+0334 68008185 fetch 1 ,mem_record_bt_mode 
+0335 e2208000 istore 1 ,rega 
+0336 c01a4305 beq rec_4_mode ,mouse_store_le_device 
+0337 c019c30c beq rec_3_mode ,mouse_store_bt_device 
+0338 20600000 rtn 
 
 p_g24_set_device_addr:
-0334 204068a8 call adc_init_data 
-0335 680240a0 fetch 4 ,mem_lap 
-0336 6002493e store 4 ,mem_24g_device_addr 
-0337 20600000 rtn 
+0339 204068a8 call adc_init_data 
+033a 680240a0 fetch 4 ,mem_lap 
+033b 60024931 store 4 ,mem_24g_device_addr 
+033c 20600000 rtn 
 
 p_g24_transmit_rf_sta_init:
-0338 704a3d01 jam 1 ,mem_24g_rf_last_sta 
-0339 704a3f00 jam 0 ,mem_24g_sync_cnt 
+033d 704a3001 jam 1 ,mem_24g_rf_last_sta 
+033e 704a3200 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-033a 6800c908 fetch 1 ,mem_24g_data_type 
-033b 1fe17e07 and_into bits_data ,pdata 
-033c 6000c908 store 1 ,mem_24g_data_type 
-033d 20600000 rtn 
+033f 6800c8fb fetch 1 ,mem_24g_data_type 
+0340 1fe17e07 and_into bits_data ,pdata 
+0341 6000c8fb store 1 ,mem_24g_data_type 
+0342 20600000 rtn 
 
 p_g24_hop_ch_enable:
-033e 6800c908 fetch 1 ,mem_24g_data_type 
-033f 79207e04 set1 bit_hop ,pdata 
-0340 6000c908 store 1 ,mem_24g_data_type 
-0341 6000c8c3 store 1 ,mem_24g_txpayload 
-0342 20600000 rtn 
+0343 6800c8fb fetch 1 ,mem_24g_data_type 
+0344 79207e04 set1 bit_hop ,pdata 
+0345 6000c8fb store 1 ,mem_24g_data_type 
+0346 6000c8b6 store 1 ,mem_24g_txpayload 
+0347 20600000 rtn 
 
 p_g24_hop_ch_disable:
-0343 6800c908 fetch 1 ,mem_24g_data_type 
-0344 793ffe04 set0 bit_hop ,pdata 
-0345 6000c908 store 1 ,mem_24g_data_type 
-0346 20600000 rtn 
+0348 6800c8fb fetch 1 ,mem_24g_data_type 
+0349 793ffe04 set0 bit_hop ,pdata 
+034a 6000c8fb store 1 ,mem_24g_data_type 
+034b 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail:
-0347 20400404 call power_ctrl_pac_succ_decrs 
-0348 6800ca3e fetch 1 ,mem_24g_rf_work_stage 
-0349 c000834c beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
-034a c0010350 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
-034b 20600000 rtn 
+034c 20400409 call power_ctrl_pac_succ_decrs 
+034d 6800ca31 fetch 1 ,mem_24g_rf_work_stage 
+034e c0008351 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
+034f c0010355 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
+0350 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail_wo_hop:
-034c 704a3f02 jam 2 ,mem_24g_sync_cnt 
+0351 704a3202 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_fail_stage1:
-034d 704a3b00 jam 0 ,mem_24g_hop_pac_retry 
-034e 704a3d00 jam 0 ,mem_24g_rf_last_sta 
-034f 2020033a branch p_g24_transmit_rf_ctrl_clear 
+0352 704a2e00 jam 0 ,mem_24g_hop_pac_retry 
+0353 704a3000 jam 0 ,mem_24g_rf_last_sta 
+0354 2020033f branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_fail_hop_stage2:
-0350 704a3c00 jam 0 ,mem_24g_rf_hop_ch 
-0351 2020034d branch p_g24_transmit_hop_pac_fail_stage1 
+0355 704a2f00 jam 0 ,mem_24g_rf_hop_ch 
+0356 20200352 branch p_g24_transmit_hop_pac_fail_stage1 
 
 p_g24_transmit_pac_fail_hop_stage3:
-0352 6801490d fetch 2 ,mem_24g_txfail_cnt 
-0353 1fe0fe01 increase 1 ,pdata 
-0354 6001490d store 2 ,mem_24g_txfail_cnt 
-0355 c28503f2 bbit1 10 ,p_g24_tx_attempt_fail 
-0356 6800ca3c fetch 1 ,mem_24g_rf_hop_ch 
-0357 c000835b beq 1 ,p_g24_rf_hop_fastly 
-0358 704a3c01 jam 1 ,mem_24g_rf_hop_ch 
+0357 68014900 fetch 2 ,mem_24g_txfail_cnt 
+0358 1fe0fe01 increase 1 ,pdata 
+0359 60014900 store 2 ,mem_24g_txfail_cnt 
+035a c28503f7 bbit1 10 ,p_g24_tx_attempt_fail 
+035b 6800ca2f fetch 1 ,mem_24g_rf_hop_ch 
+035c c0008360 beq 1 ,p_g24_rf_hop_fastly 
+035d 704a2f01 jam 1 ,mem_24g_rf_hop_ch 
 
 p_g24_rf_hop_attemp_again:
-0359 6800ca3c fetch 1 ,mem_24g_rf_hop_ch 
-035a c080833a bne 1 ,p_g24_transmit_rf_ctrl_clear 
+035e 6800ca2f fetch 1 ,mem_24g_rf_hop_ch 
+035f c080833f bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-035b 6800ca3a fetch 1 ,mem_24g_hop_fastly_cnt 
-035c 1fe0fe01 increase 1 ,pdata 
-035d 6000ca3a store 1 ,mem_24g_hop_fastly_cnt 
-035e c0020362 beq 4 ,p_g24_rf_hop_fastly_exit 
-035f 2040056f call p_g24_ch 
-0360 70494c02 jam 2 ,mem_24g_max_retry 
-0361 202003b1 branch p_g24_transmit_packet 
+0360 6800ca2d fetch 1 ,mem_24g_hop_fastly_cnt 
+0361 1fe0fe01 increase 1 ,pdata 
+0362 6000ca2d store 1 ,mem_24g_hop_fastly_cnt 
+0363 c0020367 beq 4 ,p_g24_rf_hop_fastly_exit 
+0364 20400574 call p_g24_ch 
+0365 70493f02 jam 2 ,mem_24g_max_retry 
+0366 202003b6 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0362 20400404 call power_ctrl_pac_succ_decrs 
-0363 704a3a00 jam 0 ,mem_24g_hop_fastly_cnt 
-0364 2020033a branch p_g24_transmit_rf_ctrl_clear 
+0367 20400409 call power_ctrl_pac_succ_decrs 
+0368 704a2d00 jam 0 ,mem_24g_hop_fastly_cnt 
+0369 2020033f branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-0365 704a3f02 jam 2 ,mem_24g_sync_cnt 
+036a 704a3202 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-0366 704a3d01 jam 1 ,mem_24g_rf_last_sta 
-0367 704a3c00 jam 0 ,mem_24g_rf_hop_ch 
-0368 2020033a branch p_g24_transmit_rf_ctrl_clear 
+036b 704a3001 jam 1 ,mem_24g_rf_last_sta 
+036c 704a2f00 jam 0 ,mem_24g_rf_hop_ch 
+036d 2020033f branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-0369 6800ca3e fetch 1 ,mem_24g_rf_work_stage 
-036a c0018366 beq 3 ,p_g24_transmit_hop_pac_succ 
-036b 6800c908 fetch 1 ,mem_24g_data_type 
-036c 2fec0004 isolate0 bit_hop ,pdata 
-036d 20208338 branch p_g24_transmit_rf_sta_init ,true 
-036e 6800ca3e fetch 1 ,mem_24g_rf_work_stage 
-036f c0008365 beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
-0370 c0010366 beq 2 ,p_g24_transmit_hop_pac_succ 
-0371 20600000 rtn 
+036e 6800ca31 fetch 1 ,mem_24g_rf_work_stage 
+036f c001836b beq 3 ,p_g24_transmit_hop_pac_succ 
+0370 6800c8fb fetch 1 ,mem_24g_data_type 
+0371 2fec0004 isolate0 bit_hop ,pdata 
+0372 2020833d branch p_g24_transmit_rf_sta_init ,true 
+0373 6800ca31 fetch 1 ,mem_24g_rf_work_stage 
+0374 c000836a beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+0375 c001036b beq 2 ,p_g24_transmit_hop_pac_succ 
+0376 20600000 rtn 
 
 p_g24_rf_sta_check:
-0372 6800c917 fetch 1 ,mem_24g_pairing_sm 
-0373 c1ff8000 rtnne state_24g_pairing_success 
-0374 20400377 call p_g24_rf_laststa_synccnt_check 
-0375 2456037f ncall p_g24_rf_sync_cnt_check ,user2 
-0376 20600000 rtn 
+0377 6800c90a fetch 1 ,mem_24g_pairing_sm 
+0378 c1ff8000 rtnne state_24g_pairing_success 
+0379 2040037c call p_g24_rf_laststa_synccnt_check 
+037a 24560384 ncall p_g24_rf_sync_cnt_check ,user2 
+037b 20600000 rtn 
 
 p_g24_rf_laststa_synccnt_check:
-0377 78567c00 disable user2 
-0378 6800ca3d fetch 1 ,mem_24g_rf_last_sta 
-0379 c1808000 rtnne 1 
-037a 6800ca3f fetch 1 ,mem_24g_sync_cnt 
-037b c1800000 rtnne 0 
-037c 704a3e01 jam 1 ,mem_24g_rf_work_stage 
-037d 70494c04 jam 4 ,mem_24g_max_retry 
-037e 20207feb branch enable_user2 
+037c 78567c00 disable user2 
+037d 6800ca30 fetch 1 ,mem_24g_rf_last_sta 
+037e c1808000 rtnne 1 
+037f 6800ca32 fetch 1 ,mem_24g_sync_cnt 
+0380 c1800000 rtnne 0 
+0381 704a3101 jam 1 ,mem_24g_rf_work_stage 
+0382 70493f04 jam 4 ,mem_24g_max_retry 
+0383 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-037f 6800ca3f fetch 1 ,mem_24g_sync_cnt 
-0380 203a0387 branch p_g24_rf_hop_attemp ,blank 
-0381 1fe0ffff increase -1 ,pdata 
-0382 6000ca3f store 1 ,mem_24g_sync_cnt 
-0383 704a3e02 jam 2 ,mem_24g_rf_work_stage 
-0384 2040056f call p_g24_ch 
-0385 70494c04 jam 4 ,mem_24g_max_retry 
-0386 20600000 rtn 
+0384 6800ca32 fetch 1 ,mem_24g_sync_cnt 
+0385 203a038c branch p_g24_rf_hop_attemp ,blank 
+0386 1fe0ffff increase -1 ,pdata 
+0387 6000ca32 store 1 ,mem_24g_sync_cnt 
+0388 704a3102 jam 2 ,mem_24g_rf_work_stage 
+0389 20400574 call p_g24_ch 
+038a 70493f04 jam 4 ,mem_24g_max_retry 
+038b 20600000 rtn 
 
 p_g24_rf_hop_attemp:
-0387 704a3e03 jam 3 ,mem_24g_rf_work_stage 
-0388 6800ca3c fetch 1 ,mem_24g_rf_hop_ch 
-0389 243a0359 nbranch p_g24_rf_hop_attemp_again ,blank 
-038a 2040056f call p_g24_ch 
-038b 70494c02 jam 2 ,mem_24g_max_retry 
-038c 20600000 rtn 
+038c 704a3103 jam 3 ,mem_24g_rf_work_stage 
+038d 6800ca2f fetch 1 ,mem_24g_rf_hop_ch 
+038e 243a035e nbranch p_g24_rf_hop_attemp_again ,blank 
+038f 20400574 call p_g24_ch 
+0390 70493f02 jam 2 ,mem_24g_max_retry 
+0391 20600000 rtn 
 
 p_g24_txdata_prep:
-038d 6800c917 fetch 1 ,mem_24g_pairing_sm 
-038e c0ff8447 bne state_24g_pairing_success ,p_g24_pairing_sm 
+0392 6800c90a fetch 1 ,mem_24g_pairing_sm 
+0393 c0ff844c bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
-038f 20400393 call p_g24_package_data 
-0390 2040055d call p_g24_transmit_prep 
+0394 20400398 call p_g24_package_data 
+0395 20400562 call p_g24_transmit_prep 
 
 p_g24_txdata_enable_tx:
-0391 70490c01 jam ensure_on_24g ,mem_24g_ensure 
-0392 20600000 rtn 
+0396 7048ff01 jam ensure_on_24g ,mem_24g_ensure 
+0397 20600000 rtn 
 
 p_g24_package_data:
-0393 68014a38 fetch 2 ,mem_cb_24g_data 
-0394 20407f9c call callback_func 
-0395 20340399 branch p_g24_accumulate_mouse_data ,user 
-0396 6803c8a4 fetch 7 ,mem_24g_txbuf + 1 
-0397 207a0000 rtn blank 
-0398 20207fe7 branch enable_user 
+0398 68014a2b fetch 2 ,mem_cb_24g_data 
+0399 20407f9c call callback_func 
+039a 2034039e branch p_g24_accumulate_mouse_data ,user 
+039b 6803c897 fetch 7 ,mem_24g_txbuf + 1 
+039c 207a0000 rtn blank 
+039d 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-0399 70493300 jam 0 ,mem_24g_abort_pac 
-039a 1a20fe01 add rega ,1 ,pdata 
-039b 6000c907 store 1 ,mem_24g_datalen 
-039c 2040033a call p_g24_transmit_rf_ctrl_clear 
-039d 6000c8a3 store 1 ,mem_24g_txbuf 
-039e e8a88000 ifetcht 1 ,contw 
-039f ea408000 ifetch 1 ,regb 
-03a0 9841fe00 ior temp ,pdata 
-03a1 e0a08000 istore 1 ,contw 
-03a2 1a40a401 increase 1 ,regb 
-03a3 df200002 arg 2 ,loopcnt 
+039e 70492600 jam 0 ,mem_24g_abort_pac 
+039f 1a20fe01 add rega ,1 ,pdata 
+03a0 6000c8fa store 1 ,mem_24g_datalen 
+03a1 2040033f call p_g24_transmit_rf_ctrl_clear 
+03a2 6000c896 store 1 ,mem_24g_txbuf 
+03a3 e8a88000 ifetcht 1 ,contw 
+03a4 ea408000 ifetch 1 ,regb 
+03a5 9841fe00 ior temp ,pdata 
+03a6 e0a08000 istore 1 ,contw 
+03a7 1a40a401 increase 1 ,regb 
+03a8 df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop:
-03a4 ea410000 ifetch 2 ,regb 
-03a5 e0a10000 istore 2 ,contw 
-03a6 1a40a402 increase 2 ,regb 
-03a7 c20003a4 loop p_g24_accumulation_loop 
-03a8 d8a048a9 arg mem_24g_txbuf + 6 ,contw 
-03a9 df200002 arg 2 ,loopcnt 
+03a9 ea410000 ifetch 2 ,regb 
+03aa e0a10000 istore 2 ,contw 
+03ab 1a40a402 increase 2 ,regb 
+03ac c20003a9 loop p_g24_accumulation_loop 
+03ad d8a0489c arg mem_24g_txbuf + 6 ,contw 
+03ae df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop2:
-03aa ea408000 ifetch 1 ,regb 
-03ab e8a88000 ifetcht 1 ,contw 
-03ac 9840fe00 iadd temp ,pdata 
-03ad e0a08000 istore 1 ,contw 
-03ae 1a40a401 increase 1 ,regb 
-03af c20003aa loop p_g24_accumulation_loop2 
-03b0 20600000 rtn 
+03af ea408000 ifetch 1 ,regb 
+03b0 e8a88000 ifetcht 1 ,contw 
+03b1 9840fe00 iadd temp ,pdata 
+03b2 e0a08000 istore 1 ,contw 
+03b3 1a40a401 increase 1 ,regb 
+03b4 c20003af loop p_g24_accumulation_loop2 
+03b5 20600000 rtn 
 
 p_g24_transmit_packet:
-03b1 70491000 jam 0 ,mem_24g_retry 
+03b6 70490300 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-03b2 d9600d00 arg param_rx_setup ,timeup 
-03b3 34730200 until clkn_rt ,meet 
-03b4 204003cb call p_g24_transmit_receive_ack 
-03b5 6800c943 fetch 1 ,mem_24g_no_ack 
-03b6 c1008000 rtneq no_ack_24g 
-03b7 242c03da nbranch p_g24_retransmit ,sync 
-03b8 243783da nbranch p_g24_retransmit ,user3 
-03b9 58000000 setarg 0 
-03ba 600448a3 store 8 ,mem_24g_txbuf 
-03bb 204003f6 call p_g24_ackpayload_parse 
-03bc 20400400 call power_ctrl_pac_succ_incrs 
+03b7 d9600d00 arg param_rx_setup ,timeup 
+03b8 34730200 until clkn_rt ,meet 
+03b9 204003d0 call p_g24_transmit_receive_ack 
+03ba 6800c936 fetch 1 ,mem_24g_no_ack 
+03bb c1008000 rtneq no_ack_24g 
+03bc 242c03df nbranch p_g24_retransmit ,sync 
+03bd 243783df nbranch p_g24_retransmit ,user3 
+03be 58000000 setarg 0 
+03bf 60044896 store 8 ,mem_24g_txbuf 
+03c0 204003fb call p_g24_ackpayload_parse 
+03c1 20400405 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
-03bd 6800c906 fetch 1 ,mem_24g_pid 
-03be 1fe0fe01 increase 1 ,pdata 
-03bf 6000c906 store 1 ,mem_24g_pid 
-03c0 6800c917 fetch 1 ,mem_24g_pairing_sm 
-03c1 c0ff83c9 bne state_24g_pairing_success ,p_g24_paring_mode_start 
-03c2 20400369 call p_g24_transmit_succ_rf_config 
+03c2 6800c8f9 fetch 1 ,mem_24g_pid 
+03c3 1fe0fe01 increase 1 ,pdata 
+03c4 6000c8f9 store 1 ,mem_24g_pid 
+03c5 6800c90a fetch 1 ,mem_24g_pairing_sm 
+03c6 c0ff83ce bne state_24g_pairing_success ,p_g24_paring_mode_start 
+03c7 2040036e call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
-03c3 58000000 setarg 0 
-03c4 6001490d store 2 ,mem_24g_txfail_cnt 
-03c5 6000c90f store 1 ,mem_24g_get_ack_fail 
-03c6 6000ca3b store 1 ,mem_24g_hop_pac_retry 
-03c7 70490c00 jam ensure_off_24g ,mem_24g_ensure 
-03c8 20600000 rtn 
+03c8 58000000 setarg 0 
+03c9 60014900 store 2 ,mem_24g_txfail_cnt 
+03ca 6000c902 store 1 ,mem_24g_get_ack_fail 
+03cb 6000ca2e store 1 ,mem_24g_hop_pac_retry 
+03cc 7048ff00 jam ensure_off_24g ,mem_24g_ensure 
+03cd 20600000 rtn 
 
 p_g24_paring_mode_start:
-03c9 204003fd call power_ctrl_pac_succ_cnt_init 
-03ca 20200462 branch p_g24_paring_mode 
+03ce 20400402 call power_ctrl_pac_succ_cnt_init 
+03cf 20200467 branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
-03cb 7857fc00 disable user3 
-03cc 204005d9 call p_g24_transmit 
-03cd 6800c943 fetch 1 ,mem_24g_no_ack 
-03ce c00083d8 beq no_ack_24g ,p_g24_transmit_no_ack 
-03cf 18002a00 force 0 ,radio_ctrl 
-03d0 6802492f fetch 4 ,mem_24g_addr 
-03d1 98001200 iforce access 
-03d2 68088017 fetcht 1 ,mem_last_freq 
-03d3 2040291f call set_freq_rx 
-03d4 20402924 call rf_rx_enable 
-03d5 20400592 call p_g24_receive_rxon 
-03d6 205785d1 call p_g24_end_of_packet ,user3 
-03d7 20600000 rtn 
+03d0 7857fc00 disable user3 
+03d1 204005de call p_g24_transmit 
+03d2 6800c936 fetch 1 ,mem_24g_no_ack 
+03d3 c00083dd beq no_ack_24g ,p_g24_transmit_no_ack 
+03d4 18002a00 force 0 ,radio_ctrl 
+03d5 68024922 fetch 4 ,mem_24g_addr 
+03d6 98001200 iforce access 
+03d7 68088017 fetcht 1 ,mem_last_freq 
+03d8 2040291f call set_freq_rx 
+03d9 20402924 call rf_rx_enable 
+03da 20400597 call p_g24_receive_rxon 
+03db 205785d6 call p_g24_end_of_packet ,user3 
+03dc 20600000 rtn 
 
 p_g24_transmit_no_ack:
-03d8 204005d1 call p_g24_end_of_packet 
-03d9 202003bd branch p_g24_transmit_next_packet 
+03dd 204005d6 call p_g24_end_of_packet 
+03de 202003c2 branch p_g24_transmit_next_packet 
 
 p_g24_retransmit:
-03da 6800c90f fetch 1 ,mem_24g_get_ack_fail 
-03db 1fe0fe01 increase 1 ,pdata 
-03dc 6000c90f store 1 ,mem_24g_get_ack_fail 
-03dd 6800c917 fetch 1 ,mem_24g_pairing_sm 
-03de c0ff83ee bne state_24g_pairing_success ,p_g24_tx_paring_retry 
-03df 6808c910 fetcht 1 ,mem_24g_retry 
-03e0 18408401 increase 1 ,temp 
-03e1 6008c910 storet 1 ,mem_24g_retry 
-03e2 6800c94c fetch 1 ,mem_24g_max_retry 
-03e3 98467e00 isub temp ,pdata 
-03e4 243a03b2 nbranch p_g24_transmit_loop ,blank 
-03e5 6800ca3e fetch 1 ,mem_24g_rf_work_stage 
-03e6 c0018352 beq 3 ,p_g24_transmit_pac_fail_hop_stage3 
-03e7 6800ca3b fetch 1 ,mem_24g_hop_pac_retry 
-03e8 1fe0fe01 increase 1 ,pdata 
-03e9 6000ca3b store 1 ,mem_24g_hop_pac_retry 
-03ea c0010347 beq 2 ,p_g24_transmit_hop_pac_fail 
-03eb 2040033e call p_g24_hop_ch_enable 
-03ec 70494c01 jam 1 ,mem_24g_max_retry 
-03ed 202003b1 branch p_g24_transmit_packet 
+03df 6800c902 fetch 1 ,mem_24g_get_ack_fail 
+03e0 1fe0fe01 increase 1 ,pdata 
+03e1 6000c902 store 1 ,mem_24g_get_ack_fail 
+03e2 6800c90a fetch 1 ,mem_24g_pairing_sm 
+03e3 c0ff83f3 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+03e4 6808c903 fetcht 1 ,mem_24g_retry 
+03e5 18408401 increase 1 ,temp 
+03e6 6008c903 storet 1 ,mem_24g_retry 
+03e7 6800c93f fetch 1 ,mem_24g_max_retry 
+03e8 98467e00 isub temp ,pdata 
+03e9 243a03b7 nbranch p_g24_transmit_loop ,blank 
+03ea 6800ca31 fetch 1 ,mem_24g_rf_work_stage 
+03eb c0018357 beq 3 ,p_g24_transmit_pac_fail_hop_stage3 
+03ec 6800ca2e fetch 1 ,mem_24g_hop_pac_retry 
+03ed 1fe0fe01 increase 1 ,pdata 
+03ee 6000ca2e store 1 ,mem_24g_hop_pac_retry 
+03ef c001034c beq 2 ,p_g24_transmit_hop_pac_fail 
+03f0 20400343 call p_g24_hop_ch_enable 
+03f1 70493f01 jam 1 ,mem_24g_max_retry 
+03f2 202003b6 branch p_g24_transmit_packet 
 
 p_g24_tx_paring_retry:
-03ee 6800c90f fetch 1 ,mem_24g_get_ack_fail 
-03ef c1ff8000 rtnne 0xff 
-03f0 70490f00 jam 0 ,mem_24g_get_ack_fail 
-03f1 202003f4 branch p_g24_stop_g24_mode 
+03f3 6800c902 fetch 1 ,mem_24g_get_ack_fail 
+03f4 c1ff8000 rtnne 0xff 
+03f5 70490200 jam 0 ,mem_24g_get_ack_fail 
+03f6 202003f9 branch p_g24_stop_g24_mode 
 
 p_g24_tx_attempt_fail:
-03f2 58000000 setarg 0 
-03f3 6001490d store 2 ,mem_24g_txfail_cnt 
+03f7 58000000 setarg 0 
+03f8 60014900 store 2 ,mem_24g_txfail_cnt 
 
 p_g24_stop_g24_mode:
-03f4 700a993a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
-03f5 20207d86 branch ui_ipc_send_event 
+03f9 700a993a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+03fa 20207d86 branch ui_ipc_send_event 
 
 p_g24_ackpayload_parse:
-03f6 204004c5 call p_g24_read_len_pid_crc 
-03f7 6800c905 fetch 1 ,mem_24g_rxdata_length 
-03f8 207a0000 rtn blank 
-03f9 98007200 iforce loopcnt 
-03fa d8c04883 arg mem_24g_rxbuf + 2 ,contr 
-03fb d8a048e5 arg mem_24g_rxpayload ,contw 
-03fc 20207f01 branch memcpy 
+03fb 204004ca call p_g24_read_len_pid_crc 
+03fc 6800c8f8 fetch 1 ,mem_24g_rxdata_length 
+03fd 207a0000 rtn blank 
+03fe 98007200 iforce loopcnt 
+03ff d8c04876 arg mem_24g_rxbuf + 2 ,contr 
+0400 d8a048d8 arg mem_24g_rxpayload ,contw 
+0401 20207f01 branch memcpy 
 
 power_ctrl_pac_succ_cnt_init:
-03fd 704a4301 jam 1 ,mem_power_ctrl_level 
-03fe 704a4000 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-03ff 20600000 rtn 
+0402 704a3601 jam 1 ,mem_power_ctrl_level 
+0403 704a3300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0404 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-0400 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0401 1fe0fe01 increase 1 ,pdata 
-0402 6000ca40 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0403 20600000 rtn 
+0405 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0406 1fe0fe01 increase 1 ,pdata 
+0407 6000ca33 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0408 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-0404 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0405 1fe67c02 sub pdata ,2 ,null 
-0406 2441040c ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-0407 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0408 c1000000 rtneq 0 
-0409 1fe0ffff increase -1 ,pdata 
-040a 6000ca40 store 1 ,mem_power_ctrl_pac_succ_cnt 
-040b 20600000 rtn 
+0409 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+040a 1fe67c02 sub pdata ,2 ,null 
+040b 24410411 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+040c 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+040d c1000000 rtneq 0 
+040e 1fe0ffff increase -1 ,pdata 
+040f 6000ca33 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0410 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-040c 704a4003 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-040d 20600000 rtn 
+0411 704a3303 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0412 20600000 rtn 
 
 power_ctrl_start:
-040e da2049c9 arg mem_rssi_signal_buf ,rega 
-040f 2040053e call p_rssi_average 
-0410 6008ca41 storet 1 ,mem_rssi_avg_received 
-0411 280ffe26 isolate1 mark_24g ,mark 
-0412 2040841c call power_ctrl_24g_dis_max ,true 
-0413 24408420 ncall power_ctrl_le_dis_max ,true 
-0414 98467c00 isub temp ,null 
-0415 24210434 nbranch power_ctrl_txpower_incrs_force ,positive 
-0416 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0417 1fe67c02 sub pdata ,2 ,null 
-0418 24210424 nbranch power_ctrl_txpower_decrs_check ,positive 
-0419 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-041a c0000435 beq 0 ,power_ctrl_txpower_incrs 
-041b 20600000 rtn 
+0413 da2049bc arg mem_rssi_signal_buf ,rega 
+0414 20400543 call p_rssi_average 
+0415 6008ca34 storet 1 ,mem_rssi_avg_received 
+0416 280ffe26 isolate1 mark_24g ,mark 
+0417 20408421 call power_ctrl_24g_dis_max ,true 
+0418 24408425 ncall power_ctrl_le_dis_max ,true 
+0419 98467c00 isub temp ,null 
+041a 24210439 nbranch power_ctrl_txpower_incrs_force ,positive 
+041b 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+041c 1fe67c02 sub pdata ,2 ,null 
+041d 24210429 nbranch power_ctrl_txpower_decrs_check ,positive 
+041e 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+041f c000043a beq 0 ,power_ctrl_txpower_incrs 
+0420 20600000 rtn 
 
 power_ctrl_24g_dis_max:
-041c 58000082 setarg rssi_dis_max_24g 
-041d 20600000 rtn 
+0421 58000082 setarg rssi_dis_max_24g 
+0422 20600000 rtn 
 
 power_ctrl_24g_dis_min:
-041e 58000077 setarg rssi_dis_min_24g 
-041f 20600000 rtn 
+0423 58000077 setarg rssi_dis_min_24g 
+0424 20600000 rtn 
 
 power_ctrl_le_dis_max:
-0420 58000080 setarg rssi_dis_max_ble 
-0421 20600000 rtn 
+0425 58000080 setarg rssi_dis_max_ble 
+0426 20600000 rtn 
 
 power_ctrl_le_dis_min:
-0422 58000075 setarg rssi_dis_min_ble 
-0423 20600000 rtn 
+0427 58000075 setarg rssi_dis_min_ble 
+0428 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0424 6800ca40 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0425 c1900000 rtnne 32 
-0426 704a4000 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0429 6800ca33 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+042a c1900000 rtnne 32 
+042b 704a3300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0427 6808ca41 fetcht 1 ,mem_rssi_avg_received 
-0428 280ffe26 isolate1 mark_24g ,mark 
-0429 2040841e call power_ctrl_24g_dis_min ,true 
-042a 24408422 ncall power_ctrl_le_dis_min ,true 
-042b 98467c00 isub temp ,null 
-042c 24610000 nrtn positive 
-042d 6800ca43 fetch 1 ,mem_power_ctrl_level 
-042e c000043c beq 0 ,power_ctrl_decrs_level0 
-042f 1fe0ffff increase -1 ,pdata 
-0430 6000ca43 store 1 ,mem_power_ctrl_level 
-0431 c000043c beq 0 ,power_ctrl_decrs_level0 
+042c 6808ca34 fetcht 1 ,mem_rssi_avg_received 
+042d 280ffe26 isolate1 mark_24g ,mark 
+042e 20408423 call power_ctrl_24g_dis_min ,true 
+042f 24408427 ncall power_ctrl_le_dis_min ,true 
+0430 98467c00 isub temp ,null 
+0431 24610000 nrtn positive 
+0432 6800ca36 fetch 1 ,mem_power_ctrl_level 
+0433 c0000441 beq 0 ,power_ctrl_decrs_level0 
+0434 1fe0ffff increase -1 ,pdata 
+0435 6000ca36 store 1 ,mem_power_ctrl_level 
+0436 c0000441 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0432 7041de00 jam tx_power_0db ,mem_tx_power 
-0433 20600000 rtn 
+0437 7041de00 jam tx_power_0db ,mem_tx_power 
+0438 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0434 704a4000 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0439 704a3300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0435 6800ca43 fetch 1 ,mem_power_ctrl_level 
-0436 c001043a beq 2 ,power_ctrl_incrs_level2 
-0437 1fe0fe01 increase 1 ,pdata 
-0438 6000ca43 store 1 ,mem_power_ctrl_level 
-0439 c0008432 beq 1 ,power_ctrl_incrs_level1 
+043a 6800ca36 fetch 1 ,mem_power_ctrl_level 
+043b c001043f beq 2 ,power_ctrl_incrs_level2 
+043c 1fe0fe01 increase 1 ,pdata 
+043d 6000ca36 store 1 ,mem_power_ctrl_level 
+043e c0008437 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-043a 7041de02 jam tx_power_5db ,mem_tx_power 
-043b 20600000 rtn 
+043f 7041de02 jam tx_power_5db ,mem_tx_power 
+0440 20600000 rtn 
 
 power_ctrl_decrs_level0:
-043c 7041de04 jam tx_power_f5db ,mem_tx_power 
-043d 20600000 rtn 
+0441 7041de04 jam tx_power_f5db ,mem_tx_power 
+0442 20600000 rtn 
 
 p_g24_start_pairing_sm1:
-043e 79200026 set1 mark_24g ,mark 
-043f 20400442 call p_g24_pair_init 
+0443 79200026 set1 mark_24g ,mark 
+0444 20400447 call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-0440 70491701 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
-0441 20600000 rtn 
+0445 70490a01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0446 20600000 rtn 
 
 p_g24_pair_init:
-0442 7041de20 jam tx_power_pair ,mem_tx_power 
-0443 70490600 jam 0 ,mem_24g_pid 
-0444 7049114e jam g24_pair_ch ,mem_24g_ch 
-0445 68024913 fetch 4 ,mem_24g_paring_addr 
-0446 2020054f branch p_g24_update_addr_and_synccrc8 
+0447 7041de20 jam tx_power_pair ,mem_tx_power 
+0448 7048f900 jam 0 ,mem_24g_pid 
+0449 7049044e jam g24_pair_ch ,mem_24g_ch 
+044a 68024906 fetch 4 ,mem_24g_paring_addr 
+044b 20200554 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_pairing_sm:
-0447 6800c90c fetch 1 ,mem_24g_ensure 
-0448 c000ffe7 beq ensure_on_24g ,enable_user 
-0449 6800c917 fetch 1 ,mem_24g_pairing_sm 
-044a c000844e beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
-044b c0010451 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
-044c c0018454 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
-044d 20202a8c branch assert 
+044c 6800c8ff fetch 1 ,mem_24g_ensure 
+044d c000ffe7 beq ensure_on_24g ,enable_user 
+044e 6800c90a fetch 1 ,mem_24g_pairing_sm 
+044f c0008453 beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+0450 c0010456 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+0451 c0018459 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+0452 20202a8c branch assert 
 
 p_g24_pairing_sm_1:
-044e 70491711 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
-044f 70119eaa jam 0xaa ,mem_24g_common_temp 
-0450 20200456 branch p_g24_pairing_sm_common 
+0453 70490a11 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+0454 70119eaa jam 0xaa ,mem_24g_common_temp 
+0455 2020045b branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_2:
-0451 70491712 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
-0452 70119e55 jam 0x55 ,mem_24g_common_temp 
-0453 20200456 branch p_g24_pairing_sm_common 
+0456 70490a12 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0457 70119e55 jam 0x55 ,mem_24g_common_temp 
+0458 2020045b branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_3:
-0454 70491713 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
-0455 70119e22 jam 0x22 ,mem_24g_common_temp 
+0459 70490a13 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+045a 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 p_g24_pairing_sm_common:
-0456 6800c908 fetch 1 ,mem_24g_data_type 
-0457 1fe17e07 and_into bits_data ,pdata 
-0458 6000919f store 1 ,mem_24g_common_temp + 1 
-0459 6802493e fetch 4 ,mem_24g_device_addr 
-045a 600211a0 store 4 ,mem_24g_common_temp + 2 
+045b 6800c8fb fetch 1 ,mem_24g_data_type 
+045c 1fe17e07 and_into bits_data ,pdata 
+045d 6000919f store 1 ,mem_24g_common_temp + 1 
+045e 68024931 fetch 4 ,mem_24g_device_addr 
+045f 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 p_g24_put_pairing_data_in_buff:
-045b 7011a400 jam 0 ,mem_24g_common_temp + 6 
-045c da20119e arg mem_24g_common_temp ,rega 
-045d d8400007 arg 7 ,temp 
-045e 204004c0 call p_g24_put_data_in_buff 
-045f 2040055d call p_g24_transmit_prep 
-0460 20400391 call p_g24_txdata_enable_tx 
-0461 20207fe7 branch enable_user 
+0460 7011a400 jam 0 ,mem_24g_common_temp + 6 
+0461 da20119e arg mem_24g_common_temp ,rega 
+0462 d8400007 arg 7 ,temp 
+0463 204004c5 call p_g24_put_data_in_buff 
+0464 20400562 call p_g24_transmit_prep 
+0465 20400396 call p_g24_txdata_enable_tx 
+0466 20207fe7 branch enable_user 
 
 p_g24_paring_mode:
-0462 6800c917 fetch 1 ,mem_24g_pairing_sm 
-0463 c17f8000 rtneq state_24g_pairing_success 
-0464 c0088468 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
-0465 c009046a beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
-0466 c009846c beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
-0467 20600000 rtn 
+0467 6800c90a fetch 1 ,mem_24g_pairing_sm 
+0468 c17f8000 rtneq state_24g_pairing_success 
+0469 c008846d beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+046a c009046f beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+046b c0098471 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+046c 20600000 rtn 
 
 p_g24_pairing_sm_1_waiting_ack:
-0468 70491702 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
-0469 202003c3 branch p_g24_transmit_abandon 
+046d 70490a02 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+046e 202003c8 branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_2_waiting_ack:
-046a 70491703 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
-046b 202003c3 branch p_g24_transmit_abandon 
+046f 70490a03 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0470 202003c8 branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_3_waiting_ack:
-046c 704917ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
-046d 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-046e 20407d86 call ui_ipc_send_event 
-046f 680248e7 fetch 4 ,mem_24g_rxpayload + 2 
-0470 2040054f call p_g24_update_addr_and_synccrc8 
-0471 202003c3 branch p_g24_transmit_abandon 
+0471 70490aff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0472 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0473 20407d86 call ui_ipc_send_event 
+0474 680248da fetch 4 ,mem_24g_rxpayload + 2 
+0475 20400554 call p_g24_update_addr_and_synccrc8 
+0476 202003c8 branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-0472 793f8026 set0 mark_24g ,mark 
-0473 20400550 call p_g24_syncword_crc8 
-0474 2040056f call p_g24_ch 
-0475 6800c917 fetch 1 ,mem_24g_pairing_sm 
-0476 c1ff8000 rtnne state_24g_pairing_success 
-0477 20400487 call p_g24_tx_attemp_data_prep 
+0477 793f8026 set0 mark_24g ,mark 
+0478 20400555 call p_g24_syncword_crc8 
+0479 20400574 call p_g24_ch 
+047a 6800c90a fetch 1 ,mem_24g_pairing_sm 
+047b c1ff8000 rtnne state_24g_pairing_success 
+047c 2040048c call p_g24_tx_attemp_data_prep 
 
 p_g24_tx_attemp_dongle:
-0478 58000000 setarg 0 
-0479 60014934 store 2 ,mem_24g_check_dongle_times 
+047d 58000000 setarg 0 
+047e 60014927 store 2 ,mem_24g_check_dongle_times 
 
 p_g24_tx_attemp_dongle_loop:
-047a 20402afa call lpo_calibration 
-047b 200007d0 nop 2000 
-047c 6800c934 fetch 1 ,mem_24g_check_dongle_times 
-047d c07f83f4 beq 0xff ,p_g24_stop_g24_mode 
-047e 204003cb call p_g24_transmit_receive_ack 
-047f 242c0490 nbranch p_g24_attemp_txdata_retry ,sync 
-0480 24378490 nbranch p_g24_attemp_txdata_retry ,user3 
+047f 20402afa call lpo_calibration 
+0480 200007d0 nop 2000 
+0481 6800c927 fetch 1 ,mem_24g_check_dongle_times 
+0482 c07f83f9 beq 0xff ,p_g24_stop_g24_mode 
+0483 204003d0 call p_g24_transmit_receive_ack 
+0484 242c0495 nbranch p_g24_attemp_txdata_retry ,sync 
+0485 24378495 nbranch p_g24_attemp_txdata_retry ,user3 
 
 p_g24_tx_attemp_dongle_succ:
-0481 79200026 set1 mark_24g ,mark 
-0482 58000000 setarg 0 
-0483 60014934 store 2 ,mem_24g_check_dongle_times 
-0484 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
-0485 20407d86 call ui_ipc_send_event 
-0486 2020005e branch p_g24_transmit_by_interrupt_enable 
+0486 79200026 set1 mark_24g ,mark 
+0487 58000000 setarg 0 
+0488 60014927 store 2 ,mem_24g_check_dongle_times 
+0489 700a993c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+048a 20407d86 call ui_ipc_send_event 
+048b 2020005e branch p_g24_transmit_by_interrupt_enable 
 
 p_g24_tx_attemp_data_prep:
-0487 70119eff jam 0xff ,mem_24g_common_temp 
-0488 6800c908 fetch 1 ,mem_24g_data_type 
-0489 6000919f store 1 ,mem_24g_common_temp + 1 
-048a 6802493e fetch 4 ,mem_24g_device_addr 
-048b 600211a0 store 4 ,mem_24g_common_temp + 2 
-048c d8400006 arg 6 ,temp 
-048d da20119e arg mem_24g_common_temp ,rega 
-048e 204004c0 call p_g24_put_data_in_buff 
-048f 2020055d branch p_g24_transmit_prep 
+048c 70119eff jam 0xff ,mem_24g_common_temp 
+048d 6800c8fb fetch 1 ,mem_24g_data_type 
+048e 6000919f store 1 ,mem_24g_common_temp + 1 
+048f 68024931 fetch 4 ,mem_24g_device_addr 
+0490 600211a0 store 4 ,mem_24g_common_temp + 2 
+0491 d8400006 arg 6 ,temp 
+0492 da20119e arg mem_24g_common_temp ,rega 
+0493 204004c5 call p_g24_put_data_in_buff 
+0494 20200562 branch p_g24_transmit_prep 
 
 p_g24_attemp_txdata_retry:
-0490 68014934 fetch 2 ,mem_24g_check_dongle_times 
-0491 1fe0fe01 increase 1 ,pdata 
-0492 60014934 store 2 ,mem_24g_check_dongle_times 
-0493 2040056f call p_g24_ch 
-0494 2020047a branch p_g24_tx_attemp_dongle_loop 
+0495 68014927 fetch 2 ,mem_24g_check_dongle_times 
+0496 1fe0fe01 increase 1 ,pdata 
+0497 60014927 store 2 ,mem_24g_check_dongle_times 
+0498 20400574 call p_g24_ch 
+0499 2020047f branch p_g24_tx_attemp_dongle_loop 
 
 p_g24_auto_pair_start:
-0495 793f8026 set0 mark_24g ,mark 
-0496 204004b2 call p_g24_auto_pair_all_powerful 
-0497 20400487 call p_g24_tx_attemp_data_prep 
+049a 793f8026 set0 mark_24g ,mark 
+049b 204004b7 call p_g24_auto_pair_all_powerful 
+049c 2040048c call p_g24_tx_attemp_data_prep 
 
 p_g24_auto_pair_restart:
-0498 70493400 jam 0 ,mem_24g_check_dongle_times 
+049d 70492700 jam 0 ,mem_24g_check_dongle_times 
 
 p_g24_auto_pair_start_loop:
-0499 20402afa call lpo_calibration 
-049a 200007d0 nop 2000 
-049b 6800c934 fetch 1 ,mem_24g_check_dongle_times 
-049c c07f83f4 beq 0xff ,p_g24_stop_g24_mode 
-049d 204003cb call p_g24_transmit_receive_ack 
-049e 242c04a8 nbranch p_g24_auto_pair_retry ,sync 
-049f 243784a8 nbranch p_g24_auto_pair_retry ,user3 
-04a0 204003f6 call p_g24_ackpayload_parse 
-04a1 6800c9be fetch 1 ,mem_tx_power_temp 
-04a2 6000c1de store 1 ,mem_tx_power 
-04a3 6802492f fetch 4 ,mem_24g_addr 
-04a4 680a4913 fetcht 4 ,mem_24g_paring_addr 
-04a5 98467c00 isub temp ,null 
-04a6 2022843e branch p_g24_start_pairing_sm1 ,zero 
-04a7 20200481 branch p_g24_tx_attemp_dongle_succ 
+049e 20402afa call lpo_calibration 
+049f 200007d0 nop 2000 
+04a0 6800c927 fetch 1 ,mem_24g_check_dongle_times 
+04a1 c07f83f9 beq 0xff ,p_g24_stop_g24_mode 
+04a2 204003d0 call p_g24_transmit_receive_ack 
+04a3 242c04ad nbranch p_g24_auto_pair_retry ,sync 
+04a4 243784ad nbranch p_g24_auto_pair_retry ,user3 
+04a5 204003fb call p_g24_ackpayload_parse 
+04a6 6800c9b1 fetch 1 ,mem_tx_power_temp 
+04a7 6000c1de store 1 ,mem_tx_power 
+04a8 68024922 fetch 4 ,mem_24g_addr 
+04a9 680a4906 fetcht 4 ,mem_24g_paring_addr 
+04aa 98467c00 isub temp ,null 
+04ab 20228443 branch p_g24_start_pairing_sm1 ,zero 
+04ac 20200486 branch p_g24_tx_attemp_dongle_succ 
 
 p_g24_auto_pair_retry:
-04a8 6800c934 fetch 1 ,mem_24g_check_dongle_times 
-04a9 1fe0fe01 increase 1 ,pdata 
-04aa 6000c934 store 1 ,mem_24g_check_dongle_times 
-04ab 6800ca45 fetch 1 ,mem_24g_auto_paring_switch 
-04ac 1fe0fe01 increase 1 ,pdata 
-04ad 1fe17e01 and_into 1 ,pdata 
-04ae 6000ca45 store 1 ,mem_24g_auto_paring_switch 
-04af c00004b8 beq 0 ,p_g24_auto_pair_device_attemp 
-04b0 c00084ba beq 1 ,p_g24_auto_pair_pair_attemp 
-04b1 20600000 rtn 
+04ad 6800c927 fetch 1 ,mem_24g_check_dongle_times 
+04ae 1fe0fe01 increase 1 ,pdata 
+04af 6000c927 store 1 ,mem_24g_check_dongle_times 
+04b0 6800ca38 fetch 1 ,mem_24g_auto_paring_switch 
+04b1 1fe0fe01 increase 1 ,pdata 
+04b2 1fe17e01 and_into 1 ,pdata 
+04b3 6000ca38 store 1 ,mem_24g_auto_paring_switch 
+04b4 c00004bd beq 0 ,p_g24_auto_pair_device_attemp 
+04b5 c00084bf beq 1 ,p_g24_auto_pair_pair_attemp 
+04b6 20600000 rtn 
 
 p_g24_auto_pair_all_powerful:
-04b2 7041de20 jam tx_power_pair ,mem_tx_power 
-04b3 58000f0f setarg 0x0f0f 
-04b4 6001492f store 2 ,mem_24g_addr 
-04b5 e0a10000 istore 2 ,contw 
-04b6 20400550 call p_g24_syncword_crc8 
-04b7 2020056f branch p_g24_ch 
+04b7 7041de20 jam tx_power_pair ,mem_tx_power 
+04b8 58000f0f setarg 0x0f0f 
+04b9 60014922 store 2 ,mem_24g_addr 
+04ba e0a10000 istore 2 ,contw 
+04bb 20400555 call p_g24_syncword_crc8 
+04bc 20200574 branch p_g24_ch 
 
 p_g24_auto_pair_device_attemp:
-04b8 204004b2 call p_g24_auto_pair_all_powerful 
-04b9 20200499 branch p_g24_auto_pair_start_loop 
+04bd 204004b7 call p_g24_auto_pair_all_powerful 
+04be 2020049e branch p_g24_auto_pair_start_loop 
 
 p_g24_auto_pair_pair_attemp:
-04ba 20400442 call p_g24_pair_init 
-04bb 20200499 branch p_g24_auto_pair_start_loop 
+04bf 20400447 call p_g24_pair_init 
+04c0 2020049e branch p_g24_auto_pair_start_loop 
 
 p_g24_check_51cmd_stop_24g:
-04bc 793f8026 set0 mark_24g ,mark 
-04bd 204053ce call le_disable 
+04c1 793f8026 set0 mark_24g ,mark 
+04c2 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
-04be d8e00003 arg mosue_24g_pairing_flag ,queue 
-04bf 202043d2 branch mouse_disable_function_flag 
+04c3 d8e00003 arg mosue_24g_pairing_flag ,queue 
+04c4 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-04c0 6008c907 storet 1 ,mem_24g_datalen 
-04c1 18427200 copy temp ,loopcnt 
-04c2 d8a048a3 arg mem_24g_txbuf ,contw 
-04c3 1a220c00 copy rega ,contr 
-04c4 20207f01 branch memcpy 
+04c5 6008c8fa storet 1 ,mem_24g_datalen 
+04c6 18427200 copy temp ,loopcnt 
+04c7 d8a04896 arg mem_24g_txbuf ,contw 
+04c8 1a220c00 copy rega ,contr 
+04c9 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-04c5 6800c882 fetch 1 ,mem_24g_rxbuf + 1 
-04c6 1fe97e00 rshift3 pdata ,pdata 
-04c7 6000c905 store 1 ,mem_24g_rxdata_length 
-04c8 1fe0fe01 increase 1 ,pdata 
-04c9 d8c04882 arg mem_24g_rxbuf + 1 ,contr 
-04ca 98c08c00 iadd contr ,contr 
-04cb e8c18000 ifetch 3 ,contr 
-04cc 6001c944 store 3 ,mem_24g_sta_crc 
-04cd 6800c882 fetch 1 ,mem_24g_rxbuf + 1 
-04ce 1fe37e00 rshift pdata ,pdata 
-04cf 1fe17e03 and pdata ,0x03 ,pdata 
-04d0 6000c94a store 1 ,mem_24g_sta_pid 
-04d1 20600000 rtn 
+04ca 6800c875 fetch 1 ,mem_24g_rxbuf + 1 
+04cb 1fe97e00 rshift3 pdata ,pdata 
+04cc 6000c8f8 store 1 ,mem_24g_rxdata_length 
+04cd 1fe0fe01 increase 1 ,pdata 
+04ce d8c04875 arg mem_24g_rxbuf + 1 ,contr 
+04cf 98c08c00 iadd contr ,contr 
+04d0 e8c18000 ifetch 3 ,contr 
+04d1 6001c937 store 3 ,mem_24g_sta_crc 
+04d2 6800c875 fetch 1 ,mem_24g_rxbuf + 1 
+04d3 1fe37e00 rshift pdata ,pdata 
+04d4 1fe17e03 and pdata ,0x03 ,pdata 
+04d5 6000c93d store 1 ,mem_24g_sta_pid 
+04d6 20600000 rtn 
 
 p_set_freq_tx:
-04d2 60088017 storet 1 ,mem_last_freq 
-04d3 1840a200 add temp ,0 ,rega 
-04d4 20402981 call rf_write_freq 
-04d5 58000500 setarg param_pll_setup 
-04d6 20402a8f call sleep 
+04d7 60088017 storet 1 ,mem_last_freq 
+04d8 1840a200 add temp ,0 ,rega 
+04d9 20402981 call rf_write_freq 
+04da 58000500 setarg param_pll_setup 
+04db 20402a8f call sleep 
 
 p_rf_tx_enable:
-04d7 70890601 jam 0x1 ,rfen_adc 
-04d8 7089003c jam 0x3c ,rfen_rx 
-04d9 708901e0 jam 0xe0 ,rfen_tx 
-04da 2000000a nop 10 
-04db 70890201 jam 0x01 ,rfen_mdm 
-04dc 7089023d jam 0x3d ,rfen_mdm 
-04dd 2000000a nop 10 
-04de 708903b7 jam 0xb7 ,rfen_sn 
+04dc 70890601 jam 0x1 ,rfen_adc 
+04dd 7089003c jam 0x3c ,rfen_rx 
+04de 708901e0 jam 0xe0 ,rfen_tx 
 04df 2000000a nop 10 
-04e0 7089027d jam 0x7d ,rfen_mdm 
-04e1 6800c1de fetch 1 ,mem_tx_power 
-04e2 c00004e9 beq tx_power_0db ,p_set_tx_power_0db 
-04e3 c00084f1 beq tx_power_3db ,p_set_tx_power_3db 
-04e4 c00104f9 beq tx_power_5db ,p_set_tx_power_5db 
-04e5 c0018501 beq tx_power_f3db ,p_set_tx_power_f3db 
-04e6 c0020509 beq tx_power_f5db ,p_set_tx_power_f5db 
-04e7 c010051b beq tx_power_pair ,p_set_tx_power_pair 
-04e8 202004e9 branch p_set_tx_power_0db 
+04e0 70890201 jam 0x01 ,rfen_mdm 
+04e1 7089023d jam 0x3d ,rfen_mdm 
+04e2 2000000a nop 10 
+04e3 708903b7 jam 0xb7 ,rfen_sn 
+04e4 2000000a nop 10 
+04e5 7089027d jam 0x7d ,rfen_mdm 
+04e6 6800c1de fetch 1 ,mem_tx_power 
+04e7 c00004ee beq tx_power_0db ,p_set_tx_power_0db 
+04e8 c00084f6 beq tx_power_3db ,p_set_tx_power_3db 
+04e9 c00104fe beq tx_power_5db ,p_set_tx_power_5db 
+04ea c0018506 beq tx_power_f3db ,p_set_tx_power_f3db 
+04eb c002050e beq tx_power_f5db ,p_set_tx_power_f5db 
+04ec c0100520 beq tx_power_pair ,p_set_tx_power_pair 
+04ed 202004ee branch p_set_tx_power_0db 
 
 p_set_tx_power_0db:
-04e9 20400511 call p_rx_low_sens 
-04ea 70894bba jam 0xba ,0x894b 
-04eb 708955d0 jam 0xd0 ,0x8955 
-04ec 708956e0 jam 0xe0 ,0x8956 
-04ed 70895788 jam 0x88 ,0x8957 
-04ee 7089586c jam 0x6c ,0x8958 
-04ef 70895910 jam 0x10 ,0x8959 
-04f0 2020294b branch set_tx_power_0db 
+04ee 20400516 call p_rx_low_sens 
+04ef 70894bba jam 0xba ,0x894b 
+04f0 708955d0 jam 0xd0 ,0x8955 
+04f1 708956e0 jam 0xe0 ,0x8956 
+04f2 70895788 jam 0x88 ,0x8957 
+04f3 7089586c jam 0x6c ,0x8958 
+04f4 70895910 jam 0x10 ,0x8959 
+04f5 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_3db:
-04f1 20400516 call p_rx_high_sens 
-04f2 70894bba jam 0xba ,0x894b 
-04f3 708955d0 jam 0xd0 ,0x8955 
-04f4 708956e0 jam 0xe0 ,0x8956 
-04f5 70895788 jam 0x88 ,0x8957 
-04f6 7089583c jam 0x3c ,0x8958 
-04f7 70895910 jam 0x10 ,0x8959 
-04f8 2020294f branch set_tx_power_3db 
+04f6 2040051b call p_rx_high_sens 
+04f7 70894bba jam 0xba ,0x894b 
+04f8 708955d0 jam 0xd0 ,0x8955 
+04f9 708956e0 jam 0xe0 ,0x8956 
+04fa 70895788 jam 0x88 ,0x8957 
+04fb 7089583c jam 0x3c ,0x8958 
+04fc 70895910 jam 0x10 ,0x8959 
+04fd 2020294f branch set_tx_power_3db 
 
 p_set_tx_power_5db:
-04f9 20400516 call p_rx_high_sens 
-04fa 70894bba jam 0xba ,0x894b 
-04fb 708955d0 jam 0xd0 ,0x8955 
-04fc 708956e0 jam 0xe0 ,0x8956 
-04fd 70895788 jam 0x88 ,0x8957 
-04fe 7089583c jam 0x3c ,0x8958 
-04ff 70895910 jam 0x10 ,0x8959 
-0500 20202953 branch set_tx_power_5db 
+04fe 2040051b call p_rx_high_sens 
+04ff 70894bba jam 0xba ,0x894b 
+0500 708955d0 jam 0xd0 ,0x8955 
+0501 708956e0 jam 0xe0 ,0x8956 
+0502 70895788 jam 0x88 ,0x8957 
+0503 7089583c jam 0x3c ,0x8958 
+0504 70895910 jam 0x10 ,0x8959 
+0505 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f3db:
-0501 20400511 call p_rx_low_sens 
-0502 70894bba jam 0xba ,0x894b 
-0503 708955d0 jam 0xd0 ,0x8955 
-0504 708956c0 jam 0xc0 ,0x8956 
-0505 70895788 jam 0x88 ,0x8957 
-0506 7089586c jam 0x6c ,0x8958 
-0507 70895910 jam 0x10 ,0x8959 
-0508 20202957 branch set_tx_power_f3db 
+0506 20400516 call p_rx_low_sens 
+0507 70894bba jam 0xba ,0x894b 
+0508 708955d0 jam 0xd0 ,0x8955 
+0509 708956c0 jam 0xc0 ,0x8956 
+050a 70895788 jam 0x88 ,0x8957 
+050b 7089586c jam 0x6c ,0x8958 
+050c 70895910 jam 0x10 ,0x8959 
+050d 20202957 branch set_tx_power_f3db 
 
 p_set_tx_power_f5db:
-0509 20400511 call p_rx_low_sens 
-050a 70894bba jam 0xba ,0x894b 
-050b 708955d0 jam 0xd0 ,0x8955 
-050c 708956c0 jam 0xc0 ,0x8956 
-050d 70895788 jam 0x88 ,0x8957 
-050e 7089586c jam 0x6c ,0x8958 
-050f 70895910 jam 0x10 ,0x8959 
-0510 2020295b branch set_tx_power_f5db 
+050e 20400516 call p_rx_low_sens 
+050f 70894bba jam 0xba ,0x894b 
+0510 708955d0 jam 0xd0 ,0x8955 
+0511 708956c0 jam 0xc0 ,0x8956 
+0512 70895788 jam 0x88 ,0x8957 
+0513 7089586c jam 0x6c ,0x8958 
+0514 70895910 jam 0x10 ,0x8959 
+0515 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0511 70894c5b jam 0x5b ,0x894c 
-0512 70894d96 jam 0x96 ,0x894d 
-0513 70894e2c jam 0x2c ,0x894e 
-0514 70894f46 jam 0x46 ,0x894f 
-0515 20600000 rtn 
+0516 70894c5b jam 0x5b ,0x894c 
+0517 70894d96 jam 0x96 ,0x894d 
+0518 70894e2c jam 0x2c ,0x894e 
+0519 70894f46 jam 0x46 ,0x894f 
+051a 20600000 rtn 
 
 p_rx_high_sens:
-0516 70894cfb jam 0xfb ,0x894c 
-0517 70894def jam 0xef ,0x894d 
-0518 70894eec jam 0xec ,0x894e 
-0519 70894f5e jam 0x5e ,0x894f 
-051a 20600000 rtn 
+051b 70894cfb jam 0xfb ,0x894c 
+051c 70894def jam 0xef ,0x894d 
+051d 70894eec jam 0xec ,0x894e 
+051e 70894f5e jam 0x5e ,0x894f 
+051f 20600000 rtn 
 
 p_set_tx_power_pair:
-051b 70894bba jam 0xba ,0x894b 
-051c 708956c2 jam 0xc2 ,0x8956 
-051d 708955d0 jam 0xd0 ,0x8955 
-051e 20600000 rtn 
+0520 70894bba jam 0xba ,0x894b 
+0521 708956c2 jam 0xc2 ,0x8956 
+0522 708955d0 jam 0xd0 ,0x8955 
+0523 20600000 rtn 
 
 p_shutdown_radio:
-051f 18002a08 force 8 ,radio_ctrl 
-0520 202028fa branch shutdown_radio + 1 
+0524 18002a08 force 8 ,radio_ctrl 
+0525 202028fa branch shutdown_radio + 1 
 
 p_g24_timer_check:
-0521 20407fe9 call disable_user 
-0522 680a4928 fetcht 4 ,mem_24g_tx_btclk 
-0523 1c427e00 copy clkn_bt ,pdata 
-0524 98467c00 isub temp ,null 
-0525 24412d18 ncall g24_timer_timeout ,positive 
-0526 1fe22400 copy pdata ,regb 
-0527 68024928 fetch 4 ,mem_24g_tx_btclk 
-0528 6808c92c fetcht 1 ,mem_24g_interval 
-0529 98408400 iadd temp ,temp 
-052a 1a427e00 copy regb ,pdata 
-052b 98467c00 isub temp ,null 
-052c 24610000 nrtn positive 
-052d 793ffe1c set0 28 ,pdata 
-052e 60024928 store 4 ,mem_24g_tx_btclk 
-052f 20207fe7 branch enable_user 
+0526 20407fe9 call disable_user 
+0527 680a491b fetcht 4 ,mem_24g_tx_btclk 
+0528 1c427e00 copy clkn_bt ,pdata 
+0529 98467c00 isub temp ,null 
+052a 24412d18 ncall g24_timer_timeout ,positive 
+052b 1fe22400 copy pdata ,regb 
+052c 6802491b fetch 4 ,mem_24g_tx_btclk 
+052d 6808c91f fetcht 1 ,mem_24g_interval 
+052e 98408400 iadd temp ,temp 
+052f 1a427e00 copy regb ,pdata 
+0530 98467c00 isub temp ,null 
+0531 24610000 nrtn positive 
+0532 793ffe1c set0 28 ,pdata 
+0533 6002491b store 4 ,mem_24g_tx_btclk 
+0534 20207fe7 branch enable_user 
 
 p_rssi_noise:
-0530 204029bb call save_rssi 
-0531 207a0000 rtn blank 
-0532 6808c9c1 fetcht 1 ,mem_rssi_noise_index 
-0533 da200d9e arg mem_rssi_noise_buffer ,rega 
-0534 20400537 call p_rssi_store 
-0535 6008c9c1 storet 1 ,mem_rssi_noise_index 
-0536 20600000 rtn 
+0535 204029bb call save_rssi 
+0536 207a0000 rtn blank 
+0537 6808c9b4 fetcht 1 ,mem_rssi_noise_index 
+0538 da200d9e arg mem_rssi_noise_buffer ,rega 
+0539 2040053c call p_rssi_store 
+053a 6008c9b4 storet 1 ,mem_rssi_noise_index 
+053b 20600000 rtn 
 
 p_rssi_store:
-0537 1a227e00 copy rega ,pdata 
-0538 98408a00 iadd temp ,contw 
-0539 68008018 fetch 1 ,mem_rssi 
-053a e0a08000 istore 1 ,contw 
-053b 18408401 increase 1 ,temp 
-053c 18410407 and_into rssi_buf_len_signal ,temp 
-053d 20600000 rtn 
+053c 1a227e00 copy rega ,pdata 
+053d 98408a00 iadd temp ,contw 
+053e 68008018 fetch 1 ,mem_rssi 
+053f e0a08000 istore 1 ,contw 
+0540 18408401 increase 1 ,temp 
+0541 18410407 and_into rssi_buf_len_signal ,temp 
+0542 20600000 rtn 
 
 p_rssi_average:
-053e d8400000 arg 0 ,temp 
-053f df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
-0540 1a220c00 copy rega ,contr 
+0543 d8400000 arg 0 ,temp 
+0544 df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+0545 1a220c00 copy rega ,contr 
 
 p_rssi_average_loop:
-0541 e8c08000 ifetch 1 ,contr 
-0542 98408400 iadd temp ,temp 
-0543 c2000541 loop p_rssi_average_loop 
-0544 18497e00 rshift3 temp ,pdata 
-0545 1fe20400 copy pdata ,temp 
-0546 c6930000 rtnmark0 mark_24g 
-0547 1fe6fc0a div pdata ,10 
-0548 20407f86 call wait_div_end 
-0549 1807fe00 quotient pdata 
-054a 1ff27e00 lshift4 pdata ,pdata 
-054b 18070400 remainder temp 
-054c 98418400 ior temp ,temp 
-054d 20600000 rtn 
-054e 20600000 rtn 
+0546 e8c08000 ifetch 1 ,contr 
+0547 98408400 iadd temp ,temp 
+0548 c2000546 loop p_rssi_average_loop 
+0549 18497e00 rshift3 temp ,pdata 
+054a 1fe20400 copy pdata ,temp 
+054b c6930000 rtnmark0 mark_24g 
+054c 1fe6fc0a div pdata ,10 
+054d 20407f86 call wait_div_end 
+054e 1807fe00 quotient pdata 
+054f 1ff27e00 lshift4 pdata ,pdata 
+0550 18070400 remainder temp 
+0551 98418400 ior temp ,temp 
+0552 20600000 rtn 
+0553 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-054f 6002492f store 4 ,mem_24g_addr 
+0554 60024922 store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-0550 da200000 arg 0 ,rega 
-0551 df200004 arg 4 ,loopcnt 
-0552 d8c0492f arg mem_24g_addr ,contr 
+0555 da200000 arg 0 ,rega 
+0556 df200004 arg 4 ,loopcnt 
+0557 d8c04922 arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-0553 e8c08000 ifetch 1 ,contr 
-0554 9a20a200 iadd rega ,rega 
-0555 c2000553 loop p_g24_syncword_crc8_loop 
-0556 1a227e00 copy rega ,pdata 
-0557 600149b8 store 2 ,mem_24g_syncword 
-0558 6800c9b8 fetch 1 ,mem_24g_syncword 
-0559 6808c9b9 fetcht 1 ,mem_24g_syncword + 1 
-055a 9840fe00 iadd temp ,pdata 
-055b 6000c9ba store 1 ,mem_24g_syncword_crc8 
-055c 20600000 rtn 
+0558 e8c08000 ifetch 1 ,contr 
+0559 9a20a200 iadd rega ,rega 
+055a c2000558 loop p_g24_syncword_crc8_loop 
+055b 1a227e00 copy rega ,pdata 
+055c 600149ab store 2 ,mem_24g_syncword 
+055d 6800c9ab fetch 1 ,mem_24g_syncword 
+055e 6808c9ac fetcht 1 ,mem_24g_syncword + 1 
+055f 9840fe00 iadd temp ,pdata 
+0560 6000c9ad store 1 ,mem_24g_syncword_crc8 
+0561 20600000 rtn 
 
 p_g24_transmit_prep:
-055d 6800c907 fetch 1 ,mem_24g_datalen 
-055e 1fe0fe02 increase 2 ,pdata 
-055f 6000c909 store 1 ,mem_24g_txlen 
-0560 6800c908 fetch 1 ,mem_24g_data_type 
-0561 6000c8c3 store 1 ,mem_24g_txpayload 
-0562 6800c907 fetch 1 ,mem_24g_datalen 
-0563 1fe9fe00 lshift3 pdata ,pdata 
-0564 6808c906 fetcht 1 ,mem_24g_pid 
-0565 18410403 and temp ,0x03 ,temp 
-0566 18438400 lshift temp ,temp 
-0567 9841fe00 ior temp ,pdata 
-0568 6808c943 fetcht 1 ,mem_24g_no_ack 
-0569 9840fe00 iadd temp ,pdata 
-056a e0a08000 istore 1 ,contw 
-056b 6800c907 fetch 1 ,mem_24g_datalen 
-056c 98007200 iforce loopcnt 
-056d d8c048a3 arg mem_24g_txbuf ,contr 
-056e 20207f01 branch memcpy 
+0562 6800c8fa fetch 1 ,mem_24g_datalen 
+0563 1fe0fe02 increase 2 ,pdata 
+0564 6000c8fc store 1 ,mem_24g_txlen 
+0565 6800c8fb fetch 1 ,mem_24g_data_type 
+0566 6000c8b6 store 1 ,mem_24g_txpayload 
+0567 6800c8fa fetch 1 ,mem_24g_datalen 
+0568 1fe9fe00 lshift3 pdata ,pdata 
+0569 6808c8f9 fetcht 1 ,mem_24g_pid 
+056a 18410403 and temp ,0x03 ,temp 
+056b 18438400 lshift temp ,temp 
+056c 9841fe00 ior temp ,pdata 
+056d 6808c936 fetcht 1 ,mem_24g_no_ack 
+056e 9840fe00 iadd temp ,pdata 
+056f e0a08000 istore 1 ,contw 
+0570 6800c8fa fetch 1 ,mem_24g_datalen 
+0571 98007200 iforce loopcnt 
+0572 d8c04896 arg mem_24g_txbuf ,contr 
+0573 20207f01 branch memcpy 
 
 p_g24_ch:
-056f 6808c912 fetcht 1 ,mem_24g_current_ch_number 
-0570 20400573 call p_g24_ch_map_size 
-0571 6008c912 storet 1 ,mem_24g_current_ch_number 
-0572 20600000 rtn 
+0574 6808c905 fetcht 1 ,mem_24g_current_ch_number 
+0575 20400578 call p_g24_ch_map_size 
+0576 6008c905 storet 1 ,mem_24g_current_ch_number 
+0577 20600000 rtn 
 
 p_g24_ch_map_size:
-0573 20400577 call p_g24_ch_calc 
-0574 18408401 increase 1 ,temp 
-0575 18410403 and_into 3 ,temp 
-0576 20600000 rtn 
+0578 2040057c call p_g24_ch_calc 
+0579 18408401 increase 1 ,temp 
+057a 18410403 and_into 3 ,temp 
+057b 20600000 rtn 
 
 p_g24_ch_calc:
-0577 6800c92f fetch 1 ,mem_24g_addr 
-0578 1fe17e03 and_into 0x03 ,pdata 
-0579 1fefa204 mul32 pdata ,4 ,rega 
-057a 58004918 setarg mem_24g_ch_map1 
-057b 9a20fe00 iadd rega ,pdata 
-057c 98408c00 iadd temp ,contr 
-057d e8c08000 ifetch 1 ,contr 
-057e 6000c911 store 1 ,mem_24g_ch 
-057f 20600000 rtn 
+057c 6800c922 fetch 1 ,mem_24g_addr 
+057d 1fe17e03 and_into 0x03 ,pdata 
+057e 1fefa204 mul32 pdata ,4 ,rega 
+057f 5800490b setarg mem_24g_ch_map1 
+0580 9a20fe00 iadd rega ,pdata 
+0581 98408c00 iadd temp ,contr 
+0582 e8c08000 ifetch 1 ,contr 
+0583 6000c904 store 1 ,mem_24g_ch 
+0584 20600000 rtn 
 
 p_g24_prep:
-0580 7844fc00 disable enable_crc 
-0581 7843fc00 disable enable_white 
-0582 58555555 setarg 0x555555 
-0583 98001e00 iforce crc24_init 
-0584 6800c911 fetch 1 ,mem_24g_ch 
-0585 1fed8400 reverse pdata ,temp 
-0586 79200401 set1 1 ,temp 
-0587 18431c00 rshift temp ,white_init 
-0588 20600000 rtn 
+0585 7844fc00 disable enable_crc 
+0586 7843fc00 disable enable_white 
+0587 58555555 setarg 0x555555 
+0588 98001e00 iforce crc24_init 
+0589 6800c904 fetch 1 ,mem_24g_ch 
+058a 1fed8400 reverse pdata ,temp 
+058b 79200401 set1 1 ,temp 
+058c 18431c00 rshift temp ,white_init 
+058d 20600000 rtn 
 
 p_g24_receive_packet:
-0589 204053c4 call le_enable 
-058a 6802492f fetch 4 ,mem_24g_addr 
-058b 98001200 iforce access 
-058c 20402918 call set_sync_on 
-058d 6808c911 fetcht 1 ,mem_24g_ch 
-058e 2040291f call set_freq_rx 
-058f 58000500 setarg param_pll_setup 
-0590 20402a8f call sleep 
-0591 20402924 call rf_rx_enable 
+058e 204053c4 call le_enable 
+058f 68024922 fetch 4 ,mem_24g_addr 
+0590 98001200 iforce access 
+0591 20402918 call set_sync_on 
+0592 6808c904 fetcht 1 ,mem_24g_ch 
+0593 2040291f call set_freq_rx 
+0594 58000500 setarg param_pll_setup 
+0595 20402a8f call sleep 
+0596 20402924 call rf_rx_enable 
 
 p_g24_receive_rxon:
-0592 20400580 call p_g24_prep 
-0593 7857fc00 disable user3 
-0594 7826fc00 enable decode_fec0 
-0595 7830fc00 enable is_rx 
-0596 78507c00 disable is_tx 
-0597 78287c00 enable swfine 
-0598 6801490a fetch 2 ,mem_24g_rx_window 
-0599 98003600 iforce stop_watch 
-059a 37c18400 correlate null ,timeout 
-059b 242c05d5 nbranch p_g24_sync_timeout ,sync 
-059c 7846fc00 disable decode_fec0 
-059d 7825fc00 enable decode_fec1 
-059e 7823fc00 enable enable_white 
-059f 7824fc00 enable enable_crc 
-05a0 09800008 parse demod ,bucket ,8 
-05a1 19897e00 rshift3 pwindow ,pdata 
-05a2 6000c9bb store 1 ,mem_24g_get_syncword_crc8 
-05a3 6808c9ba fetcht 1 ,mem_24g_syncword_crc8 
-05a4 98467c00 isub temp ,null 
-05a5 242285d1 nbranch p_g24_end_of_packet ,zero 
-05a6 09800008 parse demod ,bucket ,8 
-05a7 19897e00 rshift3 pwindow ,pdata 
-05a8 6000c881 store 1 ,mem_24g_rxbuf 
-05a9 6800c94d fetch 1 ,mem_24g_mode 
-05aa 1fe67c02 sub pdata ,rx_24g ,null 
-05ab 202285b0 branch p_g24_receive_skip ,zero 
-05ac 6800c881 fetch 1 ,mem_24g_rxbuf 
-05ad 6808c908 fetcht 1 ,mem_24g_data_type 
-05ae a8400e00 icompare bits_data ,temp 
-05af 242085d1 nbranch p_g24_end_of_packet ,true 
+0597 20400585 call p_g24_prep 
+0598 7857fc00 disable user3 
+0599 7826fc00 enable decode_fec0 
+059a 7830fc00 enable is_rx 
+059b 78507c00 disable is_tx 
+059c 78287c00 enable swfine 
+059d 680148fd fetch 2 ,mem_24g_rx_window 
+059e 98003600 iforce stop_watch 
+059f 37c18400 correlate null ,timeout 
+05a0 242c05da nbranch p_g24_sync_timeout ,sync 
+05a1 7846fc00 disable decode_fec0 
+05a2 7825fc00 enable decode_fec1 
+05a3 7823fc00 enable enable_white 
+05a4 7824fc00 enable enable_crc 
+05a5 09800008 parse demod ,bucket ,8 
+05a6 19897e00 rshift3 pwindow ,pdata 
+05a7 6000c9ae store 1 ,mem_24g_get_syncword_crc8 
+05a8 6808c9ad fetcht 1 ,mem_24g_syncword_crc8 
+05a9 98467c00 isub temp ,null 
+05aa 242285d6 nbranch p_g24_end_of_packet ,zero 
+05ab 09800008 parse demod ,bucket ,8 
+05ac 19897e00 rshift3 pwindow ,pdata 
+05ad 6000c874 store 1 ,mem_24g_rxbuf 
+05ae 6800c940 fetch 1 ,mem_24g_mode 
+05af 1fe67c02 sub pdata ,rx_24g ,null 
+05b0 202285b5 branch p_g24_receive_skip ,zero 
+05b1 6800c874 fetch 1 ,mem_24g_rxbuf 
+05b2 6808c8fb fetcht 1 ,mem_24g_data_type 
+05b3 a8400e00 icompare bits_data ,temp 
+05b4 242085d6 nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-05b0 09800008 parse demod ,bucket ,8 
-05b1 19897e00 rshift3 pwindow ,pdata 
-05b2 e0a08000 istore 1 ,contw 
-05b3 1fe97e00 rshift3 pdata ,pdata 
-05b4 1fe1721f and pdata ,0x1f ,loopcnt 
-05b5 202285ba branch p_g24rx_nopayload ,zero 
+05b5 09800008 parse demod ,bucket ,8 
+05b6 19897e00 rshift3 pwindow ,pdata 
+05b7 e0a08000 istore 1 ,contw 
+05b8 1fe97e00 rshift3 pdata ,pdata 
+05b9 1fe1721f and pdata ,0x1f ,loopcnt 
+05ba 202285bf branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-05b6 09800008 parse demod ,bucket ,8 
-05b7 19897e00 rshift3 pwindow ,pdata 
-05b8 e0a08000 istore 1 ,contw 
-05b9 c20005b6 loop p_g24rx_loop 
-
-p_g24rx_nopayload:
-05ba 18a22200 copy contw ,rega 
 05bb 09800008 parse demod ,bucket ,8 
 05bc 19897e00 rshift3 pwindow ,pdata 
-05bd 6000ca42 store 1 ,mem_rssi_hex_received 
-05be 1a220a00 copy rega ,contw 
-05bf 09800018 parse demod ,bucket ,24 
-05c0 78287c00 enable swfine 
-05c1 db600664 arg param_sifs ,stop_watch 
-05c2 1fef7e00 rshift32 pdata ,pdata 
-05c3 1ff17e00 rshift16 pdata ,pdata 
-05c4 e0a18000 istore 3 ,contw 
-05c5 7845fc00 disable decode_fec1 
-05c6 202305d1 branch p_g24_end_of_packet ,crc_failed 
-05c7 7837fc00 enable user3 
-05c8 68008017 fetch 1 ,mem_last_freq 
-05c9 1fe0a200 add pdata ,0 ,rega 
-05ca 20402981 call rf_write_freq 
-05cb 7846fc00 disable decode_fec0 
-05cc 20402918 call set_sync_on 
-05cd 6800ca42 fetch 1 ,mem_rssi_hex_received 
-05ce 1fe22200 copy pdata ,rega 
-05cf 2040001b call p_rssi_signal 
-05d0 20600000 rtn 
+05bd e0a08000 istore 1 ,contw 
+05be c20005bb loop p_g24rx_loop 
+
+p_g24rx_nopayload:
+05bf 18a22200 copy contw ,rega 
+05c0 09800008 parse demod ,bucket ,8 
+05c1 19897e00 rshift3 pwindow ,pdata 
+05c2 6000ca35 store 1 ,mem_rssi_hex_received 
+05c3 1a220a00 copy rega ,contw 
+05c4 09800018 parse demod ,bucket ,24 
+05c5 78287c00 enable swfine 
+05c6 db600664 arg param_sifs ,stop_watch 
+05c7 1fef7e00 rshift32 pdata ,pdata 
+05c8 1ff17e00 rshift16 pdata ,pdata 
+05c9 e0a18000 istore 3 ,contw 
+05ca 7845fc00 disable decode_fec1 
+05cb 202305d6 branch p_g24_end_of_packet ,crc_failed 
+05cc 7837fc00 enable user3 
+05cd 68008017 fetch 1 ,mem_last_freq 
+05ce 1fe0a200 add pdata ,0 ,rega 
+05cf 20402981 call rf_write_freq 
+05d0 7846fc00 disable decode_fec0 
+05d1 20402918 call set_sync_on 
+05d2 6800ca35 fetch 1 ,mem_rssi_hex_received 
+05d3 1fe22200 copy pdata ,rega 
+05d4 2040001b call p_rssi_signal 
+05d5 20600000 rtn 
 
 p_g24_end_of_packet:
-05d1 784dfc00 disable encode_fec1 
-05d2 7845fc00 disable decode_fec1 
-05d3 2040264d call end_of_packet 
-05d4 20600000 rtn 
+05d6 784dfc00 disable encode_fec1 
+05d7 7845fc00 disable decode_fec1 
+05d8 2040264d call end_of_packet 
+05d9 20600000 rtn 
 
 p_g24_sync_timeout:
-05d5 202005d1 branch p_g24_end_of_packet 
+05da 202005d6 branch p_g24_end_of_packet 
 
 p_g24_set_freq_tx:
-05d6 20402918 call set_sync_on 
-05d7 6808c911 fetcht 1 ,mem_24g_ch 
-05d8 20202933 branch set_freq_tx 
+05db 20402918 call set_sync_on 
+05dc 6808c904 fetcht 1 ,mem_24g_ch 
+05dd 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-05d9 204053c4 call le_enable 
-05da 6802492f fetch 4 ,mem_24g_addr 
-05db 98001200 iforce access 
-05dc 20400580 call p_g24_prep 
-05dd 204005d6 call p_g24_set_freq_tx 
-05de 79202a00 set1 txgfsk ,radio_ctrl 
-05df 782efc00 enable encode_fec0 
-05e0 78307c00 enable is_tx 
-05e1 7850fc00 disable is_rx 
-05e2 19317e00 rshift16 access ,pdata 
-05e3 1fecfe00 rshift8 pdata ,pdata 
-05e4 1ff1fe00 rshift4 pdata ,pdata 
-05e5 08008628 inject mod ,40 
-05e6 784efc00 disable encode_fec0 
-05e7 782dfc00 enable encode_fec1 
-05e8 7823fc00 enable enable_white 
-05e9 7824fc00 enable enable_crc 
-05ea 6800c9ba fetch 1 ,mem_24g_syncword_crc8 
-05eb 08008608 inject mod ,8 
-05ec 6800c909 fetch 1 ,mem_24g_txlen 
-05ed 98007200 iforce loopcnt 
-05ee d8c048c3 arg mem_24g_txpayload ,contr 
+05de 204053c4 call le_enable 
+05df 68024922 fetch 4 ,mem_24g_addr 
+05e0 98001200 iforce access 
+05e1 20400585 call p_g24_prep 
+05e2 204005db call p_g24_set_freq_tx 
+05e3 79202a00 set1 txgfsk ,radio_ctrl 
+05e4 782efc00 enable encode_fec0 
+05e5 78307c00 enable is_tx 
+05e6 7850fc00 disable is_rx 
+05e7 19317e00 rshift16 access ,pdata 
+05e8 1fecfe00 rshift8 pdata ,pdata 
+05e9 1ff1fe00 rshift4 pdata ,pdata 
+05ea 08008628 inject mod ,40 
+05eb 784efc00 disable encode_fec0 
+05ec 782dfc00 enable encode_fec1 
+05ed 7823fc00 enable enable_white 
+05ee 7824fc00 enable enable_crc 
+05ef 6800c9ad fetch 1 ,mem_24g_syncword_crc8 
+05f0 08008608 inject mod ,8 
+05f1 6800c8fc fetch 1 ,mem_24g_txlen 
+05f2 98007200 iforce loopcnt 
+05f3 d8c048b6 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-05ef e8c08000 ifetch 1 ,contr 
-05f0 08008608 inject mod ,8 
-05f1 c20005ef loop p_g24tr_loop 
-05f2 78247c00 enable enable_parity 
-05f3 08008618 inject mod ,24 
-05f4 78447c00 disable enable_parity 
-05f5 37d38200 until null ,tx_clear 
-05f6 20000064 nop 100 
-05f7 784efc00 disable encode_fec0 
-05f8 784dfc00 disable encode_fec1 
-05f9 20600000 rtn 
+05f4 e8c08000 ifetch 1 ,contr 
+05f5 08008608 inject mod ,8 
+05f6 c20005f4 loop p_g24tr_loop 
+05f7 78247c00 enable enable_parity 
+05f8 08008618 inject mod ,24 
+05f9 78447c00 disable enable_parity 
+05fa 37d38200 until null ,tx_clear 
+05fb 20000064 nop 100 
+05fc 784efc00 disable encode_fec0 
+05fd 784dfc00 disable encode_fec1 
+05fe 20600000 rtn 
 
 p_mouse_data_init:
-05fa 7047ad07 jam 7 ,mem_mouse_data_queue 
-05fb 7047ae04 jam 4 ,mem_mouse_data_queue + 1 
-05fc 580047ad setarg mem_mouse_data_queue 
-05fd 60014218 store 2 ,mem_queue_ptr 
-05fe 20207e38 branch queue_init 
+05ff 7047a007 jam 7 ,mem_mouse_data_queue 
+0600 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+0601 580047a0 setarg mem_mouse_data_queue 
+0602 60014218 store 2 ,mem_queue_ptr 
+0603 20207e38 branch queue_init 
 
 p_mouse_data_push:
-05ff da20469a arg mem_mouse_key ,rega 
-0600 20407e3d call queue_push 
-0601 20540603 call p_mouse_queue_increase ,user 
-0602 20600000 rtn 
+0604 da20469a arg mem_mouse_key ,rega 
+0605 20407e3d call queue_push 
+0606 20540608 call p_mouse_queue_increase ,user 
+0607 20600000 rtn 
 
 p_mouse_queue_increase:
-0603 6800c7ce fetch 1 ,mem_mouse_data_queue_num 
-0604 1fe0fe01 increase 1 ,pdata 
-0605 6000c7ce store 1 ,mem_mouse_data_queue_num 
-0606 20600000 rtn 
+0608 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0609 1fe0fe01 increase 1 ,pdata 
+060a 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+060b 20600000 rtn 
 
 p_mouse_data_pull:
-0607 da20469a arg mem_mouse_key ,rega 
-0608 20407e54 call queue_pop 
-0609 2034060b branch p_mouse_fill_data_le ,user 
-060a 20600000 rtn 
+060c da20469a arg mem_mouse_key ,rega 
+060d 20407e54 call queue_pop 
+060e 20340610 branch p_mouse_fill_data_le ,user 
+060f 20600000 rtn 
 
 p_mouse_fill_data_le:
-060b 20405652 call le_clear_md 
-060c 6800c7ce fetch 1 ,mem_mouse_data_queue_num 
-060d 1fe67c01 sub pdata ,1 ,null 
-060e 24415650 ncall le_set_md ,positive 
-060f 6800c7ce fetch 1 ,mem_mouse_data_queue_num 
-0610 207a0000 rtn blank 
-0611 1fe0ffff increase -1 ,pdata 
-0612 6000c7ce store 1 ,mem_mouse_data_queue_num 
-0613 20203f90 branch mouse_fill_data_le 
+0610 20405652 call le_clear_md 
+0611 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0612 1fe67c01 sub pdata ,1 ,null 
+0613 24415650 ncall le_set_md ,positive 
+0614 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+0615 207a0000 rtn blank 
+0616 1fe0ffff increase -1 ,pdata 
+0617 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+0618 20203f90 branch mouse_fill_data_le 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse/program/patch.prog	(revision 237)
+++ /branch/mouse/program/patch.prog	(working copy)
@@ -1,6 +1,5 @@
 //define DONGLE
 define MOUSE
-//define MOUSE_DATA_DRAW
 //define P24G_LOG
 //define RF_DEBUG
 
@@ -1107,9 +1106,6 @@
 p_g24_nodata_transmit:
 	fetch 1,mem_24g_abort_pac
 	call p_g24_send_abort_packet,blank
-ifdef MOUSE_DATA_DRAW
-	call p_drawing_optima_init
-endif
 p_g24_long_sleep:
 	call lpo_calibration
 	fetch 3,mem_clks_per_lpo
@@ -1236,9 +1232,6 @@
 	fetch 1,mem_tx_power
 	store 1,mem_tx_power_temp
 	call power_ctrl_pac_succ_cnt_init
-ifdef MOUSE_DATA_DRAW	
-	call p_drawing_optima_init
-endif	
 	fetch 1,mem_ui_button_timeout
 	store 1,mem_combination_ui_button_count	//combination key timer init
 	call mouse_bt_discovery_button_down_disable
@@ -1845,131 +1838,6 @@
 	call p_g24_check_51cmd_stop_24g
 	branch mouse_bb_event_discovery_btn+1
 
-ifdef MOUSE_DATA_DRAW	
-p_drawing_optima_init:
-	setarg 0
-	store 1,mem_mouse_asm_flag
-	store 2,mem_mouse_x_data
-	store 2,mem_mouse_y_data
-p_drawing_optima_init1:
-	store 2,mem_mouse_x_sum
-	store 2,mem_mouse_y_sum
-	store 2,mem_mouse_x_pre
-	store 2,mem_mouse_y_pre
-	rtn
-
-p_drawing_optima:
-	call p_asm_flag_check1
-	call p_asm_flag_check0
-	branch p_drawing_optima_return
-
-p_asm_flag_check1:
-	call disable_user2
-	fetch 1,mem_mouse_x_data+1
-	sub pdata,0,null
-	call p_x11,zero
-	fetch 1,mem_mouse_x_data+1
-	sub pdata,0xff,null
-	call p_x12,zero
-	fetch 1,mem_mouse_y_data+1
-	sub pdata,0,null
-	call p_y11,zero
-	fetch 1,mem_mouse_y_data+1
-	sub pdata,0xff,null
-	call p_y12,zero
-	nrtn user2
-	jam 1,mem_mouse_asm_flag
-	rtn
-
-p_x11:
-	fetch 1,mem_mouse_x_data
-p_greater_than_6:
-	sub pdata,6,null
-	ncall enable_user2,positive
-	rtn
-p_x12:
-	fetch 1,mem_mouse_x_data
-p_less_than_f6:	
-	sub pdata,0xf9,null
-	call enable_user2,positive
-	rtn
-p_y11:
-	fetch 1,mem_mouse_y_data
-	branch p_greater_than_6
-p_y12:
-	fetch 1,mem_mouse_y_data
-	branch p_less_than_f6
-	
-p_asm_flag_check0:
-	call disable_user2
-	fetch 1,mem_mouse_x_data+1
-	sub pdata,0,null
-	call p_x21,zero
-	fetch 1,mem_mouse_x_data+1
-	sub pdata,0xff,null
-	call p_x22,zero
-	fetch 1,mem_mouse_y_data+1
-	sub pdata,0,null
-	call p_y21,zero
-	fetch 1,mem_mouse_y_data+1
-	sub pdata,0xff,null
-	call p_y22,zero
-	nrtn user2
-	jam 0,mem_mouse_asm_flag
-	rtn
-
-p_x21:
-	fetch 1,mem_mouse_x_data
-p_less_than_3:
-	sub pdata,2,null
-	call enable_user2,positive
-	branch disable_user2
-p_x22:
-	fetch 1,mem_mouse_x_data
-p_greater_than_f3:
-	sub pdata,0xfd,null
-	call enable_user2,positive
-	branch disable_user2
-p_y21:
-	fetch 1,mem_mouse_y_data
-	branch p_less_than_3	
-p_y22:
-	fetch 1,mem_mouse_y_data
-	branch p_greater_than_f3
-
-
-p_drawing_optima_return:
-	fetch 1,mem_mouse_asm_flag
-	beq 0,p_drawing_optima_exit
-	beq 1,p_drawing_optima_update
-	rtn
-
-p_drawing_optima_exit:
-	setarg 0
-	branch p_drawing_optima_init1
-	
-p_drawing_optima_update:
-	fetch 2,mem_mouse_x_sum
-	fetcht 2,mem_mouse_x_pre
-	isub temp,pdata
-	fetcht 2,mem_mouse_x_data
-	iadd temp,pdata
-	store 2,mem_mouse_x_sum
-	rshift pdata,pdata
-	store 2,mem_mouse_x_pre
-	store 2,mem_mouse_x_data
-
-	fetch 2,mem_mouse_y_sum
-	fetcht 2,mem_mouse_y_pre
-	isub temp,pdata
-	fetcht 2,mem_mouse_y_data
-	iadd temp,pdata
-	store 2,mem_mouse_y_sum
-	rshift pdata,pdata
-	store 2,mem_mouse_y_pre
-	store 2,mem_mouse_y_data
-	rtn
-endif
 
 p_le_addr_random_config:
 	call load_adc_init
@@ -2118,6 +1986,11 @@
 	branch p_le_power_ctrl_pac_succ_decrs
 
 p_le_check_tx_retransmit_setmd:
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+	fetch 1,mem_mouse_data_queue_num
+	rtn blank
 	fetch 1,mem_le_txlen
 	rtn blank
 	fetch 1,mem_le_txheader
@@ -2473,13 +2346,6 @@
 	istore 2,contw
 	increase 2,regb
 	loop p_g24_accumulation_loop
-ifdef MOUSE_DATA_DRAW
-	fetch 2,mem_24g_txbuf+3
-	store 2,mem_mouse_x_data
-	fetch 2,mem_24g_txbuf+5
-	store 2,mem_mouse_y_data
-	call p_drawing_optima
-endif
 	arg mem_24g_txbuf+6,contw
 	arg 2,loopcnt
 p_g24_accumulation_loop2:
Index: sched/mouse.dat
===================================================================
--- /branch/mouse/sched/mouse.dat	(revision 237)
+++ /branch/mouse/sched/mouse.dat	(working copy)
@@ -107,6 +107,7 @@
 '\09Bluetooth Mouse 5.0
 
 
+#max 20bytes, att list data rom limits
 mem_le_name_len:
 'Bluetooth Mouse 5.0
 
