linux/drivers/net
Yogesh Ashok Powar 21bc7af6e5 mwifiex: correct event header length
While decoding received event packet from firmware, 4 bytes
of interface header are already removed unconditionally.
So for handling event only 4 more bytes needs to be pulled.
This is achieved by changing event header length to 4.

Almost all the events, except BA stream related and AMSDU
aggregation control events, do not have the payload in their
event skb. Such events handling depends only on the event ID.
This event ID is the first four bytes of the event skb, which
is copied to a separate variable before pulling the skb header.
Hence event handling worked only for those events that didn't
have payload in event skb.

This patch fixes the broken event path of the events with
payload in their event skb without harming existing working
event path for the events without payload.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-05-26 15:43:27 -04:00
..
appletalk appletalk: remove the BKL 2011-03-05 10:55:57 +01:00
arcnet
arm
atl1c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-03-18 10:37:40 -07:00
atl1e
atlx Atheros, atl2: Fix mem leaks in error paths of atl2_set_eeprom 2011-03-30 02:42:25 -07:00
benet be2net: Bump up the version number 2011-03-16 11:29:47 -07:00
bna
bnx2x Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2011-03-17 17:54:40 -07:00
bonding bonding:typo in comment 2011-03-31 01:54:22 -07:00
caif net: change to new flag variable 2011-03-17 14:05:35 +01:00
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-29 07:41:33 -07:00
chelsio
cris
cxgb3 cxgb3: Apply interrupt coalescing settings to all queues 2011-03-28 22:26:33 -07:00
cxgb4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-03-16 16:29:25 -07:00
cxgb4vf
e1000 e1000: fix sparse warning 2011-03-02 03:20:56 -08:00
e1000e Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-03-16 16:29:25 -07:00
ehea
enic enic: Support newer version of firmware devcmd CMD_MCPU_FW_INFO 2011-03-14 14:49:29 -07:00
fs_enet
hamradio
ibm_newemac
igb igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
igbvf Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
irda via-ircc: Pass PCI device pointer to dma_{alloc, free}_coherent() 2011-03-30 00:12:33 -07:00
ixgb ixgb: convert to new VLAN model 2011-03-11 01:16:23 -08:00
ixgbe ixgbe: DCB, PFC not cleared until reset occurs 2011-03-12 04:15:35 -08:00
ixgbevf ixgbe: correct typo in define name 2011-03-12 04:14:28 -08:00
ixp2000
mlx4 mlx4: fix kfree on error path in new_steering_entry() 2011-04-03 22:04:01 -07:00
myri10ge myri10ge: small rx_done refactoring 2011-03-27 23:35:03 -07:00
netxen net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
octeon
pch_gbe net: fix pch_gbe section mismatch warning 2011-03-24 16:16:02 -07:00
pcmcia
phy phylib: phy_attach_direct: phy_init_hw can fail, add cleanup 2011-03-30 02:31:36 -07:00
qlcnic net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
qlge
sfc sfc: Siena: Disable write-combining when SR-IOV is enabled 2011-03-23 01:35:15 +00:00
skfp net: change to new flag variable 2011-03-17 14:05:35 +01:00
stmmac
tile tile on-chip network driver: sync up with latest fixes 2011-03-10 13:18:12 -05:00
tokenring
tulip
usb usbnet: use eth%d name for known ethernet devices 2011-04-01 20:12:02 -07:00
vmxnet3 net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
vxge net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
wan Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:14:55 -07:00
wimax
wireless mwifiex: correct event header length 2011-05-26 15:43:27 -04:00
xen-netback xen network backend driver 2011-03-15 19:38:03 -07:00
3c59x.c
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c drivers/net/a2065.c: Convert release_resource to release_region/release_mem_region 2011-03-23 14:10:37 -07:00
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c drivers/net/ariadne.c: Convert release_resource to release_region/release_mem_region 2011-03-23 14:10:36 -07:00
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c netdev: bfin_mac: document TE setting in RMII modes 2011-03-28 22:26:34 -07:00
bfin_mac.h
bmac.c
bmac.h
bnx2.c drivers net: Fix declaration ordering in inline functions. 2011-03-28 22:26:34 -07:00
bnx2.h bnx2: Update firmware and version 2011-03-14 15:00:12 -07:00
bnx2_fw.h
bsd_comp.c
cassini.c
cassini.h
cnic.c ipv6: Convert to use flowi6 where applicable. 2011-03-12 15:08:54 -08:00
cnic.h
cnic_defs.h
cnic_if.h
cpmac.c
cs89x0.c CS89x0: Add networking support for QQ2440 2011-03-14 16:49:28 -07:00
cs89x0.h
davinci_cpdma.c net: davinci_emac:Fix translation logic for buffer descriptor 2011-03-22 19:25:05 -07:00
davinci_cpdma.h net: davinci_emac:Fix translation logic for buffer descriptor 2011-03-22 19:25:05 -07:00
davinci_emac.c net: davinci_emac:Fix translation logic for buffer descriptor 2011-03-22 19:25:05 -07:00
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60.c
enc28j60_hw.h
epic100.c
eql.c eql: Convert printks to pr_<level> and netdev_<level> 2011-03-03 13:30:20 -08:00
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
fec.h
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled 2011-03-14 14:22:01 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftmac100.c ftmac100: use resource_size() 2011-03-18 21:53:03 -07:00
ftmac100.h net: add Faraday FTMAC100 10/100 Ethernet driver 2011-03-03 12:19:11 -08:00
gianfar.c gianfar: Fall back to software tcp/udp checksum on older controllers 2011-03-18 15:12:14 -07:00
gianfar.h gianfar: Fall back to software tcp/udp checksum on older controllers 2011-03-18 15:12:14 -07:00
gianfar_ethtool.c
gianfar_sysfs.c
greth.c
greth.h
hamachi.c
hp-plus.c
hp.c
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
iseries_veth.c
jazzsonic.c
jme.c Net / jme: Do not use legacy PCI power management 2011-03-27 23:35:04 -07:00
jme.h
Kconfig e1000e: fix kconfig for crc32 dependency 2011-03-16 11:14:38 -07:00
korina.c
ks8842.c mfd: mfd_cell is now implicitly available to timberdale drivers 2011-03-23 10:41:52 +01:00
ks8851.c
ks8851.h
ks8851_mll.c
ksz884x.c net: use CHECKSUM_NONE instead of magic number 2011-03-27 23:35:05 -07:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
ll_temac.h
ll_temac_main.c
ll_temac_mdio.c
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c macvlan: Fix use after free of struct macvlan_port. 2011-03-21 18:22:22 -07:00
macvtap.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-10 14:26:00 -08:00
Makefile xen network backend driver 2011-03-15 19:38:03 -07:00
mdio.c
meth.c
meth.h
mii.c mii: Convert printks to netdev_info 2011-03-03 13:02:32 -08:00
mipsnet.c
mv643xx_eth.c mv643xx_eth: Use netdev_<level> and pr_<level> 2011-03-03 13:02:31 -08:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c niu: Rename NIU parent platform device name to fix conflict. 2011-03-19 23:06:33 -07:00
niu.h
ns83820.c
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
ppp_deflate.c zlib: slim down zlib_deflate() workspace when possible 2011-03-22 17:44:17 -07:00
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c ipv4: Create and use route lookup helpers. 2011-03-12 15:08:42 -08:00
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c
qla3xxx.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-03-18 10:37:40 -07:00
qla3xxx.h
r6040.c r6040: bump to version 0.27 and date 23Feb2011 2011-03-08 14:21:50 -08:00
r8169.c r8169: fix a bug in rtl8169_init_phy() 2011-03-20 17:33:19 -07:00
rionet.c rapidio: modify subsystem and driver initialization sequence 2011-03-23 19:46:42 -07:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c net: sh_eth: add set_mdio_gate in bb_info 2011-03-14 14:10:16 -07:00
sh_eth.h net: sh_eth: modify the PHY_INTERFACE_MODE 2011-03-14 14:10:15 -07:00
sis190.c
sis900.c
sis900.h
skge.c
skge.h
sky2.c drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled 2011-03-14 14:22:01 -07:00
sky2.h
slhc.c
slip.c
slip.h
smc-mca.c
smc-ultra.c
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c smsc911x: Fix build error when SMSC_TRACE() used 2011-03-15 14:52:48 -07:00
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net.c
spider_net.h
spider_net_ethtool.c
starfire.c starfire: clean up dma_addr_t size test 2011-04-01 20:10:08 -07:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem.c
sungem.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-03-18 10:37:40 -07:00
sungem_phy.c
sungem_phy.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c
tehuti.h
tg3.c tg3: Fix inline keyword usage 2011-03-27 23:35:06 -07:00
tg3.h
tlan.c tlan: Use pr_fmt, pr_<level> and netdev_<level> 2011-03-03 13:02:31 -08:00
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c tun: Convert logging messages to pr_<level> and tun_debug 2011-03-03 12:21:14 -08:00
typhoon.c
typhoon.h
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
veth.c veth: Fix the byte counters 2011-03-21 18:24:53 -07:00
via-rhine.c
via-velocity.c
via-velocity.h
virtio_net.c
wd.c
xen-netfront.c xen network backend driver 2011-03-15 19:38:03 -07:00
xilinx_emaclite.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c