From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 23 15:32:34 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9948610656A7 for ; Mon, 23 Aug 2010 15:32:34 +0000 (UTC) (envelope-from chlastak@fialka.cz) Received: from mail.intime.cz (mail.intime.cz [88.208.96.252]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFD68FC1D for ; Mon, 23 Aug 2010 15:32:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.intime.cz (Postfix) with ESMTP id 357038494D9 for ; Mon, 23 Aug 2010 17:15:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.intime.cz Received: from mail.intime.cz ([127.0.0.1]) by localhost (mail.intime.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xIVH0OxiICN3 for ; Mon, 23 Aug 2010 17:15:20 +0200 (CEST) Received: from [192.168.200.95] (192.13.broadband2.iol.cz [83.208.13.192]) by mail.intime.cz (Postfix) with ESMTPSA id C055F7DEF0B for ; Mon, 23 Aug 2010 17:15:19 +0200 (CEST) Message-ID: <4C729158.1060802@fialka.cz> Date: Mon, 23 Aug 2010 17:18:48 +0200 From: =?ISO-8859-1?Q?Miroslav_Chlast=E1k?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to disable diversity on atheros card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 15:32:34 -0000 Hello, I'am running wifi ap (mediaopt hostap) on 7.0-RELEASE-p4 with Atheros 5212 card. It's possible to disable antenna diversity? I have this configuration of card: ath1: flags=8843 metric 0 mtu 1500 ether 00:0b:6b:db:ac:9f inet 192.168.6.254 netmask 0xffffff00 broadcast 192.168.6.255 inet 10.0.4.254 netmask 0xffffff00 broadcast 10.0.4.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11a status: associated ssid mywlan channel 124 (5620 Mhz 11a) bssid 00:0b:6b:db:ac:9f authmode OPEN privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpower 31.5 txpowmax 18.0 rtsthreshold 2346 fragthreshold 2346 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 roam:rate11a 12 roam:rssi11b 7 roam:rate11b 1 roam:rssi11g 7 roam:rate11g 5 -pureg protmode CTS -ht -htcompat -ampdu ampdulimit 8k ampdudensity - -amsdu -shortgi htprotmode RTSCTS -puren -wme burst -ff -dturbo -hidessid apbridge dtimperiod 1 doth inact bintval 100 dev.ath.1.%desc: Atheros 5212 dev.ath.1.%driver: ath dev.ath.1.%location: slot=9 function=0 dev.ath.1.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x185f subdevice=0x1012 class=0x020000 dev.ath.1.%parent: pci2 dev.ath.1.smoothing_rate: 95 dev.ath.1.sample_rate: 10 dev.ath.1.countrycode: 276 dev.ath.1.regdomain: 0 dev.ath.1.slottime: 9 dev.ath.1.acktimeout: 34 dev.ath.1.ctstimeout: 36 dev.ath.1.softled: 0 dev.ath.1.ledpin: 0 dev.ath.1.ledon: 0 dev.ath.1.ledidle: 2700 dev.ath.1.txantenna: 0 dev.ath.1.rxantenna: 1 dev.ath.1.diversity: 0 dev.ath.1.txintrperiod: 5 dev.ath.1.diag: 0 dev.ath.1.tpscale: 0 dev.ath.1.tpc: 0 dev.ath.1.tpack: 63 dev.ath.1.tpcts: 63 dev.ath.1.fftxqmin: 2 dev.ath.1.fftxqmax: 50 dev.ath.1.rfsilent: 0 dev.ath.1.rfkill: 0 dev.ath.1.monpass: 24 And every day is dev.ath.1.rxantenna: 1 changed to dev.ath.1.rxantenna: 2 automaticaly (and wireless clients are out of order - i must change by hand back to dev.ath.1.rxantenna: 1) :( athstats show this (switched default/rx antenna is rising): 458080 data frames received 1276146 data frames transmit 1236 tx frames with an alternate rate 27425 long on-chip tx retries 389 tx failed 'cuz too many retries 54M current transmit rate 587682 tx management frames 6 tx frames discarded prior to association 20123 tx frames with no ack marked 10898 rx failed 'cuz of bad CRC 1503725 rx failed 'cuz of PHY err 1503703 OFDM timing 22 OFDM restart 3244844 beacons transmitted 11118 periodic calibrations 2 rfgain value change 29 rssi of last ack 31 avg recv rssi -96 rx noise floor 37 switched default/rx antenna Antenna profile: [1] tx 1266102 rx 1047239 [2] tx 10052 rx 15 Wireless card has 2 antena connectors, but only on main connector is antena atached. What is wrong? -- Mira Chlastak