Search Linux Wireless

Re: how to set antenna iw + ath5k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/16 Hans Maes <Hans@xxxxxxxxx>:
> Hello,
>
> I'm not sure this is the correct place to ask my question, but I've been
> searching on google for ages now and can't seem to find an answer so I'm
> asking it here.
> If not, please yell at me and tell me where to go whine instead ;-)
>
> I'm using CM11 a/b/g cards with the Atheros AR5414A Chip, which have 2
> antenna connectors.
> I only have 1 antenna connected to the MAIN connector.
> Running a self compiled 2.6.29 kernel on a few debian lenny boxes with ath5k
> module for the wireless cards, set up in mesh mode.
> Seems to work fine on the test bench, but behaves rather poorly in
> production environment.
> Everything related to the mesh network setup seems to work, but I have about
> 40% - 60% packet loss on the entire netwerk (about 15 nodes)
>
> I'm guessing this has something to do with the antenna diversity setting.
>
> Can anybody tell me how to tell the ath5k module to disable antenna
> diversity and only use the MAIN antenna ?
>
> If this is a RTFM thingie, then I apologize, I just can't seem to find it
> anywhere.
>
> Please reply to my personal e-mail address as well, I'm not subscribed to
> the list.
>
> Thanks for your help.
>
> Regards,
>
> Hans

After this patch...
https://lists.ath5k.org/pipermail/ath5k-devel/2009-April/002264.html

It's possible to tell the driver to use one fixed antenna (in your
case its fixed antenna A). Just change...
ath5k_hw_set_antenna_mode(ah, AR5K_ANTMODE_DEFAULT);

with
ath5k_hw_set_antenna_mode(ah, AR5K_ANTMODE_FIXED_A);

we will have a better way to change this in the future ;-)



-- 
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux