]>
rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
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
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
Tuka Martin [Sun, 6 May 2012 18:46:23 +0000 (20:46 +0200)]
fwp: demo: test 1 update
Tuka Martin [Sun, 6 May 2012 18:39:54 +0000 (20:39 +0200)]
fwp: demo_sender: budget values corrected
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
Tuka Martin [Sun, 6 May 2012 18:35:05 +0000 (20:35 +0200)]
fwp: added port argument to demo_receiver
Tuka Martin [Fri, 4 May 2012 10:40:32 +0000 (12:40 +0200)]
fwp: fake_wifi_agent: Input correction
Integer values are now accepted
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
Tuka Martin [Thu, 3 May 2012 23:16:09 +0000 (01:16 +0200)]
Makefile correction, removed unused variable
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.
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
Tuka Martin [Thu, 3 May 2012 22:54:00 +0000 (00:54 +0200)]
fwp: wifi_agent_server: debug output updated
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
Tuka Martin [Wed, 2 May 2012 21:15:28 +0000 (23:15 +0200)]
fcb: redistribute_spare_capacity: added_change vreses function
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
Tuka Martin [Mon, 30 Apr 2012 21:39:33 +0000 (23:39 +0200)]
fcb: redistribute_spare_capacity: comments corrections
Active function calls were commented.
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
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
Tuka Martin [Mon, 30 Apr 2012 21:16:27 +0000 (23:16 +0200)]
fwp: fake_wifi_agent: added daemon support
Tuka Martin [Mon, 30 Apr 2012 21:05:33 +0000 (23:05 +0200)]
fcb: redistribute spare capacity: Debug outputs commented
Tuka Martin [Mon, 30 Apr 2012 21:04:39 +0000 (23:04 +0200)]
fwp_admctrl: Added debugging output
Tuka Martin [Tue, 24 Apr 2012 22:00:47 +0000 (00:00 +0200)]
fwp: added forb daemon running
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
Tuka Martin [Tue, 24 Apr 2012 00:29:41 +0000 (02:29 +0200)]
fwp: Added test including sending with rate change
Tuka Martin [Mon, 23 Apr 2012 21:56:06 +0000 (23:56 +0200)]
fwp demo sender: corrected max sending size
Tuka Martin [Mon, 23 Apr 2012 21:50:24 +0000 (23:50 +0200)]
fwp demo receiver: return variable changed to int
Tuka Martin [Sun, 15 Apr 2012 23:12:00 +0000 (01:12 +0200)]
fcb: Added debugging output
Shows number of contracts in fcb
Tuka Martin [Sun, 15 Apr 2012 23:04:53 +0000 (01:04 +0200)]
fcb: Initialized reservation list head
Tuka Martin [Sun, 15 Apr 2012 23:02:50 +0000 (01:02 +0200)]
frm_fwp: Corrected resource ID for network
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
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.
Michal Sojka [Fri, 13 Apr 2012 21:57:20 +0000 (23:57 +0200)]
Change FORB logging function so that log messages cannot overlap
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.
Tuka Martin [Tue, 10 Apr 2012 22:17:41 +0000 (00:17 +0200)]
Added debugging outputs
Michal Sojka [Sat, 7 Apr 2012 09:20:13 +0000 (11:20 +0200)]
Add more examples how to use uLUt logging system
Michal Sojka [Sat, 7 Apr 2012 09:15:53 +0000 (11:15 +0200)]
Fix frm_gui linking with recent linker
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
Michal Sojka [Sat, 7 Apr 2012 08:42:36 +0000 (10:42 +0200)]
Increase FORB timeout to 30 seconds
Michal Sojka [Sat, 7 Apr 2012 08:37:45 +0000 (10:37 +0200)]
Enable verbose debugging messages in list_of_stations test
Michal Sojka [Sat, 7 Apr 2012 08:37:17 +0000 (10:37 +0200)]
Add error checking to wifi_agent server
Tuka Martin [Wed, 4 Apr 2012 21:00:56 +0000 (23:00 +0200)]
frm_fwp: fcb instance initialized in frm_fwp_state structure
Tuka Martin [Mon, 2 Apr 2012 20:28:08 +0000 (22:28 +0200)]
Renamed & initialized variables
Tuka Martin [Sun, 1 Apr 2012 22:42:40 +0000 (00:42 +0200)]
frm_fwp: Initialized restype variable for NETWORK
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
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)
Tuka Martin [Sun, 1 Apr 2012 22:19:20 +0000 (00:19 +0200)]
Deleted unnecessary file
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
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
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
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
Tuka Martin [Sun, 18 Mar 2012 17:54:55 +0000 (18:54 +0100)]
Compile error correction (unused variable)
Tuka Martin [Sun, 18 Mar 2012 17:52:52 +0000 (18:52 +0100)]
fwp demo sender: Changed file description
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)
Tuka Martin [Sun, 18 Mar 2012 17:48:08 +0000 (18:48 +0100)]
Created fake wifi agent program for testing purposes
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
Michal Sojka [Tue, 13 Mar 2012 09:01:31 +0000 (10:01 +0100)]
fwp: Convert wvtest symlink to contain relative path
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
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
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
Michal Sojka [Fri, 9 Mar 2012 00:19:17 +0000 (01:19 +0100)]
Convert FWP negotiation test to wvtest framework
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
Michal Sojka [Thu, 8 Mar 2012 23:54:33 +0000 (00:54 +0100)]
wvtest: Kill annoying warning
Michal Sojka [Thu, 8 Mar 2012 23:40:12 +0000 (00:40 +0100)]
fwp: Convert parallel FWP benchmark to wvtest framework
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
Michal Sojka [Thu, 8 Mar 2012 22:46:05 +0000 (23:46 +0100)]
fwp: Simplify the send/recv test
Michal Sojka [Thu, 8 Mar 2012 22:45:53 +0000 (23:45 +0100)]
wvtest: Add WVERRNO macro
It calls perror() if the value == -1.
Michal Sojka [Thu, 8 Mar 2012 22:44:54 +0000 (23:44 +0100)]
fwp: Properly initialize memory in a test
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.
Michal Sojka [Thu, 8 Mar 2012 22:19:33 +0000 (23:19 +0100)]
wvtest: Print the whole line at once
Michal Sojka [Thu, 8 Mar 2012 22:18:17 +0000 (23:18 +0100)]
fwp: Unify newlines in error messages
Michal Sojka [Thu, 8 Mar 2012 21:35:25 +0000 (22:35 +0100)]
fwp: Convert internal send/recv test to wvtest framework
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
Michal Sojka [Thu, 8 Mar 2012 15:45:26 +0000 (16:45 +0100)]
Remove old cruft
Tuka Martin [Wed, 7 Mar 2012 22:05:41 +0000 (23:05 +0100)]
Added mutex to ensure atomicity of linked list operations
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
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.
Tuka Martin [Sun, 19 Feb 2012 21:12:05 +0000 (22:12 +0100)]
frm_fwp: Corrected deamon support & list_of_stations_test
Michal Sojka [Thu, 16 Feb 2012 22:45:58 +0000 (23:45 +0100)]
Fix comment
Tuka Martin [Sat, 11 Feb 2012 20:36:30 +0000 (21:36 +0100)]
Warnings corrections
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
Michal Sojka [Tue, 7 Feb 2012 23:54:13 +0000 (00:54 +0100)]
Make git ignore generated documentation
Michal Sojka [Tue, 7 Feb 2012 23:52:57 +0000 (00:52 +0100)]
Get rid of the most of other warnings
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.
Michal Sojka [Tue, 7 Feb 2012 23:04:19 +0000 (00:04 +0100)]
uLUt: Get rid of compiler warnings
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.
Michal Sojka [Tue, 7 Feb 2012 22:49:17 +0000 (23:49 +0100)]
Fix uninitialized memory bug that caused the test to fail sometimes
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer
Tuka Martin [Sun, 5 Feb 2012 12:51:49 +0000 (13:51 +0100)]
Add sleep to empty cycles
Tuka Martin [Fri, 6 Jan 2012 23:09:05 +0000 (00:09 +0100)]
Updated demo, removed unused variables
Tuka Martin [Thu, 15 Dec 2011 22:47:13 +0000 (23:47 +0100)]
Added demo skeleton for fwp data sending depending on tx bitrate
Tuka Martin [Thu, 15 Dec 2011 22:40:22 +0000 (23:40 +0100)]
Deleted comments
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer
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.
Michal Sojka [Mon, 18 Jul 2011 13:04:45 +0000 (15:04 +0200)]
More Makefile.rules fixes for RTEMS and IDL
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.
Tuka Martin [Sun, 1 May 2011 02:33:51 +0000 (04:33 +0200)]
fwp_mngr: Splitted forb_executor into 2 instances & threads
Added forb instance for contract broker. (For ability
of calling redistribute_spare_capacity function, which is
called after change of rate / new station addition)
TODO: optimalize function calling interval
Tuka Martin [Wed, 27 Apr 2011 22:43:58 +0000 (00:43 +0200)]
Added type conversion because of difference in behavior
Test had unpredictable behavior with hard estimated dependency
(It wasn't able to find some contracts, which was correctly
added to scenario.)
Called frsh_destroy function for corrected end of the test
Michal Sojka [Wed, 27 Apr 2011 05:41:50 +0000 (07:41 +0200)]
Fix linker complains about missing libraries
After an upgrade, I got errors like this:
/usr/bin/ld: fwp-timing.o: undefined reference to symbol 'clock_nanosleep@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_nanosleep@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
It was sufficient to fix them by adding mentioned libraries explicitely in
Makefile.omk.
Michal Sojka [Wed, 27 Apr 2011 05:25:13 +0000 (07:25 +0200)]
Fix linker complains about missing libraries
After an upgrade, I got errors like this:
/usr/bin/ld: fwp-timing.o: undefined reference to symbol 'clock_nanosleep@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_nanosleep@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
It was sufficient to fix them by adding mentioned libraries explicitely in
Makefile.omk.
Tuka Martin [Tue, 26 Apr 2011 17:41:30 +0000 (19:41 +0200)]
Added wvtest macros in fwp_admctrl_utilization
function