-
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
Implement WifiAccessPointSetPhyType #139
Conversation
src/linux/wifi/core/include/microsoft/net/wifi/AccessPointControllerLinux.hxx
Outdated
Show resolved
Hide resolved
src/linux/wifi/core/include/microsoft/net/wifi/AccessPointControllerLinux.hxx
Outdated
Show resolved
Hide resolved
src/common/wifi/core/include/microsoft/net/wifi/IAccessPointController.hxx
Outdated
Show resolved
Hide resolved
src/common/wifi/core/include/microsoft/net/wifi/IAccessPointController.hxx
Outdated
Show resolved
Hide resolved
I re-targeted this to |
4ce5e7b
to
b1292b9
Compare
b1c10a1
to
a1914bd
Compare
a1914bd
to
02882d7
Compare
Nevermind, I now re-targeted it such that it can be applied directly to |
src/common/wifi/core/include/microsoft/net/wifi/IAccessPointController.hxx
Outdated
Show resolved
Hide resolved
src/linux/wifi/core/include/microsoft/net/wifi/AccessPointControllerLinux.hxx
Outdated
Show resolved
Hide resolved
…ant; fix dangling reference; fix return logic; fix style nits
We'll need to figure this out eventually, but we can defer that and do it later on an as-needed, case-by-case basis. I'll create some issues to track that work. The only thing to verify now is whether or not hostapd will refuse to apply the
This one is handled now right, so we can remove this part from the PR description?
This one is difficult because of the hostapd config file implementation. I think what you've done here is good for now, and we can plan to sort out the |
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.
Ship it!
Type
Side Effects
Goals
This PR adds a new netremote API,
WifiAccessPointSetPhyType
, to allow clients to update the PHY type in the configuration of an AP.Technical Details
WifiAccessPointSetPhyType
toNetRemoteService.proto
and related types toNetRemoteWifi.proto
.NetRemoteService.*
.SetProtocol
function toIAccessPointController
interface and in its implementations (e.g.AccessPointControllerLinux
.Test Results
Unit tests pass.
Reviewer Focus
SetProtocol
sets thehw_mode
hostapd property, as well aswmm_enabled
andieee80211*
properties where applicable. Are others needed, such asht_capab
for ieee80211n?In
IeeeProtocolToHostapdHwMode
, the conversion fromieee80211n
to hostapdhw_mode
can be eithera
org
depending on the band, currently it's set toa
. How should we handle this? Is there a way to check the bands that are currently set in hostapd somewhere and choose the best option, or should we always set this toa
and update it later if a client wants to set a specific frequency band?Future Work
None.
Checklist
all
compiles cleanly.