summaryrefslogtreecommitdiff
path: root/cesar/hle/src
diff options
context:
space:
mode:
authorlaranjeiro2008-12-05 08:49:43 +0000
committerlaranjeiro2008-12-05 08:49:43 +0000
commit18664f275affd89542393bfffdc74406723653a8 (patch)
tree0c7b0ba4f41bb48d01847fd0114f7a77c5655e6d /cesar/hle/src
parent4a2f7fe51e9b8e69c56bafc25637d43a04e9c2de (diff)
hle: Fix the HLE cause of the modification os the CL to provide the QOS tags. see #164
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@3557 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hle/src')
-rw-r--r--cesar/hle/src/hle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cesar/hle/src/hle.c b/cesar/hle/src/hle.c
index 60d9d23b51..ac3140eb6a 100644
--- a/cesar/hle/src/hle.c
+++ b/cesar/hle/src/hle.c
@@ -107,8 +107,9 @@ hle_init_interface_cb (hle_t *ctx, hle_interface_buffer_add_cb_t buffer_cb,
* \param hle the hle context.
* \param buffer the buffer containing the data to send.
* \param length the data length
+ * \param tag the priority tag provided by the upper layer.
*/
-void hle_data_send (hle_t *ctx, u8 *buffer, uint length)
+void hle_data_send (hle_t *ctx, u8 *buffer, uint length, uint tag)
{
dbg_assert (ctx);
dbg_assert (buffer);
@@ -117,7 +118,7 @@ void hle_data_send (hle_t *ctx, u8 *buffer, uint length)
/* tracing data */
HLE_TRACE(DATA_SEND, mac_ntb(), length, buffer);
- cl_data_send (ctx->cl, buffer, length);
+ cl_data_send (ctx->cl, buffer, length, tag);
}
/**
@@ -289,7 +290,7 @@ bool hle_ipmbox_recv (hle_t *ctx, u32 *msg_buffer, uint length)
if (data_type == 0) /* Data */
hle_data_send (ctx,
- (u8 *) msg_buffer[length_processed + 1], data_length);
+ (u8 *) msg_buffer[length_processed + 1], data_length, 0);
else
hle_mme_send (ctx,
(u8 *) msg_buffer[length_processed + 1], data_length);