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 interference #22

Closed
wants to merge 7 commits into from
Closed

Fix interference #22

wants to merge 7 commits into from

Conversation

masap
Copy link

@masap masap commented Mar 20, 2020

No description provided.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
commit 8d063f0
'Skipping frames when signal < CCA_THRESHOLD' could skip the
set_interference_duration() call also even though the function works when the
signal is weaker than CCA_THRESHOLD. So move it to after the function call.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
set_interference_duration() and send_cloned_frame_msg() are each called twice.
So aggregate them to one.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Because CCA_THRESHOLD is checked by trailing code.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
The interference simulation introduced by commit 5ba7123
'Simulate Radio wave interference' was wrongly implemented.

Previously, signal strength from node A to B was calculated and wrongly
accumlated to interference duration of "A to all". This patch fix it to
"A to B".

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
@masap masap closed this Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant