wlan: sap: Fix HT40/80 support in ACS

Current ACS algorithm only deals with HT20 channels. Added
weight calculations for the HT40 and HT80 channels when AP is
brought up in 11n and 11ac mode. This also fixed getting
correct phymode for SAP.

Change-Id: I41e3c773698f783d17fddee35a9f114b098a3b59
CRs-Fixed: 701724
sap: Choose best channel as the primary channel

This allows the ACS algorithm to choose the best channel from the
selected combination of channels in HT40 and HT80 mode.

Change-Id: I5efe562489a35b01ea6ec8db7206487fe5249862
CRs-fixed: 702460
sap: Support HT40 in 2.4G ACS

This allows the ACS algorithm to choose the best channel in 2.4G
in HT40 mode.

Change-Id: I5be16e1f1688555829c588b2fe0b06d72f3f7205
CRs-fixed: 702463
wlan: sap: Improve HT80 primary channel selection

This change improves the selection of the primary channel in
HT80 mode for ACS. In HT80 mode 4 channels are bonded, compare
the sum of upper two channels with the lower two channels, and
then compare the two channels within the selected channel pair
to choose the best primary channel.

Change-Id: I65b79f0695ddee49e9ad80d73f10d6c6ba82ba47
CRs-Fixed: 702471
wlan: sap: ACS did not sort weightage for HT40 2.4G

ACS missed calling the sorting function for HT40 2.4G channels.
Added code for invoking the weightage sorting function.

Change-Id: Ie4ad96e59b615da5e7ec11e05b6fdc3c16cc2934
CRs-Fixed: 702472
Wlan: Release 3.2.3.423

Release 3.2.3.423

Change-Id: Ia8302ea3dfc58a04d1f743360bac443517daa321
CRs-Fixed: 688141