Using mac ID as password

I wish to have MAC ID as password. Something like in "set wireless.default_radio${devidx}.key=myroutermacid" in mac80211.sh.
So during first boot MAC ID of the router is automatically configured as its password.

Can someone please help ?