[WCNCR00166482] misc: Add CSI data retrieving function
[Description]
Add CSI data retrieving function
To obtain CSI raw data from HW, first configure HW via:
iwpriv wlan0 driver "set_csi 1 x y z"
1: means enable
x: 0 or 1. Select WF0/1
y: 0 ~ 3. Trigger frame type setting index.(HW support 4 seetings)
z: 0. 0 means get CSI from Rx Beacon frames.
After the CSI data is sent to Driver from FW, dump the CSI data via:
iwpriv wlan0 driver "get_csi"
To disable HW to get CSI data, run the command:
iwpriv wlan0 driver "set_csi 0"
Change-Id: Icb33b487694e90e7b0ee209d155540fb6d6cd17f
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00166482
Feature: misc
7 files changed