modify cofdm_test.c to add ring buffer