Set channel width to 20MHz in scan result from legacy APs
Channel width and center frequency0 are derived from 11AX-HE operation IE,
11AC-VHT operation IE or 11N-HT operation IE. These IEs are not present in
beacons/probe response of a legacy AP(802.11a/802.11g/802.11b). So set the
channel width to 20MHz and center frequency0 to primary frequency for
legacy APs.
Bug: 189868341
Test: atest com.android.server
Manual: check the bandwidth of a legacy AP in scan result.
Change-Id: I104992a90e05c2002ea730b157f41accf5fe1ad7
1 file changed