]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
A vendor roam control configuration for delaying hand off for RX
authorSunil Dutt <quic_usdutt@quicinc.com>
Thu, 20 Oct 2022 06:35:13 +0000 (12:05 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 4 Nov 2022 13:34:47 +0000 (15:34 +0200)
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.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index eec7060be6e42ab957080b6c742d1deee5817687..6a3cdab8e85b0f15d6447915e302bd790f30e053 100644 (file)
@@ -5101,6 +5101,11 @@ enum qca_vendor_attr_roam_candidate_selection_criteria {
  *     If the current RX link speed is above the threshold, roaming is not
  *     needed. If this attribute is not configured, or if it is set to 0, the
  *     driver will not consider the RX link speed in the roaming decision.
+ *
+ * @QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX: u16 value in milliseconds.
+ *     Optional parameter. This configuration delays hand-off by the
+ *     specified duration to receive pending RX frames from the current BSS.
+
  */
 enum qca_vendor_attr_roam_control {
        QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
@@ -5127,6 +5132,7 @@ enum qca_vendor_attr_roam_control {
        QCA_ATTR_ROAM_CONTROL_SCAN_6G_PSC_DWELL_TIME = 22,
        QCA_ATTR_ROAM_CONTROL_SCAN_6G_NON_PSC_DWELL_TIME = 23,
        QCA_ATTR_ROAM_CONTROL_LINKSPEED_THRESHOLD = 24,
+       QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX = 25,
 
        /* keep last */
        QCA_ATTR_ROAM_CONTROL_AFTER_LAST,