title: Issue with WifiManager.calculateSignalLevel(RSSI, 5)
body: <p>I am trying to use the Wifimanager to calculate the Signal Level of the access points found during a scan.</p>
  
  <p>I am using the following method:</p>
  
  <p><a href="http://developer.android.com/intl/de/reference/android/net/wifi/WifiManager.html#calculateSignalLevel%28int,%20int%29" rel="nofollow noreferrer">WifiManager.calculateSignalLevel(int, int)</a></p>
  
  <p>But it appears to always return the same int no matter what the RSSI level is.</p>
  
  <p>Here is my code:</p>
  
  <hr>
  
  <pre><code>public int calculateQoS(int aRSSI){
  
      signalLevel = WifiManager.calculateSignalLevel(RSSI, 5);
  
      return signalLevel;
  
  }
  </code></pre>
  
  <hr>
  
  <pre><code>public void testCalculateQoS(){
  
              Log.d("signal", "signal = : "
                      + connMonitor.calculateQoS(-44)
                      + " " + connMonitor.calculateQoS(-80)
                      + " " + connMonitor.calculateQoS(-120)
                      + " " + connMonitor.calculateQoS(-20));
  
          }
  </code></pre>
  
  <p>The logging outputs 1 for all the test cases for calculateQoS(int).</p>
  
  <p>Am I missing something simple here? Why is the SignalLevel always 1?</p>