You could change /client_params/capabilities/client_version to /client_params/hwaddr, and make the appropriate comparison(s) to determine whether to allow the session to be started or not.
Note that this would only work for new sessions; it wouldn’t restrict clients connecting to already existing sessions. If you don’t need session persistence however, you could use it in combination with MaxIdleTime to automatically terminate idle sessions: