Unable to connect WIFI network with passwords in Jetpack 5.0 in xavier nx

I have recently migrated to Jetpack 5.0 from Jetpack 4.6 and i found that am unable to connect to the WIFI network that has passwords in Jetpack 5.0 and am able to connect to networks without passwords.

I have tired almost all the techniques available in the forums but none of them bare any fruits.

Am using the Xavier NX som and in Jetpack 4.6 the wifi works fine.
Both Jetpacks are flashed using SDK manager
Can someone help me out with this