## 6 Conclusions  
In this work an architecture was proposed for self-organization in WMN using as base the protocols OLSR and AODV, together with the software agents' technology, to aid the self-organization capacities (self-optimization and self-configuration) in the adjustment of the values of the protocol's parameters of foregoing routing. For such, the division of the size of the network was proposed in scales. It was noticed that when revising the specialized literature, that few works focusing the subject of the self-organization for networks in WMN still exist. The architecture proposed still involves the definition of concepts originating from of the autonomous computation, integrated into the software agents' technology. The algorithm that verifies the scale of WMN was coupled in the capacity of self-configuration, while the capacity of self-optimization obtains an optimized value and this was put inside of the five parameters of the protocols OLSR (Hello-Interval, Tc-Interval, Neighbor-Hold-time, Tc-Hold-time, Duplicate-Hold-time) and AODV (Route-Request-Retries, Hello-Interval, Active-Route-Timeout, Allowed-Hello-Loss, Net-Diameter). Utilized no linear optimization without restrictions to adapt the objective hyperbolic and cotangent function to the analysis behavior of the interval variation of the mentioned parameters. That optimized value was directly added in those parameters according to the scale in that the network was in a certain moment. Being compared the self-optimization capacities and self-configuration implemented in this dissertation, to the works of [19, 36, 37]. it can be concluded that the implemented capacities obtained better performance in WMN. Beyond that we analyzed five parameters of each routing protocol, while, the works of [36, 37] analyzed the HELLO messages rate in the network that is configured through the parameter Hello-Interval. Already the work of [19] analyzed only the self-configuration capacity and self-optimization in networks MANET, and not in WMN. For the scales it was chosen to divide the WMN in three sizes: small, medium and large. The size of the network was obtained through the agent of denominated software NS-Agent, that is responsible for the process of collection of the size of the network and later, for sending that information to other nodes gateways. It was observed that the capacities of self-optimization and self-configuration proposed in this work has strong correlation, because one is complement of the other: while one optimizes, the other configures the values in the parameters of the mentioned protocols. With all the implemented capacities, it is expected that the WMN can have:  
* Larger acting, being applied the capacities of self-optimization and self-configuration;
* High tolerance to fail, being applied the self-cure capacity;
* More safety to attack and intrusions, being applied the self-protection capacity. In this paper the acting was emphasized with the implementation of the capacities of self-optimization and self-configuration, with agents NS-Agent's implementation. Verifying the results of the simulations a significant improvement of the acting of the network was observed in WMN, using the capacities of self-optimization and self-configuration coupled in the routing protocols OLSR and AODV. The simulations still showed specific results in the protocols OLSR: Self-organized and AODV: Self-organized, among which can be mentioned. * Better in the throughput of the WMN;
* Better in the delivery of the packages, because it was noticed a smaller loss of packages;
* Smaller delay of the discovery of the routes among the neighboring nodes;
* Smaller injection of control messages and maintenance in the network. It could also be verified that the AODV: Self-organized protocol obtained better acting compared to the OLSR: Self-organized protocol, while the scale of the WMN changed average into a greater load.