Re: [RFC/RFT 14/15] rtlwifi: Modify files for addition of rtl8723ae
From: Larry Finger <hidden>
Date: 2012-09-13 05:36:10
Also in:
linux-wireless
On 09/12/2012 10:11 PM, Julian Calaby wrote:
Hi Larry, On Thu, Sep 13, 2012 at 6:54 AM, Larry Finger [off-list ref] wrote:quoted
This patch modifies the files of rtlwifi for the addition of a new driver to handle the Realtek RTL8723AE wireless device, and introduces a new routine to maintaim statistics that will be used later for roaming. Signed-off-by: Larry Finger <redacted> Cc: <redacted> --- drivers/net/wireless/rtlwifi/debug.h | 2 + drivers/net/wireless/rtlwifi/pci.h | 1 + drivers/net/wireless/rtlwifi/stats.c | 274 ++++++++++++++++++++++++++++++++++ drivers/net/wireless/rtlwifi/stats.h | 47 ++++++ 4 files changed, 324 insertions(+) create mode 100644 drivers/net/wireless/rtlwifi/stats.c create mode 100644 drivers/net/wireless/rtlwifi/stats.hdiff --git a/drivers/net/wireless/rtlwifi/debug.h b/drivers/net/wireless/rtlwifi/debug.h index 07493d2..b81e299 100644 --- a/drivers/net/wireless/rtlwifi/debug.h +++ b/drivers/net/wireless/rtlwifi/debug.h@@ -106,6 +106,8 @@ #define COMP_REGD BIT(27) #define COMP_CHAN BIT(28) #define COMP_USB BIT(29) +#define COMP_EASY_CONCURRENT BIT(29)Is this supposed to be bit #29 - I notice that COMP_USB is also bit 29.
Yes, that is OK. One will only be used for PCI-based drivers, and the other is obviously for USB. As nearly all the bits of a 32-bit quantity are used, I wanted to save one if possible. In the final version, I'll code this as #define COMP_USB BIT(29) #define COMP_EASY_CONCURRENT COMP_USB That way will be more obvious. Larry