On physical-layer identification of wireless devices