Modify

Opened 10 years ago

Closed 10 years ago

#2586 closed defect (worksforme)

madwifi antenna diversity disabling does not work

Reported by: stefano@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

Kamikaze 9418

board:

routerboard rb1xx with CM9 minipci

dmesg:

wlan: 0.8.4.2 (svn r2568)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (svn r2568)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: 0.9.4.5 (svn r2568)
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x11400000, irq=15

settings:

dev.wifi0.diversity = 0
dev.wifi0.rxantenna = 1
dev.wifi0.txantenna = 1

module:

ath_pci  outdoor=1 autocreate=none rfkill=0 xchanmode=1

When I connect antenna to connector 2 (from 1) after a while CM9 detect signal on it!
Diversity seems to be on.

Checking configuration:

$> cat /proc/sys/dev/*/diversity
0
$> cat /proc/sys/dev/*/*antenna 
1
1

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by cr

Antenna switches can not always prevent strong signals from getting through, especially with very sensitive receivers. The main reason for turning off diversity is to avoid transmitting without an antenna which could damage the transmitter at higher power settings.

You can also use athstats to verify your diversity settings.

comment:2 Changed 10 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

should be working well in latest trunk. tested on various ath devices

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.