Fix the missing part for reading enterprise fields in wifi configuration

+ refactor the enterprise fields.
2 files changed