]> asedeno.scripts.mit.edu Git - linux.git/commit
rtlwifi: rtl8821ae: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 20 May 2019 17:23:58 +0000 (12:23 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:34:59 +0000 (15:34 +0300)
commitbd421dab75151eaeea83a5145108bfacd0e1613a
tree19770d88bdc8d7b661e970f460bcd0859e027fd8
parentf5678bfe1cdc0a2b51c0ebd3adf1ac1b57aa5f64
rtlwifi: rtl8821ae: Convert macros that set descriptor

As a first step in the conversion, the macros that set the RX and TX
descriptors are converted to static inline routines, and the names are
changed from upper to lower case. To minimize the changes in a given
step, the input descriptor information is left as as a byte array
(u8 *), even though it should be a little-endian word array (__le32 *).
That will be changed later.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h