next up previous
Next: To bypass the RLC Up: Radio Link Control (RLC) Previous: Parameters

Modifications for use outside GPRS

To use this acked/fragmented RLC for a non-GPRS mac layer, in the function sendACK() in  ns/rlc.cc , change the variable "dh" according to the mac layer being used

      void RLC::sendACK(Packet* p)
        {
                ...
            hdr_mac_gprs *dh = HDR_MAC_GPRS(p);
                ...
        }

For example, to use with mac802_11, replace the shown line with:

hdr_mac802_11 *dh =HDR_MAC802_11(p);



Richa Jain (96D07007)
Tue Jul 24 22:29:53 IST 2001