Re: [OpenWrt-Devel] [PATCH 2/2] mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

2012-11-13 Thread Daniel Golle
Hi Serge, thanks for the review and the patience :) I'll fix that inverted if ... then ... else block and maybe also rename xtal20 in rt2x00_platform_data to be clk_is_20mhz, as that would be more consistent (ath9k_platform_data which got a clk_is_25mhz flag for a similar purpose). Cheers

Re: [OpenWrt-Devel] [PATCH 2/2] mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

2012-11-13 Thread Gabor Juhos
2012.11.13. 11:05 keltezéssel, Daniel Golle írta: Hi Serge, thanks for the review and the patience :) I'll fix that inverted if ... then ... else block and maybe also rename xtal20 in rt2x00_platform_data to be clk_is_20mhz, as that would be more consistent (ath9k_platform_data which got a

[OpenWrt-Devel] [PATCH 2/2] mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

2012-11-12 Thread Daniel Golle
Check if Xtal=20MHz is selected in SYSCFG0 reg and make that information available to rt2x00 via platform_data. Signed-off-by: Daniel Golle dgo...@allnet.de create mode 100644 package/mac80211/patches/623-rt2x00-rf_vals-rt3352-xtal20.patch diff --git

Re: [OpenWrt-Devel] [PATCH 2/2] mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

2012-11-12 Thread Сергей Василюгин
Hi Looks good but something wrong with if-logic (see below) 13.11.2012, 01:15, Daniel Golle dgo...@allnet.de: Check if Xtal=20MHz is selected in SYSCFG0 reg and make that information available to rt2x00 via platform_data. Signed-off-by: Daniel Golle dgo...@allnet.de  create mode 100644