diff --git a/src/RESTObjects/RESTAPI_SubObjects.cpp b/src/RESTObjects/RESTAPI_SubObjects.cpp index a42bca6..ed03afe 100644 --- a/src/RESTObjects/RESTAPI_SubObjects.cpp +++ b/src/RESTObjects/RESTAPI_SubObjects.cpp @@ -433,6 +433,8 @@ namespace OpenWifi::SubObjects { field_to_json(Obj, "rates", rates); field_to_json(Obj, "he", he); field_to_json(Obj, "rawInfo", rawInfo); + field_to_json(Obj, "allowDFS", allowDFS); + field_to_json(Obj, "mimo", mimo); } bool RadioInformation::from_json(const Poco::JSON::Object::Ptr &Obj) { @@ -452,6 +454,8 @@ namespace OpenWifi::SubObjects { field_from_json(Obj, "rates", rates); field_from_json(Obj, "he", he); field_from_json(Obj, "rawInfo", rawInfo); + field_from_json(Obj, "allowDFS", allowDFS); + field_from_json(Obj, "mimo", mimo); return true; } catch (...) { } diff --git a/src/RESTObjects/RESTAPI_SubObjects.h b/src/RESTObjects/RESTAPI_SubObjects.h index b807f70..557c093 100644 --- a/src/RESTObjects/RESTAPI_SubObjects.h +++ b/src/RESTObjects/RESTAPI_SubObjects.h @@ -238,6 +238,8 @@ namespace OpenWifi::SubObjects { uint64_t maximumClients = 64; RadioRates rates; RadioHE he; + bool allowDFS=false; + std::string mimo; std::vector rawInfo; void to_json(Poco::JSON::Object &Obj) const;