[rdkb][common][hal][Fix tdk failed]

[Description]
Fix tdk failed.
1. Refactor wifi_getApRadioIndex.
2. Refactor getRadioChannel to read config not get current channel.
3. Remove index check for index is bigger than 1.
4. Add BeaconPeriod check.

[Release-log]

Change-Id: I611387cf04fe2e25ac69bda81ab423e1acca9441
1 file changed
tree: b8544579c5e1c36e161b17e42b8bd348b1ae227b
  1. src/