[OpenWrt-Devel] listening 80211 n beacons on netgear router

2011-12-02 Thread abhinav narain
hi, I have been running Openwrt router (netgear). I have used the command : iw phy phy1 set channel 40 ht40+/ht40-/ht20 But I have not been able to hear n beacons. Is it that tcpdump can't decipher n beacons ? I went through code and saw PRINT_HT_RATES and ieee80211_htrates[] are defined. Though

Re: [OpenWrt-Devel] netfilter -j QUEUE fails with nf_queue: error creating packet message

2011-12-02 Thread Anders Eriksson
Hi,, Nope. No answers. I've since upgraded to openwrt trunk (kernel 3.0.3) and now it works. I had to add the xt_NFQUEUE.ko module manually, but other than that, it works. I got my automatic WoL working now and I should really publish the code somewhere... -A On 12/01/11 17:34, Pali Singh wrote

[OpenWrt-Devel] including a file from another directory

2011-12-02 Thread mohammad baba
Hi, I work with mac80211 package, and for my work I need to include * build_dir/linux-ar71xx_generic/compat-wireless-2011-10-05/net/wireless/nl80211.h * into * build_dir/linux-ar71xx_generic/compat-wireless-2011-10-05/net/mac80211/status.c *I wonder if I can include it like: #include "nl80211.h" or

Re: [OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-02 Thread Cezary Jackiewicz
Dnia 2011-12-02, o godz. 19:34:14 Roman Yeryomin napisał(a): > On 2 December 2011 19:17, Cezary Jackiewicz > wrote: > > Support for Belkin F5D8235-4 v1 (RT288x) > > works: > > - switch > > - buttons > > - some leds > > > > does not work: > > - USB (not supported by RT288XX) > > - WLAN > > > >

[OpenWrt-Devel] [PATCH] php5: add mod-zip

2011-12-02 Thread Cezary Jackiewicz
[PATCH] php5: add mod-zip Signed-off-by: Cezary Jackiewicz --- Index: feeds/packages/lang/php5/Makefile === --- feeds/packages/lang/php5/Makefile (wersja 29397) +++ feeds/packages/lang/php5/Makefile (kopia robocza) @@ -9,7 +9,7

Re: [OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-02 Thread Cezary Jackiewicz
Dnia 2011-12-02, o godz. 19:34:14 Roman Yeryomin napisał(a): > On 2 December 2011 19:17, Cezary Jackiewicz > wrote: > > Support for Belkin F5D8235-4 v1 (RT288x) > > works: > > - switch > > - buttons > > - some leds > > > > does not work: > > - USB (not supported by RT288XX) > > - WLAN > > > >

Re: [OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-02 Thread Roman Yeryomin
On 2 December 2011 19:17, Cezary Jackiewicz wrote: > Support for Belkin F5D8235-4 v1 (RT288x) > works: > - switch > - buttons > - some leds > > does not work: > - USB (not supported by RT288XX) > - WLAN > I would think that wifi should work because it works on Asus RT-N15. Are you sure you've ena

[OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-02 Thread Cezary Jackiewicz
Support for Belkin F5D8235-4 v1 (RT288x) works: - switch - buttons - some leds does not work: - USB (not supported by RT288XX) - WLAN Based on r29397 Signed-off-by: Cezary Jackiewicz --- --- target/linux/ramips/rt288x/config-2.6.39 +++ target/linux/ramips/rt288x/config-2.6.39 @@ -92,6 +92,7 @

Re: [OpenWrt-Devel] [PATCH] ramips: enhance routine for getting MAC address from flash

2011-12-02 Thread Roman Yeryomin
On 1 December 2011 05:06, Nerijus Baliunas wrote: > Hello, > > I have a problem that all MAC addresses are 00:11:22:33:44:55 except wlan0, > which is correct. Should this patch help me? I added "nbg-419n" to the case > line: >        case $(ramips_board_name) in >        bc2 | nbg-419n | nw718) >

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 17:51:48 Felix Fietkau wrote: > Actually, now that I think about it, I can't come up with any lilely > scenario with my patches where the available antennas would show up as 0 > for tx and rx. Are you sure you gave me this info when running a driver > without your rever

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
On 2011-12-02 10:06 AM, Marek Lindner wrote: > On Friday, December 02, 2011 17:05:01 Felix Fietkau wrote: >> > Out of curiosity: Since ath9k works without your patch what makes you >> > think it is an EEPROM problem ? Before your patch came there was only >> > the EEPROM setting and nothing else. >

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 17:05:01 Felix Fietkau wrote: > > Out of curiosity: Since ath9k works without your patch what makes you > > think it is an EEPROM problem ? Before your patch came there was only > > the EEPROM setting and nothing else. > > Since I didn't have all information yet, I've

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
On 2011-12-02 10:02 AM, Marek Lindner wrote: > On Friday, December 02, 2011 16:57:19 Felix Fietkau wrote: >> > iw phy phy0 set antenna 1 2 >> > command failed: Invalid argument (-22) >> > >> > Maybe the command is incomplete ? >> >> When you run iw phy0 info, what does it show under "Available An

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 16:57:19 Felix Fietkau wrote: > > iw phy phy0 set antenna 1 2 > > command failed: Invalid argument (-22) > > > > Maybe the command is incomplete ? > > When you run iw phy0 info, what does it show under "Available Antennas"? iw phy0 info: Available Antennas: TX 0 RX 0

Re: [OpenWrt-Devel] building of package zoneinfo fails

2011-12-02 Thread Joachim Schlipper
Sorry, my fault. I feel a bit sheepish about it, because in fact I did make sure to update the feeds before I tested it again. But as it turns out I executed the scripts/feeds update in the wrong build root, so it didn't affect my test build. Trying to be more careful next time... Joachim On 1

[OpenWrt-Devel] [PATCH] Fix trx_fixup

2011-12-02 Thread Nathan Hintz
With the BRCM47xx image I have built (Linksys E3000), there are additional writes following the completion of "mtd_replace_jffs2" which invalidate the 'trx_fixup' performed by 'mtd_replace_jffs2'. Moving the 'trx_fixup' to somewhere after all writes have completed fixes the problem. I also notic

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Felix Fietkau
On 2011-12-02 9:01 AM, Marek Lindner wrote: > On Friday, December 02, 2011 15:31:43 Felix Fietkau wrote: >> > when I upgraded my trunk to a fairly recent version (rev. 29333) I >> > noticed wifi became practically unusable on my AR9285 device. I spend a >> > good deal of the day bisecting the recen

Re: [OpenWrt-Devel] antenna regression with recent mac80211

2011-12-02 Thread Marek Lindner
On Friday, December 02, 2011 15:31:43 Felix Fietkau wrote: > > when I upgraded my trunk to a fairly recent version (rev. 29333) I > > noticed wifi became practically unusable on my AR9285 device. I spend a > > good deal of the day bisecting the recent ath9k changes to identify the > > culprit: 43c3