Re: [ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-15 Thread Jiri Slaby
On 15.3.2009 21:44, Nick Kossifidis wrote: >> Otherwise it looks good, thanks. > > Do you want me to resend or is it ok by you ? Oh, do not resend because of this, indeed. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/m

Re: [ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-15 Thread Nick Kossifidis
2009/3/15 Jiri Slaby : > On 15.3.2009 21:17, Nick Kossifidis wrote: >> >> +ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) >> +{ >> +       const static u16 intercepts3[] = >> +               { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; >> +       const static u16 intercep

Re: [ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-15 Thread Jiri Slaby
On 15.3.2009 21:17, Nick Kossifidis wrote: > +ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) > +{ > + const static u16 intercepts3[] = > + { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; > + const static u16 intercepts3_2[] = > + { 0, 10, 20,

[ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-15 Thread Nick Kossifidis
* Convert chip specific calibration data to a generic format common for all chips Note: We scale up power to be in 0.25dB units for all chips for compatibility with RF5112 v2: Address Bob's and Jiri's comments Signed-off-by: Nick Kossifidis --- drivers/net/wireless/ath5k/eeprom.c | 774

Re: [ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-10 Thread Nick Kossifidis
2009/3/10 Jiri Slaby : > On 10.3.2009 11:33, Nick Kossifidis wrote: >> >> --- a/drivers/net/wireless/ath5k/eeprom.c >> +++ b/drivers/net/wireless/ath5k/eeprom.c > > ... >> >> +static int >> +ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, >> +                               struct

Re: [ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-10 Thread Jiri Slaby
On 10.3.2009 11:33, Nick Kossifidis wrote: > --- a/drivers/net/wireless/ath5k/eeprom.c > +++ b/drivers/net/wireless/ath5k/eeprom.c ... > +static int > +ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, > + struct ath5k_chan_pcal_info *chinfo) > +{ > +

[ath5k-devel] [PATCH 2/3] ath5k: Convert chip specific calibration data to a generic format

2009-03-10 Thread Nick Kossifidis
* Convert chip specific calibration data to a generic format common for all chips Note: We scale up power to be in 0.25dB units for all chips for compatibility with RF5112 Signed-off-by: Nick Kossifidis --- drivers/net/wireless/ath5k/eeprom.c | 770 --- d