qcacmn: Monitor mode improvements
Move the srng history to hif context. Process the monitor ring only for the lmac corresponding to the configured monitor channel. Add the timer and srng history for monitor mode. Change-Id: I4e5e49ad5e657b55bfafbb40ef5f59496277cb40 CRs-Fixed: 2690530
这个提交包含在:
@@ -359,6 +359,16 @@ static inline void dp_set_peer_isolation(struct dp_peer *peer, bool val)
|
||||
}
|
||||
#endif /* QCA_SUPPORT_PEER_ISOLATION */
|
||||
|
||||
/**
|
||||
* The lmac ID for a particular channel band is fixed.
|
||||
* 2.4GHz band uses lmac_id = 1
|
||||
* 5GHz/6GHz band uses lmac_id=0
|
||||
*/
|
||||
#define DP_MON_INVALID_LMAC_ID (-1)
|
||||
#define DP_MON_2G_LMAC_ID 1
|
||||
#define DP_MON_5G_LMAC_ID 0
|
||||
#define DP_MON_6G_LMAC_ID 0
|
||||
|
||||
#ifdef FEATURE_TSO_STATS
|
||||
/**
|
||||
* dp_init_tso_stats() - Clear tso stats
|
||||
@@ -1737,7 +1747,7 @@ static inline void dp_peer_unref_del_find_by_id(struct dp_peer *peer)
|
||||
#ifdef WLAN_FEATURE_DP_EVENT_HISTORY
|
||||
/**
|
||||
* dp_srng_access_start() - Wrapper function to log access start of a hal ring
|
||||
* @int_ctx: pointer to DP interrupt context
|
||||
* @int_ctx: pointer to DP interrupt context. This should not be NULL
|
||||
* @soc: DP Soc handle
|
||||
* @hal_ring: opaque pointer to the HAL Rx Error Ring, which will be serviced
|
||||
*
|
||||
@@ -1748,7 +1758,7 @@ int dp_srng_access_start(struct dp_intr *int_ctx, struct dp_soc *dp_soc,
|
||||
|
||||
/**
|
||||
* dp_srng_access_end() - Wrapper function to log access end of a hal ring
|
||||
* @int_ctx: pointer to DP interrupt context
|
||||
* @int_ctx: pointer to DP interrupt context. This should not be NULL
|
||||
* @soc: DP Soc handle
|
||||
* @hal_ring: opaque pointer to the HAL Rx Error Ring, which will be serviced
|
||||
*
|
||||
|
在新工单中引用
屏蔽一个用户