rtl8187: report mac80211 short preamble RX flag
authorAndrea Merello <andrea.merello@gmail.com>
Wed, 7 May 2014 15:51:43 +0000 (17:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2014 20:08:08 +0000 (16:08 -0400)
commit97bd8c79dae272829f5363e994639bca5ffd0263
tree1694f87516ec767813634054f33505a71f043e2e
parent552a515707a5caf9fa9f3620d68fc28146c6b1b9
rtl8187: report mac80211 short preamble RX flag

This patch make it possible to mac80211 to know whether a frame
has been received with short preamble.

It simply checks for the "splcp" flag in the RX status
descriptor, and eventually set RX_FLAG_SHORTPRE in mac80211
rx status structure.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187/dev.c