-
Notifications
You must be signed in to change notification settings - Fork 18
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
nl80211: handle per_sta_vif case properly #5
base: master
Are you sure you want to change the base?
Conversation
I refactored this slightly for readability. |
@Ansuel I'm sorry for the ping but is there any chance you could look into this? I'd like to use the official image without needing to apply this. If there are any changes I need to make please let me know |
c421d75
to
c724b77
Compare
When per_sta_vif is enabled in hostapd BSS config, we need to iterate through every interface in /sys/class/net which matches `${interface_requested}.${number}`. Otherwise data requested from iwinfo will be incomplete/nonexistant. This is already handled for WDS so there is precedence for a change like this. Also refactor logic on whether to issue a NL80211_CMD_GET_STATION request on the interface into a seperate function. Closes openwrt/openwrt#14339 Signed-off-by: Rany Hany <rany_hany@riseup.net>
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.
Works as stated.
It's been a year since this PR was submitted, I most likely need to submit this via the mailing list. I guess only https://github.com/openwrt/openwrt is monitored. |
When per_sta_vif is enabled in hostapd BSS config, we need to iterate
through every interface in /sys/class/net which matches
${interface_requested}.${number}
. Otherwise data requested from iwinfowill be incomplete/nonexistant. This is already handled for WDS so there is
precedence for a change like this.
Also refactor logic on whether to issue a NL80211_CMD_GET_STATION request
on the interface into a seperate function.
Closes openwrt/openwrt#14339