updating the size of tx and rx frames inside memset