mac80211: radiotap: assume modulation from rates
authorBruno Randolf <br1@einfach.org>
Wed, 30 Jul 2008 15:20:06 +0000 (17:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 20:29:50 +0000 (16:29 -0400)
commit9deb1ae572364a37d054d916c5bae858f91a3f9a
tree5ec264a7d19694940ae1da97a7aaca32d6499418
parentb4f28bbb9bf0b2c829ecf97ce2173f204fde4f10
mac80211: radiotap: assume modulation from rates

use the rates ERP flag to derive CCK or OFDM modulation for the radiotap
header.

(it might be more correct to get this information from the hardware itself, but it
seems safe to assume this in most practical cases.)

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c