-
Notifications
You must be signed in to change notification settings - Fork 9
Add APIs to update AP configuration #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
f370fba
Add draft of test for WifiAccessPointSetPhyType
corbin-phipps ac8eb39
Add placeholder impl
corbin-phipps 5964d21
Improve auth method API
corbin-phipps d19ef19
Separate RadiusServerConfiguration into own message
corbin-phipps 6187d22
Combine auth method and encryption method APIs
corbin-phipps a56707d
Update API and make akm and cipher suites repeated
corbin-phipps dc08688
Add missing AkmSuite
corbin-phipps 55da612
Add unit test
corbin-phipps 3b775d1
Clang-format
corbin-phipps 92d98f9
Temporarily remove status checks from unit tests
corbin-phipps a9b463b
Add band API with placeholder impl
corbin-phipps a947c05
Add unit test
corbin-phipps 4e224a6
Use const ref; fix checks for frequency bands
corbin-phipps 49741d4
Temporarily remove status checks in unit test
corbin-phipps 74199ea
Update unit tests to use AccessPointManagerTest
corbin-phipps 750208d
Improve placeholder API impl
corbin-phipps e91aa8e
clang-format
corbin-phipps File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -157,3 +157,44 @@ enum Dot11AccessPointState | |
{ | ||
AccessPointStateUnknown = 0; | ||
} | ||
|
||
message Dot11RadiusServerConfiguration | ||
{ | ||
string Address = 1; | ||
uint32 Port = 2; | ||
Microsoft.Net.Wifi.Dot11SharedKey SharedSecret = 3; | ||
} | ||
|
||
message Dot11AkmSuiteConfigurationNone | ||
{ | ||
|
||
} | ||
|
||
message Dot11AkmSuiteConfigurationSharedKey | ||
{ | ||
Microsoft.Net.Wifi.Dot11SharedKey SharedKey = 1; | ||
} | ||
|
||
message Dot11AkmSuiteConfigurationEnterprise | ||
{ | ||
Microsoft.Net.Wifi.Dot11RadiusServerConfiguration RadiusServerConfiguration = 1; | ||
} | ||
|
||
message Dot11AkmSuiteConfiguration | ||
{ | ||
Microsoft.Net.Wifi.Dot11AuthenticationAlgorithm AuthenticationAlgorithm = 1; | ||
Microsoft.Net.Wifi.Dot11AkmSuite AkmSuite = 2; | ||
oneof Configuration | ||
{ | ||
Dot11AkmSuiteConfigurationNone ConfigurationNone = 3; | ||
Dot11AkmSuiteConfigurationSharedKey ConfigurationSharedKey = 4; | ||
Dot11AkmSuiteConfigurationEnterprise ConfigurationEnterprise = 5; | ||
} | ||
abeltrano marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+183
to
+192
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI, I'm still trying to parse out whether this is the best encoding of all the auth args w.r.t. to the 802.11 specification. I think it's very close, if not completely correct. I'm giving the auth-related parts of the spec a careful read through to hopefully resolve this. |
||
} | ||
|
||
|
||
message Dot11AccessPointAuthenticationConfiguration | ||
{ | ||
repeated Microsoft.Net.Wifi.Dot11AkmSuiteConfiguration AkmSuites = 1; | ||
repeated Microsoft.Net.Wifi.Dot11CipherSuite CipherSuites = 2; | ||
} |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.