-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from microsoft/isenabled
Add way to check if an access point is enabled
- Loading branch information
Showing
13 changed files
with
134 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
#include <microsoft/net/wifi/IAccessPointController.hxx> | ||
|
||
using namespace Microsoft::Net::Wifi; | ||
|
||
AccessPointControllerException::AccessPointControllerException(std::string_view what) : | ||
m_what(what) | ||
{ | ||
} | ||
|
||
const char* | ||
AccessPointControllerException::what() const noexcept | ||
{ | ||
return m_what.c_str(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/common/wifi/core/include/microsoft/net/wifi/AccessPointCapabilities.hxx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/common/wifi/core/include/microsoft/net/wifi/Ieee80211AccessPointCapabilities.hxx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
#ifndef IEEE_80211_ACCESS_POINT_CAPABILITIES_HXX | ||
#define IEEE_80211_ACCESS_POINT_CAPABILITIES_HXX | ||
|
||
#include <vector> | ||
|
||
#include <microsoft/net/wifi/Ieee80211.hxx> | ||
|
||
namespace Microsoft::Net::Wifi | ||
{ | ||
/** | ||
* @brief Describes the capabilities of an IEEE 802.11 access point. | ||
*/ | ||
struct Ieee80211AccessPointCapabilities | ||
{ | ||
std::vector<IeeeProtocol> Protocols; | ||
std::vector<IeeeFrequencyBand> FrequencyBands; | ||
std::vector<IeeeAuthenticationAlgorithm> AuthenticationAlgorithms; | ||
std::vector<IeeeCipherSuite> EncryptionAlgorithms; | ||
}; | ||
} // namespace Microsoft::Net::Wifi | ||
|
||
#endif // IEEE_80211_ACCESS_POINT_CAPABILITIES_HXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
#include <Wpa/IHostapd.hxx> | ||
|
||
using namespace Wpa; | ||
|
||
HostapdException::HostapdException(std::string_view message) : | ||
m_message(message) | ||
{ | ||
} | ||
|
||
const char* | ||
HostapdException::what() const noexcept | ||
{ | ||
return m_message.c_str(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters