qcacld-3.0: Add INI support for FIPS handshake offload feature

Add ini support for FIPS 4-way hanshake offload to firmware. FIPS
offload feature will add support to handle LFR 3.0 connection only
(auth/reassoc). If this ini is set then firmware will offload
4-way HS to supplicant. In the Roam sync indication firmware will
inform connected and not authenticated so that supplicant can take
care of 4-way HS.

Change-Id: I3da58910218ffc57094cac4c3cab4572631d9404
CRs-Fixed: 2459182
This commit is contained in:
Yeshwanth Sriram Guntuka
2019-05-24 13:54:15 +05:30
committed by nshrivas
parent b3472f0fcd
commit c52f24d0f4
6 changed files with 67 additions and 1 deletions

View File

@@ -625,6 +625,28 @@
CFG_CHANGE_CHANNEL_BANDWIDTH_DEFAULT, \
"enable change channel bw")
/*
* <ini>
* disable_4way_hs_offload - Enable/Disable 4 way handshake offload to firmware
* @Min: 0
* @Max: 1
* @Default: 0
*
* 0 4-way HS to be handled in firmware
* 1 4-way HS to be handled in supplicant
*
* Related: None
*
* Supported Feature: STA Roaming
*
* Usage: External
*
* </ini>
*/
#define CFG_DISABLE_4WAY_HS_OFFLOAD CFG_INI_BOOL("disable_4way_hs_offload", \
0, \
"Enable/disable 4 way handshake offload to firmware")
#define CFG_GENERIC_ALL \
CFG(CFG_ENABLE_DEBUG_PACKET_LOG) \
CFG(CFG_PMF_SA_QUERY_MAX_RETRIES) \
@@ -642,6 +664,7 @@
CFG(CFG_ENABLE_LPASS_SUPPORT) \
CFG(CFG_ENABLE_SELF_RECOVERY) \
CFG(CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP) \
CFG(CFG_DISABLE_4WAY_HS_OFFLOAD) \
CFG(CFG_SAP_DOT11MC) \
CFG(CFG_ENABLE_FATAL_EVENT_TRIGGER) \
CFG(CFG_SUB_20_CHANNEL_WIDTH) \