[WCNCR00146538] softap: Change ACS 5G ch range and ACS alg for 2.4G APs

[Description]
Change ACS 5G ch range and ACS alg for 2.4G APs

i. In original ACS algorithm for 2.4g APs we only
select one adjacent channel to calculate the dirtiness,
now we select two adjacent channels to enhance the
dirtiness estimation result.

ii. The 5g channels range is wrong, we take the 5g
channels in mtk_5ghz_channels array as reference to
correct the related channel range mapping code for ACS.

Change-Id: Ic16e58317e1da50acab4285af476c74cfc63ffb2
Feature: softap
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00146538
2 files changed