Add and implement IHostapd::[Get/Set]Property() commands #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes a variety of changes to the
linux/wpa-controller
codebase. The most important changes include adding new methods to theIHostapd
interface, adding new test cases for theGetProperty()
method of theHostapd
class, and updating theWpaCommand
struct and related classes.Main interface changes:
linux/wpa-controller/include/Wpa/IHostapd.hxx
: Updated theIHostapd
interface with new methods and changed the return type of theGetStatus()
method.linux/wpa-controller/include/Wpa/Hostapd.hxx
: Added new member functions to theHostapd
class for controlling the hostapd daemon process.Testing improvements:
tests/unit/linux/wpa-controller/TestHostapd.cxx
: Added new test cases for theGetProperty()
method of theHostapd
class.Struct and class updates:
linux/wpa-controller/include/Wpa/WpaCommandSet.hxx
: Added a new header file defining theWpaCommandSet
struct.linux/wpa-controller/include/Wpa/WpaCommand.hxx
: Updated theWpaCommand
struct and its constructor, and added aSetPayload()
method. [1] [2] [3]linux/wpa-controller/WpaCommandSet.cxx
: Added a new source file implementing the constructor of theWpaCommandSet
struct.Other important changes:
linux/wpa-controller/CMakeLists.txt
: Added new source and header files to the list of public headers and sources. [1] [2] [3]linux/wpa-controller/include/Wpa/WpaCore.hxx
: Added a new enum class representing the type of WPA daemon/service.linux/wpa-controller/WpaController.cxx
: Updated theSendCommand
function to use thePayload
member variable.Note: Due to the length and complexity of the changes, only the top 7 most important changes are included in the list.