linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg 5cddd05c9c iwlwifi: mvm: fix RX SKB header size and align it properly
When receiving a frame, we currently pull in sizeof(*hdr) plus
some extra (crypto/snap), which is too much, most headers aren't
actually sizeof(*hdr) since that takes into account the 4-address
format but doesn't take into account QoS. As a result, a typical
frame will have 4 bytes of the payload in the SKB header already.

Fix this by calculating the correct header length, and now that
we have that, align the end of the SKB header to a multiple of 4
so that the IP header will be aligned properly when pulled in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-04-11 14:54:33 +03:00
..
dvm iwlwifi: dvm: don't call << operator with a negative value 2017-02-08 17:54:20 +02:00
mvm iwlwifi: mvm: fix RX SKB header size and align it properly 2017-04-11 14:54:33 +03:00
pcie iwlwifi: remove support for deprecated RF 2017-04-11 14:54:31 +03:00
iwl-1000.c
iwl-2000.c
iwl-5000.c
iwl-6000.c iwlwifi: fix MODULE_FIRMWARE for 6030 2017-01-26 09:38:58 +02:00
iwl-7000.c iwlwifi: mvm: bump max API to 30 2017-04-11 14:54:32 +03:00
iwl-8000.c iwlwifi: mvm: bump max API to 30 2017-04-11 14:54:32 +03:00
iwl-9000.c iwlwifi: mvm: bump max API to 30 2017-04-11 14:54:32 +03:00
iwl-a000.c iwlwifi: mvm: bump max API to 30 2017-04-11 14:54:32 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: remove support for deprecated RF 2017-04-11 14:54:31 +03:00
iwl-csr.h iwlwifi: remove support for deprecated RF 2017-04-11 14:54:31 +03:00
iwl-debug.c
iwl-debug.h iwlwifi: add missing type declaration 2016-07-12 14:51:57 +03:00
iwl-devtrace-data.h
iwl-devtrace-io.h iwlwifi: centralize 64 bit HW registers write 2016-07-06 10:22:08 +03:00
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c iwlwifi: don't export trace points that are used in iwlwifi only 2016-09-19 10:09:41 +03:00
iwl-devtrace.h iwlwifi: tracing: decouple from mac80211 2016-07-06 10:08:56 +03:00
iwl-drv.c iwlwifi: be more verbose about needed firmware 2017-04-11 14:54:30 +03:00
iwl-drv.h iwlwifi: remove unnecessary argument to iwl_drv_start() 2017-02-06 19:19:25 +02:00
iwl-eeprom-parse.c
iwl-eeprom-parse.h iwlwifi: decouple PCIe transport from mac80211 2016-07-06 10:09:56 +03:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h iwlwifi: change byte count table for a000 devices 2016-09-16 09:10:22 +03:00
iwl-fw-error-dump.h
iwl-fw-file.h iwlwifi: mvm: support new binding API 2017-04-11 13:09:11 +03:00
iwl-fw.h iwlwifi: enlarge number of ucode sections 2017-01-26 09:38:57 +02:00
iwl-io.c iwlwifi: fix semicolon.cocci warnings 2016-09-15 19:32:59 +03:00
iwl-io.h iwlwifi: centralize 64 bit HW registers write 2016-07-06 10:22:08 +03:00
iwl-modparams.h iwlwifi: decouple PCIe transport from mac80211 2016-07-06 10:09:56 +03:00
iwl-notif-wait.c iwlwifi: move to wide ID for all commands 2016-09-19 10:09:39 +03:00
iwl-notif-wait.h
iwl-nvm-parse.c iwlwifi: move BIOS MCC retrieval to common code 2016-09-19 10:09:37 +03:00
iwl-nvm-parse.h iwlwifi: move BIOS MCC retrieval to common code 2016-09-19 10:09:37 +03:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: set HCMD_NAME for PHY_DB as well 2016-09-19 11:29:33 +03:00
iwl-phy-db.h
iwl-prph.h iwlwifi: pcie: remove dead code 2016-08-30 14:16:43 +03:00
iwl-scd.h
iwl-trans.c iwlwifi: migrate to devm_* API 2016-09-19 10:09:42 +03:00
iwl-trans.h iwlwifi: move to wide ID for all commands 2016-09-19 10:09:39 +03:00
Kconfig iwlwifi: make RTPM depend on EXPERT 2017-02-08 17:54:20 +02:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00