Hi,
Thank you Sir for your reply.
Yes, my relay node is a wifi node. If I understand the suggested code, it is suitable for 802.11n (and not for 802.11b), and aggregation is done at the MAC layer.
My relay node is configured as an udp server. I made some modifications to the udp-server.cc file where I scheduled transmission every period T after receiving a set of packets. Is it correct to create an aggregated packet with a payload size= n* (L+28), where n is the number of received packets during the period T, L is the payload size of each received packet and 28 is the udp/ip header size? If this solution is correct, is it correct to add an additional payload as a separation between every two consecutive aggregated packets to enable the final destination to read them? Is it correct to suppose the use of a compression header protocol to reduce the size of the aggregated data?
If this solution is not correct, is it possible to schedule transmission every T period using the code that you proposed? Is there a separation between the aggregated packets and how to deal with the case of 802.11b?
Sorry for all these questions, but I am not sure about the feasibility of my idea.