Skip to content

Fix mira probe timer not fired.#465

Merged
zxystd merged 1 commit into
OpenIntelWireless:masterfrom
pigworlds:mira_timeout
Dec 25, 2020
Merged

Fix mira probe timer not fired.#465
zxystd merged 1 commit into
OpenIntelWireless:masterfrom
pigworlds:mira_timeout

Conversation

@pigworlds
Copy link
Copy Markdown
Contributor

The MiRA rate adaption algorithm rely on time-based trigger and event-based trigger to probe different transmission rates.

There is a bug in the code where time-based timers got deleted inside function ieee80211_mira_cancel_timeouts. When future time-based event occurred, the timer won't be fired. This blocks probing better rates effectively. The original intention is to reset the timer only.

The fix adds another function ieee80211_mira_node_free to release the timers when driver shutdown.

@zxystd
Copy link
Copy Markdown
Collaborator

zxystd commented Dec 25, 2020

It is a mistake I have made, yes, this PR fix this. Thank you.

@zxystd zxystd merged commit a8ae1f8 into OpenIntelWireless:master Dec 25, 2020
fengjixuchui added a commit to fengjixuchui/itlwm that referenced this pull request Dec 25, 2020
DexterSLamb pushed a commit to DexterSLamb/itlwm that referenced this pull request May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants