Page MenuHomeFreeBSD

wirelessGroup
ActivePublic

Details

Description

Working on wireless improvements

Recent Activity

Today

adrian closed D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.
Thu, Nov 21, 1:57 AM · wireless

Yesterday

lwhsu added a watcher for wireless: lwhsu.
Wed, Nov 20, 10:23 AM

Tue, Nov 19

adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

oops, remove duplicate code

Tue, Nov 19, 6:21 AM · wireless
adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

ok, this diff now fixes both of the incorrect transfer / EP configuration issues, and everything seems fine now on the RTL NICs I've tested.

Tue, Nov 19, 6:18 AM · wireless
adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

add local wme2qid fix to ensure endpoints are uniquely used.

Tue, Nov 19, 6:17 AM · wireless
adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

ok, i found the rest of the issue - in the EP setup, the EP array has all four endpoints to be configured, but then the init code manually walks the TX bulk endpoints and assigns them to the four endpoints.
In the case of the RTL8811AU it supports 4 TX bulk endpoints, but BK/BE are mapped to the same physical USB endpoint.
So, if I did parallel traffic between VO, VI and one of BK/BE, it was fine. If I did parallel traffic with BK and BE, traffic stalls.
If I then mapped BK and BE to different endpoints? It works fine.
But I can't DO that because there are other places in usb_tx_ep.c that setup some TX queue mapping bits in the hardware that I don't quite understand, and they all definitely only handle 1, 2 or 3 endpoints.
Also - the traffic stalls come back on the RTL8192EU because it has three TX bulk endpoints, so there's remapping still going on there.

Tue, Nov 19, 5:01 AM · wireless
adrian closed D47655: uath: flush data/commands to the firmware before changing channel / state.
Tue, Nov 19, 4:54 AM · wireless
adrian closed D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.
Tue, Nov 19, 4:54 AM · wireless
adrian closed D47645: net80211: add IEEE80211_IS_QOS_NULL().
Tue, Nov 19, 4:54 AM · wireless
adrian updated the diff for D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

update with historical reference from emaste, be clearer that
i have the NIC in question.

Tue, Nov 19, 4:48 AM · wireless
adrian updated the diff for D47645: net80211: add IEEE80211_IS_QOS_NULL().

update commit message, from emaste

Tue, Nov 19, 4:48 AM · wireless
emaste added a comment to D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

OK, if you have a device that has this ID we should clearly add it back. Perhaps we should add AR5523_2_ALT or something like that for 0x882a.

Tue, Nov 19, 3:26 AM · wireless

Mon, Nov 18

adrian added a comment to D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

ok but i have a device with this product id! :) Maybe we need both?

Mon, Nov 18, 10:12 PM · wireless
emaste updated subscribers of D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

And the Linux 0x0828 arrived via

commit b7d572e1871df06a96a1c9591c71c5494ff6b624
Author: Pontus Fuchs <pontus.fuchs@gmail.com>
Date:   Tue Oct 23 20:33:57 2012 +0200
Mon, Nov 18, 9:28 PM · wireless
emaste added a comment to D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

Huh, this arrived in:

commit 02ac6454880b59bbc5f3f74dffaffa90b30adc8b
Author: Andrew Thompson <thompsa@FreeBSD.org>
Date:   Mon Feb 23 18:31:00 2009 +0000
Mon, Nov 18, 9:21 PM · wireless
adrian updated the summary of D47655: uath: flush data/commands to the firmware before changing channel / state.
Mon, Nov 18, 8:30 PM · wireless
adrian updated the summary of D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.
Mon, Nov 18, 8:29 PM · wireless
adrian updated the diff for D47655: uath: flush data/commands to the firmware before changing channel / state.

update commit message

Mon, Nov 18, 8:28 PM · wireless
adrian updated the diff for D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

update commit message

Mon, Nov 18, 8:28 PM · wireless
emaste added a comment to D47500: net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros.

FYI if Phab doesn't add the commit automatically (either because of a typo or misformatted commit message or because Phab is just broken) you can add it later via Edit Related Objects > Edit Commits and then paste the commit hash.

Mon, Nov 18, 1:29 PM · wireless
bz added a comment to D47500: net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros.

landed

Mon, Nov 18, 10:01 AM · wireless
bz added a comment to D47655: uath: flush data/commands to the firmware before changing channel / state.

I don't know what your nice 8 core laptop is but again I am also not sure why it matters. Please write a proper commit message.

Mon, Nov 18, 9:59 AM · wireless
bz requested changes to D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

Can you please write a normal descriptive commit message.

Mon, Nov 18, 9:56 AM · wireless
adrian updated the diff for D47655: uath: flush data/commands to the firmware before changing channel / state.

url

Mon, Nov 18, 5:22 AM · wireless
adrian updated the diff for D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC.

url

Mon, Nov 18, 5:22 AM · wireless
adrian closed D47500: net80211: migrate FC0_TYPE_MASK / FC0_SUBTYPE_MASK frame type checks to macros.

landed

Mon, Nov 18, 5:19 AM · wireless
adrian added a reviewer for D47654: usb: fix the ID for the dual-band Wistron AR5523 USB NIC: wireless.
Mon, Nov 18, 5:18 AM · wireless
adrian added a reviewer for D47655: uath: flush data/commands to the firmware before changing channel / state: wireless.
Mon, Nov 18, 5:17 AM · wireless

Sun, Nov 17

adrian added inline comments to D47645: net80211: add IEEE80211_IS_QOS_NULL().
Sun, Nov 17, 9:53 PM · wireless
adrian added a comment to D46499: wpa: add support for GCMP-128 and BIP-128..

(note - i saw I was missing a BIP capability bit, so I added that to the commit before I pushed it.)

Sun, Nov 17, 6:14 PM · wireless
adrian closed D46499: wpa: add support for GCMP-128 and BIP-128..
Sun, Nov 17, 6:08 PM · wireless
adrian closed D47503: net80211: remove IEEE80211_FC0_QOSDATA.
Sun, Nov 17, 6:00 PM · wireless
bz added inline comments to D47645: net80211: add IEEE80211_IS_QOS_NULL().
Sun, Nov 17, 6:00 PM · wireless
adrian added a comment to D47645: net80211: add IEEE80211_IS_QOS_NULL().

The commit message sounds like this is a NFC but IEEE80211_FC0_VERSION_MASK and `IEEE80211_FC0_TYPE_MASK are now being checked where they were not before? I think this should be clarified in the commit message.

Sun, Nov 17, 5:46 PM · wireless
emaste added a comment to D47645: net80211: add IEEE80211_IS_QOS_NULL().

The commit message sounds like this is a NFC but IEEE80211_FC0_VERSION_MASK and `IEEE80211_FC0_TYPE_MASK are now being checked where they were not before? I think this should be clarified in the commit message.

Sun, Nov 17, 2:40 PM · wireless
adrian added a reviewer for D47645: net80211: add IEEE80211_IS_QOS_NULL(): wireless.
Sun, Nov 17, 6:34 AM · wireless

Fri, Nov 15

adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

ok, please re-review this!

Fri, Nov 15, 3:48 PM · wireless
adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

address spacing comment from bz@

Fri, Nov 15, 3:47 PM · wireless

Thu, Nov 14

cy added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

oh it's THIS bug, ha! ok, lemme go re-review D38854 and see if we can figure out how to get it in cleanly.

Thu, Nov 14, 5:41 AM · wireless
adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

oh it's THIS bug, ha! ok, lemme go re-review D38854 and see if we can figure out how to get it in cleanly.

Thu, Nov 14, 2:50 AM · wireless
cy added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

https://reviews.freebsd.org/D38854 and https://reviews.freebsd.org/D47562.

Thu, Nov 14, 2:46 AM · wireless
cy added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

hm, looks like it may be a USB controller problem, hmph. Stay tuned.

Thu, Nov 14, 2:38 AM · wireless
adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

use usbd_errstr()

Thu, Nov 14, 2:13 AM · wireless
adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

Add a device_printf() to log when USB transfer errors happen, so it's easier to figure out what happened

Thu, Nov 14, 2:12 AM · wireless
bz added inline comments to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.
Thu, Nov 14, 2:09 AM · wireless
adrian added inline comments to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.
Thu, Nov 14, 1:08 AM · wireless
adrian updated the diff for D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

updates from emaste/bz

Thu, Nov 14, 1:07 AM · wireless
adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

hm, looks like it may be a USB controller problem, hmph. Stay tuned.

Thu, Nov 14, 12:32 AM · wireless

Wed, Nov 13

adrian added a comment to D47522: rtwn: change the USB TX transfers to only do one pending transfer per endpoint.

note - I've tested this on a variety of other rtwn NICs now - RTL8821AU, RTL8188EU, RTL8192EU - they worked fine. But RTL8192CU isn't working; TX seems broken. I don't think it's this patch, but I'm going to test on older laptops and also earlier freebsd version snapshots.

Wed, Nov 13, 1:26 AM · wireless

Tue, Nov 12

concussious.bugzilla_runbox.com added a comment to D47510: Release Notes: Hardware Compat: Move u3g to misc.

Thank you!

Tue, Nov 12, 11:29 PM · doceng, network, manpages, wireless, docs, releng