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:
Ashish Kumar Dhanotiya
2020-02-06 14:41:21 +05:30
committed by nshrivas
parent e5b9856f61
commit b3ae646bf2
7 changed files with 141 additions and 3 deletions

View File

@@ -82,6 +82,10 @@ enum nan_disc_state {
* @ndi_mac_randomize: Randomize NAN datapath interface MAC
* @ndp_inactivity_timeout: NDP inactivity timeout
* @nan_separate_iface_support: To supports separate iface creation for NAN
* @ndp_keep_alive_period: To configure duration of how many seconds to
* wait to kickout peer if peer is not reachable
* @support_mp0_discovery: To support discovery of NAN cluster with Master
* Preference (MP) as 0 when a new device is enabling NAN
*/
struct nan_cfg_params {
bool enable;
@@ -89,6 +93,8 @@ struct nan_cfg_params {
bool ndi_mac_randomize;
uint16_t ndp_inactivity_timeout;
bool nan_separate_iface_support;
uint16_t ndp_keep_alive_period;
bool support_mp0_discovery;
};
/**