freebsd-dev/sys/dev/rtwn
Andriy Voskoboinyk 354df9d4eb rtwn: replace hardcoded rate indices with their names (similar to r289758).
- Use macros to define rate indices; don't hardcode them in code.
- Add method for 'rate' -> 'rate index' conversion
(and array for the opposite).
- Determine if rate is CCK / OFDM via appropriate macro.

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D4837
2016-05-26 14:17:57 +00:00
..
if_rtwn.c rtwn: replace hardcoded rate indices with their names (similar to r289758). 2016-05-26 14:17:57 +00:00
if_rtwnreg.h rtwn: replace hardcoded rate indices with their names (similar to r289758). 2016-05-26 14:17:57 +00:00