qcacmn: Create flow control pools on vdev start
As many as 5 vdevs can be created, which is defined by MAX_SME_SESSIONS. But flow control pools are only valid for active TxRx capable vdevs. which is 3 active vdevs. So attach flow pool creation to vdev_start instead of vdev_attach. Change-Id: I137676ba618aa3a6684c7d17ef7d9263c4df6efe CRs-Fixed: 2220079
Bu işleme şunda yer alıyor:

işlemeyi yapan:
nshrivas

ebeveyn
afb889318f
işleme
38205cc1b7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -69,6 +69,10 @@ void dp_tx_flow_control_deinit(struct dp_soc *);
|
||||
|
||||
QDF_STATUS dp_txrx_register_pause_cb(struct cdp_soc_t *soc,
|
||||
tx_pause_callback pause_cb);
|
||||
QDF_STATUS dp_tx_flow_pool_map(struct cdp_soc_t *soc, struct cdp_pdev *pdev,
|
||||
uint8_t vdev_id);
|
||||
void dp_tx_flow_pool_unmap(struct cdp_soc_t *soc, struct cdp_pdev *pdev,
|
||||
uint8_t vdev_id);
|
||||
void dp_tx_clear_flow_pool_stats(struct dp_soc *soc);
|
||||
struct dp_tx_desc_pool_s *dp_tx_create_flow_pool(struct dp_soc *soc,
|
||||
uint8_t flow_pool_id, uint16_t flow_pool_size);
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle