HomeFreeBSD

net80211: replace internal LE_READ_*/LE_WRITE_* macro with system

Description

net80211: replace internal LE_READ_*/LE_WRITE_* macro with system
le*dec / le*enc functions.

Replace net80211 specific macros with system-wide bytestream
encoding/decoding functions:

  • LE_READ_2 -> le16dec
  • LE_READ_4 -> le32dec
  • LE_WRITE_2 -> le16enc
  • LE_WRITE_4 -> le32enc

+ drop ieee80211_input.h include, where it was included for these
operations only.

Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D6030

Details

Provenance
avosAuthored on
Reviewer
adrian
Differential Revision
D6030: net80211: replace internal LE_READ_*/LE_WRITE_* macro with system le*dec / le*enc
Parents
rS298358: Fix KGDB backtrace on ARM
Branches
Unknown
Tags
Unknown