forked from jlopex/mac80211_hwsim
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Medium and mobility behaviour insertion for Wmediumd #4
Open
amarti2038
wants to merge
11
commits into
cozybit:master
Choose a base branch
from
amarti2038:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
- Launch scripts to automate mobility extension test scenario. - Mobility option creation on main funtion.
- Config file structure creation and example. - Application data structures to store the config file mobility config data. - Funtions to load mobility config data and print it on screen.
- Function creation (calculate_max_distance) to calculate maximum radio link distance (dmax) using a link budget with free-space path loss equation and config file data.
- Code placement ready to apply probabilities depending distance. - Load basic config function (load_basic_config) it's a modified version of load_config used to load application necessary data.
- Functions that find the radio positions and calculate the loss probability. - Initiate app globals as the timestamp used to see where stations are located during time.
- Globals where introduced in one struct called mobility_medium_cfg to decrease global variables. - Radios array has now size depending number of radios defined in config file, same with positions a radio has during time.
- Module coming with kernel versions > 3.X already suport wmediumd.
Looks great, but I have some compiler warnings/errors with gcc 4.8.1 (but not with the original branch). Am I missing anything?
|
A missed linker flag and solved most of warnings. |
Thank you! It compiles now. The remaining warnings can be fixed by escaping the percent character. I.e. % -> %% |
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.
Hi,
As discussed with Javier Cardona and Javier Lopez this pull request has:
Attached diagram shows the app flow using the mobility behavior.
Sorry if there are mistakes :(
Best regards.