qcacld-3.0: Ignore regulatory offload indication from FW

Based on the ini "ignore_fw_reg_offload_ind" ignore regulatory
offload indicatin from fw.

Change-Id: I6e20f2100eeac8e93baa5c5d3f3d1c8b33356aed
CRs-Fixed: 2532989
Этот коммит содержится в:
Rajeev Kumar Sirasanagandla
2019-08-05 21:33:03 +05:30
коммит произвёл nshrivas
родитель 1bb77499c5
Коммит 1b3a535500
9 изменённых файлов: 109 добавлений и 1 удалений

Просмотреть файл

@@ -242,6 +242,38 @@
"", \
"country code")
/*
* <ini>
* ignore_fw_reg_offload_ind - If set, Ignore the FW offload indication
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to ignore regdb offload indication from FW and
* regulatory will be treated as non offload.
* There is a case where FW is sending the offload indication in
* service ready event but not sending the cc list event
* WMI_REG_CHAN_LIST_CC_EVENTID and because of this driver is not
* able to populate the channel list. To address this issue, this ini
* is added. If this ini is enabled, regulatory will always be treated as
* non offload solution.
*
* This ini should only be enabled to circumvent the above mentioned firmware
* bug.
*
* Related: None
*
* Supported Feature: STA/AP
*
* Usage: External
*
* </ini>
*/
#define CFG_IGNORE_FW_REG_OFFLOAD_IND CFG_INI_BOOL( \
"ignore_fw_reg_offload_ind", \
0, \
"Ignore Regulatory offloads Indication from FW")
#define CFG_REG_ALL \
CFG(CFG_SELF_GEN_FRM_PWR) \
CFG(CFG_ENABLE_11D_IN_WORLD_MODE) \
@@ -251,6 +283,7 @@
CFG(CFG_SCAN_11D_INTERVAL) \
CFG(CFG_VALID_CHANNEL_LIST) \
CFG(CFG_COUNTRY_CODE) \
CFG(CFG_IGNORE_FW_REG_OFFLOAD_IND) \
CFG_SAP_AVOID_ACS_FREQ_LIST_ALL
#endif /* CFG_MLME_REG_H__ */