On Wed, Jan 14, 2009 at 6:30 PM, Johannes Berg
<[email protected]> wrote:
> On Wed, 2009-01-14 at 15:59 +0800, YanBo wrote:
>> Add the tx gain table
>>
>> Signed-off-by: Li YanBo <[email protected]>
>> ---
>> drivers/net/wireless/b43/tables_nphy.c | 110
>> ++++++++++++++++++++++++++++++++
>> drivers/net/wireless/b43/tables_nphy.h | 3 +-
>> 2 files changed, 112 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/net/wireless/b43/tables_nphy.c
>> b/drivers/net/wireless/b43/tables_nphy.c
>> index 4e23363..a6e3d2b 100644
>> --- a/drivers/net/wireless/b43/tables_nphy.c
>> +++ b/drivers/net/wireless/b43/tables_nphy.c
>> @@ -27,6 +27,116 @@
>> #include "phy_common.h"
>> #include "phy_n.h"
>>
>> +const u32 b43_ntab_txgain[][B43_NPHY_TXGAIN] = {
>
>> + }, /* rev <= 2 */
>> + {
>
> I think you should give these different names, rather than sub-indexing
> in that array.
>
Yes, they has been assigned difference names. like below
+enum b43_nphy_txgain_type {
+ REV_LE2 = 0, /* rev <= 2 */
+ REV_GE3_2G, /* rev >= 3 (2.4 GHz) */
+ REV_E3_5G, /* rev 3 (5 GHz) */
+ REV_GE4_5G, /* rev >= 4 (5 GHz) */
+};
But above code was split into patch 4/7 by my mistake.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev