Method for determining a topology of a wireless communication network composed of a plurality of nodes connected or not connected, respectively, to at least one equipment, one of the nodes, called the root node, being connected to an external network, the method comprising the steps of: - determining (E300) a service class for each node, the service class being determined according to the equipment connected to the node, if the node is connected to a telephone, the service class associated with the node is the voice-over-IP class VOIP, if the node is connected to a set-top box, the service class associated with the node is ultra-high-definition television over IP UHD IPTV, if the node is connected to a television, the service class associated with the node is high-definition IPTV HD IPTV, for the other nodes, the associated service class is data, or the service class of each node corresponds to the service class determined for each node by a user of the communication network or an operator of the communication network, - obtaining (E303), from each node, information representative of the quality of the link between the node and other nodes, - calculating (E304), for each link, parameters representative of the quality of the link, - classifying (E301) the nodes according to their service class and for those nodes which have the same service class according to the number of links making up the path separating them from the root node, - determining (E307), for each node and according to the classification, possible paths connecting the node to the root node, - calculating (E308), for each determined path, a score on the basis of parameters representative of the quality of the link and on the basis of coefficient values dependent on the service class of the node, - selecting (E309) the path for the node that has the minimum score. - determining (E300) a service class for each node, the service class being determined according to the equipment connected to the node, if the node is connected to a telephone, the service class associated with the node is the voice-over-IP class VOIP, if the node is connected to a set-top box, the service class associated with the node is ultra-high-definition television over IP UHD IPTV, if the node is connected to a television, the service class associated with the node is high-definition IPTV HD IPTV, for the other nodes, the associated service class is data, or the service class of each node corresponds to the service class determined for each node by a user of the communication network or an operator of the communication network, - obtaining (E303), from each node, information representative of the quality of the link between the node and other nodes, - calculating (E304), for each link, parameters representative of the quality of the link, - classifying (E301) the nodes according to their service class and for those nodes which have the same service class according to the number of links making up the path separating them from the root node, - determining (E307), for each node and according to the classification, possible paths connecting the node to the root node, - calculating (E308), for each determined path, a score on the basis of parameters representative of the quality of the link and on the basis of coefficient values dependent on the service class of the node, - selecting (E309) the path for the node that has the minimum score. <EOS>