qcacmn: Cleanup cdp_fc_get_tx_resource [PEER_ID_PHASE1]

Cleanup cdp_fc_get_tx_resource to be peer mac address based
from local peer id based.

Change-Id: I241377c75f09e9f0e177a167905cd9461ffcd088
CRs-Fixed: 2508146
This commit is contained in:
Rakshith Suresh Patkar
2019-07-26 16:23:37 +05:30
gecommit door nshrivas
bovenliggende ad85368f00
commit 8a0b6e961c
2 gewijzigde bestanden met toevoegingen van 10 en 6 verwijderingen

Bestand weergeven

@@ -1268,7 +1268,8 @@ struct cdp_lflowctl_ops {
#endif /* QCA_HL_NETDEV_FLOW_CONTROL */
int (*deregister_tx_flow_control_cb)(uint8_t vdev_id);
void (*flow_control_cb)(struct cdp_vdev *vdev, bool tx_resume);
bool (*get_tx_resource)(uint8_t sta_id,
bool (*get_tx_resource)(struct cdp_pdev *pdev,
struct qdf_mac_addr peer_addr,
unsigned int low_watermark,
unsigned int high_watermark_offset);
int (*ll_set_tx_pause_q_depth)(uint8_t vdev_id, int pause_q_depth);