In order to optimize the process of subscription/unsubscription of events at the MIHF, the number of messages between the local entities (i.e., between the MIHF and Link SAPs.) was reduced. When a MIH-User requests for an event subscription, if a subscription has been made previously by other entity, the MIHF subscribes the MIH-User and immediately replies to it, otherwise the MIHF firstly tries to subscribe the event with the Link SAP or the peer MIHF.
The method to optimize the unsubscription mechanism is similar to the subscription one and it aims for the same objectives. When a MIH-User requests to unsubscribe an event in a Link SAP the MIHF unsubscribes it locally. The MIHF unsubscribes the event with the Link SAP or the peer MIHF only if the event has no more subscriptions.