Home
last modified time | relevance | path

Searched refs:nan_obj (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/qcacld-3.0/components/nan/dispatcher/src/
H A Dcfg_nan.c43 struct nan_psoc_priv_obj *nan_obj = cfg_nan_get_priv_obj(psoc); in cfg_nan_get_enable() local
45 if (!nan_obj) { in cfg_nan_get_enable()
49 return nan_obj->cfg_param.enable; in cfg_nan_get_enable()
54 struct nan_psoc_priv_obj *nan_obj = cfg_nan_get_priv_obj(psoc); in cfg_nan_get_datapath_enable() local
56 if (!nan_obj) { in cfg_nan_get_datapath_enable()
60 return nan_obj->cfg_param.dp_enable; in cfg_nan_get_datapath_enable()
65 struct nan_psoc_priv_obj *nan_obj = cfg_nan_get_priv_obj(psoc); in cfg_nan_get_ndi_mac_randomize() local
67 if (!nan_obj) { in cfg_nan_get_ndi_mac_randomize()
71 return nan_obj->cfg_param.ndi_mac_randomize; in cfg_nan_get_ndi_mac_randomize()
77 struct nan_psoc_priv_obj *nan_obj = cfg_nan_get_priv_obj(psoc); in cfg_nan_get_ndp_inactivity_timeout() local
[all …]
H A Dnan_ucfg_api.c53 struct nan_psoc_priv_obj *nan_obj) in nan_cfg_init() argument
55 nan_obj->cfg_param.enable = cfg_get(psoc, CFG_NAN_ENABLE); in nan_cfg_init()
56 nan_obj->cfg_param.support_mp0_discovery = in nan_cfg_init()
59 nan_obj->cfg_param.ndp_keep_alive_period = in nan_cfg_init()
62 nan_obj->cfg_param.max_ndp_sessions = cfg_get(psoc, in nan_cfg_init()
64 nan_obj->cfg_param.max_ndi = cfg_get(psoc, CFG_NDI_MAX_SUPPORT); in nan_cfg_init()
65 nan_obj->cfg_param.nan_feature_config = in nan_cfg_init()
67 nan_obj->cfg_param.disable_6g_nan = cfg_get(psoc, CFG_DISABLE_6G_NAN); in nan_cfg_init()
68 nan_obj->cfg_param.enable_nan_eht_cap = in nan_cfg_init()
80 struct nan_psoc_priv_obj *nan_obj) in nan_cfg_dp_init() argument
[all …]
/wlan-driver/qcacld-3.0/components/nan/core/src/
H A Dnan_api.c40 struct nan_psoc_priv_obj *nan_obj; in nan_psoc_obj_created_notification() local
43 nan_obj = qdf_mem_malloc(sizeof(*nan_obj)); in nan_psoc_obj_created_notification()
44 if (!nan_obj) in nan_psoc_obj_created_notification()
47 qdf_spinlock_create(&nan_obj->lock); in nan_psoc_obj_created_notification()
49 nan_obj, in nan_psoc_obj_created_notification()
56 target_if_nan_register_tx_ops(&nan_obj->tx_ops); in nan_psoc_obj_created_notification()
57 target_if_nan_register_rx_ops(&nan_obj->rx_ops); in nan_psoc_obj_created_notification()
63 qdf_spinlock_destroy(&nan_obj->lock); in nan_psoc_obj_created_notification()
64 qdf_mem_free(nan_obj); in nan_psoc_obj_created_notification()
72 struct nan_psoc_priv_obj *nan_obj = nan_get_psoc_priv_obj(psoc); in nan_psoc_obj_destroyed_notification() local
[all …]