qcacmn: Add Rx Ops to update the FD template

Add RX Op function to update the FD template in case of
any updates to the FD frame parameters.

CRs-fixed: 2637082
Change-Id: I1d7b488d177a32ddc57129f227df26d5774aa9e1
This commit is contained in:
Rhythm Patwa 2020-03-06 19:21:57 -08:00 • committed by nshrivas
commit 623955bd83
2 changed files with 3 additions and 0 deletions

View file

@ -1270,6 +1270,7 @@ struct wlan_lmac_if_atf_rx_ops {
* @fd_get_valid_fd_period: Get valid FD period
* @fd_swfda_handler: SWFDA event handler
* @fd_offload: Offload FD frame
* @fd_tmpl_update: Update the FD frame template
*/
struct wlan_lmac_if_fd_rx_ops {
uint8_t (*fd_is_fils_enable)(struct wlan_objmgr_vdev *vdev);
@ -1281,6 +1282,7 @@ struct wlan_lmac_if_fd_rx_ops {
QDF_STATUS (*fd_swfda_handler)(struct wlan_objmgr_vdev *vdev);
QDF_STATUS (*fd_offload)(struct wlan_objmgr_vdev *vdev,
uint32_t vdev_id);
QDF_STATUS (*fd_tmpl_update)(struct wlan_objmgr_vdev *vdev);
};
#endif

View file

@ -204,6 +204,7 @@ wlan_lmac_if_fd_rx_ops_register(struct wlan_lmac_if_rx_ops *rx_ops)
fd_rx_ops->fd_get_valid_fd_period = tgt_fd_get_valid_fd_period;
fd_rx_ops->fd_swfda_handler = tgt_fd_swfda_handler;
fd_rx_ops->fd_offload = tgt_fd_offload;
fd_rx_ops->fd_tmpl_update = tgt_fd_tmpl_update;
}
#else
static void