rtl8180: report mac80211 short preamble RX flag
authorAndrea Merello <andrea.merello@gmail.com>
Wed, 7 May 2014 15:52:16 +0000 (17:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2014 20:08:08 +0000 (16:08 -0400)
commite58342d9c8e2342688a804404c5636e32f1fa64e
tree1ad88d827e8b4a88b68ee6d20df35b0114bf529a
parent97bd8c79dae272829f5363e994639bca5ffd0263
rtl8180: 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/rtl8180/dev.c