diff options
author | Subrat Mishra <subratm@codeaurora.org> | 2017-09-27 14:41:20 +0530 |
---|---|---|
committer | snandini <snandini@codeaurora.org> | 2018-01-19 17:26:23 -0800 |
commit | bf12587bd12e6a9835d4fe1f1a0180ff436bf521 (patch) | |
tree | 122c8eec18bee0e340c7259495d9b383d7a76dc1 /target_if | |
parent | 622a2fae1cbe20d72957582344a0f9b6e548641e (diff) | |
download | qca-wfi-host-cmn-bf12587bd12e6a9835d4fe1f1a0180ff436bf521.tar.gz |
qcacmn: Support for SWFDA Event & FD Frame tx
Add new WMI EVENT, SW FILS Discovery Alert Event, to get
firmware trigger to transmit FILS Discovery Frames.
Add WMI command to send FD frame buffer to firwmare.
Add WMI command to set FD period interval in mili seconds.
Change-Id: I8cb6279ec4431b9236bd32c548228a0dc6598664
CRs-Fixed: 2118098
Diffstat (limited to 'target_if')
-rw-r--r-- | target_if/core/src/target_if_main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target_if/core/src/target_if_main.c b/target_if/core/src/target_if_main.c index 1f90f2d91..162ab9c35 100644 --- a/target_if/core/src/target_if_main.c +++ b/target_if/core/src/target_if_main.c @@ -67,6 +67,10 @@ #include <target_if_direct_buf_rx_api.h> #endif +#ifdef WLAN_SUPPORT_FILS +#include <target_if_fd.h> +#endif + static struct target_if_ctx *g_target_if_ctx; struct target_if_ctx *target_if_get_ctx() @@ -173,6 +177,17 @@ static void target_if_sa_api_tx_ops_register(struct wlan_lmac_if_tx_ops *tx_ops) } #endif /* WLAN_SA_API_ENABLE */ +#ifdef WLAN_SUPPORT_FILS +static void target_if_fd_tx_ops_register(struct wlan_lmac_if_tx_ops *tx_ops) +{ + target_if_fd_register_tx_ops(tx_ops); +} +#else +static void target_if_fd_tx_ops_register(struct wlan_lmac_if_tx_ops *tx_ops) +{ +} +#endif + #ifdef WIFI_POS_CONVERGED static void target_if_wifi_pos_tx_ops_register( struct wlan_lmac_if_tx_ops *tx_ops) @@ -334,6 +349,8 @@ QDF_STATUS target_if_register_umac_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops) target_if_tdls_tx_ops_register(tx_ops); + target_if_fd_tx_ops_register(tx_ops); + target_if_target_tx_ops_register(tx_ops); target_if_offchan_txrx_ops_register(tx_ops); |