summaryrefslogtreecommitdiff
path: root/cesar/hal
AgeCommit message (Collapse)Author
2013-05-17cesar/hal/phy/maximus: decrease log level because collision could happenThierry Carré
2013-05-17cesar/hal/phy/maximus: accept to program a timer in the past (less than 1ms)Thierry Carré
Add some tolerance on timer management.
2013-04-05cesar/hal/phy: add amplitude map limits, refs #3911Nicolas Schodet
2013-03-29cesar/hal/phy/test/phy: add delta setting with freq error, closes #3896Nicolas Schodet
2013-03-29cesar/hal/phy/test/phy: add zero_pb, closes #3895Nicolas Schodet
2013-03-27cesar/hal/phy/test/phy: fix fcall usage, fix 4452a8abe0d1Nicolas Schodet
2013-03-06cesar/hal/phy: compute HP1.0 mask from AV tonemask, closes #2083Nicolas Schodet
HP1.0 mask is also used for PRS and preamble TX and RX. There is a HP1.0 carrier every 8 AV carriers, mask it if any of the three corresponding AV carriers is masked.
2013-02-22cesar: keep log to stderr instead forcing to stdout, refs #2979Thierry Carré
2013-02-22cesar/hal/leon/maximus/test: destroy dirty utests, refs #2979Thierry Carré
Ticket #3779 created to rebuild correctly this unit test module.
2013-02-22cesar/hal/phy/maximus/test: destroy dirty utests, refs #2979Thierry Carré
Ticket #3598 already exist to rebuild correctly this unit test.
2013-02-22cesar/hal/ipmbox/maximus/test: destroy dirty utests, refs #2979Thierry Carré
Ticket #3780 created to rebuild correctly this unit test module.
2013-02-22cesar/{host, hal}: erase dead code linked to STATION_SOCK, refs #2979Thierry Carré
2013-02-21cesar/hal/phy/test/bridgedma: warning fix about an uninitialized variableThierry Carré
2013-02-21cesar/hal/phy/maximus: warning fix on conversion between a bitfield and an u32Thierry Carré
Fix warning at maximus_phy_ctrl.c:102 signaled by pessac server. Warning message fixed was : "dereferencing type-punned pointer will break strict-aliasing rules" GCC can now optimize the code on a conversion between a bitfield and an u32.
2013-02-01hal/phy: verify brgDMA status in assert, closes #3666Nélio Laranjeiro
2013-01-31cesar/hal/phy: set an assert message more explicit for clients, closes #3680Thierry Carré
2013-01-31cesar: check the hardware compatibility when ipmbox is activated, refs #3680Thierry Carré
Information about an assert could be collected by Linux, only after ipmbox activation.
2013-01-31cesar/maximus: C++ maximus refactoring, closes #3336, closes #3098Thierry Carré
Feedback on new performance on tests inside: test_general/station Ratio = Test duration before this commit divided by new duration. |--------------------------------------------|-------| | Unit test | Ratio | |--------------------------------------------|-------| | maximus/py/sc01_long_simu.py | 6.5 | | maximus/py/sc02_long_simu.py | 4.5 | | scenario/av/py/sc01_assoc_auth.py | 3.3 | | scenario/av/py/sc02_stas_communication.py | 4.5 | | scenario/av/py/sc03_two_avln_coexisting.py | 2.1 | | scenario/av/py/sc04_cc_whoru.py | 2.1 | | scenario/av/py/sc05_cc_leave.py | 2.3 | | scenario/av/py/sc06_discover_procedure.py | 2.3 | | scenario/av/py/sc07_bridge.py | 2.2 | | scenario/av/py/sc08_bentry_change.py | 2.1 | | scenario/av/py/sc09_simple_connect.py | 2.2 | | scenario/av/py/sc10_short_messages.py | 5.7 | | scenario/av/py/sc11_cm_nw_info.py | 4.7 | | scenario/av/py/sc12_change_nmk.py | 5.5 | | scenario/av/py/sc14_igmp.py | 4.0 | | scenario/av/py/sc15_hide.py | 6.0 | | compliance/py/sc01_dut_as_a_cco.py | 5.8 | | tonemap/py/sc01_bl_initial.py | 2.3 | | tonemap/py/sc02_vs_get_tonemap.py | 2.3 | |--------------------------------------------|-------| | Average speed improvement of Maximus is | 4.9 | |--------------------------------------------|-------| Many tickets have been opened to continue the refactoring. Titles begin by "[Maximus][Refactoring]" in pessac's trac. For this reason #3336 is close. #3098 is really fixed.
2013-01-31cesar/hal/phy/maximus: reset netclock_id on maximus_tx_frame_cbThierry Carré
When the maximus_tx_frame_cb is called, this last must reset the id variable. Otherwise a bug can occur later on tx_cancel event. tx_cancel could raise an errno if the id couldn't be find.
2013-01-31cesar/hal/phy/maximus/test: remove debug messages on unit testsThierry Carré
2013-01-31cesar/hal/phy/maximus: update correctly the state machine on collisionThierry Carré
Now, we can receive 2 sci msg : - at the same tick, - with the same type (FC_AV_ONLY) In any order (B msg before the A msg).
2013-01-14cesar/hal/arch/dlink: do not flush memory cache in local ram, closes #3652Olivier Dufour
SPARC Architecture Manual Version 8, appendix G.7 strongly advises to call flush after modifying an instruction in memory. The flush instruction will discard two words at least from the processor cache, starting at the adress given to the instruction. However this does not apply to non-cached memory, such as local ram. Moreover, in the specific case of local ram, it could insert a bug. Leon2 XST User's Manual, in section 4.7.1 states that write access to local ram must be word sized. Any other access will generate a data exception trap (0x09). The bug described in #3652 appears to be caused by the flush instruction when executed on a local ram address, as the DSU catched a 0x09 trap, and stalled the CPU, causing the Leon watchdog to expire and Linux to request a reboot.
2012-12-20cesar/hal/phy/test/phy/py/scripts: add freqerror scriptNicolas Schodet
This is used to determine frequency error between two stations.
2012-12-20cesar/hal/phy/test/phy: mask rho when sending with maximus/protoNicolas Schodet
There is no signed add_param in maximus/proto, use a mask to transfer rho as unsigned.
2012-12-17cesar/{mac,hal}: store the agc gain on mpdu reception, refs #3485Nélio Laranjeiro
2012-12-13cesar/hal: stop if AES is requested on MSE500 revision 1, closes #3595Nicolas Schodet
2012-12-06cesar/hal/clk/test: fix testsNicolas Schodet
2012-12-06cesar/hal/phy: use a different set of parameters for mode 500, refs #3431Nicolas Schodet
2012-12-06cesar/hal/clk: add dspclk_mhz parameter, refs #3431Nicolas Schodet
2012-12-06cesar/hal/clk: fix commentNicolas Schodet
2012-11-30cesar/{hal/arch,ecos}: use a faster and smaller ISR lock, closes #3404Nicolas Schodet
Original eCos code used a trap to atomically change PSR. This is not needed on our system as PSR is always restored after an ISR execution, therefore read/modify/write sequence is safe. ET bit is cleared to lock ISR. This is acceptable as: - trap instruction is never used in our code, - on error trap, the CPU will stop, but this is the case yet due to DSU configuration (break on error), - no save or restore is used in flat mode, and therefore no window under/overflow. Clearing ET is simpler and faster. This is actually the solution which is used today on phy VSR which never sets ET.
2012-11-29cesar/hal/arch: add two levels for ilram, closes #3457Nélio Laranjeiro
2012-11-29cesar/hal/arch/dlink: do not assert if ILRAM2 is empty, refs #3459Cyril Jourdan
2012-11-07cesar/hal/phy: add param to bypass Rx Filter (MSE500-300), closes #3415Yacine Belkadi
On MSE500, new bits are available in register "MAGIC parameters 3" to allow Rx Mem, MAGIC or MAFADESE to bypass the Rx filter. Add support for that. Get the parameters' values from http://stestephe/svn/spidcom_digital_svn/projects/DSP_350/DSP_chain/SW/ Phy_params_config, r19132
2012-10-22cesar/hal/ipmbox: add function to ilram2, refs #3455Nélio Laranjeiro
2012-10-22cesar: use CALLBACK macro to register callbacks, refs #3414Nélio Laranjeiro
2012-10-22cesar/hal/arch: add ARCH_ILRAM2_PRIO with special behavior, refs #3414Nélio Laranjeiro
For ARCH_ILRAM_PRIO(n) < CONFIG_ARCH_ILRAM_PRIO = n, all function declared as ARCH_ILRAM_PRIO(n) with n > 1, are stored in ARCH_ILRAM2_PRIO(n). All CONFIG_ARCH_ILRAM2_PRIO With a PRIO = 0 the ILRAM2 is disabled.
2012-10-22cesar/{common,eoc,hal}: add the second ilram section, refs #3414Nélio Laranjeiro
The following files have been changed because they are included in eCos: - cesar/hal/arch/inc/regs_addr.h: change u32 by unsigned long - cesar/hal/arch/platform.h: put BEGIN_DECLS between #ifdef (__sparc__)
2012-10-19{cesar, cleo}/ipmbox: adapt init after moving DATA on RAM, closes #3441Jean-Philippe SAVE
- Change queues initialisation: now, all queues head and tail pointers are respectively set by plcdrv at the begining and end of there areas. Cesar just have, for all queues, to set the tail pointer at head pointer. - Unitary tests have also been updating.
2012-10-19cesar/hal/phy/test/phy: use a single Makefile for sparc and maximus buildNicolas Schodet
2012-10-19cesar/hal/phy: add symbol_nb parameter for tracing, refs #3428Nicolas Schodet
2012-10-19cesar/hal/phy/maximus: unify trace format with hal/phy, refs #3428Nicolas Schodet
2012-10-19cesar/hal/phy: combine phy_tx_frame parameters to save ilramNicolas Schodet
2012-10-17{cesar, cleo}/ipmbox: move data queue management into RAM, closes #3441Jean-Philippe SAVE
2012-10-17cesar/hal/phy: change activation_init_ref and lambda, closes #3282Nicolas Schodet
Update phy_params.txt from http://stestephe/svn/spidcom_digital_svn/projects/ +DSP_350/DSP_chain/SW/Phy_params_config, r18560.
2012-09-27cesar/hal/phy: fix config include in hlut.c, refs #3384Cyril Jourdan
2012-09-25cesar/hal/phy: change HLUT coef for mse500 asic, closes #3384Jean-Philippe SAVE
2012-09-20cesar/hal/clk: handle uart clk boot param, refs #3356Cyril Jourdan
2012-09-20cesar/hal/sysclk: change module name to hal/clk, refs #3356Jean-Philippe SAVE
2012-09-20cesar/hal/phy: always bypass AES on MSE500, refs #3356Cyril Jourdan