Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects

User Details

User Since
May 14 2014, 7:57 AM (554 w, 5 d)

Recent Activity

Yesterday

adrian added a comment to D45179: mt7601U: Importing if_mtw from OpenBSD.

It's looking better, can you delete some of the if_run function definitions that aren't in the openbsd rtw driver?

Sun, Dec 29, 11:49 PM
adrian added a reviewer for D48248: net80211: refactor amrr_update() into HT and legacy paths: wireless.
Sun, Dec 29, 11:39 PM · wireless
adrian requested review of D48248: net80211: refactor amrr_update() into HT and legacy paths.
Sun, Dec 29, 7:41 PM · wireless
adrian added a comment to D48239: ath_hal_ar9300: quick refactor of tx/rx chain handling.

oh yeah, ar9300_freebsd.c is a mess between the AR5416 camelcase and AR9300 "We wanted to land this in upstream linux so we renamed everything" linux case. :)

Sun, Dec 29, 7:06 PM · wireless
adrian added a reviewer for D48240: ath_hal_ar9300: implement the TX/RX chainmask override for AR9300 HAL: wireless.
Sun, Dec 29, 5:32 AM · wireless
adrian added a reviewer for D48239: ath_hal_ar9300: quick refactor of tx/rx chain handling: wireless.
Sun, Dec 29, 5:32 AM · wireless
adrian requested review of D48240: ath_hal_ar9300: implement the TX/RX chainmask override for AR9300 HAL.
Sun, Dec 29, 5:29 AM · wireless
adrian requested review of D48239: ath_hal_ar9300: quick refactor of tx/rx chain handling.
Sun, Dec 29, 5:28 AM · wireless
adrian added a comment to D48084: rtwn: add support for register IO debugging.

ok, I've changed this to sit behind RTWN_DEBUG now.

Sun, Dec 29, 4:11 AM · wireless
adrian updated the diff for D48084: rtwn: add support for register IO debugging.

hide behind RTWN_DEBUG for now, feedback from bz/imp

Sun, Dec 29, 4:11 AM · wireless
adrian added inline comments to D48084: rtwn: add support for register IO debugging.
Sun, Dec 29, 4:00 AM · wireless

Sat, Dec 28

adrian updated the diff for D48103: rtwn: announce VHT support for RTL8812AU/RTL8821AU..

updates from fuz / bz review

Sat, Dec 28, 10:04 PM · wireless
adrian added a comment to D48067: rtwn: print out the firmware file being loaded.

Note: this is useful information /with/ the build info, and perhaps some chipset specific stuff like the mac ID / chip revision ID that identifies chip versions / production lines. This stuff will all aid in figuring out regressions / bugs when things work for A but not for B.

Sat, Dec 28, 9:28 PM · wireless
adrian added a comment to D48067: rtwn: print out the firmware file being loaded.
In D48067#1099605, @imp wrote:
Sat, Dec 28, 5:27 AM · wireless
adrian added a comment to D48103: rtwn: announce VHT support for RTL8812AU/RTL8821AU..
In D48103#1099187, @fuz wrote:

Can this code be deduplicated and shared between the two driver instances?
The loop feels like it could be eliminated, e.g. with code like

uint32_t supported;

supported = 0xaaaa & ((1 << sc->ntxchains) - 1);
tx_mcs |= IEEE80211_VHT_MCS_SUPPORT_0_9 * supported;
tx_mcs |= IEEE80211_VHT_MCS_NOT_SUPPORTED * (0xaaaa - supported);

supported = 0xaaaa & ((1 << sc->nrxchains) - 1);
rx_mcs |= IEEE80211_VHT_MCS_SUPPORT_0_9 * supported;
rx_mcs |= IEEE80211_VHT_MCS_NOT_SUPPORTED * (0xaaaa - supported);

Though it seems that would be a lot less clean than what you currently have.

Sat, Dec 28, 4:32 AM · wireless
adrian added inline comments to D48096: net80211: add TX rate control completion fields for HT, VHT, channel info.
Sat, Dec 28, 4:14 AM · wireless
adrian added a comment to D48067: rtwn: print out the firmware file being loaded.
In D48067#1098399, @bz wrote:
Sat, Dec 28, 4:06 AM · wireless
adrian closed D48112: rtwn: make sure RCR_APPFCS stays set in monitor mode / mode changes..
Sat, Dec 28, 1:47 AM · wireless
adrian committed rG791170aaf7ef: rtwn: make sure RCR_APPFCS stays set in monitor mode / mode changes. (authored by adrian).
rtwn: make sure RCR_APPFCS stays set in monitor mode / mode changes.
Sat, Dec 28, 1:47 AM

Fri, Dec 27

adrian updated the diff for D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs..

more suggestions from fuz@

Fri, Dec 27, 9:18 PM · wireless
adrian abandoned D48208: iwm: update firmware names for 7000/31xx series NICs.
Fri, Dec 27, 2:19 PM · wireless
adrian added a comment to D48101: net80211: add helper functions for VHT transmit.

make them all static***

Fri, Dec 27, 2:06 PM · wireless
adrian added a comment to D48101: net80211: add helper functions for VHT transmit.

i think maybe we should do both - I can add a check_tx_vht160 and check_tx_vht_80p80 that will check each of the channel configs appropriately, and then a top-level function that does it based on a switch. That way each function is clean, and we can make them all inlines.

Fri, Dec 27, 2:06 PM · wireless
adrian added a comment to D48208: iwm: update firmware names for 7000/31xx series NICs.

aha, talking with manu, there's something off with my install here, those files SHOULD exist in /boot/firmware but don't.

Fri, Dec 27, 2:02 PM · wireless
adrian added a comment to D48208: iwm: update firmware names for 7000/31xx series NICs.
In D48208#1099323, @bz wrote:

If you do not need the old firmware anymore please remove it entirely and update the documentation.

There is HOWEVER a theoretical problem there: if iwlwifi ever bumps the firmware version, say for a security update, there is not guarantee that iwm can parse them properly.

Fri, Dec 27, 1:50 PM · wireless
adrian added a reviewer for D48210: iwm: add sku_cap_mimo_disable; populate sku_cap_11n_enable: wireless.
Fri, Dec 27, 3:52 AM · wireless
adrian requested review of D48210: iwm: add sku_cap_mimo_disable; populate sku_cap_11n_enable.
Fri, Dec 27, 3:51 AM · wireless
adrian added a reviewer for D48209: iwm: update rate tables from OpenBSD: wireless.
Fri, Dec 27, 3:34 AM · wireless
adrian requested review of D48209: iwm: update rate tables from OpenBSD.
Fri, Dec 27, 3:33 AM · wireless
adrian added reviewers for D48208: iwm: update firmware names for 7000/31xx series NICs: wireless, manu.
Fri, Dec 27, 2:22 AM · wireless
adrian requested review of D48208: iwm: update firmware names for 7000/31xx series NICs.
Fri, Dec 27, 2:20 AM · wireless
adrian updated the diff for D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs..

update again!

Fri, Dec 27, 1:41 AM · wireless
adrian added a comment to D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs..

updated, please re-review! thanks!

Fri, Dec 27, 1:40 AM · wireless
adrian updated the diff for D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs..

oops, also fix this

Fri, Dec 27, 1:40 AM · wireless
adrian updated the diff for D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs..

updates from fuz@, thx!

Fri, Dec 27, 1:28 AM · wireless

Thu, Dec 26

adrian updated the diff for D48142: rtwn: refactor out the r92c path protection decision / configuration.

update with working protection mode logic for firmware rate control

Thu, Dec 26, 5:38 AM · wireless

Wed, Dec 25

adrian updated the diff for D48142: rtwn: refactor out the r92c path protection decision / configuration.

Implement rts/cts programming w/ firmware rate control config.

Wed, Dec 25, 2:35 AM · wireless

Tue, Dec 24

adrian updated the diff for D48140: rtwn: explicitly configure RTS based on basic rates.
  • fix fls() offset bug, it starts at 1, not 0
  • allow more CCK rates and OFDM up to 24, after consultation with other wifi community people
Tue, Dec 24, 5:32 PM · wireless

Mon, Dec 23

adrian added a comment to D48167: Introduce the USB umb(4) network driver.

i could forsee someone writing something like a network manager plugin that doesn't specifically just want to call and parse shell output.

Mon, Dec 23, 3:46 AM · network, USB
adrian added a comment to D48167: Introduce the USB umb(4) network driver.

(also nice work!)

Mon, Dec 23, 3:35 AM · network, USB
adrian added a comment to D48167: Introduce the USB umb(4) network driver.

out of curiousity - what do people think about extracting a bunch of code out of umbctl and stuffing it in a library that can be reused?

Mon, Dec 23, 3:33 AM · network, USB

Sun, Dec 22

adrian updated the diff for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".

oops, renaming/refactoring issue!

Sun, Dec 22, 1:53 AM · wireless

Sat, Dec 21

adrian added inline comments to D48097: rtwn: enable VHT if it's configured in the device.
Sat, Dec 21, 8:40 PM · wireless
adrian added a reviewer for D48172: net80211: add macros for testing if a channel is defined / channel is "any channel": wireless.
Sat, Dec 21, 8:32 PM · wireless
adrian requested review of D48172: net80211: add macros for testing if a channel is defined / channel is "any channel".
Sat, Dec 21, 8:31 PM · wireless
adrian added inline comments to D48097: rtwn: enable VHT if it's configured in the device.
Sat, Dec 21, 8:11 PM · wireless
adrian added inline comments to D48097: rtwn: enable VHT if it's configured in the device.
Sat, Dec 21, 8:10 PM · wireless
adrian added a comment to D48005: rtwn: add placeholder fields for firmware rate control levels.

We can sit on this one and the next one in the stack and just continue reviewing/landing diffs above it until I get further along this stack and start using the dynamic rate adaption mask stuff.

Sat, Dec 21, 6:29 PM · wireless
adrian updated the diff for D48084: rtwn: add support for register IO debugging.

add a bounds check, suggested by bz

Sat, Dec 21, 6:28 PM · wireless
adrian added inline comments to D48084: rtwn: add support for register IO debugging.
Sat, Dec 21, 6:24 PM · wireless
adrian added a comment to D48067: rtwn: print out the firmware file being loaded.
In D48067#1097443, @bz wrote:

Given this is a RTWN_DPRINTF I don't see how that will help any reports.
But if you boot -v (bootverbose) you'll get reports like:

firmware: 'rtwn-rtl8821aufw' version 111: 27804 bytes loaded at 0xffffffff83878000

Is that helpful? Maybe we should add a if (bootverbose) to print this information like other drivers do?

Sat, Dec 21, 6:22 PM · wireless

Fri, Dec 20

adrian committed rG9efd215411bb: rtwn: create a new HAL routine for enabling STA mode beacon processing (authored by adrian).
rtwn: create a new HAL routine for enabling STA mode beacon processing
Fri, Dec 20, 8:41 PM
adrian closed D48066: rtwn: create a new HAL routine for enabling STA mode beacon processing.
Fri, Dec 20, 8:41 PM · wireless
adrian added a reviewer for D48140: rtwn: explicitly configure RTS based on basic rates: wireless.
Fri, Dec 20, 5:47 AM · wireless

Thu, Dec 19

adrian added a reverting change for rG7f740971658d: rtwn_usb(4): fix Tx instability with RTL8192CU chipsets: rGeb6314510c88: rtwn: disable a workaround introduced earlier for RTL8192CU TX performance.
Thu, Dec 19, 4:09 PM
adrian committed rG300c843b075c: rtwn: bring the r92c rate control setup selection in line with tx descriptors (authored by adrian).
rtwn: bring the r92c rate control setup selection in line with tx descriptors
Thu, Dec 19, 4:09 PM
adrian committed rGaaaca5f288fa: rtwn: add a default OFDM / CCK rate for self-generated frames (authored by adrian).
rtwn: add a default OFDM / CCK rate for self-generated frames
Thu, Dec 19, 4:09 PM
adrian committed rGeb6314510c88: rtwn: disable a workaround introduced earlier for RTL8192CU TX performance (authored by adrian).
rtwn: disable a workaround introduced earlier for RTL8192CU TX performance
Thu, Dec 19, 4:09 PM
adrian closed D48026: rtwn: disable a workaround introduced earlier for RTL8192CU TX performance.
Thu, Dec 19, 4:09 PM · wireless
adrian closed D48081: rtwn: bring the r92c rate control setup selection in line with tx descriptors.
Thu, Dec 19, 4:09 PM · wireless
adrian committed rG4e2bd8cf08f4: rtwn: set the shortgi flag in the RTL8192C rate control setup message (authored by adrian).
rtwn: set the shortgi flag in the RTL8192C rate control setup message
Thu, Dec 19, 4:09 PM
adrian closed D48019: rtwn: add a default OFDM and MCS0 rate for self-generated frames.
Thu, Dec 19, 4:09 PM · wireless
adrian closed D48013: rtwn: set the shortgi flag in the RTL8192C rate control setup message.
Thu, Dec 19, 4:08 PM · wireless
adrian added inline comments to D48066: rtwn: create a new HAL routine for enabling STA mode beacon processing.
Thu, Dec 19, 3:49 PM · wireless
adrian added a comment to D47978: rtwn: add tx power training for RTL8812/RTL8821.

It's in rtw88xx.c:rtw88xxa_tx_power_training(), line 1609 in my checkout.

Thu, Dec 19, 3:23 PM · wireless
adrian added a reviewer for D48143: rtwn: allow firmware rate control to be enabled for rtl8192cu: wireless.
Thu, Dec 19, 3:42 AM · wireless
adrian requested review of D48143: rtwn: allow firmware rate control to be enabled for rtl8192cu.
Thu, Dec 19, 3:41 AM · wireless
adrian added a reviewer for D48142: rtwn: refactor out the r92c path protection decision / configuration: wireless.
Thu, Dec 19, 3:41 AM · wireless
adrian requested review of D48142: rtwn: refactor out the r92c path protection decision / configuration.
Thu, Dec 19, 3:40 AM · wireless
adrian added a reviewer for D48141: rtwn: refactor out datarate and short preamble setup: wireless.
Thu, Dec 19, 2:45 AM · wireless
adrian retitled D48141: rtwn: refactor out datarate and short preamble setup from rtwn: refactor out datarate and shared preamble setup to rtwn: refactor out datarate and short preamble setup.
Thu, Dec 19, 2:45 AM · wireless
adrian requested review of D48141: rtwn: refactor out datarate and short preamble setup.
Thu, Dec 19, 2:44 AM · wireless
adrian requested review of D48140: rtwn: explicitly configure RTS based on basic rates.
Thu, Dec 19, 2:21 AM · wireless

Wed, Dec 18

adrian committed rG371a4ee9a384: rtwn: add SGI flag for the rate control message (authored by adrian).
rtwn: add SGI flag for the rate control message
Wed, Dec 18, 11:50 PM
adrian committed rG745a85824748: rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates (authored by adrian).
rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates
Wed, Dec 18, 11:50 PM
adrian committed rG638fcd53db7d: rtwn: bump up the RX USB buffers (authored by adrian).
rtwn: bump up the RX USB buffers
Wed, Dec 18, 11:50 PM
adrian committed rG25af78d0bdcf: ath_rate_sample: correct the "best rate" calculation (authored by adrian).
ath_rate_sample: correct the "best rate" calculation
Wed, Dec 18, 11:50 PM
adrian committed rG0ea7f8ca66f3: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips (authored by adrian).
rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips
Wed, Dec 18, 11:50 PM
adrian closed D48004: rtwn: add SGI flag for the rate control message.
Wed, Dec 18, 11:50 PM · wireless
adrian committed rG6858c6b1e1a9: rtwn: refactor out the TX power register power dump, condense output (authored by adrian).
rtwn: refactor out the TX power register power dump, condense output
Wed, Dec 18, 11:50 PM
adrian closed D47993: rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates.
Wed, Dec 18, 11:50 PM
adrian closed D47990: rtwn: bump up the RX USB buffers.
Wed, Dec 18, 11:50 PM · wireless
adrian closed D47988: ath_rate_sample: correct the "best rate" calculation.
Wed, Dec 18, 11:50 PM · wireless
adrian committed rGb71805e991fb: rtwn: add APIs for setting transmit power (authored by adrian).
rtwn: add APIs for setting transmit power
Wed, Dec 18, 11:50 PM
adrian closed D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.
Wed, Dec 18, 11:50 PM · wireless
adrian closed D47986: rtwn: refactor out the TX power register power dump, condense output.
Wed, Dec 18, 11:50 PM · wireless
adrian closed D47979: rtwn: add APIs for setting transmit power.
Wed, Dec 18, 11:49 PM · wireless
adrian added a comment to D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.

updated, please review!

Wed, Dec 18, 10:13 PM · wireless
adrian updated the diff for D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.

request from bz

Wed, Dec 18, 10:02 PM · wireless
adrian added a comment to D48066: rtwn: create a new HAL routine for enabling STA mode beacon processing.

ok, try this!

Wed, Dec 18, 9:58 PM · wireless
adrian updated the diff for D47979: rtwn: add APIs for setting transmit power.

update from rebase

Wed, Dec 18, 9:53 PM · wireless
adrian updated the diff for D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.

update from rebase

Wed, Dec 18, 9:53 PM · wireless
adrian updated the diff for D48066: rtwn: create a new HAL routine for enabling STA mode beacon processing.

use bool; requested by bz@

Wed, Dec 18, 9:53 PM · wireless
adrian added a comment to D47978: rtwn: add tx power training for RTL8812/RTL8821.

I'm talking with the rtw88 upstream maintainers on getting it fixed upstream too!

Wed, Dec 18, 7:33 PM · wireless
adrian committed rGcf6b389f7c48: rtwn: add tx power training for RTL8812/RTL8821 (authored by adrian).
rtwn: add tx power training for RTL8812/RTL8821
Wed, Dec 18, 7:33 PM
adrian closed D47978: rtwn: add tx power training for RTL8812/RTL8821.
Wed, Dec 18, 7:33 PM · wireless
adrian closed D47976: rtwn: add a register value for R92C_FPGA0_POWER_SAVE, and other bits.
Wed, Dec 18, 7:32 PM
adrian updated the diff for D47979: rtwn: add APIs for setting transmit power.

update from another rebase attempt

Wed, Dec 18, 5:04 PM · wireless
adrian added a comment to D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.
In D47987#1097419, @bz wrote:

Commit message: "to aid" (without e; aide is a noun).

Some rNNxx_attach.c seems missing (initialization) again/still or this patch is not incremental to a previous one in the stack which means the stack as-is was never tested to even build?

I take that back; the 92eu is added here which was missing in the previous change and that's why the value is added and not changed. Best to be migrated to D47979 to avoid further confusion.

Wed, Dec 18, 4:54 PM · wireless
adrian added inline comments to D47987: rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips.
Wed, Dec 18, 4:53 PM · wireless