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
Este commit está contenido en:
Balaganapathy Palanisamy
2020-05-08 12:17:03 +05:30
cometido por nshrivas
padre 30f07a9dc1
commit a497ea80aa
Se han modificado 5 ficheros con 48 adiciones y 0 borrados

Ver fichero

@@ -5227,6 +5227,9 @@ dp_peer_create_wifi3(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
* update tx_cap_enabled flag to support peer filter.
*/
dp_peer_tx_capture_filter_check(pdev, peer);
dp_set_peer_isolation(peer, false);
return QDF_STATUS_SUCCESS;
} else {
/*
@@ -5354,6 +5357,8 @@ dp_peer_create_wifi3(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
*/
dp_peer_tx_capture_filter_check(pdev, peer);
dp_set_peer_isolation(peer, false);
return QDF_STATUS_SUCCESS;
}
@@ -7688,6 +7693,9 @@ static QDF_STATUS dp_set_peer_param(struct cdp_soc_t *cdp_soc, uint8_t vdev_id,
case CDP_CONFIG_NAC:
peer->nac = !!(val.cdp_peer_param_nac);
break;
case CDP_CONFIG_ISOLATION:
dp_set_peer_isolation(peer, val.cdp_peer_param_isolation);
break;
default:
break;
}