Securing wireless communication in next-generation devices