HomeFreeBSD

run(4): properly set F_DATAPAD radiotap flag if frame has padding between

Description

run(4): properly set F_DATAPAD radiotap flag if frame has padding between
frame header and data.

This will fix 'Mysterious OLPC stuff' for received frames and wrong
CCMP / TKIP / data decoding for transmitted frames in net/wireshark
dissector.

While here, drop unneeded comment - net80211 handles padding requirements
for Tx & Rx without driver adjustment.

Tested with D-Link DWA-140 rev B3, STA mode.

MFC after: 1 week

Details

Provenance
avosAuthored on
Parents
rS345753: run(4): do not clear PROTECTED bit if frame was not decrypted by NIC.
Branches
Unknown
Tags
Unknown