]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
frescor/frsh-forb.git
11 years agoLog CLOCK_REALTIME instead of CLOCK_MONOTONIC wifi-adaptive
Michal Sojka [Mon, 7 May 2012 15:40:11 +0000 (17:40 +0200)]
Log CLOCK_REALTIME instead of CLOCK_MONOTONIC

Also print leading zeros in decimal parts.

11 years agofwp: demo: sender: Added ID argument for station definition
Tuka Martin [Mon, 7 May 2012 11:41:59 +0000 (13:41 +0200)]
fwp: demo: sender: Added ID argument for station definition

Corrected log message

11 years agoul_logmsg library used instead of printf
Tuka Martin [Mon, 7 May 2012 08:35:45 +0000 (10:35 +0200)]
ul_logmsg library used instead of printf

11 years agofwp: Corrected tests inclusion in Makefile
Tuka Martin [Sun, 6 May 2012 22:59:17 +0000 (00:59 +0200)]
fwp: Corrected tests inclusion in Makefile

Removed & corrected tests, so 'make test' is working
Corrected output in list_of_stations_test.sh because of added
logging messages

11 years agofwp: demo: test 4 added
Tuka Martin [Sun, 6 May 2012 22:30:52 +0000 (00:30 +0200)]
fwp: demo: test 4 added

4 stations sending data at the same time with
different rate changes

11 years agofwp: demo: test 3 added
Tuka Martin [Sun, 6 May 2012 21:52:05 +0000 (23:52 +0200)]
fwp: demo: test 3 added

3 stations sending data at the same time with
different rate changes

11 years agofwp: demo: test 2 added
Tuka Martin [Sun, 6 May 2012 18:47:58 +0000 (20:47 +0200)]
fwp: demo: test 2 added

2 stations sending data at the same time with
different rate changes

11 years agofwp: demo: test 1 update
Tuka Martin [Sun, 6 May 2012 18:46:23 +0000 (20:46 +0200)]
fwp: demo: test 1 update

11 years agofwp: demo_sender: budget values corrected
Tuka Martin [Sun, 6 May 2012 18:39:54 +0000 (20:39 +0200)]
fwp: demo_sender: budget values corrected

11 years agofwp_fra.c: Initialized vparams.src.s_addr with 0 value
Tuka Martin [Sun, 6 May 2012 18:36:53 +0000 (20:36 +0200)]
fwp_fra.c: Initialized vparams.src.s_addr with 0 value

With no initialization there was a bad return value of
fwp_vres_set_params function

11 years agofwp: added port argument to demo_receiver
Tuka Martin [Sun, 6 May 2012 18:35:05 +0000 (20:35 +0200)]
fwp: added port argument to demo_receiver

12 years agofwp: fake_wifi_agent: Input correction
Tuka Martin [Fri, 4 May 2012 10:40:32 +0000 (12:40 +0200)]
fwp: fake_wifi_agent: Input correction

Integer values are now accepted

12 years agofwp: demo_sender: initializations update
Tuka Martin [Fri, 4 May 2012 10:21:12 +0000 (12:21 +0200)]
fwp: demo_sender: initializations update

used bytes_to_budget function
initialized IP address in fwp_block

12 years agoMakefile correction, removed unused variable
Tuka Martin [Thu, 3 May 2012 23:16:09 +0000 (01:16 +0200)]
Makefile correction, removed unused variable

12 years agofwp: Added receiver with fwp functions
Tuka Martin [Thu, 3 May 2012 23:04:28 +0000 (01:04 +0200)]
fwp: Added receiver with fwp functions

Receiver implemented with fwp_level functions
for debugging purposes.

12 years agofwp: demo_sender: added contract cancellation
Tuka Martin [Thu, 3 May 2012 22:54:59 +0000 (00:54 +0200)]
fwp: demo_sender: added contract cancellation

& more budget possibilities in utilization_set

12 years agofwp: wifi_agent_server: debug output updated
Tuka Martin [Thu, 3 May 2012 22:54:00 +0000 (00:54 +0200)]
fwp: wifi_agent_server: debug output updated

12 years agofwp: wifi_agent update
Tuka Martin [Thu, 3 May 2012 22:52:13 +0000 (00:52 +0200)]
fwp: wifi_agent update

Network interface read as parameter
Update is sent only when rate is changed

12 years agofcb: redistribute_spare_capacity: added_change vreses function
Tuka Martin [Wed, 2 May 2012 21:15:28 +0000 (23:15 +0200)]
fcb: redistribute_spare_capacity: added_change vreses function

12 years agodemo updates
Tuka Martin [Tue, 1 May 2012 10:52:17 +0000 (12:52 +0200)]
demo updates

fcb: added debug output
fwp: changed number of messages to 30

12 years agofcb: redistribute_spare_capacity: comments corrections
Tuka Martin [Mon, 30 Apr 2012 21:39:33 +0000 (23:39 +0200)]
fcb: redistribute_spare_capacity: comments corrections

Active function calls were commented.

12 years agofwp: demo: sender updated
Tuka Martin [Mon, 30 Apr 2012 21:23:12 +0000 (23:23 +0200)]
fwp: demo: sender updated

Added utilization_set structure and set_reclamation_params function
for different sending conditions support
Removed extra spare capacity block initialization
Removed extra virtual resource initialization

12 years agofwp: demo: corrected / updated test conditions
Tuka Martin [Mon, 30 Apr 2012 21:18:31 +0000 (23:18 +0200)]
fwp: demo: corrected / updated test conditions

Fwp_demo_receiver & fake_wifi_agent were run from
different console windows due to the bigger overview

12 years agofwp: fake_wifi_agent: added daemon support
Tuka Martin [Mon, 30 Apr 2012 21:16:27 +0000 (23:16 +0200)]
fwp: fake_wifi_agent: added daemon support

12 years agofcb: redistribute spare capacity: Debug outputs commented
Tuka Martin [Mon, 30 Apr 2012 21:05:33 +0000 (23:05 +0200)]
fcb: redistribute spare capacity: Debug outputs commented

12 years agofwp_admctrl: Added debugging output
Tuka Martin [Mon, 30 Apr 2012 21:04:39 +0000 (23:04 +0200)]
fwp_admctrl: Added debugging output

12 years agofwp: added forb daemon running
Tuka Martin [Tue, 24 Apr 2012 22:00:47 +0000 (00:00 +0200)]
fwp: added forb daemon running

12 years agofwp: Corrected receiver demo
Tuka Martin [Tue, 24 Apr 2012 00:31:17 +0000 (02:31 +0200)]
fwp: Corrected receiver demo

Removed receive() function (All in main() function)
Marked TODO lines for unfinished tasks

12 years agofwp: Added test including sending with rate change
Tuka Martin [Tue, 24 Apr 2012 00:29:41 +0000 (02:29 +0200)]
fwp: Added test including sending with rate change

12 years agofwp demo sender: corrected max sending size
Tuka Martin [Mon, 23 Apr 2012 21:56:06 +0000 (23:56 +0200)]
fwp demo sender: corrected max sending size

12 years agofwp demo receiver: return variable changed to int
Tuka Martin [Mon, 23 Apr 2012 21:50:24 +0000 (23:50 +0200)]
fwp demo receiver: return variable changed to int

12 years agofcb: Added debugging output
Tuka Martin [Sun, 15 Apr 2012 23:12:00 +0000 (01:12 +0200)]
fcb: Added debugging output

Shows number of contracts in fcb

12 years agofcb: Initialized reservation list head
Tuka Martin [Sun, 15 Apr 2012 23:04:53 +0000 (01:04 +0200)]
fcb: Initialized reservation list head

12 years agofrm_fwp: Corrected resource ID for network
Tuka Martin [Sun, 15 Apr 2012 23:02:50 +0000 (01:02 +0200)]
frm_fwp: Corrected resource ID for network

12 years agofcb: Added debugging outputs
Tuka Martin [Sun, 15 Apr 2012 23:02:07 +0000 (01:02 +0200)]
fcb: Added debugging outputs

Output shows some of resource details as selected
in redistribute_spare_capacity function

12 years agoUse libSegFault to print verbose crash dumps
Michal Sojka [Fri, 13 Apr 2012 22:51:40 +0000 (00:51 +0200)]
Use libSegFault to print verbose crash dumps

Also add assertion showing the problem in the code.

12 years agoChange FORB logging function so that log messages cannot overlap
Michal Sojka [Fri, 13 Apr 2012 21:57:20 +0000 (23:57 +0200)]
Change FORB logging function so that log messages cannot overlap

12 years agofrm_fwp: Debugging redistribute_spare_capacity function
Tuka Martin [Tue, 10 Apr 2012 22:32:39 +0000 (00:32 +0200)]
frm_fwp: Debugging redistribute_spare_capacity function

Created test for printing all steps during simple program execution.
(Creation of one station, rate change & spare capacity re-balance)
Similar list of stations test not executed for now.

12 years agoAdded debugging outputs
Tuka Martin [Tue, 10 Apr 2012 22:17:41 +0000 (00:17 +0200)]
Added debugging outputs

12 years agoAdd more examples how to use uLUt logging system
Michal Sojka [Sat, 7 Apr 2012 09:20:13 +0000 (11:20 +0200)]
Add more examples how to use uLUt logging system

12 years agoFix frm_gui linking with recent linker
Michal Sojka [Sat, 7 Apr 2012 09:15:53 +0000 (11:15 +0200)]
Fix frm_gui linking with recent linker

12 years agoforb: Add debugging messages that show which method is going to be executed
Michal Sojka [Sat, 7 Apr 2012 09:15:29 +0000 (11:15 +0200)]
forb: Add debugging messages that show which method is going to be executed

12 years agoIncrease FORB timeout to 30 seconds
Michal Sojka [Sat, 7 Apr 2012 08:42:36 +0000 (10:42 +0200)]
Increase FORB timeout to 30 seconds

12 years agoEnable verbose debugging messages in list_of_stations test
Michal Sojka [Sat, 7 Apr 2012 08:37:45 +0000 (10:37 +0200)]
Enable verbose debugging messages in list_of_stations test

12 years agoAdd error checking to wifi_agent server
Michal Sojka [Sat, 7 Apr 2012 08:37:17 +0000 (10:37 +0200)]
Add error checking to wifi_agent server

12 years agofrm_fwp: fcb instance initialized in frm_fwp_state structure
Tuka Martin [Wed, 4 Apr 2012 21:00:56 +0000 (23:00 +0200)]
frm_fwp: fcb instance initialized in frm_fwp_state structure

12 years agoRenamed & initialized variables
Tuka Martin [Mon, 2 Apr 2012 20:28:08 +0000 (22:28 +0200)]
Renamed & initialized variables

12 years agofrm_fwp: Initialized restype variable for NETWORK
Tuka Martin [Sun, 1 Apr 2012 22:42:40 +0000 (00:42 +0200)]
frm_fwp: Initialized restype variable for NETWORK

12 years agofrm_fwp: Added fcb forb interface to wifi_agent_server function
Tuka Martin [Sun, 1 Apr 2012 22:28:01 +0000 (00:28 +0200)]
frm_fwp: Added fcb forb interface to wifi_agent_server function

Interface is needed due to spare capacity redistribution, if
conditions of network will change

12 years agofcb: redistribute_spare_capacity function update
Tuka Martin [Sun, 1 Apr 2012 22:25:36 +0000 (00:25 +0200)]
fcb: redistribute_spare_capacity function update

Prepared list of contracts for re-reservation after change
of conditions (for example network transmission rate change)

12 years agoDeleted unnecessary file
Tuka Martin [Sun, 1 Apr 2012 22:19:20 +0000 (00:19 +0200)]
Deleted unnecessary file

12 years agofcb: redistribute_spare_capacity function update
Tuka Martin [Tue, 27 Mar 2012 20:34:24 +0000 (22:34 +0200)]
fcb: redistribute_spare_capacity function update

all network contracts stored in a field

12 years agofcb: Update of redistribute spare capacity function
Tuka Martin [Mon, 26 Mar 2012 21:54:33 +0000 (23:54 +0200)]
fcb: Update of redistribute spare capacity function

Added skeleton for redistribute function, which is
a part of interface for application adaptation in changes

12 years agofwp: adaptive test updated
Tuka Martin [Tue, 20 Mar 2012 21:46:30 +0000 (22:46 +0100)]
fwp: adaptive test updated

Removed deamonization from fake_wifi_agent
Added deamonization to receiver and sender
Used send_sync function for better synchronization with receiver

12 years agofwp: 'sender adaptive to wifi-conditions' test updated
Tuka Martin [Sun, 18 Mar 2012 21:23:54 +0000 (22:23 +0100)]
fwp: 'sender adaptive to wifi-conditions' test updated

Added spare capacity block. virtual resource creation
and wvtest macros

12 years agoCompile error correction (unused variable)
Tuka Martin [Sun, 18 Mar 2012 17:54:55 +0000 (18:54 +0100)]
Compile error correction (unused variable)

12 years agofwp demo sender: Changed file description
Tuka Martin [Sun, 18 Mar 2012 17:52:52 +0000 (18:52 +0100)]
fwp demo sender: Changed file description

12 years agofwp: Created skeleton for adaptive send/receive test
Tuka Martin [Sun, 18 Mar 2012 17:52:09 +0000 (18:52 +0100)]
fwp: Created skeleton for adaptive send/receive test

Amount of data should be set up according to the
actual budget and period (used vres_get_budget_and_period
function)

12 years agoCreated fake wifi agent program for testing purposes
Tuka Martin [Sun, 18 Mar 2012 17:48:08 +0000 (18:48 +0100)]
Created fake wifi agent program for testing purposes

12 years agofwp transmit/receive test: used frsh_* functions
Tuka Martin [Tue, 13 Mar 2012 22:59:42 +0000 (23:59 +0100)]
fwp transmit/receive test: used frsh_* functions

Removed warnings, added wvtest macros

12 years agofwp: Convert wvtest symlink to contain relative path
Michal Sojka [Tue, 13 Mar 2012 09:01:31 +0000 (10:01 +0100)]
fwp: Convert wvtest symlink to contain relative path

12 years agofwp transmit/receive test update
Tuka Martin [Mon, 12 Mar 2012 23:00:27 +0000 (00:00 +0100)]
fwp transmit/receive test update

Added wvtest macros, possibility to set up period
as a program parameter

12 years agoAdded simple fwp transmit/receive test skeleton
Tuka Martin [Mon, 12 Mar 2012 01:22:38 +0000 (02:22 +0100)]
Added simple fwp transmit/receive test skeleton

Basic transmit/receive event is working, need to add WVTEST
macros & eventually debug

12 years agofwpsender test: Do not use thread and rename variables to have more usual names
Michal Sojka [Fri, 9 Mar 2012 00:56:04 +0000 (01:56 +0100)]
fwpsender test: Do not use thread and rename variables to have more usual names

12 years agoConvert FWP negotiation test to wvtest framework
Michal Sojka [Fri, 9 Mar 2012 00:19:17 +0000 (01:19 +0100)]
Convert FWP negotiation test to wvtest framework

12 years agowvtest: Fix WVFRSH() to properly report failure for non-FRSH error codes
Michal Sojka [Fri, 9 Mar 2012 00:18:08 +0000 (01:18 +0100)]
wvtest: Fix WVFRSH() to properly report failure for non-FRSH error codes

12 years agowvtest: Kill annoying warning
Michal Sojka [Thu, 8 Mar 2012 23:54:33 +0000 (00:54 +0100)]
wvtest: Kill annoying warning

12 years agofwp: Convert parallel FWP benchmark to wvtest framework
Michal Sojka [Thu, 8 Mar 2012 23:40:12 +0000 (00:40 +0100)]
fwp: Convert parallel FWP benchmark to wvtest framework

12 years agowvtest: Simplify the code by combining start() and check() to a single function
Michal Sojka [Thu, 8 Mar 2012 23:39:28 +0000 (00:39 +0100)]
wvtest: Simplify the code by combining start() and check() to a single function

12 years agofwp: Simplify the send/recv test
Michal Sojka [Thu, 8 Mar 2012 22:46:05 +0000 (23:46 +0100)]
fwp: Simplify the send/recv test

12 years agowvtest: Add WVERRNO macro
Michal Sojka [Thu, 8 Mar 2012 22:45:53 +0000 (23:45 +0100)]
wvtest: Add WVERRNO macro

It calls perror() if the value == -1.

12 years agofwp: Properly initialize memory in a test
Michal Sojka [Thu, 8 Mar 2012 22:44:54 +0000 (23:44 +0100)]
fwp: Properly initialize memory in a test

12 years agofwp: Better name for function argument
Michal Sojka [Thu, 8 Mar 2012 22:44:08 +0000 (23:44 +0100)]
fwp: Better name for function argument

Searching for the name does not return similarly named variables.

12 years agowvtest: Print the whole line at once
Michal Sojka [Thu, 8 Mar 2012 22:19:33 +0000 (23:19 +0100)]
wvtest: Print the whole line at once

12 years agofwp: Unify newlines in error messages
Michal Sojka [Thu, 8 Mar 2012 22:18:17 +0000 (23:18 +0100)]
fwp: Unify newlines in error messages

12 years agofwp: Convert internal send/recv test to wvtest framework
Michal Sojka [Thu, 8 Mar 2012 21:35:25 +0000 (22:35 +0100)]
fwp: Convert internal send/recv test to wvtest framework

12 years agowvtest updates
Michal Sojka [Thu, 8 Mar 2012 21:06:30 +0000 (22:06 +0100)]
wvtest updates

- Keep only one copy of wvtest.sh
- Automatically use a subshell for WVPASS with a single argument

12 years agoRemove old cruft
Michal Sojka [Thu, 8 Mar 2012 15:45:26 +0000 (16:45 +0100)]
Remove old cruft

12 years agoAdded mutex to ensure atomicity of linked list operations
Tuka Martin [Wed, 7 Mar 2012 22:05:41 +0000 (23:05 +0100)]
Added mutex to ensure atomicity of linked list operations

12 years agofrm_fwp: Global variable correction
Tuka Martin [Sun, 26 Feb 2012 16:11:59 +0000 (17:11 +0100)]
frm_fwp: Global variable correction

Linked list contained data about network from all stations
is now called locally in all functions

12 years agoAllow running shell based tests directly
Michal Sojka [Thu, 23 Feb 2012 21:08:46 +0000 (22:08 +0100)]
Allow running shell based tests directly

Instead of running make test, it is now possible to run the test simply
by executing the shell script with the test.

12 years agofrm_fwp: Corrected deamon support & list_of_stations_test
Tuka Martin [Sun, 19 Feb 2012 21:12:05 +0000 (22:12 +0100)]
frm_fwp: Corrected deamon support & list_of_stations_test

12 years agoFix comment
Michal Sojka [Thu, 16 Feb 2012 22:45:58 +0000 (23:45 +0100)]
Fix comment

12 years agoWarnings corrections
Tuka Martin [Sat, 11 Feb 2012 20:36:30 +0000 (21:36 +0100)]
Warnings corrections

12 years agoMerge branch 'master' into wifi-adaptive
Michal Sojka [Tue, 7 Feb 2012 23:58:10 +0000 (00:58 +0100)]
Merge branch 'master' into wifi-adaptive

Conflicts:
src/fwp/fwp/mngr/Makefile.omk

12 years agoMake git ignore generated documentation
Michal Sojka [Tue, 7 Feb 2012 23:54:13 +0000 (00:54 +0100)]
Make git ignore generated documentation

12 years agoGet rid of the most of other warnings
Michal Sojka [Tue, 7 Feb 2012 23:52:57 +0000 (00:52 +0100)]
Get rid of the most of other warnings

12 years agoDo not compile ACPI stuff by default
Michal Sojka [Tue, 7 Feb 2012 23:31:34 +0000 (00:31 +0100)]
Do not compile ACPI stuff by default

There are compiler warnings which I'm lazy to fix, because the code is
not used anywhere.

12 years agouLUt: Get rid of compiler warnings
Michal Sojka [Tue, 7 Feb 2012 23:04:19 +0000 (00:04 +0100)]
uLUt: Get rid of compiler warnings

12 years agoUse a newer version of wvtestrun (from NUL project)
Michal Sojka [Tue, 7 Feb 2012 22:09:27 +0000 (23:09 +0100)]
Use a newer version of wvtestrun (from NUL project)

This has some nice features like showing markers before and after the
output of the failed test.

12 years agoFix uninitialized memory bug that caused the test to fail sometimes
Michal Sojka [Tue, 7 Feb 2012 22:49:17 +0000 (23:49 +0100)]
Fix uninitialized memory bug that caused the test to fail sometimes

12 years agoFixes for building on my computer
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer

12 years agoAdd sleep to empty cycles
Tuka Martin [Sun, 5 Feb 2012 12:51:49 +0000 (13:51 +0100)]
Add sleep to empty cycles

12 years agoUpdated demo, removed unused variables
Tuka Martin [Fri, 6 Jan 2012 23:09:05 +0000 (00:09 +0100)]
Updated demo, removed unused variables

12 years agoAdded demo skeleton for fwp data sending depending on tx bitrate
Tuka Martin [Thu, 15 Dec 2011 22:47:13 +0000 (23:47 +0100)]
Added demo skeleton for fwp data sending depending on tx bitrate

12 years agoDeleted comments
Tuka Martin [Thu, 15 Dec 2011 22:40:22 +0000 (23:40 +0100)]
Deleted comments

12 years agoFixes for building on my computer
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer

12 years agoChanged executor's thread creation
Tuka Martin [Tue, 4 Oct 2011 20:11:01 +0000 (22:11 +0200)]
Changed executor's thread creation

Threads are created via fosa_thread_create function.

12 years agoMore Makefile.rules fixes for RTEMS and IDL
Michal Sojka [Mon, 18 Jul 2011 13:04:45 +0000 (15:04 +0200)]
More Makefile.rules fixes for RTEMS and IDL

13 years agoUpdate of splitting forb executors
Tuka Martin [Sun, 1 May 2011 17:14:31 +0000 (19:14 +0200)]
Update of splitting forb executors

Function redistribute_spare_capacity is now called from
its own thread.