Date: Mon, 7 Jan 2019 05:54:07 +0000 From: "s3erios_gmail.com (Andriy Voskoboinyk)" <phabric-noreply@FreeBSD.org> To: freebsd-net@freebsd.org Subject: [Differential] D5165: [patch] dev/bwn suppressing "bwn0: unsupported rate 0" console messages Message-ID: <416cc8cda476e6c8aa5230bc091419b1@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-sspsi5ldivzec5r4khyj-req@FreeBSD.org> References: <differential-rev-PHID-DREV-sspsi5ldivzec5r4khyj-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
s3erios_gmail.com added a comment. Hi! Actually, the code tries to find a 'next' (fallback) rate, which will be used if transmission on the current rate fails; the code will be incorrect, when HT support will be added to the driver (but currently it should 'just work'). rix is the 'rate' index in ni->ni_rates.rs_rates table; since rates are sorted, the previous (or current if 'rix' is 0) should be fine as a fallback candidate. REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST ACTION https://reviews.freebsd.org/D5165/new/ REVISION DETAIL https://reviews.freebsd.org/D5165 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: mugius.0x101.freebsd_gmail.com, #network, s3erios_gmail.com Cc: imp, freebsd-net-list
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416cc8cda476e6c8aa5230bc091419b1>
