A method of wireless communication, comprising: receiving (906, 1002) a policy over a wireless interface, wherein the wireless interface is a downlink channel from a base station or an access point; determining a set of filtering rules and a set of processing rules to apply to one or more received discovery messages based on the policy, wherein the policy contains information on filtering and processing of discovery messages, and wherein the set of filtering rules are arranged to: evaluate a signal strength derived from the receiving of the discovery message or a signal-to-interference-plus-noise ratio, SINR, derived from the receiving of the discovery message; or evaluate one or more of a time interval for the discovery message to be rebroadcast, discovery periods used for rebroadcast, an amount of power needed for rebroadcast, a noise rise observed during message reception, a plurality of discovery messages discovered and decoded within a time period prior to the receiving of the discovery message, a range with respect to a location contained in the discovery message, a value contained in a control field in the discovery message, a reference code for a matching operation applied to content of the discovery message, a mask to reference code, a field name designator, a requirement for authentication, decryption, and authorization of discovery messages, or keying material for an authentication procedure; applying (924, 1010) the set of filtering rules to a received discovery message in order to determine whether the received discovery message is due to be rebroadcast, and wherein the received discovery message passes the set of filtering rules when it is determined that the received discovery message is due to be rebroadcast; applying (926, 1014) the set of processing rules to the received discovery message in response to the discovery message passing the set of filtering rules; and rebroadcasting (928, 1016) the received discovery message. receiving (906, 1002) a policy over a wireless interface, wherein the wireless interface is a downlink channel from a base station or an access point; determining a set of filtering rules and a set of processing rules to apply to one or more received discovery messages based on the policy, wherein the policy contains information on filtering and processing of discovery messages, and wherein the set of filtering rules are arranged to: evaluate a signal strength derived from the receiving of the discovery message or a signal-to-interference-plus-noise ratio, SINR, derived from the receiving of the discovery message; or evaluate one or more of a time interval for the discovery message to be rebroadcast, discovery periods used for rebroadcast, an amount of power needed for rebroadcast, a noise rise observed during message reception, a plurality of discovery messages discovered and decoded within a time period prior to the receiving of the discovery message, a range with respect to a location contained in the discovery message, a value contained in a control field in the discovery message, a reference code for a matching operation applied to content of the discovery message, a mask to reference code, a field name designator, a requirement for authentication, decryption, and authorization of discovery messages, or keying material for an authentication procedure; evaluate a signal strength derived from the receiving of the discovery message or a signal-to-interference-plus-noise ratio, SINR, derived from the receiving of the discovery message; or evaluate one or more of a time interval for the discovery message to be rebroadcast, discovery periods used for rebroadcast, an amount of power needed for rebroadcast, a noise rise observed during message reception, a plurality of discovery messages discovered and decoded within a time period prior to the receiving of the discovery message, a range with respect to a location contained in the discovery message, a value contained in a control field in the discovery message, a reference code for a matching operation applied to content of the discovery message, a mask to reference code, a field name designator, a requirement for authentication, decryption, and authorization of discovery messages, or keying material for an authentication procedure; applying (924, 1010) the set of filtering rules to a received discovery message in order to determine whether the received discovery message is due to be rebroadcast, and wherein the received discovery message passes the set of filtering rules when it is determined that the received discovery message is due to be rebroadcast; applying (926, 1014) the set of processing rules to the received discovery message in response to the discovery message passing the set of filtering rules; and rebroadcasting (928, 1016) the received discovery message.