]>
rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
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
Tuka Martin [Tue, 26 Apr 2011 13:01:22 +0000 (15:01 +0200)]
Tested every subtask for fwp_admctrl
Added interface.
Tuka Martin [Tue, 19 Apr 2011 18:34:57 +0000 (20:34 +0200)]
Added and updated comments, removed unused definitions
Tuka Martin [Tue, 19 Apr 2011 10:57:07 +0000 (12:57 +0200)]
Updated tests
In 'fwp_admctrl_utilization' test added fres_block_
register_fwp function for correct handling with FRES_
BLOCK_FWP_SCHED-block
In 'list_of_stations' test updated handling with outputs
and synchronization of processes
Michal Sojka [Mon, 18 Apr 2011 22:27:25 +0000 (00:27 +0200)]
Prepare for compiling FORB "components" for RTEMS
On Linux, FORB modules are normal shared libraries. The RTEMS support
for shared libraries does not seem to be mature so we use static libraries
for the components. These will have to be linked manually to the final
application.
The FORB components should use FORB_MAIN macro to define their main
function (previously called forb_main).
In this commit I only convert dummy resource to this new syntax. The rest
is leaved for Petr :-)
It will be necessary to implement an equivalent of forbrun for RTEMS. My
idea is to introduce a special ELF section with pointers to FORB_MAIN
functions and these functions will be called at the end of forb_init().
Tuka Martin [Sun, 17 Apr 2011 23:54:56 +0000 (01:54 +0200)]
Updated list of stations test
Print via ul_logmsg function, synchronized
processes for output
Tuka Martin [Thu, 14 Apr 2011 23:52:48 +0000 (01:52 +0200)]
Updated list of stations test
Changed structure so test program runs
as a client (fwp_mngr is a server)
Added function for list printing in forb_wifi_agent
interface
Tuka Martin [Thu, 14 Apr 2011 14:41:38 +0000 (16:41 +0200)]
Added test for fwp_admctrl_utilization function
Michal Sojka [Wed, 13 Apr 2011 21:56:22 +0000 (23:56 +0200)]
Do not run wifi agent test on background
Tuka Martin [Tue, 12 Apr 2011 21:41:49 +0000 (23:41 +0200)]
fwp: Added test for checking list of stations
Adjusted mac address 'to number' converter.
Added test for checking right of handling with list of
stations.
Added function for printing list of stations.
Tuka Martin [Sat, 2 Apr 2011 23:46:24 +0000 (01:46 +0200)]
fwp: Added mac_address identifier for contract
In admission test selected rate from station
according to right contract.
Tuka Martin [Tue, 29 Mar 2011 10:27:11 +0000 (12:27 +0200)]
Merge remote branch 'origin/master' into wifi-adaptive
Michal Sojka [Tue, 29 Mar 2011 10:26:49 +0000 (12:26 +0200)]
fwp: Add skeleton of admctrl test
Tuka Martin [Tue, 29 Mar 2011 10:07:51 +0000 (12:07 +0200)]
fwp: Correct compilation issues
Tuka Martin [Tue, 29 Mar 2011 10:05:48 +0000 (12:05 +0200)]
Merge remote branch 'origin/master' into wifi-adaptive
Conflicts:
src/fwp/fwp/mngr/fwp_mngr.c
src/fwp/fwp/mngr/wifi_agent.h
Tuka Martin [Tue, 29 Mar 2011 09:53:45 +0000 (11:53 +0200)]
fwp: Split frm into manager and agent functions
Michal Sojka [Tue, 29 Mar 2011 09:49:15 +0000 (11:49 +0200)]
hack: Add fixed reference to wifi_agent to all FORBs
This is only a temporary hack until I implement proper registration and
propagation of regeistered references over TCP transport protocol.
Tuka Martin [Fri, 25 Mar 2011 23:51:02 +0000 (00:51 +0100)]
Edited cycle for choosing the right station in admission test
(To be able to compile, TODO: Store MAC addres in contract)
Found better names for variables and structures.
Tuka Martin [Fri, 25 Mar 2011 22:27:03 +0000 (23:27 +0100)]
Changed format of mac address
From string to number.
Simplified structures in forb transactions.
(Deleted intern data structure)
Tuka Martin [Sun, 20 Mar 2011 18:26:27 +0000 (19:26 +0100)]
Extended admission test for diferent bitrate
(Not complete yet)
Tuka Martin [Mon, 14 Mar 2011 01:08:19 +0000 (02:08 +0100)]
fwp_mngr: Both interfaces run in one thread
Interface for recieving information from stations and
interface for running frm running via one executor.
Moreover, deleted auto-generated files.
Tuka Martin [Sun, 13 Mar 2011 23:40:09 +0000 (00:40 +0100)]
Fixed IDL making, wifi_agent periodically info sending
Added rules for automatic IDL generating.
Wifi agent sends now information periodically.
Found better names for structures.
Michal Sojka [Sun, 13 Mar 2011 22:31:01 +0000 (23:31 +0100)]
forb: proto_inet uses internally sockaddr_in instead of its own type
This is to simplify connecting to known peers in followup patches.
Michal Sojka [Sun, 13 Mar 2011 10:33:14 +0000 (11:33 +0100)]
Update Makefile.rules
Michal Sojka [Sat, 12 Mar 2011 16:15:50 +0000 (17:15 +0100)]
fwp: Convert vres test to wvtest framework
Michal Sojka [Sat, 12 Mar 2011 16:15:21 +0000 (17:15 +0100)]
rtems: Use Makefile.rules which pass OMK test suite