iwinfo: reorganize iwinfo header to enum and defines