summaryrefslogtreecommitdiff
path: root/cesar/bsu/test
AgeCommit message (Collapse)Author
2010-09-28cesar/bsu: avoid override of discover info bentry received from CCo, closes ↵Nélio Laranjeiro
#1911
2010-09-20cesar/bsu: Handle specially beacon allocations, refs #1438Nélio Laranjeiro
2010-09-17cesar/bsu: make bsu_avln_remove public, refs #1858Nélio Laranjeiro
2010-09-16cesar/bsu: read the whole beacon on reception, refs #1873Nélio Laranjeiro
2010-09-09cesar/bsu: update aclf when tracking is requested by upper layer, closes #1869Nélio Laranjeiro
2010-09-03cesar/bsu: store bsu_params with the data from the beacon, closes #1854Nélio Laranjeiro
When BSU received a beacon from another network, it was filling the bsu_params with the data of its own network, this was causing a bad synchronisation of the SNID to communicate.
2010-09-02cesar/bsu: add beacon listening allocation instead of a hole, refs #1848Nélio Laranjeiro
2010-07-26cesar/bsu: move nek_switch to BSU contextlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7314 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-26cesar/bsu: fix beacon entry countdown change, closes #1758laranjeiro
Change the behavior of countdown handling for STA and CCo. BSU is now able to loose some central beacons and stay synchronized (nek, snid, hm) with the AVLN is tracks. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7313 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-22cesar/bsu: persistent schedulelaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7307 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-22cesar/bsu: add CSMA only verificationlaranjeiro
If a central beacon is received with a schedule which is not persistent, replace it by a permanent schedule with only a CSMA SAI. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7306 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-22cesar/bsu/aclf: add a function to get the beacon period in ATUlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7304 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-21cesar/bsu: Inform PBProc on its central beacon detectionlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7300 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-07cesar/{bsu, cp/beacon}: fix updated flag in discover info bentry, closes #1711laranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7277 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-06cesar/bsu: fix unit test, initialise a rx beacon parameterslaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7270 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-07-06cesar/bsu: add a test for countdowns beacon entries.laranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7265 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-22cesar/bsu: add trace compilation for testlaranjeiro
fix a unsatisfactory trace. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7251 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-22cesar/bsu: initialise structure to avoid assert in unit testslaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7248 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/bsu: fix a unit testlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7172 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/bsu: add a function to update discover info bentry for bsularanjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7170 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/bsu: change trackinglaranjeiro
When associated only track central beacons to keep the station synchronised with the CCo. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7169 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar: NEK index to use in whole modemlaranjeiro
- bsu: add functions and unit tests (with stubs) - cp/beacon: remove nek_index - cp/cco/action: use bsu function - mac/common: add a define for the number of NEK git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7166 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/bsu: beacons statisticslaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7165 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/{cp, bsu}: fix discover procedure requestlaranjeiro
* BSU send a discover beacon when the CCo requests it. * Discover interval is recomputed each time the previous discover round is over. * cco/action will not call discover functions git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7163 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/bsu: does not provide crc false beacons to upper layerslaranjeiro
When bsu process a beacon, if the crc is false, the beacon is released. So if the beacon is provided to upper layer, it will work on a freed block git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7161 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/{bsu, cp/{beacon, sta/action}}: order the bsu to track the avlnlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7093 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: allocate beacon MFSs only oncelaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7082 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/{interface, bsu, cp/beacon, station}: integrate bsu in the stationlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7072 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add a function to compute the nbe in the beaconlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7066 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: update the persistent schedules correctlylaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7065 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add UCCo supportlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7063 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: fix aclf uselaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7061 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/{bsu, common}: add missing functionalities for the poweron procedurelaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7053 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add a power on function to provide the snid to the bsularanjeiro
SNID is used in the CA schedules. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7051 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: remove UNIT_TEST definelaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7048 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add activate functionlaranjeiro
Activation should: * launch the frequency detection on the medium. * Program the first CA schedules. * Program the timer. When deactivate only the timer is canceled. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7046 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: remove phy context from stubbed functionslaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7043 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add bsu params at the end of the beacon block,laranjeiro
* add pbproc_rx_beacon_params_t into bsu_params_t * change the callback params type. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7038 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: replace div fixed division by the define associatedlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7036 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: changed callback to send beacon to CPlaranjeiro
bsu_beacon_params_t is now bsu_params_t which contains: * direction, TO PLC or FROM PLC. * frequency error as a 32bits with fixed point (30 bits after the dot). * tick offset corresponding to the offset of the NTB clock with the phy_date clock. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7035 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: improve update datalaranjeiro
BSU has a copy of the bsu_beacon_t, on each update if the data corresponds to the next beacon period it will copy the whole structure. Otherwise it will take only new data. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7034 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: change schedules testslaranjeiro
A second Persistent schedule only can be announced in the central beacon only if the first one is valid i.e. PSCD == 0. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7033 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/{bsu,bsu/aclf}: return bsu_aclf_t context on bsu_aclf_initlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7031 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add timer program and add frequency detection in initlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7022 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: test timer_event and update functionslaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7021 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: test interface communication with SAR and CPlaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7020 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add process and track functions, closes #1233laranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7019 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-17cesar/bsu: add test structurelaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7018 017c9cb6-072f-447c-8318-d5b54f68fe89