qcacld-3.0: Add support for the NAN config items
Currently there is no inis for NAN component: 1. To configure the keep alive period for the NDI interface. 2. To enable/disable discovery of NAN cluster with Master Preference (MP) as 0 when a new device is enabling NAN. Add ini support to configure above mentioned values. Change-Id: I47b67eb89fb8849960a9f492d2909e45b96308f3 CRs-Fixed: 2617839
This commit is contained in:

committed by
nshrivas

parent
e5b9856f61
commit
b3ae646bf2
@@ -48,6 +48,12 @@ static void nan_cfg_init(struct wlan_objmgr_psoc *psoc,
|
||||
struct nan_psoc_priv_obj *nan_obj)
|
||||
{
|
||||
nan_obj->cfg_param.enable = cfg_get(psoc, CFG_NAN_ENABLE);
|
||||
nan_obj->cfg_param.support_mp0_discovery =
|
||||
cfg_get(psoc,
|
||||
CFG_SUPPORT_MP0_DISCOVERY);
|
||||
nan_obj->cfg_param.ndp_keep_alive_period =
|
||||
cfg_get(psoc,
|
||||
CFG_NDP_KEEP_ALIVE_PERIOD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user