Bug 126895 - [patch] [ral] Add antenna selection (marked as TBD)
Summary: [patch] [ral] Add antenna selection (marked as TBD)
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 19:00 UTC by David Naylor
Modified: 2014-12-16 14:13 UTC (History)
1 user (show)

See Also:


Attachments
file.txt (4.01 KB, text/plain)
2008-08-27 19:00 UTC, David Naylor
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor 2008-08-27 19:00:02 UTC
The rt2661_select_antenna function has a whole section marked as "TBD".  I looked into the reference driver from RalinkTeck and the rt2x00 and duplicated their behaviour.  Thus it is now mostly done.

Two sysctl's were added.  One a read only that displays which TX antenna is in use (did not find any code to actually change it) and another to select which RX antenna to use.  [This mimics the rt2560 set of systl's]

The txpower is also tweaked to confirm to standard behaviour.  

I created this patch since my RT2501 is not operating correctly.  The signal strength is about 30 dBm to lower (it does associate) and does not transmit any data.  The patch has no consequince but brings the driver closer in line with the one from RalinkTeck and rt2x00.  

Tested with a RT2501.  No change in behaviour... [Well I tried the wifi branch from p4 and it appeared to work a bit better with this patch but that branch is not compatible with -current since vaps was introduced]

WARNING: Although the code mimics the reference drivers it is coded with little understanding of how it is supposed to work.

Fix: n/a

Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-08-27 20:17:53 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 David Naylor 2010-02-12 07:41:10 UTC
Since this PR has not been dealt with (and it never did anything useful) I am 
happy for this PR to be closed.  
Comment 3 David Naylor freebsd_committer freebsd_triage 2014-12-16 14:13:38 UTC
No longer applicable