All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kazior <michal.kazior@tieto.com>
To: Vu Hai NGUYEN <vh.nguyen@actiasodielec.fr>
Cc: Patrick CARNEIRO RODRIGUEZ <p.carneiro@actiasodielec.fr>,
	"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: ath10k does not support selection antenna yet?
Date: Wed, 7 May 2014 09:48:31 +0200	[thread overview]
Message-ID: <CA+BoTQ=+SBBL2JYtPf1KoVCtMmuKggEaHbUa0bCL4W-biVMeAg@mail.gmail.com> (raw)
In-Reply-To: <EE97821C81277E459BEA5C6384C6F241012F0EFBBCB8@srvexch01.SODIELEC.local>

On 7 May 2014 09:36, Vu Hai NGUYEN <vh.nguyen@actiasodielec.fr> wrote:
> I read in the debug's page that ath10k HW is currently limited to handle only single fixed rate setting or limit number of used spatial streams. Does it mean that the selection of antenna is not possible for this moment? Because if I look in the code of ath9k, there are 2 fonctions set_antenna and get_antenna in the structure: struct ieee80211_ops (file main.c) and that's why the out put of "iw list" for ath10k give me: Available Antennas:  TX0 RX0 and I can not select the antenna?

I'm not aware if that's possible.


> Btw, I still try to deal with the bitrates problem, the file  /sys/kernel/debug/ieee80211/phy0/ath10k/fw_stats give me nothing when I "cat" it and if I run : "iw wlan0 set bitrates legacy-2.4 54 ht-mcs-2.4", the dmesg output is:

fw_stats was broken for a long time due to some firmware ABI
differences. I'm not sure if this was finally fixed or no. See mailing
list archives for more details, please.


> ath10k: mac fixed rate pream 0x00 nss 0x00 rate 0x04
> ath10k: wmi vdev id 0x0 set param 25 value 4
> ath10k: wmi vdev id 0x0 set param 32 value 1
> ath10k: wmi vdev id 0x0 set param 26 value 0
> ath10k: wmi event debug mesg len 16
>
> but the order of these parameters are normally 27 (fixed rates) , 34 (nss)  and 28(sgi) in the map of parameter, I have no idea why the offset is minus 2 ?

You're looking at the wrong enum. There are two vdev param enums:
wmi_vdev_param and wmi_10x_vdev_param.

I'm going to re-iterate - you can check rx bitrate on the other end to
verify your fixed rate setting. tx bitrate reporting is broken in
ath10k due to firmware deficiency.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2014-05-07  7:48 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10  4:14 Crash during driver startup Ben Greear
2014-04-10 10:05 ` [PATCH] ath10k: double check bmi xfer pointers Michal Kazior
2014-04-10 10:05   ` Michal Kazior
2014-04-10 13:42   ` Ben Greear
2014-04-10 13:42     ` Ben Greear
2014-04-11  5:40   ` Kalle Valo
2014-04-11  5:40     ` Kalle Valo
2014-04-11  5:47     ` Michal Kazior
2014-04-11  5:47       ` Michal Kazior
2014-04-11  7:58       ` Michal Kazior
2014-04-11  7:58         ` Michal Kazior
2014-04-11 15:09         ` load module ath10k: ieee80211 phy0: Failed to initialize wep: -2 Vu Hai NGUYEN
2014-04-14  6:39           ` Michal Kazior
2014-04-14  8:10             ` Kalle Valo
2014-04-14 15:49               ` RE : " Vu Hai NGUYEN
2014-04-15  8:20                 ` Report Firmware firmware-2.bin_10.1.467.2-1 Error Vu Hai NGUYEN
2014-04-15 11:02                   ` Kalle Valo
2014-04-16 11:51                     ` RE : " Vu Hai NGUYEN
2014-04-16 11:51                       ` Vu Hai NGUYEN
2014-04-24  6:35                       ` Kalle Valo
2014-04-24  9:03                         ` RE : " Vu Hai NGUYEN
2014-04-24  9:41                           ` Michal Kazior
2014-04-24 10:18                             ` Yeoh Chun-Yeow
2014-04-30 12:39                             ` RE : " Vu Hai NGUYEN
2014-05-07  7:36                               ` ath10k does not support selection antenna yet? Vu Hai NGUYEN
2014-05-07  7:48                                 ` Michal Kazior [this message]
2014-05-07  8:16                                   ` Yeoh Chun-Yeow
2014-05-07  8:16                                   ` RE : " Vu Hai NGUYEN
2014-05-07  9:26                                     ` Janusz Dziedzic
2014-05-07 14:11                                       ` Ben Greear
2014-05-07 14:21                                         ` Adrian Chadd
2014-05-07 14:33                                           ` Ben Greear
2014-05-07 14:50                                             ` Adrian Chadd
2014-05-07 15:09                                 ` Ben Greear
2014-04-14  8:05         ` [PATCH] ath10k: double check bmi xfer pointers Kalle Valo
2014-04-14  8:05           ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+BoTQ=+SBBL2JYtPf1KoVCtMmuKggEaHbUa0bCL4W-biVMeAg@mail.gmail.com' \
    --to=michal.kazior@tieto.com \
    --cc=ath10k@lists.infradead.org \
    --cc=p.carneiro@actiasodielec.fr \
    --cc=vh.nguyen@actiasodielec.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.