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:
@@ -309,7 +309,7 @@ struct cdp_ctrl_ops {
|
||||
* @return none
|
||||
*/
|
||||
void
|
||||
(*txrx_peer_authorize)(void *peer,
|
||||
(*txrx_peer_authorize)(struct cdp_peer *peer,
|
||||
u_int32_t authorize);
|
||||
|
||||
bool
|
||||
@@ -378,7 +378,7 @@ struct cdp_ctrl_ops {
|
||||
void (*txrx_set_vdev_param)(struct cdp_vdev *vdev,
|
||||
enum cdp_vdev_param_type param, uint32_t val);
|
||||
|
||||
void (*txrx_peer_set_nawds)(void *peer, uint8_t value);
|
||||
void (*txrx_peer_set_nawds)(struct cdp_peer *peer, uint8_t value);
|
||||
/**
|
||||
* @brief Set the reo dest ring num of the radio
|
||||
* @details
|
||||
@@ -409,6 +409,7 @@ struct cdp_ctrl_ops {
|
||||
|
||||
int (*txrx_wdi_event_unsub)(struct cdp_pdev *pdev, void *event_cb_sub,
|
||||
uint32_t event);
|
||||
int (*txrx_get_sec_type)(struct cdp_peer *peer, uint8_t sec_idx);
|
||||
};
|
||||
|
||||
struct cdp_me_ops {
|
||||
|
Reference in New Issue
Block a user