From d1bea0a4f9d4ca3917511d94876d9034735d99f2 Mon Sep 17 00:00:00 2001 From: Srikanth Marepalli Date: Tue, 22 Nov 2022 20:32:10 +0530 Subject: [PATCH] qcacmn: A vendor roam control configuration for delaying hand off for RX Introduce a run time roam configuration for "hand off delay for RX". This value, in milliseconds, will delay the hand off for the specified time to receive pending RX frames from the current BSS. Change-Id: I961109a2f9287a611ae8f4b38e2ea824ecf9c559 CRs-Fixed: 3329952 --- os_if/linux/qca_vendor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 5474aa81b2fa..72ad0ddc2d01 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -3241,6 +3241,10 @@ enum qca_vendor_attr_roam_candidate_selection_criteria { * threshold value specified by the * QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD attribute shall be used. * + * @QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX: u16 value in milliseconds. + * Optional parameter. This configuration delays hand-off (in msec) by the + * specified duration to receive pending rx frames from current BSS. + * */ enum qca_vendor_attr_roam_control { QCA_ATTR_ROAM_CONTROL_ENABLE = 1, @@ -3259,6 +3263,7 @@ enum qca_vendor_attr_roam_control { QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_2P4GHZ = 14, QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_5GHZ = 15, QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_6GHZ = 16, + QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX = 25, /* keep last */ QCA_ATTR_ROAM_CONTROL_AFTER_LAST,