Merge "wifi: Check AAPM flag before calling AAPM API" into main