commit | eaf55530c94cb7adcd320c28ed6c7d463c9a3727 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Thu Mar 11 16:28:24 2010 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Mar 15 15:31:59 2010 -0400 |
tree | 0071ca8d20a17233cced7448f46b4888d6555b51 | |
parent | 819cf15e7cde0a1b0fa4f831478f792434f55679 [diff] |
mac80211: optimize tx status processing When a cooked monitor interface is active, ieee80211_tx_status() generates a radiotap header for every single frame, even if it wasn't injected and thus won't be sent to a monitor interface. This patch reduces cpu utilization by moving the cooked monitor check a bit earlier, before it generates the rtap header. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>