api: add mem size and freq to hwinfo query