HomeFreeBSD

rtwn: replace hardcoded rate indices with their names (similar to r289758).

Description

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

Details

Provenance
avosAuthored on May 26 2016, 2:17 PM
Parents
rG09a113491c5e: Make code compile when basename() is POSIX compliant.
Branches
Unknown
Tags
Unknown

Event Timeline