wlan: mac: Add host scan mac-spoofing support
Extending the functionality of spoofing of mac addr
in host initiated scans. Now both FW initiated
scans and host initiated scans will be supported.
- Enable spoofing in LIM only after successfully configuring FW.
- Use spoofed mac addr provided by SME in probe req
- check for recieved probe rsp dst addr and replace with
self sta mac addr.
Change-Id: Ia33dfd36325e8cc3b26ef7dc82e3144d5a0950d7
CRs-Fixed: 737889
diff --git a/CORE/MAC/inc/aniGlobal.h b/CORE/MAC/inc/aniGlobal.h
index 2d0ac03..76bc545 100644
--- a/CORE/MAC/inc/aniGlobal.h
+++ b/CORE/MAC/inc/aniGlobal.h
@@ -374,6 +374,8 @@
////////////////////////////////////// SCAN/LEARN RELATED START ///////////////////////////////////////////
tSirMacAddr gSelfMacAddr; //added for BT-AMP Support
+ tSirMacAddr spoofMacAddr; //added for Mac Addr Spoofing support
+ tANI_U8 isSpoofingEnabled;
////////////////////////////////////////// BSS RELATED END ///////////////////////////////////////////
// Place holder for StartBssReq message