linux/net/mac80211
Helmut Schaa 08ca944eb2 mac80211: Minor optimization in ieee80211_rx_h_data
Remove a superfluous ieee80211_is_data check as that was checked a few
lines before already and we wont't get here for non-data frames at all.

Second, the frame was already converted to 802.3 header format and
reading the fc and addr1 fields was only possible because the 802.3
header is short enough and didn't overwrite the relevant parts of the
802.11 header. Make the code more obvious by checking the ethernet
header's h_dest field.

Furthermore reorder the conditions to reduce the number of checks
when dynamic powersave is not needed (AP mode for example).

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-11-30 13:58:07 -05:00
..
Kconfig Revert "nl80211/mac80211: Report signal average" 2010-11-24 16:18:36 -05:00
Makefile
aes_ccm.c mac80211: Remove redundant checks for NULL before calls to crypto_free_cipher() 2010-11-15 13:26:11 -05:00
aes_ccm.h
aes_cmac.c mac80211: Remove redundant checks for NULL before calls to crypto_free_cipher() 2010-11-15 13:26:11 -05:00
aes_cmac.h
agg-rx.c mac80211: fix RX aggregation locking 2010-11-29 15:30:30 -05:00
agg-tx.c mac80211: avoid transmitting delBA to old AP 2010-10-06 16:30:40 -04:00
cfg.c mac80211: implement off-channel mgmt TX 2010-11-29 15:24:35 -05:00
cfg.h
chan.c
debugfs.c mac80211: refactor debugfs function generation code 2010-11-15 13:24:48 -05:00
debugfs.h mac80211: refactor debugfs function generation code 2010-11-15 13:24:48 -05:00
debugfs_key.c mac80211: refactor debugfs function generation code 2010-11-15 13:24:48 -05:00
debugfs_key.h
debugfs_netdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
debugfs_netdev.h
debugfs_sta.c mac80211: fix RX aggregation locking 2010-11-29 15:30:30 -05:00
debugfs_sta.h
driver-ops.h mac80211: Add antenna configuration 2010-11-16 16:37:05 -05:00
driver-trace.c
driver-trace.h mac80211: Add antenna configuration 2010-11-16 16:37:05 -05:00
event.c
ht.c mac80211: fix SMPS request 2010-10-13 15:45:23 -04:00
ibss.c cfg80211/mac80211: improve ad-hoc multicast rate handling 2010-11-24 16:19:35 -05:00
ieee80211_i.h mac80211: implement off-channel mgmt TX 2010-11-29 15:24:35 -05:00
iface.c mac80211: unset SDATA_STATE_OFFCHANNEL when cancelling a scan 2010-11-08 16:53:47 -05:00
key.c mac80211: Disable hw crypto for GTKs on AP VLAN interfaces 2010-11-22 15:48:51 -05:00
key.h cfg80211/mac80211: allow per-station GTKs 2010-10-06 16:30:40 -04:00
led.c
led.h
main.c mac80211: Fix scan_ies_len to include DS Params 2010-10-27 15:46:51 -04:00
mesh.c
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c mac80211: fix possible null-pointer de-reference 2010-10-11 15:04:20 -04:00
michael.c
michael.h
mlme.c mac80211: reduce the number of retries for nullfunc probing 2010-11-24 16:19:35 -05:00
offchannel.c mac80211: disable beacon monitor while going offchannel 2010-09-16 15:46:17 -04:00
pm.c mac80211: assure we also cancel deferred scan request 2010-10-06 16:30:42 -04:00
rate.c cfg80211/mac80211: improve ad-hoc multicast rate handling 2010-11-24 16:19:35 -05:00
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
rc80211_minstrel_ht.c mac80211: avoid aggregation for VO traffic 2010-11-24 16:19:36 -05:00
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
rx.c mac80211: Minor optimization in ieee80211_rx_h_data 2010-11-30 13:58:07 -05:00
scan.c mac80211: fix sw scan locking 2010-10-07 14:41:27 -04:00
spectmgmt.c
sta_info.c Revert "nl80211/mac80211: Report signal average" 2010-11-24 16:18:36 -05:00
sta_info.h mac80211: fix RX aggregation locking 2010-11-29 15:30:30 -05:00
status.c mac80211: implement off-channel mgmt TX 2010-11-29 15:24:35 -05:00
tkip.c
tkip.h
tx.c mac80211: add support for setting the ad-hoc multicast rate 2010-11-16 16:39:08 -05:00
util.c mac80211: fix powersaving clients races 2010-11-17 16:19:33 -05:00
wep.c mac80211: don't kmalloc 16 bytes 2010-10-11 15:04:23 -04:00
wep.h
wme.c mac80211: defines for AC numbers 2010-11-17 16:19:31 -05:00
wme.h
work.c mac80211: implement off-channel mgmt TX 2010-11-29 15:24:35 -05:00
wpa.c mac80211: move packet flags into packet 2010-09-27 15:57:54 -04:00
wpa.h