Fwd: svn commit: r240448 - head/sys/dev/ath/ath_hal/ar5416

2012-09-13 Thread Adrian Chadd
for long distance link support (which requires tweaking slot timing, ACK/CTS timing, etc.) Let me know if you'd like a mini-project to hack on. Adrian -- Forwarded message -- From: Adrian Chadd adr...@freebsd.org Date: 13 September 2012 00:24 Subject: svn commit: r240448 - head/sys

Re: Many ath resets with two clients

2012-09-13 Thread Adrian Chadd
Hiya, That link doesn't work. CAn you please double-checK/ THanks, Adrian On 13 September 2012 14:24, Lev Serebryakov l...@freebsd.org wrote: Hello, Freebsd-wireless. AR9220 in AP mode, kernel r240324, WAP2, _two_ clients, both 802.11g. One client sends data over TCP (bulk copy

Re: Many ath resets with two clients

2012-09-16 Thread Adrian Chadd
Right, please run 'athstats' and 'athsurvey' for a while, let me know what the results are? It's hard to tell whether it's stuck due to interference/noise, or whether it's due to a busy PCI bus, or some other kind of garbage going on.. Adrian On 13 September 2012 15:56, Lev Serebryakov

Re: Heads up: AR7241 + PCIe and AR9287 on-board stuff works

2012-09-18 Thread Adrian Chadd
Is this -HEAD? Did you define MALLOC_PRODUCTION? Adrian On 18 September 2012 07:11, Johann Hugo jh...@meraka.csir.co.za wrote: On Wednesday 05 September 2012 01:20:10 Adrian Chadd wrote: On 28 August 2012 21:00, Adrian Chadd adr...@freebsd.org wrote: The default (most things as modules

Re: [CFT]: filtered frames support

2012-09-18 Thread Adrian Chadd
I've found/fixed the BAR and filtered frame issues that crept up; as well as some other filtered frames related hangs. I committed the mess to -HEAD. Please update, test and let me know if things hang in weird and strange ways. adrian On 12 September 2012 16:08, Adrian Chadd adr

[CFT] filtered frames support is now in -HEAD, please test

2012-09-20 Thread Adrian Chadd
Hi all, I've finished pushing the filtered frames support into -HEAD and I've flipped it on. I've also found a couple of strange interactions with BAR (which are likely BAR bugs in the first place) which I've also committed a workaround for until I can fix net80211. There's a bunch of possible

Re: Performance of AR9287

2012-09-21 Thread Adrian Chadd
, September 21, 2012 12:50:08 AM Adrian Chadd wrote: Which iperf is upload and which is download? Can you run athstats during the transfer? Adrian On Sep 20, 2012 8:57 PM, Derrick Edwards dantavious...@gmail.com wrote: Hi, I am utilizing an mini PCIE AR9287 mini PCI-E

Re: Regression AR2413 from 9.1 to 10

2012-09-23 Thread Adrian Chadd
On 23 September 2012 10:06, Sven Hazejager s...@hazejager.nl wrote: Hi Adrian, I am unable to build any svn sources from around March and April due to some yacc/parse.y failure that I cannot fix within the time I have. Can I simply restore an older version of sys/modules/ath and sys/dev/ath

Re: Regression AR2413 from 9.1 to 10

2012-09-23 Thread Adrian Chadd
Looks like someone else is reporting a problem. I wonder if I broke beacon handling somehow.. Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to

Re: broken TX in HEAD (AR5212)

2012-09-24 Thread Adrian Chadd
On 24 September 2012 03:00, Berislav Purgar bpur...@gmail.com wrote: Hi just tested it .. it's ok ! Sweet. I thought it would be, the patch was just me preparing for the next phase of software retransmit handling. :-) Lev, can you try -HEAD and let me know? Thanks, Adrian

Re: ath0_node_lock ath0_com_lock lor

2012-09-28 Thread Adrian Chadd
On 28 September 2012 07:03, PseudoCylon moonlightak...@yahoo.ca wrote: Hm, that's odd. Who wants to go digging to figure out which code paths are causing this? :) A suggestion in setmlme_dropsta() http://fxr.watson.org/fxr/source/net80211/ieee80211_ioctl.c#L1331 Just forget about node

Re: AR9160 3x3 but only getting 2x2?

2012-09-29 Thread Adrian Chadd
Hi, Nope. Its a two stream device. Ill email the list when the ar9380 3 stream support is in On Sep 29, 2012 11:06 AM, Sven Hazejager s...@hazejager.nl wrote: Hi there, I'm running FreeBSD 10-CURRENT r240893 on ALIX, just replaced my old 802.11g by a DNMA-83 3x3 802.11 card, works great,

Re: Dual-band 802.11n support, in AP mode?

2012-09-30 Thread Adrian Chadd
Hi, Your best bet is to buy one of the supported Atheros 802.11n NICs - AR5416, AR9160, AR9220. AR9285 didn't come in a PCI flavour. The AR9227 is a PCI version of the AR9287, but it's 2GHz only. You can find PCI D-Link adaptors that have either AR9220 or AR5416 NICs in them. Be sure it's dual

[RFT] power-save TX suspend and resume (was Fwd: svn commit: r241170 - head/sys/dev/ath)

2012-10-03 Thread Adrian Chadd
data.) Thanks, Adrian -- Forwarded message -- From: Adrian Chadd adr...@freebsd.org Date: 3 October 2012 16:23 Subject: svn commit: r241170 - head/sys/dev/ath To: src-committ...@freebsd.org, svn-src-...@freebsd.org, svn-src-h...@freebsd.org Author: adrian Date: Wed Oct 3 23:23

Re: [RFC] How the TX path works; I'd like to fix this before 10.x

2012-10-06 Thread Adrian Chadd
2012 23:44:10 -0700 From: Adrian Chadd adr...@freebsd.org Subject: [RFC] How the TX path works; I'd like to fix this before 10.x To: freebsd-wireless@freebsd.org Message-ID: CAJ-VmomS=7Udyixqqss_1261EXzEpeYBuAWqwiKEah= 5v4r...@mail.gmail.com Content-Type: text/plain; charset

Re: [RFC] How the TX path works; I'd like to fix this before 10.x

2012-10-07 Thread Adrian Chadd
wrote: On Sat, Oct 6, 2012 at 3:00 PM, Adrian Chadd adr...@freebsd.org wrote: Well, i would like to implement if_transmit for net80211 tx, then have the tx routine queue the frame and wakeup the tx taskqueue or tasklet. Im not sure yet whether to put the tx processing in the existing ic

Re: Wireless network Broadcom not connected.

2012-10-21 Thread Adrian Chadd
Hi, Please post the output of 'ifconfig wlanX list scan' to the list. :-) That'll make it much more obvious. Thanks, Adrian On 20 October 2012 22:41, yo9...@yahoo.com wrote: I have a Laptop Acer Extensa 5220 but I can not connect to wireless network. Broadcom Corporation BCM4312

Re: Wireless network Broadcom not connected

2012-10-21 Thread Adrian Chadd
Let's start from scratch: please re-paste the output of 'ifconfig wlanX list scan' and 'ifconfig wlanX list sta'. If it doesn't associate, we need to figure that out. As I said on twitter, the output from the driver shows the RSSI values are invalid looking. So I think that's indicative of some

Re: Wireless network Broadcom not connected

2012-10-21 Thread Adrian Chadd
22.10.2012 02:06, Adrian Chadd a scris: On 21 October 2012 16:03, George yo9...@gmail.com wrote: root@fbsd:/home/yo9fah # ifconfig wlan0 list scan SSID/MESH IDBSSID CHAN RATE S:N INT CAPS D.O.D 34:08:04:08:3c:141 54M -133:-95 100 EPS WPS HTCAP WME

Re: 11n channel width

2012-10-22 Thread Adrian Chadd
On 22 October 2012 06:56, Johann Hugo jh...@meraka.csir.co.za wrote: Hi What difference in throuput can one expect between ht/20 and a ht/40 ? If you're hitting best possible circumstances? Almost 2x. Now, where's my IBSS HT bug? :) I can easily debug that stuff now. adrian Johann

Re: 11n in adhoc mode

2012-10-22 Thread Adrian Chadd
Yay, bug! Adrian On 22 October 2012 07:21, Adrian Chadd adr...@freebsd.org wrote: .. please file a bug. :-) Now that I have VIMAGE mostly working with wifi, I'd like to take the opportunity to fix whatever 11n ibss bugs you see. There's no reason why aggregation and MCS rates shouldn't

Re: misc/172955: [ath] 11n does not work in adhoc mode

2012-10-22 Thread Adrian Chadd
The following reply was made to PR kern/172955; it has been noted by GNATS. From: Adrian Chadd adr...@freebsd.org To: Johann Hugo jh...@meraka.csir.co.za Cc: bug-follo...@freebsd.org Subject: Re: misc/172955: [ath] 11n does not work in adhoc mode Date: Mon, 22 Oct 2012 12:57:42 -0700 Right

Re: Wireless network Broadcom not connected

2012-10-22 Thread Adrian Chadd
Guys, I think there's a bug in the bwn driver. But since there's no driver maintainer at the moment, I don't know how/if it's going to get fixed. The first thing that creeps to mind is why are the RSSI values the way they are. Is it just cosmetic, or is the unit actually seeing really, really

Re: misc/172955: [ath] 11n does not work in adhoc mode

2012-10-23 Thread Adrian Chadd
Ok- the problem here is that unfortunately the adhoc code doesn't do any of the HT field parsing or upgrading. Adding the parsing isn't enough, it still doesn't properly negotiate HT on both ends, so it doesn't upgrade the rate control. Also - the WME parameters aren't parsed either, leading to

Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support

2012-11-07 Thread Adrian Chadd
I'd love if someone would do this. Anyone? Adrian On 7 November 2012 21:09, Christopher Patrick cpatric...@rocketmail.com wrote: I was wondering If you would be kind enough to port urtwn from Openbsd. I would be willing to test it if you would please port it.

Re: Re: porting urtwn from openbsd to freebsd for RTL8188CE Driver Support

2012-11-10 Thread Adrian Chadd
On 8 November 2012 02:07, Kevin Lo ke...@freebsd.org wrote: Kevin Lo wrote: I am by no means a serious wireless expert. After hours of porting/hacking, I came up with code what finally compiled and a basic function worked for me. Wish I had more free time to finish it. Sweet! Does it pass

Re: Strange output from ndisgen'ed driver in 10-Current

2012-11-16 Thread Adrian Chadd
Does it have a USB bluetooth adaptor on board? I know the atheros wifi+bt combo cards use a USB bluetooth chip. Adrian On 16 November 2012 10:36, Гуляев Гоша gosha-n...@yandex.ru wrote: Good day! I'm tryin to get working wireless card RTL8723AE on my laptop with FreeBSD

Fwd: svn commit: r243174 - head/sys/dev/ath/ath_hal/ar5210

2012-11-16 Thread Adrian Chadd
For like, the two of you out there who still have an AR5210 of some sort, please try this out. This seems to work correctly and correctly populate the RTS duration field. Adrian -- Forwarded message -- From: Adrian Chadd adr...@freebsd.org Date: 16 November 2012 18:39 Subject

Re: Replacing wireless nic on my router

2012-11-17 Thread Adrian Chadd
On 17 November 2012 12:37, Dmitry Kolosov o...@z-up.ru wrote: Did not found any reasons. Moved to debian linux. That's a shame, I'd like to try and trace this particular issue down. I've added debugging to the ath driver in -HEAD that lets us record the actual TX and RX descriptors from the

(Re) Verifying TDMA behaviour on -HEAD

2012-11-17 Thread Adrian Chadd
So for the record, I have a couple of -HEAD devices up and running with TDMA. AP: ath0: Atheros 5413 irq 16 at device 0.0 on cardbus0 ath0: AR5413 mac 10.4 RF5413 phy 6.1 ifconfig wlan0 create wlandev ath0 wlanmode tdma ifconfig wlan0 ssid ADRIAN_TDMA channel 48:a ifconfig wlan0 tdmaslotcnt 2

Re: (Re) Verifying TDMA behaviour on -HEAD

2012-11-18 Thread Adrian Chadd
Oh, and if you would ever like to see 11n + TDMA work, someone first needs to make adhoc+11n work. I'm happy to help out that. I almost got it working here too adrian On 17 November 2012 15:57, Adrian Chadd adr...@freebsd.org wrote: So for the record, I have a couple of -HEAD devices

Fixing the encryption keycache handling for the AR5210, or things I do to avoid going out..

2012-11-18 Thread Adrian Chadd
Hi, I noticed that the AR5210 NIC I have here wasn't associating to WPA networks. Now, the AR5210 only implements WEP (and clear!) so it should be punting the non-WEP frames to the net80211 stack for software encryption/decryption handling. However, it was erroring out. The net80211 stack was

Re: Today's wireless update - TL;DR - please test -HEAD

2012-11-18 Thread Adrian Chadd
On 17 November 2012 21:09, Joshua Isom jri...@gmail.com wrote: When you need a beta tester, or alpha as long as my hard drives are safe, I'll be more than willing to try. Thanks. I'm using the AR9380 in STA mode almost every day at the moment, without any (obvious) issues. Hostap requires some

Re: Replacing wireless nic on my router

2012-11-18 Thread Adrian Chadd
On 17 November 2012 22:25, Dmitry Kolosov o...@z-up.ru wrote: Actually it is my wife's laptop and she need to work. Anyway, i have -9 based client and -9 based AP of my own, and of course, i am _interested_ in helping and debuging. I am very interested in wireless on FreeBSD, and waiting for

Re: kern/173636: [ath] ath1: bad series0 hwrate 0x0, tries 1 ts_status 0x0

2012-11-18 Thread Adrian Chadd
Right, try updating to the latest -HEAD. It should be fine. The problem was the uninitialised final descriptor in an aggregate chain, which is why you are seeing it when you flip on 11n. Adrian On 18 November 2012 23:31, Johann Hugo jh...@meraka.csir.co.za wrote: On Sunday 18 November 2012

Re: Today's wireless update - TL;DR - please test -HEAD

2012-11-19 Thread Adrian Chadd
Nope, because there's no ETA at the present moment on when I've cleared all the hurdles for an open source AR9380 HAL. On the flip side, the driver side is almost done. All that I have to do now is PAPRD training calibration support and MSI handling; then it's _just_ the HAL. So if someone wanted

Re: Today's wireless update - TL;DR - please test -HEAD

2012-11-19 Thread Adrian Chadd
That's right. The atheros devices have one MAC and one radio. There was a module which used one MAC and two radios (one 2ghz and one 5ghz) but only one was active at a time. since there was only one MAC, you couldn't even do dual-band concurrent operation with that. There's nothing _stopping_ a

Re: D-Link DWA-525 is not detected

2012-11-21 Thread Adrian Chadd
I don't think the RAL driver supports that card yet? adrian On 21 November 2012 06:23, Volodymyr Kostyrko c.kw...@gmail.com wrote: Hi all. I just bought a card and trying to make it work with FreeBSD. none1@pci0:4:1:0: class=0x028000 card=0x3c051186 chip=0x53601814 rev=0x00

Re: (Re) Verifying TDMA behaviour on -HEAD

2012-11-22 Thread Adrian Chadd
On 17 November 2012 15:57, Adrian Chadd adr...@freebsd.org wrote: Now, after the work done last year to make the 11n NICs work, I haven't sat down and tried that. I likely should do that soon. But at least for that very specific MAC version above, it seems to work just fine. .. so it's

Re: (Re) Verifying TDMA behaviour on -HEAD

2012-11-23 Thread Adrian Chadd
On 23 November 2012 05:40, Johann Hugo jh...@meraka.csir.co.za wrote: Where can I find some more info on how to configure TDMA and what things one can tweak. Yeah, I'll have to braindump something into the Wiki. adrian ___

Re: D-Link DWA-525 is not detected

2012-11-23 Thread Adrian Chadd
On 22 November 2012 04:22, Volodymyr Kostyrko c.kw...@gmail.com wrote: 22.11.2012 03:46, Adrian Chadd wrote: I don't think the RAL driver supports that card yet? It certainly looks like. I was just hoping someone's got the patches and need to test them. :) I'll send someone cookies

Re: (Re) Verifying TDMA behaviour on -HEAD

2012-11-23 Thread Adrian Chadd
On 23 November 2012 05:39, Adrian Chadd adr...@freebsd.org wrote: On 23 November 2012 05:28, Michael Vale mas...@internode.on.net wrote: When I get back from my holiday I will test this on numerous multi-km ptp and ptmp links mate. Hold off for a bit, I'm seeing some (recovered) timing drift

Re: wifi + wpa_supplicant in 9.1-RC3

2012-11-24 Thread Adrian Chadd
On 24 November 2012 22:10, Kevin Oberman kob6...@gmail.com wrote: Adrian, I really don't have any data and I do't like to submit a PR that basically says It don't work good. I only have had an 'N' AP for about three weeks and only noticed the problem a few days ago when I copied some

Re: Replacing wireless nic on my router

2012-11-25 Thread Adrian Chadd
On 25 November 2012 11:20, Dmitry Kolosov o...@z-up.ru wrote: It seems like after replacing a wireless nic on my AP only 8-based laptop refuses to work. It even associating fine, but did not received any packet from AP after association. Same time, AP received DHCP packets from this 8-based

Re: Replacing wireless nic on my router

2012-11-25 Thread Adrian Chadd
Oh, can you -please- smack me around with the PR you filed (you filed a PR, right?) so I can backport this change to -8? Thanks, Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To

Re: (Re) Verifying TDMA behaviour on -HEAD

2012-11-26 Thread Adrian Chadd
and now TDMA works right with the 11n chips. They're only doing 11a rates for now, but the timer programming works. There's a bunch more work to do with the 11n chips and timer programming, mostly to figure out why the clock sync drift is slightly worse/different than the 11a cards. But I

Re: kern/149516: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated

2012-11-29 Thread Adrian Chadd
Hi, Yes. As I said, the whole configure an alternate MAC thing isn't very consistent and I'm sure that the whole migration to VAP interfaces made some of the MAC BSSID and local ethernet card address programming inconsistent. If you want to take a look at whta's in the card: * add ATH_DIAGAPI,

Please test - collapsing the TX locking down to ATH_TX_LOCK()

2012-11-30 Thread Adrian Chadd
Hi all, This patch collapses all of the TXQ locking down to a single TX lock and (mostly correctly) wraps the TX outbound path in a single, giant lock. The TX completion path is still a patchwork of locking, primarily because _it_ needs to be able to free net80211 node references and that can't

TDMA update: 802.11n NIC - 802.11n NIC is now working stable (alas at 802.11a rates..)

2012-11-30 Thread Adrian Chadd
Hi, I meant to post this last night but fell asleep. :-) I've verified that the 11n NIC - 11n NIC TDMA setup is working and working stable. I haven't yet run it over the course of time needed to wrap a 32 bit TSF, so that's next. In this instance: * TDMA master: AR9280 * TDMA slave: AR5416 I

Re: kern/173898: [iwn] [patch] iwn(4) DOES support 6235 chip.

2012-11-30 Thread Adrian Chadd
It's not that simple. Speak to bernhard. There are other issues that he knows about. I don't know if he's replied to the email or not; poke him on irc. adrian On 30 November 2012 15:25, ead...@freebsd.org wrote: Synopsis: [iwn] [patch] iwn(4) DOES support 6235 chip.

Re: kern/149516: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated

2012-11-30 Thread Adrian Chadd
On 29 November 2012 22:58, Martin na...@web.de wrote: this is not good, if alternate MACs are not supported, because you also need them to configure multiple access points in hostapd. Take a look at the end of the hostapd.conf in examples. This definitely takes away features. Alternate MACs

Re: Please test - collapsing the TX locking down to ATH_TX_LOCK()

2012-12-01 Thread Adrian Chadd
On 1 December 2012 08:05, Howard Goldstein h...@queue.to wrote: I've been beating the patched head up on an Asus EEE 701 notebook for the better part of a day without any issues. Looks great The 701 identifies as an AR2425/5424 (Swan) Thanks Howard Thanks! Adrian

Re: Please test - collapsing the TX locking down to ATH_TX_LOCK()

2012-12-01 Thread Adrian Chadd
Hi, I've committed the patch, with an extra bugfix (recursive locking, eek.) I'm now going to go through and begin un-doing the couple of LORs I know will occur when ieee80211_free_node() is called whilst the TX lock is held. Please update to -HEAD and test thoroughly with WITNESS enabled. I'm

Re: Problem with Atheros card, regression? Layer 8 problem?

2012-12-03 Thread Adrian Chadd
That's really good to know! Thanks! Adrian On 3 December 2012 22:20, Derek Kulinski tak...@takeda.tk wrote: Hello Adrian, So I figured the problem out. This is how it went. I booted OpenSuSE and couldn't find the device as well... At that point I was sure that the problem is with my

Hm, somehow the fast frames code is broken (surprise)

2012-12-08 Thread Adrian Chadd
Hi, I've started seeing panics in the fast frames code in FreeBSD-HEAD. It's quite possible this has been here a while; I've heard rumours about this dating back to last year. The reason? Because I was doing iperf tests between AR5212/AR5413/AR5414 NICs and the HAL/driver enables the fast frames

Re: Hm, somehow the fast frames code is broken (surprise)

2012-12-08 Thread Adrian Chadd
... On 8 December 2012 01:24, Adrian Chadd adr...@freebsd.org wrote: * upon a node purge, there's a panic inside m_free() from ieee80211_ff_node_cleanup(), where it dereferences a pointer 0xdeadc0de. So there's some use-after-free nonsense going ... aaand look at that, I've just fixed

TX path serialisation notes

2012-12-09 Thread Adrian Chadd
Hi all, Here's a brief(ish) braindump of my 802.11 TX path notes: http://wiki.freebsd.org/AdrianChadd/WifiTxNotes I'm open to the beginnings of suggesting how we can address this all before 10.0 ships and we end up having to introduce ABI breaking fixes. Thanks, Adrian

Re: [ath] Degraded throughput - adhoc mode

2012-12-09 Thread Adrian Chadd
On 18 May 2012 02:33, Johann Hugo jh...@meraka.csir.co.za wrote: Hi We have an outdoor wifi mesh network with various atheros adapters configured in adhoc mode. (FreeBSD-9) Hi, Please try -HEAD. I _think_ I've handled the WME configuration side of things right in IBSS mode. The problem with

Re: [ath] Degraded throughput - adhoc mode

2012-12-09 Thread Adrian Chadd
Hm, there's some odd behaviour. If I configure the WME parameters before I bring the interface up, bringing it up overrides the parameters. I'll do some further digging in a few minutes. Something tells me the aggressive mode logic is overriding the configured WME parameters. G! Adrian

Re: [ath] Degraded throughput - adhoc mode

2012-12-09 Thread Adrian Chadd
Ok, I've just taught the aggressive mode logic about IBSS. It's pretty dirty - I may cop some hate for enabling aggressive mode for IBSS as each IBSS node doesn't know about the overall voice/video data rates. That's how it works in AP mode - the AP tracks the traffic _it_ is sending/receiving and

Re: 11n in adhoc mode

2012-12-10 Thread Adrian Chadd
Ok, I've started digging into this a bit more. I need to get 11n adhoc working so I can get 11n ahdemo working, so we can actually do 11n TDMA at some point in the near future. There's a whole lot of missing stuff: * ieee80211_add_neighbor() and ieee80211_init_neighbor() don't know about HT at

Re: 11n in adhoc mode

2012-12-10 Thread Adrian Chadd
Ok, wow. I think I finally understand the level of huh? going on here. When a new BSS is created, everything now works out great. It creates a BSS, the channel is promoted to 11n correctly, it gets the 11n IE's populated, etc. When you're joining a BSS however, it doesn't do any of this.

Re: 11n in adhoc mode

2012-12-11 Thread Adrian Chadd
.. so now I have 11n IBSS working, but the performance is pretty shocking. I bet there's some timers that are just not programmed correctly. I see massive numbers of long retries and CRC errors. In any case, there are a few odd things out: * ieee80211_ies_expand() doesn't parse HTINFO, only

Re: 11n in adhoc mode

2012-12-11 Thread Adrian Chadd
Hm, you may be right; but I disabled HT protection entirely and stuck it on a very quiet channel. It's possible both ends were colliding with each other though. I did add some HT update code to the adhoc beacon processing, though. It's just not entirely clear how to handle that given the nature

Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
Here's what I have trimmed this down to so far: http://people.freebsd.org/~adrian/ath/20121212-11n-ibss-and-other-stuff-3.diff Please disable ampdu for now (ifconfig wlanX -ampdu) as it just plain doesn't work. I'll figure out why once I figure out the cleanest way to get this 11n IBSS stuff

Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
.. hey, scratch that. 11n aggregation works in IBSS mode with my patch, at least on ath(4). I bet there's all kinds of weird subtle crap going on that we need to fix, but the basics are working. Adrian ___ freebsd-wireless@freebsd.org mailing list

Re: 11n in adhoc mode

2012-12-12 Thread Adrian Chadd
(-1) ratemask 0x0 See that? The ratemask is all wrong, even for an 11a/11bg node. Maybe how it learnt about the second node was via a different code path.. Adrian On 12 December 2012 04:29, Johann Hugo jh...@meraka.csir.co.za wrote: On Wednesday, December 12, 2012 01:58:38 AM Adrian Chadd wrote

Re: AR9285 not see n-channels

2012-12-12 Thread Adrian Chadd
What's 'ifconfig wlan0' and 'ifconfig wlan0 list sta' look like? adrian On 12 December 2012 15:51, Andrey Fesenko f0and...@gmail.com wrote: I have # uname -a FreeBSD beastie.mydomain.local 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r243259: Mon Nov 19 09:28:08 MSK 2012

Re: AR9285 not see n-channels

2012-12-12 Thread Adrian Chadd
.. yup, you're doing 11n! Welcome! Adrian On 12 December 2012 16:54, Andrey Fesenko f0and...@gmail.com wrote: On Thu, Dec 13, 2012 at 4:44 AM, Adrian Chadd adrian.ch...@gmail.com wrote: Yup. It's doing 11n rates. Compile and run athstats, it'll tell you how many aggregate frames are being

Re: AR9285 not see n-channels

2012-12-12 Thread Adrian Chadd
Hi, The AR9285 is a 2GHz only NIC. The channel list shows 11b, 11bg, HT20 and HT40 channels. It all looks right, why don't you think it is? Adrian On 12 December 2012 17:32, Andrey Fesenko f0and...@gmail.com wrote: On Thu, Dec 13, 2012 at 4:55 AM, Adrian Chadd adrian.ch...@gmail.com wrote

Re: AR9285 not see n-channels

2012-12-12 Thread Adrian Chadd
Right, that's what HT is for. Adrian On 12 December 2012 17:39, Andrey Fesenko f0and...@gmail.com wrote: On Thu, Dec 13, 2012 at 5:33 AM, Adrian Chadd adrian.ch...@gmail.com wrote: Hi, The AR9285 is a 2GHz only NIC. The channel list shows 11b, 11bg, HT20 and HT40 channels. It all looks

Re: AR9285 not see n-channels

2012-12-15 Thread Adrian Chadd
high throughput) rates, so expect ifconfig to grow vht information shortly. Adrian On 15 December 2012 08:03, Fbsd8 fb...@a1poweruser.com wrote: Adrian On 12 December 2012 17:39, Andrey Fesenko f0and...@gmail.com wrote: On Thu, Dec 13, 2012 at 5:33 AM, Adrian Chadd adrian.ch...@gmail.com

Re: Atheros chip for FreeBSD Access Point

2012-12-16 Thread Adrian Chadd
On 16 December 2012 06:38, rank1see...@gmail.com wrote: I need a card(PCI/PCIe) with Atheros bassed chip, for hostAP with 5Ghz + n support Hi! After searching '/sys/dev/ath' for 'hostap' on '9.0-RELEASE-p5', 'AR5416' came out as a lattest chip, which supports it + N ready + supports 5ghz

Re: Atheros chip for FreeBSD Access Point

2012-12-16 Thread Adrian Chadd
On 16 December 2012 10:53, rank1see...@gmail.com wrote: Thank you Adrian You're welcome! So you've said: 'AR9280' It's only bug is: -- baseband hangs? -- Whatever it means. ;) The baseband occasionally needs poking. don't worry, the workarounds are in the driver. ;) At which aspects

Re: kern/174722: [wlan] can't use channel 12 and 13 (14) with my wifi interface

2012-12-27 Thread Adrian Chadd
The following reply was made to PR kern/174722; it has been noted by GNATS. From: Adrian Chadd adr...@freebsd.org To: bug-follo...@freebsd.org Cc: Carsten Wiedmann carsten_st...@gmx.de Subject: Re: kern/174722: [wlan] can't use channel 12 and 13 (14) with my wifi interface Date: Thu, 27 Dec 2012

.. if_transmit() and the quirky issues with node referencing

2012-12-27 Thread Adrian Chadd
So I finally figured out my problem with if_transmit()'ifying the ath(4) code. (Yes, this means I have TX fragmentation working with ath(4), as well as some non-trivial performance improvements in TX TCP tests.) In quick summary: net80211's call to the driver will decrement the node ref if the

Re: kern/174722: [wlan] can't use channel 12 and 13 (14) with my wifi interface

2012-12-28 Thread Adrian Chadd
Hm, ok, so try: ifconfig wlan0 down ifconfig wlan0 ecm ifconfig wlan0 regdomain DE ifconfig wlan0 up ifconfig wlan0 list channel Adrian On 28 December 2012 04:50, Carsten Wiedmann carsten_st...@gmx.de wrote: The following reply was made to PR kern/174722; it has been noted by GNATS. From:

Re: kern/174722: [wlan] can't use channel 12 and 13 (14) with my wifi interface

2012-12-28 Thread Adrian Chadd
Regards, Carsten Original-Nachricht Datum: Fri, 28 Dec 2012 06:29:19 -0800 Von: Adrian Chadd adr...@freebsd.org An: Carsten Wiedmann carsten_st...@gmx.de CC: freebsd-wireless@freebsd.org Betreff: Re: kern/174722: [wlan] can\'t use channel 12 and 13 (14) with my wifi interface

Re: Cannot bring up wireless adapter on Acer notebook

2012-12-31 Thread Adrian Chadd
What's teh PCI ID of this thing? Adrian On 30 December 2012 21:06, Савельев Владимир vlasave...@yandex.ru wrote: This is Acer nplify card. Acer Nplify 802.11a/g/n + BT 4.0 31.12.2012, 04:01, Outback Dingo outbackdi...@gmail.com: Is this a broadcom or intel wireless chip??

Re: AR9485 support

2012-12-31 Thread Adrian Chadd
Hi, On 31 December 2012 06:34, Mario Pavlov free...@abv.bg wrote: Hi, several months ago I found this http://lists.freebsd.org/pipermail/freebsd-wireless/2012-June/001835.html as an answer to the question if AR9485 is supported. Now that FreeBSD 9.1 is out I decided to check if this chip is

Re: Cannot bring up wireless adapter on Acer notebook

2012-12-31 Thread Adrian Chadd
On 30 December 2012 14:06, Владимир Савельев vlasave...@gmail.com wrote: Hi, all! I installed FreeBSD 8.3 on my Acer Aspire V3-571G and cannot configure wireless adapter on it. Wired network works ok. kldload if_wi says: module_register: module pcccard/wi already exists! Module pccard/wi

Re: if_transmit() and the quirky issues with node referencing

2012-12-31 Thread Adrian Chadd
Oh god, please create a PR for that particular scenario so we don't have that happen. Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to

Skeleton spectral scan driver support is in -HEAD (was Re: svn commit: r244953 - in head/tools/tools/ath: . athspectral)

2013-01-01 Thread Adrian Chadd
, etc.) once the basic FFT visualisation is done. Go forth and do interesting things. Oh, and please open source some of them. :) Adrian On 1 January 2013 20:02, Adrian Chadd adr...@freebsd.org wrote: Author: adrian Date: Wed Jan 2 04:02:27 2013 New Revision: 244953 URL: http

Re: ath0: could not map interrupt

2013-01-02 Thread Adrian Chadd
... sounds like a definite interrupt routing issue. Who's been knee deep in the interrupt handling code in MIPS lately? Grrr. I know there's been some FDT work in MIPS and that's touched some interrupt code.. maybe that's interfering? Adrian On 2 January 2013 12:40, Monthadar Al Jaberi

Re: ath0: could not map interrupt

2013-01-03 Thread Adrian Chadd
...@gmail.com wrote: On Wed, Jan 2, 2013 at 9:43 PM, Adrian Chadd adr...@freebsd.org wrote: ... sounds like a definite interrupt routing issue. Who's been knee deep in the interrupt handling code in MIPS lately? Grrr. I know there's been some FDT work in MIPS and that's touched some interrupt code

Re: ath0: could not map interrupt

2013-01-04 Thread Adrian Chadd
On 4 January 2013 11:24, Monthadar Al Jaberi montha...@gmail.com wrote: On Fri, Jan 4, 2013 at 8:13 PM, Adrian Chadd adr...@freebsd.org wrote: Ok. The magic you need to try hacking is in ar71xx_pci.c. There's the 7 PCI windows and the 3 interrupt lines that are configured. The IRQ only gets

freebsd-head and spectral scan

2013-01-08 Thread Adrian Chadd
I hereby give you, AR9280 doing spectral + channel scanning: http://people.freebsd.org/~adrian/ath/fft_snapshot_5ghz.7.png adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe,

Re: freebsd-head and spectral scan

2013-01-09 Thread Adrian Chadd
Primarily- to look at inteference sources. Adrian Sent from my Palm Pre on ATamp;T On Jan 9, 2013 10:59 AM, Vincent Hoffman lt;vi...@unsane.co.ukgt; wrote: On 09/01/2013 00:07, Adrian Chadd wrote: gt; I hereby give you, AR9280 doing spectral + channel scanning: gt; gt; http

Re: Atheros 9220 don't return from S3 state

2013-01-09 Thread Adrian Chadd
Does it happen every time? Which version of freebsd is it? Adrian Sent from my Palm Pre on ATamp;T On Jan 9, 2013 7:11 AM, Slawa Olhovchenkov lt;s...@zxy.spb.rugt; wrote: I am try play with suspend resume and see Atheros 9220 don't return from s3 state: [833] ath0: unable to reset

Re: Atheros 9220 don't return from S3 state

2013-01-10 Thread Adrian Chadd
.. odd. Is anything else behind that PCI bridge? I can do some digging in a couple weeks; I don't have any AR9220's on me at the moment. Adrian On 10 January 2013 00:07, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Wed, Jan 09, 2013 at 06:00:21PM -0500, Adrian Chadd wrote: Does it happen

Re: freebsd-head and spectral scan

2013-01-10 Thread Adrian Chadd
i'll write up something in the next few days. Adrian On 10 January 2013 07:23, Sven Hazejager s...@hazejager.nl wrote: On Wed, Jan 9, 2013 at 1:07 AM, Adrian Chadd adr...@freebsd.org wrote: I hereby give you, AR9280 doing spectral + channel scanning: Much appreciated, Adrian. That is great

Re: Atheros 9220 don't return from S3 state

2013-01-11 Thread Adrian Chadd
.. so there's no _specific_ code being run when it goes to sleep or comes back from sleep for the 11n PCI NICs (AR5416, AR9160, AR9220, AR9227..) .. there's some code to tinker with the internal reset line(s) that force the hardware to re-initialise, but that's not appropriate for you. The

Re: Debugging Stalls with ath(4)

2013-01-11 Thread Adrian Chadd
... oh this is kind of strange. Hm, it's interesting that it's delaying that much; I wonder if the air is really busy and the transmitter just can't squeeze a frame out into the air. How close is it? What's the RSSI? adrian On 8 January 2013 15:50, Andrew and...@ugh.net.au wrote: Hi, I

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Adrian Chadd
Hi, There's no firmware for the AR9220 .. it's all in the driver/HAL. If XP restore isn't working; maybe there's something in the ACPI/BIOS that's screwing things up? Adrian ___ freebsd-wireless@freebsd.org mailing list

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Adrian Chadd
-read those config registers. Thanks, Adrian On 12 January 2013 07:44, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Sat, Jan 12, 2013 at 07:27:02AM -0800, Adrian Chadd wrote: Hi, There's no firmware for the AR9220 .. it's all in the driver/HAL. If XP restore isn't working; maybe there's

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Adrian Chadd
.. right, try flipping the rf kill switch off/on after suspend, dump the config registers. Adrian On 12 January 2013 08:28, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Sat, Jan 12, 2013 at 07:52:19AM -0800, Adrian Chadd wrote: Ah, is it perhaps rfkill related? I've seen issues

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Adrian Chadd
On 12 January 2013 08:37, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Sat, Jan 12, 2013 at 08:25:22AM -0800, Adrian Chadd wrote: .. right, try flipping the rf kill switch off/on after suspend, dump the config registers. don't react -- 255 times 'ff' Okay. Well, I'll see if there's anything

Re: Atheros 9220 don't return from S3 state

2013-01-12 Thread Adrian Chadd
On 12 January 2013 09:13, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Sat, Jan 12, 2013 at 09:05:37AM -0800, Adrian Chadd wrote: We can't patch pci space if they're all 0x, that means nothing is there. That's the point; the card hasn't come back on from suspend. So we need to do

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
The problem here is I can't easily test this. We detach and re-attach cardbus devices during suspend/resume, so although I have AR9220 mini-PCI NICs, they don't stay connected the normal way. The slot gets fully powered down and reset upon power up. Adrian

Re: Atheros 9220 don't return from S3 state

2013-01-13 Thread Adrian Chadd
Right. That should be a good indication. It's a shame you can't just get a multimeter and measure the relevant pins. :) Adrian ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe,

  1   2   3   4   5   6   7   8   9   10   >