qcacmn: Add CDP APIs to get security type from peer handler
Add CDP API to get security type for ucast and mcast from peer handler. Add additional peer handler argument for raw mode rx decap functions. The peer handler is needed in the raw mode functions for getting the security type of the frame and process it accordingly. Change-Id: I8b4728e9eb0ff29849805bb461c81e4fc3accc81
This commit is contained in:
@@ -2223,7 +2223,7 @@ fail0:
|
||||
* @authorize
|
||||
*
|
||||
*/
|
||||
static void dp_peer_authorize(void *peer_handle, uint32_t authorize)
|
||||
static void dp_peer_authorize(struct cdp_peer *peer_handle, uint32_t authorize)
|
||||
{
|
||||
struct dp_peer *peer = (struct dp_peer *)peer_handle;
|
||||
struct dp_soc *soc;
|
||||
@@ -3592,7 +3592,7 @@ static void dp_set_vdev_param(struct cdp_vdev *vdev_handle,
|
||||
*
|
||||
* return: void
|
||||
*/
|
||||
static void dp_peer_set_nawds(void *peer_handle, uint8_t value)
|
||||
static void dp_peer_set_nawds(struct cdp_peer *peer_handle, uint8_t value)
|
||||
{
|
||||
struct dp_peer *peer = (struct dp_peer *)peer_handle;
|
||||
peer->nawds_enabled = value;
|
||||
|
Reference in New Issue
Block a user