Search Linux Wireless

Re: [RFC/RFT 14/15] rtlwifi: Modify files for addition of rtl8723ae

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/12/2012 10:11 PM, Julian Calaby wrote:
Hi Larry,

On Thu, Sep 13, 2012 at 6:54 AM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote:
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 <Larry.Finger@xxxxxxxxxxxx>
Cc: <chaoming_li@xxxxxxxxxxxxxx>
---
  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.h

diff --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



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux