android_kernel_xiaomi_sm8350/drivers/net/wireless/rt2x00
Gertjan van Wingerde a9f853ddd3 rt2x00: Rework alignment check.
Rework the alignment check in rt2x00dev.c to be independent of any
potential alignment measures that may be taken before. Just check
whether the payload is aligned based on the pointer addresses.

Note: This is preparatory for the dynamically mapped skb buffers
for the PCI drivers, as these need 4-byte alignment instead of the
currently enforced offset by 2 bytes.

Signed-off-by: Gertjan van Wingerde <gwingerde@kpnplanet.nl>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-14 12:17:59 -04:00
..
Kconfig rt2x00: Clarify supported chipsets in Kconfig 2008-05-07 15:02:27 -04:00
Makefile
rt2x00.h rt2x00: Centralize RX packet alignment handling in rt2x00lib. 2008-06-14 12:17:57 -04:00
rt2x00config.c rt2x00: Reset antenna RSSI after switch 2008-05-28 16:43:45 -04:00
rt2x00debug.c rt2x00: Cleanup struct skb_frame_desc. 2008-06-14 12:17:56 -04:00
rt2x00debug.h
rt2x00dev.c rt2x00: Rework alignment check. 2008-06-14 12:17:59 -04:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Move generic TX frame writing code into rt2x00queue 2008-06-14 12:17:56 -04:00
rt2x00mac.c rt2x00: Clear IEEE80211_TX_CTL_USE_RTS_CTS flag for RTS frame 2008-06-14 12:17:57 -04:00
rt2x00pci.c rt2x00: Centralize RX packet alignment handling in rt2x00lib. 2008-06-14 12:17:57 -04:00
rt2x00pci.h rt2x00: Move generic TX frame writing code into rt2x00queue 2008-06-14 12:17:56 -04:00
rt2x00queue.c rt2x00: Centralize RX packet alignment handling in rt2x00lib. 2008-06-14 12:17:57 -04:00
rt2x00queue.h rt2x00: Cleanup struct skb_frame_desc. 2008-06-14 12:17:56 -04:00
rt2x00reg.h rt2x00: Use __builtin_choose_expr() instead of ?: 2008-06-14 12:17:57 -04:00
rt2x00rfkill.c
rt2x00usb.c rt2x00: Fix double usage of skb->cb in USB RX path. 2008-06-14 12:17:57 -04:00
rt2x00usb.h rt2x00: Move generic TX frame writing code into rt2x00queue 2008-06-14 12:17:56 -04:00
rt61pci.c rt2x00: Cleanup struct skb_frame_desc. 2008-06-14 12:17:56 -04:00
rt61pci.h rt2x00: Remove unused defines 2008-06-14 12:17:58 -04:00
rt73usb.c rt2x00: Fix double usage of skb->cb in USB RX path. 2008-06-14 12:17:57 -04:00
rt73usb.h rt2x00: Remove unused defines 2008-06-14 12:17:58 -04:00
rt2400pci.c rt2x00: Cleanup struct skb_frame_desc. 2008-06-14 12:17:56 -04:00
rt2400pci.h rt2x00: Remove unused defines 2008-06-14 12:17:58 -04:00
rt2500pci.c rt2x00: Cleanup struct skb_frame_desc. 2008-06-14 12:17:56 -04:00
rt2500pci.h rt2x00: Remove unused defines 2008-06-14 12:17:58 -04:00
rt2500usb.c rt2x00: Fix double usage of skb->cb in USB RX path. 2008-06-14 12:17:57 -04:00
rt2500usb.h rt2x00: Remove unused defines 2008-06-14 12:17:58 -04:00