comparison gsm-fw/L1/tpudrv/tpudrv12.c @ 581:bbb1e73782e6

tpudrv12.c: functions for different kinds of bursts
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 15 Aug 2014 07:14:49 +0000
parents df12004ac8ee
children 81753f5e902e
comparison
equal deleted inserted replaced
580:df12004ac8ee 581:bbb1e73782e6
603 /* 603 /*
604 * l1dmacro_rx_nb 604 * l1dmacro_rx_nb
605 * 605 *
606 * Receive Normal burst 606 * Receive Normal burst
607 */ 607 */
608 #if (L1_RF_KBD_FIX == 1) 608 void l1dmacro_rx_nb (SYS_UWORD16 radio_freq)
609 #if (L1_MADC_ON == 1) 609 {
610 void l1dmacro_rx_nb (SYS_UWORD16 radio_freq, UWORD8 adc_active, UWORD8 csf_filter_choice 610 l1dmacro_rx_up();
611 #if(NEW_SNR_THRESHOLD==1) 611 l1dmacro_rx_down(STOP_RX_SNB);
612 , UWORD8 saic_flag_rx_up 612 }
613 #endif
614 )
615 {
616 l1dmacro_rx_up(adc_active, csf_filter_choice, L1_KBD_DIS_RX_NB
617 #if(NEW_SNR_THRESHOLD==1)
618 , saic_flag_rx_up
619 #endif
620 );
621 l1dmacro_rx_down (STOP_RX_SNB);
622 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_NB * (-TRF_R3_1 + STOP_RX_SNB - TRF_R7);
623 }
624 #else
625 void l1dmacro_rx_nb (SYS_UWORD16 radio_freq,UWORD8 csf_filter_choice
626 #if(NEW_SNR_THRESHOLD==1)
627 , UWORD8 saic_flag_rx_up
628 #endif
629 )
630 {
631 l1dmacro_rx_up(csf_filter_choice, L1_KBD_DIS_RX_NB
632 #if(NEW_SNR_THRESHOLD==1)
633 , saic_flag_rx_up
634 #endif
635 );
636 l1dmacro_rx_down (STOP_RX_SNB);
637 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_NB * (-TRF_R3_1 + STOP_RX_SNB - TRF_R7);
638 }
639 #endif
640 #endif /*(L1_RF_KBD_FIX == 1)*/
641
642 #if (L1_RF_KBD_FIX == 0)
643 #if (L1_MADC_ON == 1)
644 void l1dmacro_rx_nb (SYS_UWORD16 radio_freq, UWORD8 adc_active, UWORD8 csf_filter_choice
645 #if(NEW_SNR_THRESHOLD==1)
646 , UWORD8 saic_flag_rx_up
647 #endif
648 )
649 {
650 l1dmacro_rx_up(adc_active, csf_filter_choice
651 #if(NEW_SNR_THRESHOLD==1)
652 , saic_flag_rx_up
653 #endif
654 );
655 l1dmacro_rx_down (STOP_RX_SNB);
656
657 }
658 #else
659 void l1dmacro_rx_nb (SYS_UWORD16 radio_freq,UWORD8 csf_filter_choice
660 #if(NEW_SNR_THRESHOLD==1)
661 , UWORD8 saic_flag_rx_up
662 #endif
663 )
664 {
665 l1dmacro_rx_up(csf_filter_choice
666 #if(NEW_SNR_THRESHOLD==1)
667 , saic_flag_rx_up
668 #endif
669 );
670 l1dmacro_rx_down (STOP_RX_SNB);
671
672 }
673 #endif
674
675 #endif/*(L1_RF_KBD_FIX == 0)*/
676
677
678 613
679 /* 614 /*
680 * l1dmacro_rx_sb 615 * l1dmacro_rx_sb
681 * Receive Synchro burst 616 * Receive Synchro burst
682 */ 617 */
683 #if (L1_RF_KBD_FIX == 1) 618 void l1dmacro_rx_sb (SYS_UWORD16 radio_freq)
684 #if (L1_MADC_ON == 1) 619 {
685 void l1dmacro_rx_sb (SYS_UWORD16 radio_freq,UWORD8 adc_active) 620 l1dmacro_rx_up();
686 {
687 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_SB
688 #if(NEW_SNR_THRESHOLD==1)
689 , SAIC_OFF
690 #endif
691 );
692
693 l1dmacro_rx_down (STOP_RX_SB); 621 l1dmacro_rx_down (STOP_RX_SB);
694 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_SB * (-TRF_R3_1 + STOP_RX_SB - TRF_R7); 622 }
695 }
696
697 #else
698 void l1dmacro_rx_sb (SYS_UWORD16 radio_freq)
699 {
700 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_SB
701 #if(NEW_SNR_THRESHOLD==1)
702 , SAIC_OFF
703 #endif
704 );
705 l1dmacro_rx_down (STOP_RX_SB);
706 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_SB * (-TRF_R3_1 + STOP_RX_SB - TRF_R7);
707 }
708 #endif
709
710 #endif/*(L1_RF_KBD_FIX == 1)*/
711
712 #if(L1_RF_KBD_FIX == 0)
713 #if (L1_MADC_ON == 1)
714 void l1dmacro_rx_sb (SYS_UWORD16 radio_freq,UWORD8 adc_active)
715 {
716 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER
717 #if(NEW_SNR_THRESHOLD==1)
718 , SAIC_OFF
719 #endif
720 );
721 l1dmacro_rx_down (STOP_RX_SB);
722
723 }
724
725 #else
726 void l1dmacro_rx_sb (SYS_UWORD16 radio_freq)
727 {
728 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER
729 #if(NEW_SNR_THRESHOLD==1)
730 , SAIC_OFF
731 #endif
732 );
733 l1dmacro_rx_down (STOP_RX_SB);
734
735 }
736 #endif
737
738 #endif/*(L1_RF_KBD_FIX == 0)*/
739 623
740 /* 624 /*
741 * l1dmacro_rx_ms 625 * l1dmacro_rx_ms
742 * 626 *
743 * Receive Power Measurement window 627 * Receive Power Measurement window
744 */ 628 */
745 #if(L1_RF_KBD_FIX == 1) 629 void l1dmacro_rx_ms (SYS_UWORD16 radio_freq)
746 #if (L1_MADC_ON == 1) 630 {
747 void l1dmacro_rx_ms (SYS_UWORD16 radio_freq,UWORD8 adc_active) 631 l1dmacro_rx_up();
748 {
749 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_MS
750 #if(NEW_SNR_THRESHOLD==1)
751 , SAIC_OFF
752 #endif
753 );
754 l1dmacro_rx_down (STOP_RX_PW_1); 632 l1dmacro_rx_down (STOP_RX_PW_1);
755 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_MS * (-TRF_R3_1 + STOP_RX_PW_1 - TRF_R7); 633 }
756 }
757
758 #else
759 void l1dmacro_rx_ms (SYS_UWORD16 radio_freq)
760 {
761 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_MS
762 #if(NEW_SNR_THRESHOLD==1)
763 , SAIC_OFF
764 #endif
765 );
766 l1dmacro_rx_down (STOP_RX_PW_1);
767 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_MS * (-TRF_R3_1 + STOP_RX_PW_1 - TRF_R7);
768 }
769 #endif
770 #endif/*(L1_RF_KBD_FIX == 1)*/
771
772 #if(L1_RF_KBD_FIX == 0)
773 #if (L1_MADC_ON == 1)
774 void l1dmacro_rx_ms (SYS_UWORD16 radio_freq,UWORD8 adc_active)
775 {
776 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER
777 #if(NEW_SNR_THRESHOLD==1)
778 , SAIC_OFF
779 #endif
780 );
781 l1dmacro_rx_down (STOP_RX_PW_1);
782
783 }
784
785 #else
786 void l1dmacro_rx_ms (SYS_UWORD16 radio_freq)
787 {
788 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER
789 #if(NEW_SNR_THRESHOLD==1)
790 , SAIC_OFF
791 #endif
792 );
793 l1dmacro_rx_down (STOP_RX_PW_1);
794
795 }
796 #endif
797
798 #endif/*(L1_RF_KBD_FIX == 0)*/
799 634
800 /* 635 /*
801 * l1dmacro_rx_fb 636 * l1dmacro_rx_fb
802 * 637 *
803 * Receive Frequency burst 638 * Receive Frequency burst
804 */ 639 */
805 #if(L1_RF_KBD_FIX == 1)
806 #if (L1_MADC_ON == 1)
807 void l1dmacro_rx_fb (SYS_UWORD16 radio_freq,UWORD8 adc_active)
808 #else
809 void l1dmacro_rx_fb (SYS_UWORD16 radio_freq) 640 void l1dmacro_rx_fb (SYS_UWORD16 radio_freq)
810 #endif 641 {
811 { 642 l1dmacro_rx_up();
812 #if (L1_MADC_ON == 1) 643
813 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_FB
814 #if(NEW_SNR_THRESHOLD==1)
815 , SAIC_OFF
816 #endif
817 );
818 #else
819 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_FB
820 #if(NEW_SNR_THRESHOLD==1)
821 , SAIC_OFF
822 #endif
823 );
824 #endif
825 l1s.total_kbd_on_time = 5000;
826 *TP_Ptr++ = TPU_AT(0); 644 *TP_Ptr++ = TPU_AT(0);
827 *TP_Ptr++ = TPU_AT(0); 645 *TP_Ptr++ = TPU_AT(0);
828 *TP_Ptr++ = TPU_AT(0); 646 *TP_Ptr++ = TPU_AT(0);
829 *TP_Ptr++ = TPU_AT(0); 647 *TP_Ptr++ = TPU_AT(0);
830 *TP_Ptr++ = TPU_AT(0); 648 *TP_Ptr++ = TPU_AT(0);
834 *TP_Ptr++ = TPU_AT(0); 652 *TP_Ptr++ = TPU_AT(0);
835 *TP_Ptr++ = TPU_AT(0); 653 *TP_Ptr++ = TPU_AT(0);
836 *TP_Ptr++ = TPU_AT(0); 654 *TP_Ptr++ = TPU_AT(0);
837 655
838 l1dmacro_rx_down (STOP_RX_FB); 656 l1dmacro_rx_down (STOP_RX_FB);
839 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_FB * (STOP_RX_FB - TRF_R7); 657 }
840 }
841 #endif/*(L1_RF_KBD_FIX == 1)*/
842
843 #if(L1_RF_KBD_FIX == 0)
844 #if (L1_MADC_ON == 1)
845 void l1dmacro_rx_fb (SYS_UWORD16 radio_freq,UWORD8 adc_active)
846 #else
847 void l1dmacro_rx_fb (SYS_UWORD16 radio_freq)
848 #endif
849 {
850 #if (L1_MADC_ON == 1)
851 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER
852 #if(NEW_SNR_THRESHOLD==1)
853 , SAIC_OFF
854 #endif
855 );
856 #else
857 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER
858 #if(NEW_SNR_THRESHOLD==1)
859 , SAIC_OFF
860 #endif
861 );
862 #endif
863
864 *TP_Ptr++ = TPU_AT(0);
865 *TP_Ptr++ = TPU_AT(0);
866 *TP_Ptr++ = TPU_AT(0);
867 *TP_Ptr++ = TPU_AT(0);
868 *TP_Ptr++ = TPU_AT(0);
869 *TP_Ptr++ = TPU_AT(0);
870 *TP_Ptr++ = TPU_AT(0);
871 *TP_Ptr++ = TPU_AT(0);
872 *TP_Ptr++ = TPU_AT(0);
873 *TP_Ptr++ = TPU_AT(0);
874 *TP_Ptr++ = TPU_AT(0);
875
876 l1dmacro_rx_down (STOP_RX_FB);
877
878 }
879
880 #endif/*(L1_RF_KBD_FIX == 0)*/
881 658
882 /* 659 /*
883 * l1dmacro_rx_fb26 660 * l1dmacro_rx_fb26
884 * 661 *
885 * Receive Frequency burst for TCH. 662 * Receive Frequency burst for TCH.
886 */ 663 */
887 #if(L1_RF_KBD_FIX == 1) 664 void l1dmacro_rx_fb26 (SYS_UWORD16 radio_freq)
888 #if (L1_MADC_ON == 1) 665 {
889 void l1dmacro_rx_fb26 (SYS_UWORD16 radio_freq,UWORD8 adc_active) 666 l1dmacro_rx_up();
890 { 667
891 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_FB26
892 #if(NEW_SNR_THRESHOLD==1)
893 , SAIC_OFF
894 #endif
895 );
896 l1s.total_kbd_on_time = 5000;
897 *TP_Ptr++ = TPU_AT(0); 668 *TP_Ptr++ = TPU_AT(0);
898 669
899 l1dmacro_rx_down (STOP_RX_FB26); 670 l1dmacro_rx_down (STOP_RX_FB26);
900 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_FB26 * (STOP_RX_FB26 - TRF_R7); 671 }
901 }
902
903 #else
904 void l1dmacro_rx_fb26 (SYS_UWORD16 radio_freq)
905 {
906 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER, L1_KBD_DIS_RX_FB26
907 #if(NEW_SNR_THRESHOLD==1)
908 , SAIC_OFF
909 #endif
910 );
911 l1s.total_kbd_on_time = 5000;
912 *TP_Ptr++ = TPU_AT(0);
913
914 l1dmacro_rx_down (STOP_RX_FB26);
915 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_RX_FB26 * (STOP_RX_FB26 - TRF_R7);
916 }
917 #endif
918 #endif/*(L1_RF_KBD_FIX == 1)*/
919
920 #if(L1_RF_KBD_FIX == 0)
921 #if (L1_MADC_ON == 1)
922 void l1dmacro_rx_fb26 (SYS_UWORD16 radio_freq,UWORD8 adc_active)
923 {
924 l1dmacro_rx_up(adc_active, L1_SAIC_HARDWARE_FILTER
925 #if(NEW_SNR_THRESHOLD==1)
926 , SAIC_OFF
927 #endif
928 );
929
930 *TP_Ptr++ = TPU_AT(0);
931
932 l1dmacro_rx_down (STOP_RX_FB26);
933
934 }
935
936 #else
937 void l1dmacro_rx_fb26 (SYS_UWORD16 radio_freq)
938 {
939 l1dmacro_rx_up(L1_SAIC_HARDWARE_FILTER
940 #if(NEW_SNR_THRESHOLD==1)
941 , SAIC_OFF
942 #endif
943 );
944
945 *TP_Ptr++ = TPU_AT(0);
946
947 l1dmacro_rx_down (STOP_RX_FB26);
948
949 }
950 #endif
951 #endif/*(L1_RF_KBD_FIX == 0)*/
952 672
953 /* 673 /*
954 * l1dmacro_tx_nb 674 * l1dmacro_tx_nb
955 * 675 *
956 * Transmit Normal burst 676 * Transmit Normal burst
957 */ 677 */
958 #if(L1_RF_KBD_FIX == 1) 678 void l1dmacro_tx_nb (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active)
959
960 void l1dmacro_tx_nb (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active)
961 {
962 l1dmacro_tx_up (L1_KBD_DIS_TX_NB);
963 l1dmacro_tx_down (l1_config.params.tx_nb_duration, FALSE, adc_active, L1_KBD_DIS_TX_NB);
964 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_TX_NB * (-TRF_T3_1 + l1_config.params.tx_nb_duration + TRF_T12);
965 }
966
967 #endif/*#if(L1_RF_KBD_FIX == 1)*/
968
969 #if(L1_RF_KBD_FIX == 0)
970 void l1dmacro_tx_nb (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active)
971 { 679 {
972 l1dmacro_tx_up (); 680 l1dmacro_tx_up ();
973 l1dmacro_tx_down (l1_config.params.tx_nb_duration, FALSE, adc_active); 681 l1dmacro_tx_down (l1_config.params.tx_nb_duration, FALSE, adc_active);
974 682 }
975 }
976
977 #endif/*#if(L1_RF_KBD_FIX == 0)*/
978 683
979 /* 684 /*
980 * l1dmacro_tx_ra 685 * l1dmacro_tx_ra
981 * 686 *
982 * Transmit Random Access burst 687 * Transmit Random Access burst
983 */ 688 */
984 #if(L1_RF_KBD_FIX == 1)
985
986 void l1dmacro_tx_ra (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active)
987 {
988 l1dmacro_tx_up (L1_KBD_DIS_TX_RA);
989 l1dmacro_tx_down (l1_config.params.tx_ra_duration, FALSE, adc_active, L1_KBD_DIS_TX_RA);
990 l1s.total_kbd_on_time = l1s.total_kbd_on_time - L1_KBD_DIS_TX_RA * (-TRF_T3_1 + l1_config.params.tx_ra_duration + TRF_T12);
991 }
992 #endif /*#if(L1_RF_KBD_FIX == 1)*/
993
994 #if(L1_RF_KBD_FIX == 0)
995 void l1dmacro_tx_ra (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active) 689 void l1dmacro_tx_ra (SYS_UWORD16 radio_freq, UWORD8 txpwr, UWORD8 adc_active)
996 { 690 {
997 l1dmacro_tx_up (); 691 l1dmacro_tx_up ();
998 l1dmacro_tx_down (l1_config.params.tx_ra_duration, FALSE, adc_active); 692 l1dmacro_tx_down (l1_config.params.tx_ra_duration, FALSE, adc_active);
999 693 }
1000 } 694
1001 #endif/*#if(L1_RF_KBD_FIX == 0)*/ 695 #if TESTMODE
1002 696 /*
1003 /* 697 * l1dmacro_rx_cont
1004 * l1dmacro_rx_cont 698 *
1005 * 699 * Receive continuously
1006 * Receive continuously 700 */
1007 */ 701 void l1dmacro_rx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr)
1008 #if(L1_RF_KBD_FIX == 1) 702 {
1009 #if (L1_MADC_ON == 1) 703 l1dmacro_rx_up ();
1010 void l1dmacro_rx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr, 704 }
1011 UWORD8 adc_active, UWORD8 csf_filter_choice 705
1012 #if(NEW_SNR_THRESHOLD==1) 706 /*
1013 , UWORD8 saic_flag_rx_up 707 * l1dmacro_tx_cont
1014 #endif 708 *
1015 ) 709 * Transmit continuously
1016 { 710 */
1017 l1dmacro_rx_up (adc_active, csf_filter_choice, KBD_DISABLED
1018 #if(NEW_SNR_THRESHOLD==1)
1019 , saic_flag_rx_up
1020 #endif
1021 );
1022 }
1023 #else
1024 void l1dmacro_rx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr,
1025 UWORD8 csf_filter_choice
1026 #if(NEW_SNR_THRESHOLD==1)
1027 , UWORD8 saic_flag_rx_up
1028 #endif
1029 )
1030 {
1031 l1dmacro_rx_up (csf_filter_choice,KBD_DISABLED
1032 #if(NEW_SNR_THRESHOLD==1)
1033 , saic_flag_rx_up
1034 #endif
1035 );
1036 }
1037 #endif
1038 #endif/*#if(L1_RF_KBD_FIX == 1)*/
1039
1040 #if(L1_RF_KBD_FIX == 0)
1041 #if (L1_MADC_ON == 1)
1042 void l1dmacro_rx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr,
1043 UWORD8 adc_active, UWORD8 csf_filter_choice
1044 #if(NEW_SNR_THRESHOLD==1)
1045 , UWORD8 saic_flag_rx_up
1046 #endif
1047 )
1048 {
1049 l1dmacro_rx_up (adc_active, csf_filter_choice
1050 #if(NEW_SNR_THRESHOLD==1)
1051 , saic_flag_rx_up
1052 #endif
1053 );
1054 }
1055 #else
1056 void l1dmacro_rx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr,
1057 UWORD8 csf_filter_choice
1058 #if(NEW_SNR_THRESHOLD==1)
1059 , UWORD8 saic_flag_rx_up
1060 #endif
1061 )
1062 {
1063 l1dmacro_rx_up (csf_filter_choice
1064 #if(NEW_SNR_THRESHOLD==1)
1065 , saic_flag_rx_up
1066 #endif
1067 );
1068 }
1069 #endif
1070
1071 #endif/*#if(L1_RF_KBD_FIX == 0)*/
1072
1073
1074 /*
1075 * l1dmacro_tx_cont
1076 *
1077 * Transmit continuously
1078 */
1079 #if(L1_RF_KBD_FIX == 1)
1080 void l1dmacro_tx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr) 711 void l1dmacro_tx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr)
1081 { 712 {
1082 l1dmacro_tx_up (KBD_DISABLED);
1083 }
1084 #endif/*#if(L1_RF_KBD_FIX == 1)*/
1085
1086 #if(L1_RF_KBD_FIX == 0)
1087 void l1dmacro_tx_cont (SYS_UWORD16 radio_freq, UWORD8 txpwr)
1088 {
1089 l1dmacro_tx_up (); 713 l1dmacro_tx_up ();
1090 } 714 }
1091 #endif/*#if(L1_RF_KBD_FIX == 0)*/ 715
1092 716 /*
1093 /* 717 * l1d_macro_stop_cont
1094 * l1d_macro_stop_cont 718 *
1095 * 719 * Stop continuous Tx or Rx
1096 * Stop continuous Tx or Rx 720 */
1097 */
1098 #if(L1_RF_KBD_FIX == 1)
1099 void l1dmacro_stop_cont (void)
1100 {
1101 if (l1_config.tmode.rf_params.down_up == TMODE_DOWNLINK)
1102 l1dmacro_rx_down(STOP_RX_SNB);
1103 else
1104 l1dmacro_tx_down(l1_config.params.tx_nb_duration, FALSE, 0, KBD_DISABLED);
1105 }
1106 #endif/*#if(L1_RF_KBD_FIX == 1)*/
1107
1108 #if(L1_RF_KBD_FIX == 0)
1109 void l1dmacro_stop_cont (void) 721 void l1dmacro_stop_cont (void)
1110 { 722 {
1111 if (l1_config.tmode.rf_params.down_up == TMODE_DOWNLINK) 723 if (l1_config.tmode.rf_params.down_up == TMODE_DOWNLINK)
1112 l1dmacro_rx_down(STOP_RX_SNB); 724 l1dmacro_rx_down(STOP_RX_SNB);
1113 else 725 else
1114 l1dmacro_tx_down(l1_config.params.tx_nb_duration, FALSE, 0); 726 l1dmacro_tx_down(l1_config.params.tx_nb_duration, FALSE, 0);
1115 } 727 }
1116 728 #endif /* TESTMODE */
1117 #endif/* */
1118 729
1119 730
1120 /*------------------------------------------*/ 731 /*------------------------------------------*/
1121 /* l1dmacro_reset_hw */ 732 /* l1dmacro_reset_hw */
1122 /*------------------------------------------*/ 733 /*------------------------------------------*/