A computer-implemented method to determine an optimal deployment of extenders (111, 112; 211, 212) in a wireless local area network or WLAN, said method comprising the steps of: A. collecting device information of an access point (101; 201), extenders (111, 112; 211, 212) and user devices (131; 231) in said WLAN; B. determining a maximum theoretic capacity C' of said WLAN from said device information; C. collecting channel information from said access point (101; 201), extenders (111, 112; 211, 212) and user devices (131; 231) in said WLAN; D. determining a current capacity C of said WLAN from said channel information; E. determining a target capacity C* for said WLAN from said current capacity C and a previous iteration of said target capacity C*, wherein said target capacity C* is set equal to said maximum theoretic capacity C' in an initial iteration; and F. comparing said current capacity C with said target capacity C* to evaluate a current deployment of said extenders (111, 112; 211, 212), and when said current capacity differs C from said target capacity C* by more than a predetermined capacity threshold, said method further iteratively comprises the following steps: G. determining a new deployment of said extenders (111, 112; 211, 212), said new deployment comprising a new location for one or more of said extenders (111, 112; 211, 212); H. collecting location information of said user devices (131; 231) using trilateration localization when said new deployment of extenders (111, 112; 211, 212) is implemented; I. determining (406, 407, 408) location accuracy in said WLAN from said location information; and J. recommending said new deployment of said extenders (111, 112; 211, 212) as said optimal deployment when said location accuracy exceeds a predetermined threshold. A. collecting device information of an access point (101; 201), extenders (111, 112; 211, 212) and user devices (131; 231) in said WLAN; B. determining a maximum theoretic capacity C' of said WLAN from said device information; C. collecting channel information from said access point (101; 201), extenders (111, 112; 211, 212) and user devices (131; 231) in said WLAN; D. determining a current capacity C of said WLAN from said channel information; E. determining a target capacity C* for said WLAN from said current capacity C and a previous iteration of said target capacity C*, wherein said target capacity C* is set equal to said maximum theoretic capacity C' in an initial iteration; and F. comparing said current capacity C with said target capacity C* to evaluate a current deployment of said extenders (111, 112; 211, 212), and when said current capacity differs C from said target capacity C* by more than a predetermined capacity threshold, said method further iteratively comprises the following steps: G. determining a new deployment of said extenders (111, 112; 211, 212), said new deployment comprising a new location for one or more of said extenders (111, 112; 211, 212); H. collecting location information of said user devices (131; 231) using trilateration localization when said new deployment of extenders (111, 112; 211, 212) is implemented; I. determining (406, 407, 408) location accuracy in said WLAN from said location information; and J. recommending said new deployment of said extenders (111, 112; 211, 212) as said optimal deployment when said location accuracy exceeds a predetermined threshold.