[WCNCR00148316] misc: add set noise/get noise command

[Description]
Add iwpriv driver set_noise/get_noise command
1.provide command for WF0/WF1 noise measurement
2.command format
  "set_noise <Sel>"
    Sel: start/restart noise measurement (1)
         stop noise measurement (0)
  "get_noise"
   show: Noise Idle Avg. Power: WF0: X dB WF1: Y dB
   Avg. time: b/w enable noise measure to get_noise

3. command example
   a. iwpriv wlan0 driver "set_noise 1" //start
   b. wait a while
   c. iwpriv wlan0 driver "get_noise"
   d. iwpriv wlan0 driver "set_noise 0" //stop

Change-Id: Ic9fdf185ccbfceab6391d589fcf7d656824b23e7
Feature: misc
Signed-off-by: Saker Hsia <saker.hsia@mediatek.com>
CR-Id: WCNCR00148316
1 file changed