Medium and mobility behaviour insertion for Wmediumd#4
Open
amarti2038 wants to merge 11 commits intocozybit:masterfrom
Open
Medium and mobility behaviour insertion for Wmediumd#4amarti2038 wants to merge 11 commits intocozybit:masterfrom
amarti2038 wants to merge 11 commits intocozybit:masterfrom
Conversation
added 10 commits
December 4, 2013 19:37
- 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? |
Author
|
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. % -> %% |
This file contains hidden or 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
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.