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

parent
30f07a9dc1
commit
a497ea80aa
@@ -978,10 +978,12 @@ struct cdp_soc_t {
|
||||
* to set values in peer
|
||||
* @CDP_CONFIG_NAWDS: Enable nawds mode
|
||||
* @CDP_CONFIG_NAC: Enable nac
|
||||
* @CDP_CONFIG_ISOLATION : Enable isolation
|
||||
*/
|
||||
enum cdp_peer_param_type {
|
||||
CDP_CONFIG_NAWDS,
|
||||
CDP_CONFIG_NAC,
|
||||
CDP_CONFIG_ISOLATION,
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -1050,6 +1052,7 @@ enum cdp_pdev_param_type {
|
||||
* to set values into dp handles.
|
||||
*
|
||||
* @cdp_peer_param_nawds: Enable nawds mode
|
||||
* @cdp_peer_param_isolation: Enable isolation
|
||||
* @cdp_peer_param_nac: Enable nac
|
||||
*
|
||||
* @cdp_vdev_param_nawds: set nawds enable/disable
|
||||
@@ -1104,6 +1107,7 @@ enum cdp_pdev_param_type {
|
||||
typedef union cdp_config_param_t {
|
||||
/* peer params */
|
||||
bool cdp_peer_param_nawds;
|
||||
bool cdp_peer_param_isolation;
|
||||
uint8_t cdp_peer_param_nac;
|
||||
|
||||
/* vdev params */
|
||||
|
Reference in New Issue
Block a user