android_kernel_xiaomi_sm8350/drivers/net/wireless/hostap
Jouni Malinen 5bee720fd7 [PATCH] hostap: Fix skb->cb use for TX meta data
Old AP mode code for power saving was using skb->cb for couple of
flags before the more generic 802.11 TX code started using the same
buffer for struct hostap_skb_tx_data. This resulted in the power save
code corrupting the magic value in beginning of the buffer and TX code
dropping the power saved packets because of this for the case where
STAs send PS-Poll frames with PwrMgmt flag set.

This patch modifies the power save code to use the same struct
hostap_skb_tx_data as rest of the TX path in order to avoid corrupting
the data in skb->cb.

In addition, this patch reorders fields in the structure and makes
them use smaller types in order to make the structure fit in skb->cb
on 64-bit hosts.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-08-14 23:06:26 -04:00
..
hostap_80211_rx.c [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00
hostap_80211_tx.c [PATCH] hostap: Fix skb->cb use for TX meta data 2005-08-14 23:06:26 -04:00
hostap_80211.h [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00
hostap_ap.c [PATCH] hostap: Fix skb->cb use for TX meta data 2005-08-14 23:06:26 -04:00
hostap_ap.h [PATCH] hostap: Fix skb->cb use for TX meta data 2005-08-14 23:06:26 -04:00
hostap_common.h [PATCH] hostap: Start using net/ieee80211.h 2005-07-31 00:28:02 -04:00
hostap_config.h [PATCH] hostap update 2005-07-30 18:17:22 -04:00
hostap_cs.c [PATCH] hostap update 2005-08-11 00:14:47 -04:00
hostap_download.c Add HostAP wireless driver. 2005-05-12 22:54:16 -04:00
hostap_hw.c [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00
hostap_info.c [PATCH] hostap update 2005-07-30 18:17:23 -04:00
hostap_ioctl.c [wireless hostap] trim trailing whitespace 2005-07-31 13:08:32 -04:00
hostap_pci.c [PATCH] hostap update 2005-07-30 18:17:22 -04:00
hostap_plx.c [PATCH] hostap update 2005-07-30 18:17:22 -04:00
hostap_proc.c [PATCH] hostap update 2005-07-30 18:17:23 -04:00
hostap_wlan.h [PATCH] hostap: Fix skb->cb use for TX meta data 2005-08-14 23:06:26 -04:00
hostap.c [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00
hostap.h Add HostAP wireless driver. 2005-05-12 22:54:16 -04:00
Kconfig [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00
Makefile [PATCH] hostap: Replace crypto code with net/ieee80211 version 2005-07-31 00:28:02 -04:00