Re: [OpenWrt-Devel] [PATCH RFC] Add support for Ubiquiti Unifi Outdoor Plus

2015-06-08 Thread Stefan Rompf
Hi Kirill, hi Arjen, thanks for your feedback. I'll create a new version of the patch with your updates and suggestions. I will also try to move the HSR tuner module into it's own subdirectory below package/kernel to minimize the mac80211 patch that Felix will have to maintain. > > I also tr

Re: [OpenWrt-Devel] [PATCH RFC] Add support for Ubiquiti Unifi Outdoor Plus

2015-06-08 Thread Arjen de Korte
Citeren Kirill Berezin : Hi Stefan, I have a couple of suggestions. First of all I think it will be better to initialize static variables in hsr_tune with zeroes : ++static void hsr_tune(struct ath_hw* ah, int bw, int fq) { ++ static int initialized = 0; ++ static int last_bw =

Re: [OpenWrt-Devel] [PATCH RFC] Add support for Ubiquiti Unifi Outdoor Plus

2015-06-08 Thread Kirill Berezin
Hi Stefan, I have a couple of suggestions. First of all I think it will be better to initialize static variables in hsr_tune with zeroes : > ++static void hsr_tune(struct ath_hw* ah, int bw, int fq) { > ++ static int initialized = 0; > ++ static int last_bw = 0, last_fq = 0; And I have an up

[OpenWrt-Devel] [PATCH RFC] Add support for Ubiquiti Unifi Outdoor Plus

2015-06-06 Thread Stefan Rompf
Hi, please review my patch to add support for the Ubiquiti Unifi Outdoor Plus access point based on the work of Kirill Berezin and me. The access point has a configurable RF filter in the receive path that must be tuned according to the selected Wifi channel. A patch to compat_wireless adds supp