]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor attribute to configure RX link speed threshold for roaming
authorJianmin Zhu <quic_jianminz@quicinc.com>
Wed, 18 May 2022 14:32:26 +0000 (22:32 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 2 Jun 2022 13:10:28 +0000 (16:10 +0300)
Add QCA_ATTR_ROAM_CONTROL_RX_LINKSPEED_THRESHOLD value as the RX link
speed threshold to disable roaming. If the current link speed is above
the threshold, there is no need to roam.

Signed-off-by: Jianmin Zhu <quic_jianminz@quicinc.com>
src/common/qca-vendor.h

index 122262889e9e189587f48d6246797a72b29f39a9..3115305ffdc7a693fb092bc9bc9ce64f926fb7be 100644 (file)
@@ -4893,6 +4893,12 @@ enum qca_vendor_attr_roam_candidate_selection_criteria {
  *     Optional parameter. Scan dwell time for 6G Non Preferred Scanning
  *     Channels. If this attribute is not configured, the driver shall proceed
  *     with default behavior.
+ *
+ * @QCA_ATTR_ROAM_CONTROL_RX_LINKSPEED_THRESHOLD: u16 value in Mbps.
+ *     Optional parameter. RX link speed threshold to disable roaming.
+ *     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.
  */
 enum qca_vendor_attr_roam_control {
        QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
@@ -4918,6 +4924,7 @@ enum qca_vendor_attr_roam_control {
        QCA_ATTR_ROAM_CONTROL_MAXIMUM_AWAY_TIME = 21,
        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,
 
        /* keep last */
        QCA_ATTR_ROAM_CONTROL_AFTER_LAST,