summaryrefslogtreecommitdiff
path: root/cesar/hle/src
diff options
context:
space:
mode:
authorlaranjeiro2009-04-09 16:39:14 +0000
committerlaranjeiro2009-04-09 16:39:14 +0000
commitfc477c88a44c779e53e1e53a6af600e9b8e4a047 (patch)
treedd18c9e9b51fae2ced422a008d38d6ad024df105 /cesar/hle/src
parent9c7e2f505686b09f4e013da8de9fe6b70bd9a2ca (diff)
hle:
* 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@4440 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hle/src')
-rw-r--r--cesar/hle/src/hle.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cesar/hle/src/hle.c b/cesar/hle/src/hle.c
index 513a3149a6..16c686c739 100644
--- a/cesar/hle/src/hle.c
+++ b/cesar/hle/src/hle.c
@@ -109,8 +109,11 @@ hle_init_interface_cb (hle_t *ctx, hle_interface_buffer_add_cb_t buffer_cb,
* \param buffer the buffer containing the data to send.
* \param length the data length
* \param tag the priority tag provided by the upper layer.
+ * \param arrival_time_ntb arrival time in the station in NTB.
*/
-void hle_data_send (hle_t *ctx, u8 *buffer, uint length, uint tag)
+void
+hle_data_send (hle_t *ctx, u8 *buffer, uint length, uint tag,
+ u32 arrival_time_ntb)
{
dbg_assert (ctx);
dbg_assert (buffer);
@@ -119,7 +122,7 @@ void hle_data_send (hle_t *ctx, u8 *buffer, uint length, uint tag)
/* tracing data */
HLE_TRACE(DATA_SEND, mac_ntb(), length, buffer);
- cl_data_send (ctx->cl, buffer, length, tag);
+ cl_data_send (ctx->cl, buffer, length, tag, arrival_time_ntb);
}
/**
@@ -295,7 +298,7 @@ bool hle_ipmbox_recv (hle_t *ctx, u32 *msg_buffer, uint length)
{
uint tag = BF_GET (IPMBOX_REG__PARAM_MSG_PRIO, msg);
hle_data_send (ctx,
- (u8 *) msg_buffer[length_processed + 1], data_length, tag);
+ (u8 *) msg_buffer[length_processed + 1], data_length, tag, mac_ntb());
}
else
hle_mme_send (ctx,