Home
last modified time | relevance | path

Searched refs:roc_ctx (Results 1 – 4 of 4) sorted by relevance

/wlan-driver/qcacld-3.0/components/p2p/core/src/
H A Dwlan_p2p_roc.c79 static QDF_STATUS p2p_scan_start(struct p2p_roc_context *roc_ctx) in p2p_scan_start() argument
84 struct p2p_soc_priv_obj *p2p_soc_obj = roc_ctx->p2p_soc_obj; in p2p_scan_start()
92 p2p_soc_obj->soc, roc_ctx->vdev_id, in p2p_scan_start()
109 if (!roc_ctx->duration) { in p2p_scan_start()
110 roc_ctx->duration = P2P_ROC_DEFAULT_DURATION; in p2p_scan_start()
116 roc_ctx->scan_id = wlan_scan_get_scan_id(p2p_soc_obj->soc); in p2p_scan_start()
118 req->scan_req.scan_id = roc_ctx->scan_id; in p2p_scan_start()
122 req->scan_req.chan_list.chan[0].freq = roc_ctx->chan_freq; in p2p_scan_start()
123 req->scan_req.dwell_time_passive = roc_ctx->duration; in p2p_scan_start()
204 p2p_soc_obj->scan_req_id, roc_ctx->scan_id, status); in p2p_scan_start()
[all …]
H A Dwlan_p2p_roc.h189 QDF_STATUS p2p_restart_roc_timer(struct p2p_roc_context *roc_ctx);
228 QDF_STATUS p2p_process_roc_req(struct p2p_roc_context *roc_ctx);
H A Dwlan_p2p_off_chan_tx.c1314 struct p2p_roc_context *roc_ctx; in p2p_roc_req_for_tx_action() local
1317 roc_ctx = qdf_mem_malloc(sizeof(struct p2p_roc_context)); in p2p_roc_req_for_tx_action()
1318 if (!roc_ctx) in p2p_roc_req_for_tx_action()
1322 roc_ctx->p2p_soc_obj = p2p_soc_obj; in p2p_roc_req_for_tx_action()
1323 roc_ctx->vdev_id = tx_ctx->vdev_id; in p2p_roc_req_for_tx_action()
1324 roc_ctx->chan_freq = tx_ctx->chan_freq; in p2p_roc_req_for_tx_action()
1325 roc_ctx->duration = tx_ctx->duration; in p2p_roc_req_for_tx_action()
1326 roc_ctx->roc_state = ROC_STATE_IDLE; in p2p_roc_req_for_tx_action()
1327 roc_ctx->roc_type = OFF_CHANNEL_TX; in p2p_roc_req_for_tx_action()
1328 roc_ctx->tx_ctx = tx_ctx; in p2p_roc_req_for_tx_action()
[all …]
/wlan-driver/qcacld-3.0/components/p2p/dispatcher/src/
H A Dwlan_p2p_ucfg_api.c120 struct p2p_roc_context *roc_ctx; in ucfg_p2p_roc_req() local
140 roc_ctx = qdf_mem_malloc(sizeof(*roc_ctx)); in ucfg_p2p_roc_req()
141 if (!roc_ctx) in ucfg_p2p_roc_req()
144 status = qdf_idr_alloc(&p2p_soc_obj->p2p_idr, roc_ctx, &id); in ucfg_p2p_roc_req()
146 qdf_mem_free(roc_ctx); in ucfg_p2p_roc_req()
152 roc_ctx->p2p_soc_obj = p2p_soc_obj; in ucfg_p2p_roc_req()
153 roc_ctx->vdev_id = roc_req->vdev_id; in ucfg_p2p_roc_req()
154 roc_ctx->chan_freq = roc_req->chan_freq; in ucfg_p2p_roc_req()
155 roc_ctx->phy_mode = roc_req->phy_mode; in ucfg_p2p_roc_req()
156 roc_ctx->duration = roc_req->duration; in ucfg_p2p_roc_req()
[all …]