qcacld2.0: support RSSI/Mac Addr sniffing for STA
Extend the STA capability to sniff RSSI & Mac address.
this feature works only when STA is connected. meanwhile,
STA BMPS and roaming is disabled. Frame RSSI & Mac address
is indicated to OS through virtual monitor interface. Set
registry 'gEnableMonOnSta' = 1 in INI to enable this feature.
Ref test steps:
a. create virtual monitor interface and up.
iw dev wlan0 interface add mon0 type monitor
ifconfig mon0 up
b. STA connect
ifconfig wlan0 up
iw wlan0 connect "ssid"
c. collect sniffing frames
tcpdump -i mon0 -v -w /data/sniff.pkt
30 files changed