[Differential] D5165: [patch] dev/bwn suppressing "bwn0: unsupported rate 0" console messages

s3erios_gmail.com (Andriy Voskoboinyk) phabric-noreply at FreeBSD.org
Mon Jan 7 05:54:08 UTC 2019


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


More information about the freebsd-net mailing list