-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add APIs to update AP configuration #121
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is very good, mathcing the existing APIs we have in place to configure the AP. I left a few comments of things to explore a bit further for looking forward.
78fd3e6
to
9703411
Compare
This is probably because the unit tests are using fake access point ids, and the server's |
Yes, you're absolutely right. I removed some |
Looking at this now, the We can trivially extend the existing |
Done in #136. |
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; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.
4ce5e7b
to
b1292b9
Compare
b1292b9
to
e91aa8e
Compare
Type
Side Effects
Goals
This PR adds three new APIs for updating the configuration of an AP after the AP is enabled:
WifiAccessPointSetPhyType
,WifiAccessPointSetAuthenticationConfiguration
, andWifiAccessPointSetFrequencyBands
. This allows netremote clients to update the PHY type, AKM suite(s), cipher suite(s), and frequency band(s) of an AP.Technical Details
WifiAccessPointSetAuthenticationConfiguration
, andWifiAccessPointSetFrequencyBands
toNetRemoteService.proto
and related types toNetRemoteWifi.proto
andWifiCore.proto
.NetRemoteService.hxx/cxx
.Test Results
Unit tests pass.
Reviewer Focus
None.
Future Work
Dot11AccessPointConfiguration
to useDot11AccessPointAuthenticationConfiguration
instead of a singleDot11AuthenticationAlgorithm
andDot11CipherSuite
.Checklist
all
compiles cleanly.