Re: [ath5k-devel] [PATCH v2 13/20] cfg80211: Add nl80211 antenna configuration

2010-05-20 Thread Sam Ng
Just to be accurate, we do have pre-lln devices that support more than 1 antenna ie. slow/fast diversity and rangemax style 'beamforming'. However, all these devices have only 1 chain. Sam -Original Message- From: mcg...@gmail.com [mailto:mcg...@gmail.com] On Behalf Of Luis R. Rodriguez

Re: [ath5k-devel] [PATCH v2 13/20] cfg80211: Add nl80211 antenna configuration

2010-05-20 Thread David Quan
rangemax is a proprietary design by netgear and their 3rd party, there is no way for us to control their antenna array. yes, this is a legacy non 11n design with more than 2 antenna. -Original Message- From: mcg...@gmail.com [mailto:mcg...@gmail.com] On Behalf Of Luis R. Rodriguez Sen

Re: [ath5k-devel] [PATCH v2 13/20] cfg80211: Add nl80211 antenna configuration

2010-05-20 Thread Bruno Randolf
On Friday 21 May 2010 07:05:48 Luis R. Rodriguez wrote: > For legacy, keep it simple, use 3 settings, fixed_a, fixed_b, > diversity, for all devices. did you not understand my examples why i think it makes sense to use a bitmask for "legacy"? i think they are perfectly valid use-cases. do i need

Re: [ath5k-devel] [PATCH v2 13/20] cfg80211: Add nl80211 antenna configuration

2010-05-20 Thread Luis R. Rodriguez
Just for clarification, these e-mails are on a public mailing list. On Thu, May 20, 2010 at 03:14:01PM -0700, Sam Ng wrote: > Just to be accurate, we do have pre-lln devices that support > more than 1 antenna ie. slow/fast diversity Right, this is the typical fixed anntena a, fixed anntena b, or

Re: [ath5k-devel] [PATCH v2 13/20] cfg80211: Add nl80211 antenna configuration

2010-05-20 Thread Luis R. Rodriguez
On Wed, May 19, 2010 at 11:43 PM, Luis R. Rodriguez wrote: > On Wed, May 19, 2010 at 10:36 PM, Bruno Randolf wrote: >> On Thursday 20 May 2010 14:17:19 you wrote: >>> None of the legacy 802.11 drivers we support have more than 2 >>> antennas, I am also not aware of any. >> >> i have heard of some

[ath5k-devel] information on ath5k_hw_reg_write

2010-05-20 Thread Gian Marco Toso
Hello everyone, this is my first post on this mailing list, so I can safely say that I'm quite new to the development of ath5k. I am writing my MSc thesis about a modification of the standard CSMA mechanism and I am implementing those modifications on a ath5k based card. Basically, I need to ch

Re: [ath5k-devel] [PATCH v2 11/20] ath5k: always calculate ANI listen time

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > Calculate 'listen' time also when automatic ANI is off, since this and the > "busy" time is useful information also in manual mode. > > Signed-off-by: Bruno Randolf > --- >  drivers/net/wireless/ath/ath5k/ani.c |    9 + >  1 files changed, 5 insertions(+), 4 del

Re: [ath5k-devel] [PATCH v2 05/20] ath5k: Stop queues only for NF calibration

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > As far as we know, only NF calibration interferes with RX/TX so we can > leave the queues enabled for the other calibrations. > > BTW: Stopping the queues is not enough for avoiding transmissions, since there > might be packets in the queue + beacons are also sent regula

Re: [ath5k-devel] [PATCH v2 10/20] ath5k: add sysfs files for ANI parameters

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > /sys/class/ieee80211/phy0/device/ani/ani_mode > /sys/class/ieee80211/phy0/device/ani/noise_immunity_level > /sys/class/ieee80211/phy0/device/ani/spur_level > /sys/class/ieee80211/phy0/device/ani/firstep_level > /sys/class/ieee80211/phy0/device/ani/ofdm_weak_signal_detect

Re: [ath5k-devel] [PATCH v2 04/20] ath5k: move noise floor calibration into tasklet

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > Seperate noise floor calibration from other PHY calibration and move it to the > tasklet. This is the first step to more separation of different calibrations. > > Also move out ath5k_hw_request_rfgain_probe(ah) so we have one clean function > for I/Q calibration on 5111x

Re: [ath5k-devel] [PATCH v2 07/20] ath5k: remove ATH_TRACE macro

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > Now that we have ftrace, it is not needed any more. > > Signed-off-by: Bruno Randolf > --- >  drivers/net/wireless/ath/ath5k/attach.c |    2 -- >  drivers/net/wireless/ath/ath5k/caps.c   |    7 --- >  drivers/net/wireless/ath/ath5k/debug.c  |    1 - >  drivers/net/w

Re: [ath5k-devel] [PATCH v2 03/20] ath5k: initialize calibration timers

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > Initialize calibration timers on reset, since otherwise they might be in the > future and the calibration tasklet might not be scheduled for a long time. > > Signed-off-by: Bruno Randolf > --- >  drivers/net/wireless/ath/ath5k/base.c |    2 ++ >  1 files changed, 2 inse

Re: [ath5k-devel] [PATCH v2 18/20] ath5k: update AR5K_PHY_RESTART_DIV_GC values to match masks

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > #define AR5K_PHY_RESTART_DIV_GC               0x001c > is 3 bit wide. > > The previous values of 0xc and 0x8 are 4bit wide and bigger than the mask. > > Writing 0 and 1 to AR5K_PHY_RESTART_DIV_GC is consistent with the comments and > initvals we have in the HAL. > >

Re: [ath5k-devel] [PATCH v2 02/20] ath5k: wake queues on reset

2010-05-20 Thread Nick Kossifidis
2010/5/19 Bruno Randolf : > We can wake all queues after a chip reset since everything should be set up > and > we are ready to transmit. If we don't do that we might end up starting up with > stopped queues, not beeing able to transmit. (This started to happen after > "ath5k: clean up queue manip

Re: [ath5k-devel] ath5k phy0: noise floor calibration timeout (2442MHz)

2010-05-20 Thread Carlos Olmedo Escobar
I forgot to mention that it reconnects every few minutes. 2010/5/19, Carlos Olmedo Escobar : > I also have been experiencing this problem for the last couple of > years (and always updating the kernel). > > Right now i'm using the latest kubuntu 10.04 kernel (2.6.32) with the > following hardware: