Fixing HW MAC address retrieval, and adding new api for reading it