Skip to content

Conversation

pigworlds
Copy link
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
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
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