[WCNCR00148316] misc: add set pd command

[Description]
Add iwpriv driver set_pd command
1. set PD(Packet Detection) blocking value manually
2. command format
  "set_pd <Sel> [CCK Threshold] [OFDM Threshold]"
  <Sel>: PD Disable manually (0)
         PD Set manually (1)
         PD back to auto by FW flow (2)
  [CCK]: 0 ~ -110 (unit:dBm)
  [OFDM]: 0 ~ -98 (unit:dBm)
  CCK/OFDM value are optional when Sel=0 or 2

3. Command samples:
  iwpriv wlan0 driver "set_pd 1 -90 -90"
  set OFDM PD & CCK PD to -90dBm

Change-Id: I1961a335321cb22ba07556d5cc532de1351199fa
Feature: ${module/feature}
Signed-off-by: Saker Hsia <saker.hsia@mediatek.com>
CR-Id: WCNCR00148316
1 file changed