summaryrefslogtreecommitdiff
path: root/cesar/cl/src
AgeCommit message (Collapse)Author
2011-03-03cesar/cl: bypass mactotei and classifier using smac too, closes #2331Nélio Laranjeiro
In cl_data_send if source mac address, destination mac address and tag match those of the previous data sent, the data will bypass the classifier and mactotei table and will use the same MFS. Previously only the destination mac address and the tag were used.
2011-03-03cesar/cl: add linux tag discrimination to send data, refs #2331Nélio Laranjeiro
2010-06-11cesar/cl, cesar/mac/sar: store unassociated MFS in store, closes #1639schodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7200 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-04cesar/cl: send MME to linux when TEI is MAC_TEI_FOREIGN, refs #1618laranjeiro
Change cl behavior when sending a MME to a FOREIGN TEI, when this TEI is used Cesar must send it to linux without trying to send it over the PLC as data. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7176 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-05-03cesar/cl/data_rate: init p_dr->data_rate_rtc_date before using it, closes #1292mercadie
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6964 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-19cesar: use phy_date as trace timestamp, closes #1415schodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6933 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-19cesar/mac/common: remove mac_dateschodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6932 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-09cesar/cl: change classifier functionlaranjeiro
Use a static table to choose the lid instead of a successions of if conditions. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6906 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-09cesar/cl: clear data send cache on mactotei table change, closes #1410laranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6905 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-02cesar/cl: keep data about the last link use, closes #1409laranjeiro
The CL keeps information on the last DATA it sends, if the destination is the same and the last update of those information does not exceed CL_DATA_SEND_EXCEED_TIME_MS time, the previous link is used. This allows the CL to avoid bridge table, mac_store_get_mfs and classifier call (30us won on a TX). git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6872 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-04-02cesar/cl: add a config to deactivate the DATA rate by defaultlaranjeiro
Add CONFIG_CL_DATA_RATE=y to reactivate the DATA rate in both ways TX/RX. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6871 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-27cesar/cl: add more trace for MME sendinglaranjeiro
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6492 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-26cesar/cl: merge cl_data_send and cl_send, read both MAC in one operationschodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6478 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-23cesar/cl: move led initialisation to cl_initschodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6458 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-23cesar/cl: do not allocate a cl_sent_t for data pathschodet
This is too slow, use a shortcut. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6457 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-06cesar/cl: do not add the same MAC address to the bridge table, closes #750dufour
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6342 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-06cesar/cl: add a trace to log bridged MAC addresses, refs #750dufour
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6341 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-03cesar/cl: make functions release/use MAC to TEI table atomics, closes #645dufour
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6302 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-11-03cesar/cl: remove trace to know when the MAC to TEI table is releaseddufour
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6301 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-29cesar/{cl,cp}: revert commits to learn bridged addresses, closes #698dufour
This commits revert r6148 and r6149. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6260 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-27cesar/cl/data_rate: correct date and period variable suffixes Ticket #551mercadie
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6235 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-22cesar/cl: fix bad traceschodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6221 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-16cesar/cl: use the built MAC to TEI table after building it, see r6148dufour
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6149 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-16cesar/{cl,cp}: add support for bridged data learnt from traffic.dufour
To be compatible with some other vendors, we need to support the bridged traffic we learn (and not only the one from the bridge info MME). This commit add a temporary table which will contain the bridge entries we just have learnt. Regularly, the temporary table is committed into the MAC to TEI table. There is no management for expiration of entries. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6148 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-08revert EoC changesschodet
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6054 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-07cesar/cl/mactotei: clean mac to tei table moduledufour
Clean comments to remove mistakes. Fix parameters checks. Move trace where it should be to correctly log what is happening. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5992 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-06*cl:laranjeiro
* Fix the multi unicast send to not check twice the MME status. * Removed the stdio include. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5960 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-06*cl: Toogle leds.laranjeiro
* Used the TOGGLE gpio for leds. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5954 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-10-05cesar/{cl,lib}: move cl/mac_lookup_table to lib directory (closes #606)dufour
Move mac_lookup_table module from the cl to the lib directory. Also correct a minor indentation problem. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5921 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-24*cl:laranjeiro
* Remove a useless logical mask. * Replace some addition by the real capability of the bitstream function. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5730 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-17*cl:laranjeiro
* Change the MME static buffer address to provide it as unoffseted. * Fix parentheses. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5590 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-15 * remove commented printf in clmercadie
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5556 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-14 * modify the way period_rtc is calculatedmercadie
- calculate the period in a way that keeps maximum precision whatever resolution values are. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5537 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-11 * correct divisionsmercadie
- correct integer division rounding in misc.c - correct operations order in data_rate.c git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5525 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-11 * correct the way data_rate is updated in clmercadie
- update data_rate at more smart place in cl, i order to get tei more easily. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5524 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-10 * quick fix for test cl_send_datamercadie
- in cl.c release stations obtained by mac_store_sta_get - update data_rate only if station exists git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5500 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-10 * mme integration of data_rate in cm_nw_stats_reqmercadie
- integration in fsm - unit tests git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5496 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-08 * quick fix to build mac/store and clmercadie
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5454 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-08*cl, mac/common/mfs: (Closes #524)laranjeiro
* Added a mfs_tx_init_unassociated function which set the unassociated flag for unassociated MFSs and set the mfs cmd to MFS_FSM_CMD_NOP. * Allowed the station to send the unassociated unicast and unassociated broadcast in a temporary MFS git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5452 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-08 * various corrections about commits r5440 and r5445mercadie
- initialise data_rate at first use - the data_rate field of struct data_rate is now u32 - time data have now a corresponding suffix - correct the case when interval > period - remove override/mac/common/ntb.h - correct header of data_rate_test.c git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5451 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-07 * move data_rate_init from cl to mac/common/src/sta.cmercadie
- move data_rate_init - rename data_rate_t struct to cl_data_rate_t - update data_rate_test with the changes above. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5445 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-07 * delivery of data_rate module in clmercadie
- data-rate calculation using data size and elapsed time - data_rate test git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5440 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-09-02*mac/sar, cl, cesar, ce (Closes #478)laranjeiro
*mac/sar: * Added a random generator object to the SAR for MME's confounder. * Changed the sar_msdu_add API. *cl: * Removed the random generator specially used for MME's confounder. * Fix the SAR functions call. *cesar: * Fix the sar_init call. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5395 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-08-25[EOC] added lids and cfp for mfs in eoccecaric
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5295 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-07-30*hle, cl, mac/sar: (See #424, #422)laranjeiro
*hle * Drop packets with a length lesser than ETH_PACKET_MIN_SIZE_ALLOWED. * Improved unit tests. * Assert on packet reception if the length is lesser than ETH_PACKET_MIN_SIZE_ALLOWED *cl: * Added correct assert on the length in the send and receive path. *mac/sar: * Assert on TX if buffer's length is lesser than ETH_PACKET_MIN_SIZE_ALLOWED * do not reassembly MF with length lesser than ETH_PACKET_MIN_SIZE_ALLOWED git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5124 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-07-03*cl:laranjeiro
* Added an assert if the cl_send_unicast is sent from a DATA path. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4878 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-05-05cl: (Closes #359).laranjeiro
* Removed the slab allocator for the cl_data and only provides a boolean to the CP, the CP shall give back this boolean with the buffer. * Update other layers. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4590 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-05-04cl: (Closes #359).laranjeiro
* Added a slab to allocated data to provide the MME buffer (a real MME not only an empty buffer) to the CP. This will be used on the recv_done to give back the buffer to the correct layer. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4580 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-04-09cl:laranjeiro
* Added the parameter in needed function to transmit the arrival time of the MSDU in NTB ticks. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4439 017c9cb6-072f-447c-8318-d5b54f68fe89
2009-03-25cl:laranjeiro
* Allowed the send of data when the TEI is foreign if the station is authenticated. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4303 017c9cb6-072f-447c-8318-d5b54f68fe89