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 _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"