qcacld-3.0: cdp: Convergence of cdp misc ops
Currently the cdp apis are given pdev/vdev/peer handle as its arguments, which is directly accessed in those APIs. This can cause a race-condition in access of the respective handles if it has been deleted in parallel. Hence as a part of cdp convergence, pass only the pdev/vdev id or peer mac address, which will be used to get the respective handles, and hence avoiding the unwanted access of the handles if it has been deleted. Converged misc_ops - tx_non_std - get_opmode - get_tx_ack_stats - set_ibss_vdev_heart_beat_timer - hl_tdls_flag_reset - set_wisa_mode - txrx_post_data_stall_event - update_mac_id - pkt_log_init - pkt_log_con_service - get_num_rx_contexts - set_wmm_param - flush_rx_frames - bad_peer_txctl_set_setting - bad_peer_txctl_update_threshold - txrx_data_stall_cb_register - txrx_data_stall_cb_deregister - vdev_set_driver_del_ack_enable - get_intra_bss_fwd_pkts_count - mark_first_wakeup_packet - register_pktdump_cb - unregister_pktdump_cb - pdev_reset_driver_del_ack - runtime_suspend - runtime_resume CRs-Fixed: 2539735 Change-Id: I2baad09fde29d439ae2099e01e4e68ed6b94196d
This commit is contained in:
@@ -767,14 +767,14 @@ void ucfg_pmo_psoc_set_hif_handle(struct wlan_objmgr_psoc *psoc,
|
||||
void *hif_handle);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_psoc_set_txrx_handle() - Set psoc pdev txrx layer handle
|
||||
* ucfg_pmo_psoc_set_txrx_pdev_id() - Set psoc pdev txrx layer handle
|
||||
* @psoc: objmgr psoc handle
|
||||
* @txrx_handle: pdev txrx context handle
|
||||
* @txrx_pdev_id: txrx pdev identifier
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_pmo_psoc_set_txrx_handle(struct wlan_objmgr_psoc *psoc,
|
||||
void *txrx_handle);
|
||||
void ucfg_pmo_psoc_set_txrx_pdev_id(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t txrx_pdev_id);
|
||||
|
||||
/**
|
||||
* ucfg_pmo_psoc_user_space_suspend_req() - Handles user space suspend req
|
||||
@@ -1392,9 +1392,9 @@ ucfg_pmo_psoc_set_hif_handle(
|
||||
}
|
||||
|
||||
static inline void
|
||||
ucfg_pmo_psoc_set_txrx_handle(
|
||||
ucfg_pmo_psoc_set_txrx_pdev_id(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
void *txrx_handle)
|
||||
uint8_t txrx_pdev_id)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user