qcacmn: Rx path changes for multichip MLO

Rx patch changes for multichip MLO

1. Create ini for rx ring mask for each chip
2. Configure hash based routing for each chip based
   on lmac_peer_id_msb
3. Peer setup changes to configure lmac_peer_id_msb
   to enable hash based routing
4. Rx Replenish changes to provide buffers back to owner
   SOC of reo ring

Change-Id: Ibbe6e81f9e62d88d9bb289a082dd14b4362252c4
This commit is contained in:
Chaithanya Garrepalli
2021-11-23 15:34:30 +05:30
committed by Madan Koyyalamudi
parent bbe062b4b7
commit c42af1f62f
23 changed files with 658 additions and 57 deletions

View File

@@ -403,12 +403,14 @@ enum cdp_peer_type {
* @mld_peer_mac: mld peer mac address pointer
* @is_assoc_link: set true for first MLO link peer association
* @is_primary_link: for MCC, the first link will always be primary link,
for WIN, other link might be primary link.
* for WIN, other link might be primary link.
* @primary_umac_id: primary umac_id
*/
struct cdp_peer_setup_info {
uint8_t *mld_peer_mac;
uint8_t is_assoc_link:1,
is_primary_link:1;
uint8_t primary_umac_id;
};
/**

View File

@@ -1094,7 +1094,8 @@ struct ol_if_ops {
(*peer_set_default_routing)(struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
uint8_t pdev_id, uint8_t *peer_macaddr,
uint8_t vdev_id,
bool hash_based, uint8_t ring_num);
bool hash_based, uint8_t ring_num,
uint8_t lmac_peer_id_msb);
QDF_STATUS
(*peer_rx_reorder_queue_setup)(struct cdp_ctrl_objmgr_psoc *ctrl_psoc,
uint8_t pdev_id,