Thank you Ulf. Just one question, how do you switch on and off the
diversities?



>
>
> Message: 1
> Date: Wed, 15 Oct 2008 14:18:49 +0200
> From: "ulf kypke" <[EMAIL PROTECTED]>
> Subject: Re: [OpenWrt-Devel] Nanostation antenna selection support
> To: "OpenWrt Development List" <openwrt-devel@lists.openwrt.org>
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi, i was working with the nanostations some weeks ago,
> the big deal with the diversity is, that the nanostations has two
> diversity switches,
> so, as fare as i know, if diversity is complete disabled, the external
> antenna plug is the default one.
> if the first diversity in on and the second diversity switch is off,
> the horizontal antenna is activ,
> if both diversity switches are on the vertical antenna is activ.
>
>
> 2008/10/14 Xavier Martinez <[EMAIL PROTECTED]>:
> > Travis Kemen wrote:
> >
> >> If you are using the internal antenna's on a ns2 they currently work
> >> via the madwifi rx(tx)antenna settings but to use the external antenna
> >> you need to install gpioctl and set softled to 0 for wifi0 in sysctl,
> >> then use gpioctl to set pin 7 low.
> > I've tried this procedure to my NS2 with (openwrt trunk r12842 with
> gpioctl)
> > in a 2 km link in adhoc mode without any external annena neither
> > a pigtail connected to the SMA connector.
> >
> > My /etc/config/wireless looks like this:
> >
> > config 'wifi-device' 'wifi0'
> >         option 'type' 'atheros'
> >         option 'disabled' '0'
> >         option 'channel' '6'
> >         option 'mode' '11b'
> >         option 'txantenna' '2'
> >         option 'rxantenna' '2'
> >         option 'distance' '5000'
> >         option 'softled' '0'
> > config 'wifi-iface'
> >         option 'device' 'wifi0'
> >         option 'encryption' 'none'
> >         option 'ssid' 'guifibages'
> >         option 'mode' 'adhoc'
> >         option 'bssid' '12:34:56:78:9A:BC'
> >         option 'network' 'wlan'
> >         option 'txpower' '16'
> >
> > Doing "gpioctl set 7" results in a Pin 7 HIGH and the pings to the other
> > machine are answered. In this case internal antenna is working. But when
> I
> > do a "gpioctl clear 7" resulting in a Pin 7 LOW, the pings are also
> > answered. In think that its impossible to establish a 2 km link without
> an
> > external antenna connected, so I think that internal antenna is also
> > working. What do you think?
> >
> > I haven't had time to try connecting an external antenna focusing the
> other
> > machine and the nanostation focusing the other side. This could clarify
> if
> > both antennas are working with Pin 7 LOW or only the internal antenna
> does.
> >
> > What do you think?
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel@lists.openwrt.org
> > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >
> >
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 15 Oct 2008 23:32:20 -0400
> From: "Brian J. Murrell" <[EMAIL PROTECTED]>
> Subject: [OpenWrt-Devel] 2.6.25.7 and b43 driver oops
> To: openwrt-devel@lists.openwrt.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> I'm using kernel 2.25.7, compat-wireless-2008-08-06 but whenever I
> insmod the b43 driver I get the following:
>
> b43-phy0: Broadcom 4318 WLAN found
> b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
> Data bus error, epc == 8011635c, ra == 8015dfe4
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 1000d800 81c52454 8015ddd4
> $ 4   : c00003f8 81c52454 00000001 00000000
> $ 8   : 80257f40 80250000 802a0000 802a0000
> $12   : 802a0000 00000000 80298588 802985a8
> $16   : 81c52400 81c52454 000003f8 00000002
> $20   : c02bd000 00000007 c02e9090 00000001
> $24   : 80ea1b78 000186a0
> $28   : 80ea0000 80ea1cb8 80ef4d80 8015dfe4
> Hi    : 003d08db
> Lo    : c5476300
> epc   : 8011635c     Not tainted
> ra    : 8015dfe4 Status: 1000d803    KERNEL EXL IE
> Cause : 0080001c
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in: b43(+) cls_u32 sch_sfq sch_prio sch_ingress sch_htb
> ipt_ULOG ip_queue nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip nf_nat_rtsp
> nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323
> nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_tftp
> nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
> ipt_REDIRECT ipt_NETMAP ipt_SET ipt_set ip_set_portmap ip_set_nethash
> ip_set_macipmap ip_set_iptreemap ip_set_iptree ip_set_ipporthash
> ip_set_ipmap ip_set_iphash ip_set xt_policy xt_esp ipt_ah xt_iprange ipt_TTL
> xt_MARK ipt_ECN xt_CLASSIFY ipt_ttl xt_time ipt_time xt_tcpmss xt_statistic
> xt_mark xt_mac xt_length ipt_ecn xt_DSCP xt_dscp ipt_IMQ xt_string xt_layer7
> ipt_ipp2p ipt_LOG xt_CHAOS pppoe xt_DELUDE xt_TARPIT pppox xt_quota
> xt_portscan xt_pkttype iptable_raw xt_NOTRACK xt_CONNMARK ipt_recent
> xt_helper xt_conntrack xt_connmark xt_connbytes ip6t_REJECT ip6t_LOG
> ip6t_IMQ ip6t_mh ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_
>  mangle ip6table_filter ip6_tables nf_conntrack_ipv6 sit tunnel4 tun
> ppp_async ppp_generic slhc crc_ccitt mac80211 cfg80211 ipv6 arc4 aes_generic
> deflate ecb cbc crypto_blkcipher crypto_hash cryptomgr crypto_algapi ext3
> jbd usb_storage sd_mod scsi_mod ehci_hcd usbcore switch_robo switch_core
> diag
> Process insmod (pid: 1685, threadinfo=80ea0000, task=80c8f1a8)
> Stack : 00004318 80ef40e4 0000017f 81f1a000 0000017f 81f1a000 c0321d84
> c02fd094
>        c02e9090 800c7294 00000003 00000002 00000007 00000000 00000001
> 00000000
>        00000000 028c3263 00000003 80ef4d80 81c52400 81c77400 00000001
> 80ef4e1c
>        81f1a584 00000001 00000000 80ea1e00 c0321d68 81c52454 c0321d84
> 81c7ac8c
>        c02bd000 0000001a c02e9090 c02e8be0 c01d0140 8015bfac 81c52454
> 800c7a6c
>        ...
> Call
> Trace:[<c02fd094>][<800c7294>][<c01d0140>][<8015bfac>][<800c7a6c>][<8010457c>][<80138030>][<80137fd4>][<8020d7cc>][<801384c8>][<80136bf8>][<80104af0>][<80104348>][<80138350>][<80136d78>][<80104b50>][<80136a24>][<80137a98>][<80137a70>][<80105444>][<80138c18>][<80057af0>][<8006ecf8>][<c0263034>][<8006eec4>][<8004bff4>][<8003aed8>][<8006a800>][<8000b0d0>]
>
> Code: 90820000  03e00008  304200ff <94820000> 03e00008  3042ffff  8c820000
>  03e00008  00000000
>
> I realize that Stack is not terribly useful undecoded, but I'm not sure
> how to go about doing that on an OpenWRT platform.
>
> This behaviour is 100% consistent with trying to load the b43 module.
> The b43 module I am using is md5sum 9563ceeed86bca0859ad5f010623277c
> from
>
> http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08/compat-wireless-2008-08-06.tar.bz2
>
> Essentially, I'm using the mac80211 and b43 from the OpenWRT Kamikaze
> trunk.
>
> Any ideas?
>
> Thanx,
> b.
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 197 bytes
> Desc: This is a digitally signed message part
> Url :
> http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20081015/13469f7f/attachment-0001.pgp
>
> ------------------------------
>
> Message: 3
> Date: Thu, 16 Oct 2008 00:08:16 -0400
> From: "Brian J. Murrell" <[EMAIL PROTECTED]>
> Subject: Re: [OpenWrt-Devel] 2.6.25.7 and b43 driver oops
> To: OpenWrt Development List <openwrt-devel@lists.openwrt.org>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> On Wed, 2008-10-15 at 23:32 -0400, Brian J. Murrell wrote:
> >
> > I realize that Stack is not terribly useful undecoded, but I'm not sure
> > how to go about doing that on an OpenWRT platform.
>
> OK.  Figured out how to use ksymoops with the openwrt kernel build to
> get a useful stack trace:
>
> $ ksymoops -v build_dir/linux-brcm47xx/linux-2.6.25.7/vmlinux -m
> build_dir/linux-brcm47xx/linux-2.6.25.7/System.map
> ksymoops 2.4.11 on i686 2.6.27-6-generic.  Options used
>     -v build_dir/linux-brcm47xx/linux-2.6.25.7/vmlinux (specified)
>     -k /proc/ksyms (default)
>     -l /proc/modules (default)
>     -o /lib/modules/2.6.27-6-generic/ (default)
>     -m build_dir/linux-brcm47xx/linux-2.6.25.7/System.map (specified)
>
> Error (regular_file): read_ksyms stat /proc/ksyms failed
> ksymoops: No such file or directory
> No modules in ksyms, skipping objects
> No ksyms, skipping lsmod
> Reading Oops report from the terminal
> Data bus error, epc == 8011635c, ra == 8015dfe4
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 1000d800 81c52454 8015ddd4
> $ 4   : c00003f8 81c52454 00000001 00000000
> $ 8   : 80257f40 80250000 802a0000 802a0000
> $12   : 802a0000 00000000 80298588 802985a8
> $16   : 81c52400 81c52454 000003f8 00000002
> $20   : c02bd000 00000007 c02e9090 00000001
> $24   : 80ea1b78 000186a0
> $28   : 80ea0000 80ea1cb8 80ef4d80 8015dfe4
> Hi    : 003d08db
> Lo    : c5476300
> epc   : 8011635c     Not tainted
> ra    : 8015dfe4 Status: 1000d803    KERNEL EXL IE
> Cause : 0080001c
> PrId  : 00029006 (Broadcom BCM3302)
> Modules linked in: b43(+) cls_u32 sch_sfq sch_prio sch_ingress sch_htb
> ipt_ULOG ip_queue nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip nf_nat_rtsp
> nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323
> nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_tftp
> nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp
> ipt_REDIRECT ipt_NETMAP ipt_SET ipt_set ip_set_portmap ip_set_nethash
> ip_set_macipmap ip_set_iptreemap ip_set_iptree ip_set_ipporthash
> ip_set_ipmap ip_set_iphash ip_set xt_policy xt_esp ipt_ah xt_iprange ipt_TTL
> xt_MARK ipt_ECN xt_CLASSIFY ipt_ttl xt_time ipt_time xt_tcpmss xt_statistic
> xt_mark xt_mac xt_length ipt_ecn xt_DSCP xt_dscp ipt_IMQ xt_string xt_layer7
> ipt_ipp2p ipt_LOG xt_CHAOS pppoe xt_DELUDE xt_TARPIT pppox xt_quota
> xt_portscan xt_pkttype iptable_raw xt_NOTRACK xt_CONNMARK ipt_recent
> xt_helper xt_conntrack xt_connmark xt_connbytes ip6t_REJECT ip6t_LOG
> ip6t_IMQ ip6t_mh ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_
>  mangle ip6table_filter ip6_tables nf_conntrack_ipv6 sit tunnel4 tun
> ppp_async ppp_generic slhc crc_ccitt mac80211 cfg80211 ipv6 arc4 aes_generic
> deflate ecb cbc crypto_blkcipher crypto_hash cryptomgr crypto_algapi ext3
> jbd usb_storage sd_mod scsi_mod ehci_hcd usbcore switch_robo switch_core
> diag
> Process insmod (pid: 1685, threadinfo=80ea0000, task=80c8f1a8)
> Stack : 00004318 80ef40e4 0000017f 81f1a000 0000017f 81f1a000 c0321d84
> c02fd094
>        c02e9090 800c7294 00000003 00000002 00000007 00000000 00000001
> 00000000
>        00000000 028c3263 00000003 80ef4d80 81c52400 81c77400 00000001
> 80ef4e1c
>        81f1a584 00000001 00000000 80ea1e00 c0321d68 81c52454 c0321d84
> 81c7ac8c
>        c02bd000 0000001a c02e9090 c02e8be0 c01d0140 8015bfac 81c52454
> 800c7a6c
>        ...
> Call
> Trace:[<c02fd094>][<800c7294>][<c01d0140>][<8015bfac>][<800c7a6c>][<8010457c>][<80138030>][<80137fd4>][<8020d7cc>][<801384c8>][<80136bf8>][<80104af0>][<80104348>][<80138350>][<80136d78>][<80104b50>][<80136a24>][<80137a98>][<80137a70>][<80105444>][<80138c18>][<80057af0>][<8006ecf8>][<c0263034>][<8006eec4>][<8004bff4>][<8003aed8>][<8006a800>][<8000b0d0>]
>
> Code: 90820000  03e00008  304200ff <94820000> 03e00008  3042ffff  8c820000
>  03e00008  00000000
> Data bus error, epc == 8011635c, ra == 8015dfe4
> Cpu 0
> $ 0   : 00000000 1000d800 81c52454 8015ddd4
> $ 4   : c00003f8 81c52454 00000001 00000000
> $ 8   : 80257f40 80250000 802a0000 802a0000
> $12   : 802a0000 00000000 80298588 802985a8
> $16   : 81c52400 81c52454 000003f8 00000002
> $20   : c02bd000 00000007 c02e9090 00000001
> $24   : 80ea1b78 000186a0
> $28   : 80ea0000 80ea1cb8 80ef4d80 8015dfe4
> Hi    : 003d08db
> Lo    : c5476300
> epc   : 8011635c     Not tainted
> Using defaults from ksymoops -t elf32-i386 -a i386
> Cause : 0080001c
>        c02e9090 800c7294 00000003 00000002 00000007 00000000 00000001
> 00000000
>        00000000 028c3263 00000003 80ef4d80 81c52400 81c77400 00000001
> 80ef4e1c
>        81f1a584 00000001 00000000 80ea1e00 c0321d68 81c52454 c0321d84
> 81c7ac8c
>        c02bd000 0000001a c02e9090 c02e8be0 c01d0140 8015bfac 81c52454
> 800c7a6c
> Call
> Trace:[<c02fd094>][<800c7294>][<c01d0140>][<8015bfac>][<800c7a6c>][<8010457c>][<80138030>][<80137fd4>][<8020d7cc>][<801384c8>][<80136bf8>][<80104af0>][<80104348>][<80138350>][<80136d78>][<80104b50>][<80136a24>][<80137a98>][<80137a70>][<80105444>][<80138c18>][<80057af0>][<8006ecf8>][<c0263034>][<8006eec4>][<8004bff4>][<8003aed8>][<8006a800>][<8000b0d0>]
> Code: 90820000  03e00008  304200ff <94820000> 03e00008  3042ffff  8c820000
>  03e00008  00000000
>
>
> >>RA;  8015dfe4 <ssb_pci_read16+58/7c>
> >>$12; 802a0000 <swap_info+18c/88c>
> >>$14; 80298588 <per_cpu__runqueues+30/410>
> >>$15; 802985a8 <per_cpu__runqueues+50/410>
> >>$31; 8015dfe4 <ssb_pci_read16+58/7c>
>
> >>EIP; 8011635c <ioread16+0/c>   <=====
>
> Trace; c02fd094 <END_OF_CODE+40052754/????>
> Trace; 800c7294 <sysfs_new_dirent+7c/128>
> Trace; c01d0140 <END_OF_CODE+3ff25800/????>
> Trace; 8015bfac <ssb_device_probe+44/7c>
> Trace; 800c7a6c <sysfs_create_dir+3c/58>
> Trace; 8010457c <kobject_get+20/34>
> Trace; 80138030 <driver_probe_device+16c/288>
> Trace; 80137fd4 <driver_probe_device+110/288>
> Trace; 8020d7cc <klist_next+6c/a4>
> Trace; 801384c8 <__driver_attach+178/2d8>
> Trace; 80136bf8 <next_device+10/2c>
> Trace; 80104af0 <kobject_add_varg+58/78>
> Trace; 80104348 <kobject_init+58/9c>
> Trace; 80138350 <__driver_attach+0/2d8>
> Trace; 80136d78 <bus_for_each_dev+5c/a8>
> Trace; 80104b50 <kobject_init_and_add+40/58>
> Trace; 80136a24 <bus_get+28/3c>
> Trace; 80137a98 <bus_add_driver+cc/2b4>
> Trace; 80137a70 <bus_add_driver+a4/2b4>
> Trace; 80105444 <kobject_uevent_env+3dc/42c>
> Trace; 80138c18 <driver_register+80/128>
> Trace; 80057af0 <free_hot_cold_page+18c/1e4>
> Trace; 8006ecf8 <remove_vm_area+4c/78>
> Trace; c0263034 <END_OF_CODE+3ffb86f4/????>
> Trace; 8006eec4 <__vunmap+f8/12c>
> Trace; 8004bff4 <sys_init_module+1420/15cc>
> Trace; 8003aed8 <autoremove_wake_function+0/44>
> Trace; 8006a800 <do_brk+174/2e8>
> Trace; 8000b0d0 <stack_done+20/3c>
>
> Code;  80116350 <ioread8+0/c>
> 00000000 <_EIP>:
> Code;  80116350 <ioread8+0/c>
>   0:   00 00                     add    %al,(%eax)
> Code;  80116352 <ioread8+2/c>
>   2:   82                        (bad)
> Code;  80116353 <ioread8+3/c>
>   3:   90                        nop
> Code;  80116354 <ioread8+4/c>
>   4:   08 00                     or     %al,(%eax)
> Code;  80116356 <ioread8+6/c>
>   6:   e0 03                     loopne b <_EIP+0xb>
> Code;  80116358 <ioread8+8/c>
>   8:   ff 00                     incl   (%eax)
> Code;  8011635a <ioread8+a/c>
>   a:   42                        inc    %edx
> Code;  8011635b <ioread8+b/c>   <=====
>   b:   30 00                     xor    %al,(%eax)   <=====
> Code;  8011635d <ioread16+1/c>
>   d:   00 82 94 08 00 e0         add    %al,-0x1ffff76c(%edx)
> Code;  80116363 <ioread16+7/c>
>  13:   03 ff                     add    %edi,%edi
> Code;  80116365 <ioread16+9/c>
>  15:   ff 42 30                  incl   0x30(%edx)
> Code;  80116368 <ioread32+0/c>
>  18:   00 00                     add    %al,(%eax)
> Code;  8011636a <ioread32+2/c>
>  1a:   82                        (bad)
> Code;  8011636b <ioread32+3/c>
>  1b:   8c 08                     mov    %cs,(%eax)
> Code;  8011636d <ioread32+5/c>
>  1d:   00 e0                     add    %ah,%al
> Code;  8011636f <ioread32+7/c>
>  1f:   03 00                     add    (%eax),%eax
>
> I didn't mention before but this is running on an asus wl500gp FWIW.
>
> Cheers,
> b.
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 197 bytes
> Desc: This is a digitally signed message part
> Url :
> http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20081016/9471033c/attachment-0001.pgp
>
> ------------------------------
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
> End of openwrt-devel Digest, Vol 34, Issue 12
> *********************************************
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to