Use tx buffer to control packet flow for serial interfaces