You can do that by enabling MAC authentication. Then use either an external RADIUS server for the authentication of valid MAC addresses, or use the internal server. The authentication server should have a user with the MAC address as the username and the same as password (so password equals username).