Add support for ws=1 scenario (#7379)
add support for ws=1 scenario and make sure
fields are always initialized for robustness.
---------
Signed-off-by: Nir Sonnenschein <nsonnenschein@habana.ai>
Co-authored-by: Hongwei Chen <33092912+hwchen2017@users.noreply.github.com>