Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2015 01:39:30 -0500
From:      Matthew Grooms <mgrooms@shrew.net>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: urtwn and hostap
Message-ID:  <55FA6022.8090609@shrew.net>
In-Reply-To: <CAJ-VmomwQGDDacpHtSL6W4dXRLAy%2B86piFtHJSMnpZHtyd1A%2Bg@mail.gmail.com>
References:  <55F90187.10809@shrew.net> <55F906CB.9030007@shrew.net> <CAPp9Ormnjpwfk6s5UDei=EUBrmi_Ogapjx1nDTUUN=RTYWwVQA@mail.gmail.com> <CAJ-Vmo=BpM8gCztJm-kBVXY=oRe6vEqS7o5JeSxpUXve4d2chQ@mail.gmail.com> <55F996FD.5060804@shrew.net> <CAJ-VmomwQGDDacpHtSL6W4dXRLAy%2B86piFtHJSMnpZHtyd1A%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080104090206010805030600
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Seems to behave better now and hostap appears to be working ...

#ifconfig wlan0 create wlandev urtwn0 wlanmode hostap
#ifconfig wlan0 list caps
drivercaps=2181c401<STA,HOSTAP,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,BGSCAN>

#ifconfig wlan0 up ssid freebsdap mode 11g channel 1
#ifconfig bridge0 create up addm em0 addm wlan0

#ifconfig wlan0
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 
0 mtu 1500
         ether 00:c3:e1:16:11:32
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
         status: running
         ssid freebsdap channel 1 (2412 MHz 11g) bssid 00:c3:e1:16:11:32
         country US authmode OPEN privacy OFF txpower 0 scanvalid 60
         protmode CTS dtimperiod 1 -dfs
         groups: wlan

#ifconfig bridge0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
1500
         ether 02:df:20:d2:42:00
         nd6 options=1<PERFORMNUD>
         groups: bridge
         id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
         maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
         root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
         member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                 ifmaxaddr 0 port 3 priority 128 path cost 370370
         member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                 ifmaxaddr 0 port 1 priority 128 path cost 20000

The speed leaves a lot to be desired. Throughput for the associated host 
is typically about 2Mbit down and 6Mbit up. I'm assume that's indicative 
of a problem. Occasionally I also see the this message on the console 
when I'm bringing the adapter up ...

wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost

If I down and up the adapter again, it seems to correct itself. Not sure 
what that's all about. I am passing the USB adapter through to a VM 
inside of ESXi to test the patch, so maybe that has something to do with 
these quirks. I'll try to run some tests with the adapter associated to 
a physical AP tomorrow to get a baseline.

Thanks,

-Matthew

On 9/16/2015 11:24 AM, Adrian Chadd wrote:
> The only one to look at is ath(4). I've not fixed/hacked on any other
> hostap chips. :)
>
> if_ath_beacon.c has the logic - it gets a reference when creating a
> beacon frame.
>
>
>
> -adrian
>
>
> On 16 September 2015 at 09:21, Matthew Grooms <mgrooms@shrew.net> wrote:
>> On 9/16/2015 10:58 AM, Adrian Chadd wrote:
>>> I think the net80211 beacon create routine doesn't allocate a node
>>> ref. Yeah, it doesn't. You have to do ieee80211_ref_node() after
>>> calling becaon_create(), and deref it if the tx fails. The TX success
>>> will free the node ref for you.
>>>
>> Got it. I'll take another look at one of the drivers that support hostap to
>> make sure I'm following the same pattern. Thanks again for the feedback!
>>
>> -Matthew
>>
>>
>>> -adrian
>>>
>>>
>>> On 16 September 2015 at 04:27, Idwer Vollering <vidwer@gmail.com> wrote:
>>>> 2015-09-16 8:06 GMT+02:00 Matthew Grooms <mgrooms@shrew.net>:
>>>>
>>>>> It looks like my screenshot got scrubbed. Here is my hopefully faithful
>>>>> transcription ...
>>>>>
>>>>> Fatal trap 9: general protection fault while in kernel mode
>>>>> cpuid = 3; apic id = 03
>>>>> instruction pointer = 0x20:0xffffffff80a01105
>>>>> stack pointer           = 0x28:0xfffffe0092fe86f0
>>>>> frame pointer         = 0x28:0xfffffe0092fe8740
>>>>> code segment         = base 0x0, limit 0xfffff, type 0x1b
>>>>>                                    = DPL 0, pres 1, long 1, def32 0, gran
>>>>> 1
>>>>> processor eflags     = interrupt enabled, resume, IOPL = 0
>>>>> current process      = 716 (ifconfig)
>>>>> [thread pid 716 tid 100082 ]
>>>>> Stopped at      __mtx_lock_flags+0x55:  movq    (%r13),%rax
>>>>> db> bt
>>>>> Tracing pid 716 tid 100082 td 0xffffff800512814d0
>>>>> __mtx_lock_flags() at __mtx_lock_flags+0x55/frame 0xfffffe0092fe8740
>>>>> ieee80211_free_node() at ieee80211_free_node()_0x38/frame
>>>>> 0xfffffe0092fe8780
>>>>> ieee80211_node_vdetach() at ieee80211_node_vdetach()+0x2d/frame
>>>>> 0xfffffe0092fe87a0
>>>>> ieee80211_vap_detach() at ieee80211_vap_detach()+0x35e/frame
>>>>> 0xfffffe0092fe87d0
>>>>> urtwn_vap_delete() at urtwn_vap_delete()+0xe/frame 0xfffffe0092fe87f0
>>>>> if_clone_destroyif() at if_clone_destroyif()+0x1aa/frame
>>>>> 0xfffffe0092fe8840
>>>>> if_clone_destroy() at if_clone_destroy()0x8e/frame 0xfffffe0092fe8860
>>>>> kern_ioctl() at kern_ioctl()+0x230/frame 0xfffffe0092fe88c0
>>>>> sys_ioctl() at sys_ioctl()+0x153/frame 0xfffffe0092fe89a0
>>>>> amd64_syscall() at amd64_syscall()+0x282/frame 0xfffffe0092fe8ab0
>>>>> Xfast_syscall() at Xfast_syscall()+0xfb/frame 0xfffffe0092fe8ab0
>>>>> -- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x8011e8c8a, rsp =
>>>>> 0x7fffffffe2f8, rbp = 0x7fffffffe310 --
>>>>> db>
>>>> Assuming dumpdev="AUTO" is set in /etc/rc.conf, you should have
>>>> entered 'dump' at the db> blinker :)
>>>>
>>>> The trap details are found in /var/crash/, run kgdb: "kgdb
>>>> /boot/kernel/kernel /var/crash/vmcore.last", then run 'bt' and 'up' at
>>>> its prompt.
>>>>
>>>>> -Matthew
>>>>> _______________________________________________
>>>>> freebsd-wireless@freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>>>> To unsubscribe, send any mail to
>>>>> "freebsd-wireless-unsubscribe@freebsd.org"
>>>> _______________________________________________
>>>> freebsd-wireless@freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>>> To unsubscribe, send any mail to
>>>> "freebsd-wireless-unsubscribe@freebsd.org"
>>> _______________________________________________
>>> freebsd-wireless@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>> To unsubscribe, send any mail to
>>> "freebsd-wireless-unsubscribe@freebsd.org"
>>
>> _______________________________________________
>> freebsd-wireless@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"


--------------080104090206010805030600
Content-Type: text/plain; charset=UTF-8;
 name="urtwn.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="urtwn.diff"

SW5kZXg6IHN5cy9kZXYvdXNiL3dsYW4vaWZfdXJ0d24uYwo9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBz
eXMvZGV2L3VzYi93bGFuL2lmX3VydHduLmMJKHJldmlzaW9uIDI4NzM0MikKKysrIHN5cy9k
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YW4vaWZfdXJ0d25yZWcuaAkod29ya2luZyBjb3B5KQpAQCAtMTAxOSw3ICsxMDE5LDkg
QEAKICNkZWZpbmUgUjkyQ19UWERXMV9RU0VMX00JMHgwMDAwMWYwMAogI2RlZmluZSBSOTJD
X1RYRFcxX1FTRUxfUwk4CiAjZGVmaW5lIFI5MkNfVFhEVzFfUVNFTF9CRQkweDAwCisjZGVm
aW5lIFI4OEVfVFhEVzFfUVNFTF9CRQkweDAzCiAjZGVmaW5lIFI5MkNfVFhEVzFfUVNFTF9N
R05UCTB4MTIKKyNkZWZpbmUgUjg4RV9UWERXMV9RU0VMX01HTlQJMHgxMAogI2RlZmluZSBS
OTJDX1RYRFcxX1JBSURfTQkweDAwMGYwMDAwCiAjZGVmaW5lIFI5MkNfVFhEVzFfUkFJRF9T
CTE2CiAjZGVmaW5lIFI5MkNfVFhEVzFfQ0lQSEVSX00JMHgwMGMwMDAwMAo=
--------------080104090206010805030600--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FA6022.8090609>