Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 01:53:02 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343818 - in stable: 10/sys/net80211 11/sys/net80211 12/sys/net80211
Message-ID:  <201902060153.x161r2hZ094982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Wed Feb  6 01:53:01 2019
New Revision: 343818
URL: https://svnweb.freebsd.org/changeset/base/343818

Log:
  MFC r343697:
  net80211(4): fix rate check when 'roaming' ifconfig(8) option is set to 'auto'
  
  Do not try to clear 'basic rate' bit from roamRate; it cannot be here and,
  actually, this operation clears 'MCS rate' bit instead, breaking comparison
  for 11n / 11ac modes.

Modified:
  stable/12/sys/net80211/ieee80211_scan_sta.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/net80211/ieee80211_scan_sta.c
  stable/11/sys/net80211/ieee80211_scan_sta.c
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)

Modified: stable/12/sys/net80211/ieee80211_scan_sta.c
==============================================================================
--- stable/12/sys/net80211/ieee80211_scan_sta.c	Wed Feb  6 01:47:22 2019	(r343817)
+++ stable/12/sys/net80211/ieee80211_scan_sta.c	Wed Feb  6 01:53:01 2019	(r343818)
@@ -1359,7 +1359,6 @@ sta_roam_check(struct ieee80211_scan_state *ss, struct
 	curRssi = ic->ic_node_getrssi(ni);
 	if (ucastRate == IEEE80211_FIXED_RATE_NONE) {
 		curRate = ni->ni_txrate;
-		roamRate &= IEEE80211_RATE_VAL;
 		IEEE80211_DPRINTF(vap, IEEE80211_MSG_ROAM,
 		    "%s: currssi %d currate %u roamrssi %d roamrate %u\n",
 		    __func__, curRssi, curRate, roamRssi, roamRate);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902060153.x161r2hZ094982>