To use this acked/fragmented LL for a non-GPRS/GSM mac layer, in the function sendACK() in ns/ll.cc , change the variable "dh" according to the mac layer being used
void LL::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);