]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
frescor/frsh-forb.git
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.

13 years agofwp_mngr: Splitted forb_executor into 2 instances & threads
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

13 years agoAdded type conversion because of difference in behavior
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

13 years agoFix linker complains about missing libraries
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.

13 years agoFix linker complains about missing libraries
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.

13 years agoAdded wvtest macros in fwp_admctrl_utilization
Tuka Martin [Tue, 26 Apr 2011 17:41:30 +0000 (19:41 +0200)]
Added wvtest macros in fwp_admctrl_utilization
function

13 years agoTested every subtask for fwp_admctrl
Tuka Martin [Tue, 26 Apr 2011 13:01:22 +0000 (15:01 +0200)]
Tested every subtask for fwp_admctrl

Added interface.

13 years agoAdded and updated comments, removed unused definitions
Tuka Martin [Tue, 19 Apr 2011 18:34:57 +0000 (20:34 +0200)]
Added and updated comments, removed unused definitions

13 years agoUpdated tests
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

13 years agoPrepare for compiling FORB "components" for RTEMS
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().

13 years agoUpdated list of stations test
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

13 years agoUpdated list of stations test
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

13 years agoAdded test for fwp_admctrl_utilization function
Tuka Martin [Thu, 14 Apr 2011 14:41:38 +0000 (16:41 +0200)]
Added test for fwp_admctrl_utilization function

13 years agoDo not run wifi agent test on background
Michal Sojka [Wed, 13 Apr 2011 21:56:22 +0000 (23:56 +0200)]
Do not run wifi agent test on background

13 years agofwp: Added test for checking list of stations
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.

13 years agofwp: Added mac_address identifier for contract
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.

13 years agoMerge remote branch 'origin/master' into wifi-adaptive
Tuka Martin [Tue, 29 Mar 2011 10:27:11 +0000 (12:27 +0200)]
Merge remote branch 'origin/master' into wifi-adaptive

13 years agofwp: Add skeleton of admctrl test
Michal Sojka [Tue, 29 Mar 2011 10:26:49 +0000 (12:26 +0200)]
fwp: Add skeleton of admctrl test

13 years agofwp: Correct compilation issues
Tuka Martin [Tue, 29 Mar 2011 10:07:51 +0000 (12:07 +0200)]
fwp: Correct compilation issues

13 years agoMerge remote branch 'origin/master' into wifi-adaptive
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

13 years agofwp: Split frm into manager and agent functions
Tuka Martin [Tue, 29 Mar 2011 09:53:45 +0000 (11:53 +0200)]
fwp: Split frm into manager and agent functions

13 years agohack: Add fixed reference to wifi_agent to all FORBs
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.

13 years agoEdited cycle for choosing the right station in admission test
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.

13 years agoChanged format of mac address
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)

13 years agoExtended admission test for diferent bitrate
Tuka Martin [Sun, 20 Mar 2011 18:26:27 +0000 (19:26 +0100)]
Extended admission test for diferent bitrate

(Not complete yet)

13 years agofwp_mngr: Both interfaces run in one thread
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.

13 years agoFixed IDL making, wifi_agent periodically info sending
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.

13 years agoforb: proto_inet uses internally sockaddr_in instead of its own type
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.

13 years agoUpdate Makefile.rules
Michal Sojka [Sun, 13 Mar 2011 10:33:14 +0000 (11:33 +0100)]
Update Makefile.rules

13 years agofwp: Convert vres test to wvtest framework
Michal Sojka [Sat, 12 Mar 2011 16:15:50 +0000 (17:15 +0100)]
fwp: Convert vres test to wvtest framework

13 years agortems: Use Makefile.rules which pass OMK test suite
Michal Sojka [Sat, 12 Mar 2011 16:15:21 +0000 (17:15 +0100)]
rtems: Use Makefile.rules which pass OMK test suite