qcacld-3.0: Add INI support to disable STA roaming

Use INI "sta_disable_roam" to disable roaming on STA interface if
connection on other interfaces ex. p2p, ndp comes up. Each bit of
the INI "sta_disable_roam" represents an interface.
ex. LFR3_STA_ROAM_DISABLE_BY_P2P BIT(0)
    LFR3_STA_ROAM_DISABLE_BY_NAN BIT(1)

As INI "sta_disable_roam" is generic for all the interfaces, cleanup
for INI "p2p_disable_roam" done.

Change-Id: Icd05a97c640ca07978d9960a33de036ed6fe38df
CRs-Fixed: 2637555
此提交包含在:
Abhishek Ambure
2020-03-09 20:50:19 +05:30
提交者 nshrivas
父節點 c1b5bd080a
當前提交 48b790c62d
共有 16 個檔案被更改,包括 158 行新增37 行删除

查看文件

@@ -98,32 +98,9 @@
1, \
"derive the P2P MAC address from the primary MAC address")
/*
* <ini>
* p2p_disable_roam - Disable Roam on sta interface during P2P connection
* @Min: 0 - Roam Enabled on sta interface during P2P connection
* @Max: 1 - Roam Disabled on sta interface during P2P connection
* @Default: 0
*
* Disable roaming on STA iface to avoid audio glitches on p2p if its connected
*
* Related: None.
*
* Supported Feature: Disable Roam during P2P
*
* Usage: Internal
*
* </ini>
*/
#define CFG_P2P_DISABLE_ROAM CFG_INI_BOOL( \
"p2p_disable_roam", \
0, \
"disable roam on STA iface if p2p is connected")
#define CFG_P2P_ALL \
CFG(CFG_GO_KEEP_ALIVE_PERIOD) \
CFG(CFG_GO_LINK_MONITOR_PERIOD) \
CFG(CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED) \
CFG(CFG_P2P_DISABLE_ROAM)
CFG(CFG_P2P_DEVICE_ADDRESS_ADMINISTRATED)
#endif