From 623955bd83261c4e47dbc968e1d4b6e8e0ab13c1 Mon Sep 17 00:00:00 2001 From: Rhythm Patwa Date: Fri, 6 Mar 2020 19:21:57 -0800 Subject: [PATCH] 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 --- umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h | 2 ++ umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c | 1 + 2 files changed, 3 insertions(+) diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index bb662148c237..f2c872374eb3 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -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 diff --git a/umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c b/umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c index d21d4e840f42..520fe331914e 100644 --- a/umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c +++ b/umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c @@ -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