(1) Adding logic for rx and tx pointers and counters.