]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Set IEEE80211_TXPD_REQ_TX_STATUS for all TX frames
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 13 May 2008 13:03:02 +0000 (15:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 May 2008 20:29:49 +0000 (16:29 -0400)
commite1761ca949daee8dd061740426081b8433cc288d
treebb6934e572c540f55ac50c7b62cef4eac8ad6456
parenta984296763fbb0ed53f7feffbddf66da1e292e2c
mac80211: Set IEEE80211_TXPD_REQ_TX_STATUS for all TX frames

All interfaces should set the IEEE80211_TXPD_REQ_TX_STATUS flag for all TX frames
which will force the master interface to set the IEEE80211_TX_CTL_REQ_TX_STATUS
flag. This in turn will allow drivers to check for that flag before reporting
the TX status to mac80211.

This is very usefull when frames (like beacons, RTS and CTS-to-self) should not
be reported back to mac80211. Later we could add more extensive checks to
exclude more frames from being reported, or let mac80211 decide if it wants
the frame for status reporting or not.

v2: Monitor interfaces should also set IEEE80211_TXPD_REQ_TX_STATUS

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c