Alternatively you can use EAP-TLS and certificates to authenticate with the Radius server.
hostapd.conf
ca_cert=/conf/ssl/CA.pemserver_cert=/conf/ssl/crt.pemprivate_key=/conf/ssl/key.pem