qcacmn: Add peer isolation support per vap
Configure the client as isolated peer if part of isolation list while creating/associating the node or adding the peer to the isolation list. Do not forward the packets to and from clients in isolation list instead accelerate to upper stack. CRs-Fixed: 2689868 Change-Id: I67fd4dee0fb76c993746cdd66c70c241d407239a
This commit is contained in:

committed by
nshrivas

szülő
30f07a9dc1
commit
a497ea80aa
@@ -340,6 +340,25 @@ while (0)
|
||||
#define DP_TX_HIST_STATS_PER_PDEV()
|
||||
#endif /* DISABLE_DP_STATS */
|
||||
|
||||
#ifdef QCA_SUPPORT_PEER_ISOLATION
|
||||
#define dp_get_peer_isolation(_peer) ((_peer)->isolation)
|
||||
|
||||
static inline void dp_set_peer_isolation(struct dp_peer *peer, bool val)
|
||||
{
|
||||
peer->isolation = val;
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
||||
"peer:%pM isolation:%d",
|
||||
peer->mac_addr.raw, peer->isolation);
|
||||
}
|
||||
|
||||
#else
|
||||
#define dp_get_peer_isolation(_peer) (0)
|
||||
|
||||
static inline void dp_set_peer_isolation(struct dp_peer *peer, bool val)
|
||||
{
|
||||
}
|
||||
#endif /* QCA_SUPPORT_PEER_ISOLATION */
|
||||
|
||||
#ifdef FEATURE_TSO_STATS
|
||||
/**
|
||||
* dp_init_tso_stats() - Clear tso stats
|
||||
|
Reference in New Issue
Block a user