I am getting some error while using Loiter mode. while Arming drone it says " PreArm : AHRS: Waiting for home". there is 6 sats connected and also GPS is 3d fix. I’ve tried it outdoor also still can’t able to Arm in loiter. stable and Althold Works fine.
You just have to wait longer for a better quality 3D fix where home can be set.
Some height up off the ground can help, or away from the side of buildings.
It could also be a poor quality GPS or it could be facing some interference from nearby. 6 satellites is very low. I’d expect at least 18 in normal conditions.