Skip to content
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

Fix mira probe timer not fired. #465

Merged
merged 1 commit into from
Dec 25, 2020

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