* IBSS mode is now supported by CT firmware.
@ 2014-11-26 0:59 Ben Greear
2014-11-26 1:21 ` Yeoh Chun-Yeow
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Ben Greear @ 2014-11-26 0:59 UTC (permalink / raw)
To: ath10k
A company that wishes to remain anonymous is sponsoring my
effort to add IBSS (ADHOC) support to my 10.1.467 CT firmware.
The kernel driver must be patched to enable IBSS mode when
CT firmware is detected.
The firmware was improved by copying some of the missing IBSS
code from the 999.x firmware branch.
I still cannot get WPA2 encryption to work, but open authentication
seems to work fine. I still have a good bit more testing to do.
I cannot get ath9k to do encryption in IBSS mode either, so I
probably am mis-configuring something.
If someone wants to try this out, please download the appropriate
firmware binary from here:
http://www.candelatech.com/downloads/ath10k-fw-beta/
Either hack your own kernel, or grab my latest 3.17 kernel:
git clone git://dmz2.candelatech.com/linux-3.17.dev.y
I'm interested to know results if someone tries it out.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: IBSS mode is now supported by CT firmware. 2014-11-26 0:59 IBSS mode is now supported by CT firmware Ben Greear @ 2014-11-26 1:21 ` Yeoh Chun-Yeow 2014-11-26 1:39 ` Ben Greear 2014-11-26 1:57 ` Dave Taht 2014-11-26 22:36 ` Pushpal Sidhu 2 siblings, 1 reply; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-26 1:21 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k On Wed, Nov 26, 2014 at 8:59 AM, Ben Greear <greearb@candelatech.com> wrote: > A company that wishes to remain anonymous is sponsoring my > effort to add IBSS (ADHOC) support to my 10.1.467 CT firmware. > Great! > The kernel driver must be patched to enable IBSS mode when > CT firmware is detected. > Where can I find the patches? --- ChunYeow _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 1:21 ` Yeoh Chun-Yeow @ 2014-11-26 1:39 ` Ben Greear 2014-11-26 1:48 ` Yeoh Chun-Yeow 0 siblings, 1 reply; 16+ messages in thread From: Ben Greear @ 2014-11-26 1:39 UTC (permalink / raw) To: Yeoh Chun-Yeow; +Cc: ath10k On 11/25/2014 05:21 PM, Yeoh Chun-Yeow wrote: > On Wed, Nov 26, 2014 at 8:59 AM, Ben Greear <greearb@candelatech.com> wrote: >> A company that wishes to remain anonymous is sponsoring my >> effort to add IBSS (ADHOC) support to my 10.1.467 CT firmware. >> > > Great! > >> The kernel driver must be patched to enable IBSS mode when >> CT firmware is detected. >> > > Where can I find the patches? My 3.17 kernel: git clone git://dmz2.candelatech.com/linux-3.17.dev.y or, browse gitweb: http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=summary I'll also backport to my 3.14 tree when I get a chance, but it is not done yet. Probably not worth trying to post for upstream inclusion since it needs the CT feature flag... Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 1:39 ` Ben Greear @ 2014-11-26 1:48 ` Yeoh Chun-Yeow 2014-11-26 1:50 ` Ben Greear 0 siblings, 1 reply; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-26 1:48 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k Is this the only patch we need to enable IBSS mode? http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=commit;h=af9dabe5f23e2ad8f8603a5156ebe9227340e9e3 Please advice. Thanks ---- ChunYeow On Wed, Nov 26, 2014 at 9:39 AM, Ben Greear <greearb@candelatech.com> wrote: > On 11/25/2014 05:21 PM, Yeoh Chun-Yeow wrote: >> On Wed, Nov 26, 2014 at 8:59 AM, Ben Greear <greearb@candelatech.com> wrote: >>> A company that wishes to remain anonymous is sponsoring my >>> effort to add IBSS (ADHOC) support to my 10.1.467 CT firmware. >>> >> >> Great! >> >>> The kernel driver must be patched to enable IBSS mode when >>> CT firmware is detected. >>> >> >> Where can I find the patches? > > My 3.17 kernel: > > git clone git://dmz2.candelatech.com/linux-3.17.dev.y > > or, browse gitweb: > > http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=summary > > > I'll also backport to my 3.14 tree when I get a chance, > but it is not done yet. > > Probably not worth trying to post for upstream inclusion > since it needs the CT feature flag... > > Thanks, > Ben > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 1:48 ` Yeoh Chun-Yeow @ 2014-11-26 1:50 ` Ben Greear 2014-11-26 2:14 ` Yeoh Chun-Yeow 0 siblings, 1 reply; 16+ messages in thread From: Ben Greear @ 2014-11-26 1:50 UTC (permalink / raw) To: Yeoh Chun-Yeow; +Cc: ath10k On 11/25/2014 05:48 PM, Yeoh Chun-Yeow wrote: > Is this the only patch we need to enable IBSS mode? > http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=commit;h=af9dabe5f23e2ad8f8603a5156ebe9227340e9e3 > > Please advice. Thanks Sort of, but that is patching a previous patch of mine that is not upstream. So, you are going to have to go crawling through the code a bit to find out how to do a similar action in your code base. Thanks, Ben -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 1:50 ` Ben Greear @ 2014-11-26 2:14 ` Yeoh Chun-Yeow 0 siblings, 0 replies; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-26 2:14 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k Ok. Thanks. Will take a try on this later. --- ChunYeow On Wed, Nov 26, 2014 at 9:50 AM, Ben Greear <greearb@candelatech.com> wrote: > On 11/25/2014 05:48 PM, Yeoh Chun-Yeow wrote: >> Is this the only patch we need to enable IBSS mode? >> http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=commit;h=af9dabe5f23e2ad8f8603a5156ebe9227340e9e3 >> >> Please advice. Thanks > > Sort of, but that is patching a previous patch of mine that is not upstream. > > So, you are going to have to go crawling through the code a bit > to find out how to do a similar action in your code base. > > Thanks, > Ben > > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 0:59 IBSS mode is now supported by CT firmware Ben Greear 2014-11-26 1:21 ` Yeoh Chun-Yeow @ 2014-11-26 1:57 ` Dave Taht 2014-11-26 22:36 ` Pushpal Sidhu 2 siblings, 0 replies; 16+ messages in thread From: Dave Taht @ 2014-11-26 1:57 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k On Tue, Nov 25, 2014 at 4:59 PM, Ben Greear <greearb@candelatech.com> wrote: > A company that wishes to remain anonymous is sponsoring my > effort to add IBSS (ADHOC) support to my 10.1.467 CT firmware. Oh, wonderful. I would love to get babeld running on this stuff on adhoc mode.... > The kernel driver must be patched to enable IBSS mode when > CT firmware is detected. > > The firmware was improved by copying some of the missing IBSS > code from the 999.x firmware branch. > > I still cannot get WPA2 encryption to work, but open authentication > seems to work fine. I still have a good bit more testing to do. > I cannot get ath9k to do encryption in IBSS mode either, so I > probably am mis-configuring something. > > If someone wants to try this out, please download the appropriate > firmware binary from here: > > http://www.candelatech.com/downloads/ath10k-fw-beta/ > > Either hack your own kernel, or grab my latest 3.17 kernel: > > git clone git://dmz2.candelatech.com/linux-3.17.dev.y > > I'm interested to know results if someone tries it out. > > Thanks, > Ben > > -- > Ben Greear <greearb@candelatech.com> > Candela Technologies Inc http://www.candelatech.com > > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k -- Dave Täht thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 0:59 IBSS mode is now supported by CT firmware Ben Greear 2014-11-26 1:21 ` Yeoh Chun-Yeow 2014-11-26 1:57 ` Dave Taht @ 2014-11-26 22:36 ` Pushpal Sidhu 2014-11-27 1:04 ` Yeoh Chun-Yeow 2 siblings, 1 reply; 16+ messages in thread From: Pushpal Sidhu @ 2014-11-26 22:36 UTC (permalink / raw) To: Ben Greear; +Cc: ath10k On Tue, Nov 25, 2014 at 4:59 PM, Ben Greear <greearb@candelatech.com> wrote: > I still cannot get WPA2 encryption to work, but open authentication > seems to work fine. I still have a good bit more testing to do. > I cannot get ath9k to do encryption in IBSS mode either, so I > probably am mis-configuring something. I don't believe WPA2 is supported with adhoc (at least through wpa_supplicant). However, WPA should be and while testing your firmware, I found that it doesn't seem to work (They don't see each other and thus don't associate). I also found that, like the 999.x firmware, the rate's do not go higher than 54mbit/s. Is this due to the firmware not advertising proper rates or..? As for throughput, I get 22mbps TCP, 27.6mbps UDP with no encryption. - Pushpal _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-26 22:36 ` Pushpal Sidhu @ 2014-11-27 1:04 ` Yeoh Chun-Yeow 2014-11-28 11:42 ` Yeoh Chun-Yeow 2014-12-01 17:13 ` Pushpal Sidhu 0 siblings, 2 replies; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-27 1:04 UTC (permalink / raw) To: Pushpal Sidhu; +Cc: Ben Greear, ath10k On Thu, Nov 27, 2014 at 6:36 AM, Pushpal Sidhu <psidhu@gateworks.com> wrote: > On Tue, Nov 25, 2014 at 4:59 PM, Ben Greear <greearb@candelatech.com> wrote: >> I still cannot get WPA2 encryption to work, but open authentication >> seems to work fine. I still have a good bit more testing to do. >> I cannot get ath9k to do encryption in IBSS mode either, so I >> probably am mis-configuring something. > > I don't believe WPA2 is supported with adhoc (at least through > wpa_supplicant). However, WPA should be and while testing your > firmware, I found that it doesn't seem to work (They don't see each > other and thus don't associate). > > I also found that, like the 999.x firmware, the rate's do not go > higher than 54mbit/s. Is this due to the firmware not advertising > proper rates or..? Are you joining the adhoc network in non-HT mode? Anyway, even if you use HT mode, the rate control is not working for 999.x firmware and always stuck at 6Mbps as far as I know. ----- Chun-Yeow _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-27 1:04 ` Yeoh Chun-Yeow @ 2014-11-28 11:42 ` Yeoh Chun-Yeow 2014-11-28 16:28 ` Ben Greear 2014-12-01 17:13 ` Pushpal Sidhu 1 sibling, 1 reply; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-28 11:42 UTC (permalink / raw) To: Pushpal Sidhu; +Cc: Ben Greear, ath10k For CT firmware, IBSS mode works, but again the Rate Control in HT20 mode is not working at all. It always stuck with 6Mbps Tx Rate. [ 196.030000] ath10k_pci 0000:00:00.0: rx skb 869a5840 len 116 peer 04:f0:21:0c:a5:44 ucast sn 95 rate_idx 0 vht_nss 0 freq 5180 band 1 flag 0x200000 fcs-err 0 mic-err 0 amsdu-more 0 For legacy mode, rate control works. rate_idx to 7 or 54Mbps. [ 156.070000] ath10k_pci 0000:00:00.0: rx skb 86af0900 len 116 peer 04:f0:21:0c:a5:1c ucast sn 95 rate_idx 7 vht_nss 0 freq 5180 band 1 flag 0x200000 fcs-err 0 mic-err 0 amsdu-more 0 Similar to 636 firmware. ---- ChunYeow On Thu, Nov 27, 2014 at 9:04 AM, Yeoh Chun-Yeow <yeohchunyeow@gmail.com> wrote: > On Thu, Nov 27, 2014 at 6:36 AM, Pushpal Sidhu <psidhu@gateworks.com> wrote: >> On Tue, Nov 25, 2014 at 4:59 PM, Ben Greear <greearb@candelatech.com> wrote: >>> I still cannot get WPA2 encryption to work, but open authentication >>> seems to work fine. I still have a good bit more testing to do. >>> I cannot get ath9k to do encryption in IBSS mode either, so I >>> probably am mis-configuring something. >> >> I don't believe WPA2 is supported with adhoc (at least through >> wpa_supplicant). However, WPA should be and while testing your >> firmware, I found that it doesn't seem to work (They don't see each >> other and thus don't associate). >> >> I also found that, like the 999.x firmware, the rate's do not go >> higher than 54mbit/s. Is this due to the firmware not advertising >> proper rates or..? > > Are you joining the adhoc network in non-HT mode? Anyway, even if you > use HT mode, the rate control is not working for 999.x firmware and > always stuck at 6Mbps as far as I know. > > ----- > Chun-Yeow _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-28 11:42 ` Yeoh Chun-Yeow @ 2014-11-28 16:28 ` Ben Greear 2014-11-29 0:25 ` Yeoh Chun-Yeow 2014-12-01 17:38 ` Pushpal Sidhu 0 siblings, 2 replies; 16+ messages in thread From: Ben Greear @ 2014-11-28 16:28 UTC (permalink / raw) To: Yeoh Chun-Yeow, Pushpal Sidhu; +Cc: ath10k I'll investigate the rate-control logic. I don't know enough about IBSS currently to know why it would use different rate-ctrl logic than the normal sta/ap, but hopefully I can figure it out. Can you post some details on how you configure HT20 v/s legacy mode for IBSS interfaces? Do you have any reason to believe the problem is in the driver or mac80211 stack, or is this all a firmware issue? And, if anyone has a different /AC NIC that can do IBSS, I'm curious if ath10k will receive at higher speeds? Thanks, Ben On 11/28/2014 03:42 AM, Yeoh Chun-Yeow wrote: > For CT firmware, IBSS mode works, but again the Rate Control in HT20 > mode is not working at all. It always stuck with 6Mbps Tx Rate. > > [ 196.030000] ath10k_pci 0000:00:00.0: rx skb 869a5840 len 116 peer > 04:f0:21:0c:a5:44 ucast sn 95 rate_idx 0 vht_nss 0 freq 5180 band 1 > flag 0x200000 fcs-err 0 mic-err 0 amsdu-more 0 > > For legacy mode, rate control works. rate_idx to 7 or 54Mbps. > > [ 156.070000] ath10k_pci 0000:00:00.0: rx skb 86af0900 len 116 peer > 04:f0:21:0c:a5:1c ucast sn 95 rate_idx 7 vht_nss 0 freq 5180 band 1 > flag 0x200000 fcs-err 0 mic-err 0 amsdu-more 0 > > Similar to 636 firmware. > > ---- > ChunYeow > > On Thu, Nov 27, 2014 at 9:04 AM, Yeoh Chun-Yeow <yeohchunyeow@gmail.com> wrote: >> On Thu, Nov 27, 2014 at 6:36 AM, Pushpal Sidhu <psidhu@gateworks.com> wrote: >>> On Tue, Nov 25, 2014 at 4:59 PM, Ben Greear <greearb@candelatech.com> wrote: >>>> I still cannot get WPA2 encryption to work, but open authentication >>>> seems to work fine. I still have a good bit more testing to do. >>>> I cannot get ath9k to do encryption in IBSS mode either, so I >>>> probably am mis-configuring something. >>> >>> I don't believe WPA2 is supported with adhoc (at least through >>> wpa_supplicant). However, WPA should be and while testing your >>> firmware, I found that it doesn't seem to work (They don't see each >>> other and thus don't associate). >>> >>> I also found that, like the 999.x firmware, the rate's do not go >>> higher than 54mbit/s. Is this due to the firmware not advertising >>> proper rates or..? >> >> Are you joining the adhoc network in non-HT mode? Anyway, even if you >> use HT mode, the rate control is not working for 999.x firmware and >> always stuck at 6Mbps as far as I know. >> >> ----- >> Chun-Yeow > > _______________________________________________ > ath10k mailing list > ath10k@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/ath10k > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-28 16:28 ` Ben Greear @ 2014-11-29 0:25 ` Yeoh Chun-Yeow 2014-12-01 17:38 ` Pushpal Sidhu 1 sibling, 0 replies; 16+ messages in thread From: Yeoh Chun-Yeow @ 2014-11-29 0:25 UTC (permalink / raw) To: Ben Greear; +Cc: Pushpal Sidhu, ath10k On Sat, Nov 29, 2014 at 12:28 AM, Ben Greear <greearb@candelatech.com> wrote: > I'll investigate the rate-control logic. I don't know enough > about IBSS currently to know why it would use different rate-ctrl logic than > the normal sta/ap, but hopefully I can figure it out. > > Can you post some details on how you configure HT20 v/s legacy mode > for IBSS interfaces? Alright, this is how I configure adhoc mode. HT20 Mode: iw phy0 interface add wlan0 type adhoc ifconfig wlan0 1.1.1.1 netmask 255.255.255.0 iw wlan0 ibss join adhocnet 5180 HT20 Legacy Mode: iw phy0 interface add wlan0 type adhoc ifconfig wlan0 1.1.1.1 netmask 255.255.255.0 iw wlan0 ibss join adhocnet 5180 By the way, the peer in ath10k is up in legacy mode first before updating the rate to HT20, triggered by drv_sta_rc_update in net/mac80211/ibss.c. Is EEE80211_RC_SUPP_RATES_CHANGED working correctly for ath10k? > > Do you have any reason to believe the problem is in the driver or mac80211 > stack, or is this all a firmware issue? > Rate control is implemented in firmware, right? So it should be firmware issue unless we intended to use the rate control implemented in mac80211 (minstrel). By the way, I haven't done the testing on CT firmware. But as far as I know, for 363 firmware, the setting of higher fixed TX rate is possible if you configure HT20, such as follow: iw wlanX set bitrates legacy-5 ht-mcs-5 3 vht-mcs-5 will setup HT, nss=1, mcs=3 So I think that rate control logic in firmware is not working properly in IBSS mode. > And, if anyone has a different /AC NIC that can do IBSS, I'm curious > if ath10k will receive at higher speeds? > ath9k but the rate control is managed by mac80211. ---- ChunYeow _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-28 16:28 ` Ben Greear 2014-11-29 0:25 ` Yeoh Chun-Yeow @ 2014-12-01 17:38 ` Pushpal Sidhu 2014-12-01 17:57 ` Ben Greear 1 sibling, 1 reply; 16+ messages in thread From: Pushpal Sidhu @ 2014-12-01 17:38 UTC (permalink / raw) To: Ben Greear; +Cc: Yeoh Chun-Yeow, ath10k@lists.infradead.org On Fri, Nov 28, 2014 at 8:28 AM, Ben Greear <greearb@candelatech.com> wrote: > Do you have any reason to believe the problem is in the driver or mac80211 > stack, or is this all a firmware issue? Because the rate control logic is embedded in the firmware (I believe this is the reason why we don't have a nice 'rc_stats' table) seems to point to a firmware issue. > And, if anyone has a different /AC NIC that can do IBSS, I'm curious > if ath10k will receive at higher speeds? So I just created an adhoc network with an ath9k radio (HT40+) with an ath10k radio (with HT40+) and found that the ath9k stayed at HT40/SGI MCS7. Checking on the ath10k, I found the same rate (150mbps) was being used. A very interesting note, however, is that realistic transfer rates are 27mbps TCP, 37mbps UDP from ath9k->ath10k. ath10k->ath9k has realistic transfer rates of 4.17mbps TCP, 5.18mbps UDP and rates go back to the 6mbps we see earlier. - Pushpal _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-12-01 17:38 ` Pushpal Sidhu @ 2014-12-01 17:57 ` Ben Greear 2014-12-04 15:28 ` Sven Eckelmann 0 siblings, 1 reply; 16+ messages in thread From: Ben Greear @ 2014-12-01 17:57 UTC (permalink / raw) To: Pushpal Sidhu; +Cc: Yeoh Chun-Yeow, ath10k@lists.infradead.org On 12/01/2014 09:38 AM, Pushpal Sidhu wrote: > On Fri, Nov 28, 2014 at 8:28 AM, Ben Greear <greearb@candelatech.com> wrote: >> Do you have any reason to believe the problem is in the driver or mac80211 >> stack, or is this all a firmware issue? > Because the rate control logic is embedded in the firmware (I believe > this is the reason why we don't have a nice 'rc_stats' table) seems to > point to a firmware issue. > >> And, if anyone has a different /AC NIC that can do IBSS, I'm curious >> if ath10k will receive at higher speeds? > So I just created an adhoc network with an ath9k radio (HT40+) with an > ath10k radio (with HT40+) and found that the ath9k stayed at HT40/SGI > MCS7. Checking on the ath10k, I found the same rate (150mbps) was > being used. > > A very interesting note, however, is that realistic transfer rates are > 27mbps TCP, 37mbps UDP from ath9k->ath10k. ath10k->ath9k has realistic > transfer rates of 4.17mbps TCP, 5.18mbps UDP and rates go back to the > 6mbps we see earlier. It may be a bit before I can get back to working on this effort, but I am reading the email and it will help me when I do have time to work on this again. If you have time, can you see if you can get encryption working with ath9k to ath9k? I could not get that working, and I am not sure if it is my supplicant setup or if I have some other bugs somewhere... Please post config files if you do get it working. And, what is ath9k to ath9k transfer rates? Thanks, Ben > > - Pushpal > -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc http://www.candelatech.com _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-12-01 17:57 ` Ben Greear @ 2014-12-04 15:28 ` Sven Eckelmann 0 siblings, 0 replies; 16+ messages in thread From: Sven Eckelmann @ 2014-12-04 15:28 UTC (permalink / raw) To: ath10k; +Cc: Ben Greear, Yeoh Chun-Yeow, Pushpal Sidhu On Monday 01 December 2014 09:57:50 Ben Greear wrote: > If you have time, can you see if you can get encryption working with > ath9k to ath9k? I could not get that working, and I am not sure if > it is my supplicant setup or if I have some other bugs somewhere... > > Please post config files if you do get it working. My wpa_supplicant config: ap_scan=2 network={ mode=1 scan_ssid=0 ssid="mesh" bssid=02:BA:DE:AF:FE:01 key_mgmt=WPA-PSK proto=RSN frequency=2462 fixed_freq=1 beacon_int=100 mcast_rate=18 ibss_ht_mode=HT20 psk="89b8e7e66900dd31b4d1fefa60ed3efb" } You need at least the wpa_supplicant version from http://w1.fi/cgit/hostap/commit/?id=13adc57b39091dc59372efbeb614b74310dd2e02 > And, what is ath9k to ath9k transfer rates? I don't have numbers here which I am allowed to post but it is only slightly (really tiny difference when measurable at all) slower than the AP<->Sta setup. But you also need an wpa_supplicant patch to enable HT-rates (together with wpa_supplicant). http://lists.shmoo.com/pipermail/hostap/2012-November/026934.html Btw. I haven't tested your fw and thus cannot say if anything written above would also work with ath10k. Kind regards, Sven _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: IBSS mode is now supported by CT firmware. 2014-11-27 1:04 ` Yeoh Chun-Yeow 2014-11-28 11:42 ` Yeoh Chun-Yeow @ 2014-12-01 17:13 ` Pushpal Sidhu 1 sibling, 0 replies; 16+ messages in thread From: Pushpal Sidhu @ 2014-12-01 17:13 UTC (permalink / raw) To: Yeoh Chun-Yeow; +Cc: Ben Greear, ath10k@lists.infradead.org On Wed, Nov 26, 2014 at 5:04 PM, Yeoh Chun-Yeow <yeohchunyeow@gmail.com> wrote: > Are you joining the adhoc network in non-HT mode? Anyway, even if you > use HT mode, the rate control is not working for 999.x firmware and > always stuck at 6Mbps as far as I know. Right, I should've been more clear. 6mbps rate when using any HT mdoe (HT20/HT40+-), 54mbps rate in non-HT. Same behavior as the 999.x firmware. - Pushpal _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2014-12-04 15:29 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-11-26 0:59 IBSS mode is now supported by CT firmware Ben Greear 2014-11-26 1:21 ` Yeoh Chun-Yeow 2014-11-26 1:39 ` Ben Greear 2014-11-26 1:48 ` Yeoh Chun-Yeow 2014-11-26 1:50 ` Ben Greear 2014-11-26 2:14 ` Yeoh Chun-Yeow 2014-11-26 1:57 ` Dave Taht 2014-11-26 22:36 ` Pushpal Sidhu 2014-11-27 1:04 ` Yeoh Chun-Yeow 2014-11-28 11:42 ` Yeoh Chun-Yeow 2014-11-28 16:28 ` Ben Greear 2014-11-29 0:25 ` Yeoh Chun-Yeow 2014-12-01 17:38 ` Pushpal Sidhu 2014-12-01 17:57 ` Ben Greear 2014-12-04 15:28 ` Sven Eckelmann 2014-12-01 17:13 ` Pushpal Sidhu
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.