summaryrefslogtreecommitdiff
path: root/umac
diff options
context:
space:
mode:
authorSubrat Mishra <subratm@codeaurora.org>2018-02-03 08:30:13 +0530
committersnandini <snandini@codeaurora.org>2018-02-09 00:42:28 -0800
commit172974d1c3f0c3cac0bb7bbd9a52eaa096e78a7c (patch)
tree809d752f1de6d86b1d74c5ff1fad531392da6007 /umac
parentbc685e88f13f625656e60e5c137d4997c9fd6839 (diff)
downloadqca-wfi-host-cmn-172974d1c3f0c3cac0bb7bbd9a52eaa096e78a7c.tar.gz
qcacmn: Fix for Beacon burstmode issue
Fix beacon burst mode issue in FILS Discovery disable case. Change-Id: Ieb711577a761ed80d6865b14563d80277857dfce CRs-Fixed: 2180991
Diffstat (limited to 'umac')
-rw-r--r--umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h2
-rw-r--r--umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h5
-rw-r--r--umac/global_umac_dispatcher/lmac_if/src/wlan_lmac_if.c1
3 files changed, 5 insertions, 3 deletions
diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h
index 7f4a97398..6a5755286 100644
--- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h
+++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h
@@ -150,8 +150,6 @@
#define WLAN_VDEV_FEXT_SON_SPL_RPT 0x00800000
/* SON IE update in MGMT frame */
#define WLAN_VDEV_FEXT_SON_INFO_UPDATE 0x01000000
-/* FILS AEAD in MGMT frame */
-#define WLAN_VDEV_FEXT_FILS 0x02000000
/* VDEV OP flags */
/* if the vap destroyed by user */
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 690662e14..61044097f 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
@@ -864,6 +864,7 @@ struct wlan_lmac_if_atf_rx_ops {
#ifdef WLAN_SUPPORT_FILS
/**
* struct wlan_lmac_if_fd_rx_ops - FILS Discovery specific Rx function pointers
+ * @fd_is_fils_enable: FILS enabled or not
* @fd_alloc: Allocate FD buffer
* @fd_stop: Stop and free deferred FD buffer
* @fd_free: Free FD frame buffer
@@ -871,10 +872,12 @@ struct wlan_lmac_if_atf_rx_ops {
* @fd_swfda_handler: SWFDA event handler
*/
struct wlan_lmac_if_fd_rx_ops {
+ uint8_t (*fd_is_fils_enable)(struct wlan_objmgr_vdev *vdev);
void (*fd_alloc)(struct wlan_objmgr_vdev *vdev);
void (*fd_stop)(struct wlan_objmgr_vdev *vdev);
void (*fd_free)(struct wlan_objmgr_vdev *vdev);
- uint32_t (*fd_get_valid_fd_period)(struct wlan_objmgr_vdev *vdev);
+ uint32_t (*fd_get_valid_fd_period)(struct wlan_objmgr_vdev *vdev,
+ uint8_t *is_modified);
QDF_STATUS (*fd_swfda_handler)(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 1e29bb502..487fb74bc 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
@@ -132,6 +132,7 @@ wlan_lmac_if_fd_rx_ops_register(struct wlan_lmac_if_rx_ops *rx_ops)
{
struct wlan_lmac_if_fd_rx_ops *fd_rx_ops = &rx_ops->fd_rx_ops;
+ fd_rx_ops->fd_is_fils_enable = tgt_fd_is_fils_enable;
fd_rx_ops->fd_alloc = tgt_fd_alloc;
fd_rx_ops->fd_stop = tgt_fd_stop;
fd_rx_ops->fd_free = tgt_fd_free;