[WCNCR00146538] p2p: Update ACS algorithm

[Description]
Change ACS algorithm
i. Take ch14 into consideration while calculating the dirtyness.
   Because ch14 is 12MHz away to ch13, we treat ch13 and ch14
   as two channel distance in the algorithm
ii. During calculating the dirtyness, we take all channels in the
    channel pool and then filter inactive channels while user
    retrieving the ch rank list
iii. refine old ACS code to remove unused variable and duplicate
     code

Change-Id: I6117c98f9cb737177504550d57132c96aab6c6e8
Feature: p2p
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00146538
8 files changed