Repository navigation
wifi: rekey the GTK every 10 min (repeater lost broadcasts after its own reboot) - #185
Merged
Merged
Conversation
…s broadcasts back A MAC-translating repeater (RAX40) that re-associates without rebooting is handed the GTK it already holds and then drops every group-addressed frame: its wired clients see DHCP OFFERs stop arriving and broadcast ARP gets no reply, while unicast keeps working. hostapd's CCMP default rekeys once a day, so only a hostapd restart (new GTK) brought them back. Render wpa_group_rekey=600 (hostapd's default before 2.10) in every encrypted BSS. That bounds the outage to one rekey interval, with no restart and no client drop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The live repro on 2026-11-18 showed that the repeater does not lose broadcasts just from re-associating with an unchanged GTK: an AP-side deauth plus reconnect stayed fine. The loss follows the repeater's own reboot and re-associations. Once it lasted ~2.5 min and healed by itself; once it lasted until a hostapd restart (fresh association + new GTK). Comment, test comment and the troubleshooting note now say that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A MAC-translating repeater (RAX40) on the 5 GHz AP lost group-addressed frames after its own reboot and re-associations: its wired clients saw no DHCP OFFER and no broadcast ARP reply, while unicast kept working. Once it healed by itself after ~2.5 min; once it lasted until
rc-service mr-hostapd restart(fresh association + new GTK). hostapd's CCMP default rekeys the GTK once a day.mrrenderswpa_group_rekey=600in every encrypted BSS (hostapd's default before 2.10): a new GTK every 10 min, the restart-free half of that remedy; stations stay associated.get_key_seq). An AP-side deauth with an unchanged GTK reconnects fine.sh tools/ci.shgreen.docs/modules/wifi.md.🤖 Generated with Claude Code