Page MenuHomeFreeBSD

urtwn(4): add WME support
ClosedPublic

Authored by avos on Oct 27 2015, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 26 2024, 10:02 PM
Unknown Object (File)
Feb 26 2024, 9:30 PM
Unknown Object (File)
Dec 20 2023, 3:36 AM
Unknown Object (File)
Nov 21 2023, 6:31 AM
Unknown Object (File)
Nov 17 2023, 12:24 AM
Unknown Object (File)
Nov 5 2023, 4:52 AM
Unknown Object (File)
Oct 4 2023, 4:51 AM
Unknown Object (File)
Sep 23 2023, 11:24 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to urtwn(4): add WME support.
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added reviewers: adrian, kevlo.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
kevlo edited edge metadata.
This revision is now accepted and ready to land.Oct 29 2015, 2:58 PM
avos edited edge metadata.

Rebase.

This revision now requires review to proceed.Dec 5 2015, 2:36 PM

This is a really big diff and looks like it includes more than "add wme support". What's going on?

In D4020#92682, @adrian wrote:

This is a really big diff and looks like it includes more than "add wme support". What's going on?

[Differential] [Updated, 82 lines]

not bigger than D3700

Changes:

  • Add wme_to_queue structure for 'access category' <-> 'corresponding register / pipe' mapping;
  • Add IEEE80211_C_WME bit;

urtwn_tx_data():

  • restore hasqos variable;
  • set traffic id;

urtwn_tx_start():

  • eliminate urtwn_pipes array (queue id can be fetched via wme2queue[ac].qid structure member);

urtwn_wme_update():

  • calculate aifs & set R92C_EDCA_XX_PARAM (AIFS, ECWMIN, ECWMAX, TXOP);
  • write ACM parameters into R92C_ACMHWCTRL;

if_urtwnreg.h:

  • add R92C_ACMHWCTRL bits;

if_urtwnvar.h:

  • remove unused ac2idx array;
adrian edited edge metadata.

ok, as long as kevin is okay with it, go for it!

just make sure you mention which chipsets it's been tested on!

This revision is now accepted and ready to land.Dec 8 2015, 11:45 PM
kevlo edited edge metadata.
This revision was automatically updated to reflect the committed changes.