lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <505170C6.8090003@lwfinger.net>
Date:	Thu, 13 Sep 2012 00:36:06 -0500
From:	Larry Finger <Larry.Finger@...inger.net>
To:	Julian Calaby <julian.calaby@...il.com>
CC:	linville@...driver.com, linux-wireless@...r.kernel.org,
	netdev@...r.kernel.org, chaoming_li@...lsil.com.cn
Subject: Re: [RFC/RFT 14/15] rtlwifi: Modify files for addition of rtl8723ae

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@...inger.net> 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@...inger.net>
>> Cc: <chaoming_li@...lsil.com.cn>
>> ---
>>   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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ