]> git.karo-electronics.de Git - mv-sheeva.git/commit
mac80211: Populate radiotap header with MCS info for TX frames
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 11 Oct 2011 16:08:55 +0000 (18:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:14 +0000 (14:48 -0400)
commit7f2a5e214d3f8daf1e9a5ad021c74528f970e673
treeb71cbcdae3d7226e771b44576f2ca49ac85c3b97
parenta2fe81667410723d941a688e1958a49d67ca3346
mac80211: Populate radiotap header with MCS info for TX frames

mac80211 already filled in the MCS rate info for rx'ed frames but tx'ed
frames that are sent to a monitor interface during the status callback
lack this information.

Add the radiotap fields for MCS info to ieee80211_tx_status_rtap_hdr
and populate them when sending tx'ed frames to the monitors.

The needed headroom is only extended by one byte since we don't include
legacy rate information in the rtap header for HT frames.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/status.c