ami: added internal packet loop back in driver