qcacmn: Add support for primary TQM migration

Add support for primary TQM migration.

Change-Id: Ifd62eb7e731bbd9e86c462642fd2e20d50d5495a
CRs-Fixed: 3410900
This commit is contained in:
Neha Bisht
2023-01-31 12:38:19 +05:30
committad av Madan Koyyalamudi
förälder 031d51614e
incheckning 80ee0f60c6
8 ändrade filer med 456 tillägg och 4 borttagningar

Visa fil

@@ -2704,14 +2704,12 @@ static inline struct dp_peer *dp_peer_find_add_id(struct dp_soc *soc,
#ifdef WLAN_FEATURE_11BE_MLO
#ifdef DP_USE_REDUCED_PEER_ID_FIELD_WIDTH
static inline uint16_t dp_gen_ml_peer_id(struct dp_soc *soc,
uint16_t peer_id)
uint16_t dp_gen_ml_peer_id(struct dp_soc *soc, uint16_t peer_id)
{
return ((peer_id & soc->peer_id_mask) | (1 << soc->peer_id_shift));
}
#else
static inline uint16_t dp_gen_ml_peer_id(struct dp_soc *soc,
uint16_t peer_id)
uint16_t dp_gen_ml_peer_id(struct dp_soc *soc, uint16_t peer_id)
{
return (peer_id | (1 << HTT_RX_PEER_META_DATA_V1_ML_PEER_VALID_S));
}