Hi all.
I want to modify the class Mac802_11 such that it sends a notification to the routing module (e.g OLSR) each time a packet is discarded due to max number of retransmissions have been reached. In the original implementation, Mac802_11 only have uptarget_ and downtarget_ as references to other object instances. Suppose I want to introduce a new variable olsr_ in the Mac802_11 class, holding a reference/pointer to the OLSR routing module, how can I accomplish this? And where? Any suggestion is appreciated. Thanks for your help. Regards Vinh Pham