Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1211 (new defect)

Opened 15 years ago

Last modified 13 years ago

set antenna diversity error

Reported by: me@tropeadonato.eu Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: v0.9.3
Keywords: Cc:
Patch is attached: 0 Pending:

Description

Hi, when i try to set antenna diversity to 1 I had this error

error: "Invalid argument" setting key "dev.wifi0.diversity"

Change History

03/22/07 16:33:08 changed by mrenzmann

  • priority changed from major to minor.

What was the actual command you used when you got that message?

(follow-up: ↓ 4 ) 05/12/07 16:18:22 changed by grummund

I'm getting the same error:

sir:~# sysctl -w dev.wifi0.diversity=0
dev.wifi0.diversity = 0
sir:~# sysctl -w dev.wifi0.diversity=1
error: "Invalid argument" setting key "dev.wifi0.diversity"
sir:~# modinfo ath_pci
filename:       /lib/modules/2.6.18.sir.20070321.1054/kernel/drivers/net/ath_pci.ko
author:         Errno Consulting, Sam Leffler
description:    Support for Atheros 802.11 wireless LAN cards.
version:        0.9.3
license:        Dual BSD/GPL
vermagic:       2.6.18.sir.20070321.1054 SMP mod_unload 686 REGPARM gcc-4.1
depends:        ath_hal,ath_rate_sample,wlan
alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*
alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000101Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd00009013sv*sd*bc*sc*i*
srcversion:     BE7ADB5CE5F59D0E46CB793
parm:           ath_debug:Load-time debug output enable (int)
parm:           autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm:           rfkill:Enable/disable RFKILL capability (int)
parm:           xchanmode:Enable/disable extended channel mode (int)
parm:           outdoor:Enable/disable outdoor use (int)
parm:           countrycode:Override default country code (int)
sir:~#

10/21/08 09:48:27 changed by tkg.rahul@gmail.com

Dear sir

I also get same error when i ran this command

$sysctl -w dev.wifi0.diversity=1 error: "Invalid argument" setting key "dev.wifi0.diversity"

please provide me another way to enable the diversity.

(in reply to: ↑ 2 ; follow-up: ↓ 5 ) 10/30/08 13:10:59 changed by ciphernaut@gmail.com

Replying to grummund:

I'm getting the same error: {{{ sir:~# sysctl -w dev.wifi0.diversity=0 dev.wifi0.diversity = 0 sir:~# sysctl -w dev.wifi0.diversity=1 error: "Invalid argument" setting key "dev.wifi0.diversity"

the error lives on

eee:~/bin# modinfo ath_pci filename: /lib/modules/2.6.26-1-686/kernel/drivers/net/ath_pci.ko license: Dual BSD/GPL version: svn r3772 description: Support for Atheros 802.11 wireless LAN cards. author: Errno Consulting, Sam Leffler srcversion: 5552256905B159E11968545 alias: pci:v0000168Cd00009013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000024sv*sd*bc*sc*i* alias: pci:v0000168Cd00000023sv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i* alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i* alias: pci:v0000168Cd00000019sv*sd*bc*sc*i* alias: pci:v0000168Cd00000018sv*sd*bc*sc*i* alias: pci:v0000168Cd00000017sv*sd*bc*sc*i* alias: pci:v0000168Cd00000016sv*sd*bc*sc*i* alias: pci:v0000168Cd00000015sv*sd*bc*sc*i* alias: pci:v0000168Cd0000101Asv*sd*bc*sc*i* alias: pci:v0000168Cd00001014sv*sd*bc*sc*i* alias: pci:v000010B7d00000013sv*sd*bc*sc*i* alias: pci:v0000A727d00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000013sv*sd*bc*sc*i* alias: pci:v0000168Cd00000012sv*sd*bc*sc*i* alias: pci:v0000168Cd00000007sv*sd*bc*sc*i* depends: ath_hal,wlan vermagic: 2.6.26-1-686 SMP mod_unload modversions 686 parm: beacon_cal:int parm: countrycode:Override default country code. Default is 0. (int) parm: maxvaps:Maximum VAPs. Default is 4. (int) parm: outdoor:Enable/disable outdoor use. Default is 0. (int) parm: xchanmode:Enable/disable extended channel mode. (int) parm: rfkill:Enable/disable RFKILL capability. Default is 0. (int) parm: hal_tpc:Disables manual per-packet transmit power control and lets this be managed by the HAL. Default is OFF. (int) parm: autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp) parm: ratectl:Rate control algorithm [amrr|minstrel|onoe|sample], defaults to 'sample' (charp) parm: intmit:Enable interference mitigation by default. Default is 0. (int) parm: ath_debug:Load-time driver debug output enable (int) parm: ieee80211_debug:Load-time 802.11 debug output enable (int)

(in reply to: ↑ 4 ) 10/30/08 13:36:34 changed by anonymous

eee:~# echo "1" > /proc/sys/dev/wifi0/diversity -su: echo: write error: Invalid argument