Hi, ALL, -----Original Message----- >From: Larry Finger <Larry.Finger@xxxxxxxxxxxx> >Sent: Dec 7, 2010 11:19 AM >To: Hauke Mehrtens <hauke@xxxxxxxxxx> >Cc: linux-wireless@xxxxxxxxxxxxxxx, b43-dev@xxxxxxxxxxxxxxxxxxx >Subject: Re: [PATCH 1/4] b43: N-PHY: update init tables > >On 12/07/2010 01:08 PM, Hauke Mehrtens wrote: >> On 12/07/2010 09:42 AM, RafaÅ MiÅecki wrote: >>> Signed-off-by: RafaÅ MiÅecki <zajec5@xxxxxxxxx> >>> --- >>> drivers/net/wireless/b43/tables_nphy.c | 212 ++++++++++++++++---------------- >>> 1 files changed, 106 insertions(+), 106 deletions(-) >>> >>> diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c >>> index d60db07..46f0a7a 100644 >>> --- a/drivers/net/wireless/b43/tables_nphy.c >>> +++ b/drivers/net/wireless/b43/tables_nphy.c >>> @@ -28,41 +28,41 @@ >>> #include "phy_n.h" >>> >>> static const u8 b43_ntab_adjustpower0[] = { >>> - 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, >>> - 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, >>> - 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, >>> - 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, >>> - 0x08, 0x08, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09, >>> - 0x0A, 0x0A, 0x0A, 0x0A, 0x0B, 0x0B, 0x0B, 0x0B, >>> - 0x0C, 0x0C, 0x0C, 0x0C, 0x0D, 0x0D, 0x0D, 0x0D, >>> - 0x0E, 0x0E, 0x0E, 0x0E, 0x0F, 0x0F, 0x0F, 0x0F, >>> - 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, >>> - 0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13, >>> - 0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15, >>> - 0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17, >>> - 0x18, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19, >>> - 0x1A, 0x1A, 0x1A, 0x1A, 0x1B, 0x1B, 0x1B, 0x1B, >>> - 0x1C, 0x1C, 0x1C, 0x1C, 0x1D, 0x1D, 0x1D, 0x1D, >>> - 0x1E, 0x1E, 0x1E, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> }; >> Why do you have this table when it only contains 0x00? If it is correct >> there will be a better way to define such a table. >> >>> >>> static const u8 b43_ntab_adjustpower1[] = { >>> - 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, >>> - 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, >>> - 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, >>> - 0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07, >>> - 0x08, 0x08, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09, >>> - 0x0A, 0x0A, 0x0A, 0x0A, 0x0B, 0x0B, 0x0B, 0x0B, >>> - 0x0C, 0x0C, 0x0C, 0x0C, 0x0D, 0x0D, 0x0D, 0x0D, >>> - 0x0E, 0x0E, 0x0E, 0x0E, 0x0F, 0x0F, 0x0F, 0x0F, >>> - 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11, >>> - 0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13, >>> - 0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15, >>> - 0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17, >>> - 0x18, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19, >>> - 0x1A, 0x1A, 0x1A, 0x1A, 0x1B, 0x1B, 0x1B, 0x1B, >>> - 0x1C, 0x1C, 0x1C, 0x1C, 0x1D, 0x1D, 0x1D, 0x1D, >>> - 0x1E, 0x1E, 0x1E, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, >>> }; >> Same here. > >One reason is that these tables changed from non-zero to zero values between >Broadcom driver 4.174.64.19 and 5.10.56.46. As they might change again, I think >we should retain the full version. Is there a way to check for version of the driver? This way whoever uses old one won't be screwed... Thank you. > >Larry > > > >_______________________________________________ >b43-dev mailing list >b43-dev@xxxxxxxxxxxxxxxxxxx >http://lists.infradead.org/mailman/listinfo/b43-dev -- 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