wds: add option for specifying profile index