Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects

User Details

User Since
May 14 2014, 7:57 AM (542 w, 4 d)

Recent Activity

Fri, Oct 4

adrian added a reviewer for D46892: net80211: extend the crypto encap/decap API to include the node: wireless.
Fri, Oct 4, 1:06 AM · wireless
adrian updated the diff for D46892: net80211: extend the crypto encap/decap API to include the node.

update w/ url

Fri, Oct 4, 1:04 AM · wireless
adrian requested review of D46892: net80211: extend the crypto encap/decap API to include the node.
Fri, Oct 4, 1:03 AM · wireless

Sat, Sep 28

adrian added a comment to D46683: Introduce ip_af_t.
In D46683#1067664, @kp wrote:

I see no good reason to ifdef pieces of enum. Makes sense to disable some code for NOINET or NOINET6 kernels, but what's the point in disabling a piece of declaration?

If we don't we upset the compiler in LINT-NOINET (and LINT-NOINET6) kernels:

/usr/src/sys/netpfil/pf/pf_lb.c:769:13: error: enumeration value 'IP_AF_4' not handled in switch [-Werror,-Wswitch]
  769 |                                 switch (pd->af) {
      |                                         ^~~~~~

It's fairly common to have code specific to one address family or another not be compiled in those kernels, so we end up with switch statements that don't handle all options. We can prevent this by adding a default: panic("Unknown af %d", af) case, but removing that was the reason to go down this path in the first place.

Sat, Sep 28, 5:51 PM

Fri, Sep 27

adrian added a comment to D46809: pf: start using ip_af_t.

What's the desired behaviour of this code though if you don't define inet and inet6? Why would you even build pf at that point?

Fri, Sep 27, 2:14 PM

Fri, Sep 13

adrian committed rG50982d26e45b: net80211: add MMIC element ID (for management frame protected group action… (authored by adrian).
net80211: add MMIC element ID (for management frame protected group action…
Fri, Sep 13, 10:34 PM
adrian committed rG3e52b265efe9: net80211: fix fast BSS transition element ID name (authored by adrian).
net80211: fix fast BSS transition element ID name
Fri, Sep 13, 10:33 PM
adrian closed D46505: net80211: add MMIC element ID (for management frame protected group action frames).
Fri, Sep 13, 10:33 PM
adrian closed D46504: net80211: fix fast BSS transition element ID name.
Fri, Sep 13, 10:33 PM
adrian added a comment to D46499: wpa: add support for GCMP-128 and BIP-128..

Lemme finish getting some more changes cleaned up and landed first. I have the MFP ioctl stuff to get into the wpa driver and GCMP to land in net80211 - enough so people can at least use it and make sure it isn't broken.

Fri, Sep 13, 9:56 PM · wireless
adrian added reviewers for D46499: wpa: add support for GCMP-128 and BIP-128.: cy, wireless.
Fri, Sep 13, 9:16 PM · wireless
adrian updated the diff for D46668: net80211: add initial support for extending the global key array to include IGTK keys.

add differential URL

Fri, Sep 13, 8:22 PM
adrian requested review of D46668: net80211: add initial support for extending the global key array to include IGTK keys.
Fri, Sep 13, 8:21 PM

Sep 1 2024

adrian updated the diff for D46505: net80211: add MMIC element ID (for management frame protected group action frames).

update URL

Sep 1 2024, 4:41 PM
adrian requested review of D46505: net80211: add MMIC element ID (for management frame protected group action frames).
Sep 1 2024, 4:41 PM
adrian updated the diff for D46504: net80211: fix fast BSS transition element ID name.

add url

Sep 1 2024, 4:38 PM
adrian requested review of D46504: net80211: fix fast BSS transition element ID name.
Sep 1 2024, 4:38 PM

Aug 31 2024

adrian updated the diff for D46499: wpa: add support for GCMP-128 and BIP-128..

update url

Aug 31 2024, 4:52 PM · wireless
adrian requested review of D46499: wpa: add support for GCMP-128 and BIP-128..
Aug 31 2024, 4:52 PM · wireless
adrian updated the diff for D46498: ifconfig: add IEEE80211_NODE_MFP flag printing..

add url

Aug 31 2024, 4:52 PM
adrian requested review of D46498: ifconfig: add IEEE80211_NODE_MFP flag printing..
Aug 31 2024, 4:51 PM
adrian updated the diff for D46497: net80211: add MFP node flag.

add URL

Aug 31 2024, 4:51 PM
adrian requested review of D46497: net80211: add MFP node flag.
Aug 31 2024, 4:50 PM

Aug 8 2024

adrian added a comment to D46202: Fix enum warning in ath_hal's ar9002.

oh crap, we should change ah_diversity to be the right type. HAL_ANT_VARIABLE is different!

Aug 8 2024, 7:26 PM

Aug 2 2024

adrian added a comment to D46201: Fix enum warnings in ath_hal's ar9300.

can you add a comment above each macro just saying that != 0 is a check that it's HAL_FREQ_BAND_2GHZ? other than that, go ahead!

Aug 2 2024, 1:12 AM
adrian accepted D46201: Fix enum warnings in ath_hal's ar9300.
Aug 2 2024, 1:11 AM

Jul 15 2024

adrian committed rG3ab5e2977883: net80211: fix RSN capability parsing (authored by adrian).
net80211: fix RSN capability parsing
Jul 15 2024, 6:47 PM
adrian committed rG2589197adb19: net80211: migrate the group/unicast key check into inline functions (authored by adrian).
net80211: migrate the group/unicast key check into inline functions
Jul 15 2024, 6:47 PM
adrian closed D45936: net80211: fix RSN capability parsing.
Jul 15 2024, 6:46 PM · wireless
adrian closed D45516: net80211: migrate the group/unicast key check into inline functions.
Jul 15 2024, 6:46 PM · wireless
adrian updated the diff for D45516: net80211: migrate the group/unicast key check into inline functions.

oops, missed indenting!

Jul 15 2024, 6:45 PM · wireless

Jul 9 2024

adrian added a reviewer for D45936: net80211: fix RSN capability parsing: wireless.
Jul 9 2024, 5:01 PM · wireless
adrian updated the diff for D45936: net80211: fix RSN capability parsing.

URL update

Jul 9 2024, 4:58 PM · wireless
adrian requested review of D45936: net80211: fix RSN capability parsing.
Jul 9 2024, 4:57 PM · wireless

Jul 7 2024

adrian updated the diff for D45909: wpa: add MFP configuration if requested.

add URL

Jul 7 2024, 11:01 PM
adrian requested review of D45909: wpa: add MFP configuration if requested.
Jul 7 2024, 10:59 PM
adrian updated the diff for D45908: ifconfig: add MFP VAP config printing.

Update URL

Jul 7 2024, 10:56 PM
adrian requested review of D45908: ifconfig: add MFP VAP config printing.
Jul 7 2024, 10:55 PM
adrian updated the diff for D45907: net80211: add MFP VAP config and ioctl API.

Add URL

Jul 7 2024, 10:53 PM
adrian requested review of D45907: net80211: add MFP VAP config and ioctl API.
Jul 7 2024, 10:53 PM

Jul 5 2024

adrian added a reviewer for D45629: net80211: add maximum key length for each cipher: wireless.
Jul 5 2024, 9:04 PM · wireless
adrian added a reviewer for D45887: net80211: add a placeholder check routine for whether a key is an IGTK key: wireless.
Jul 5 2024, 8:53 PM · wireless
adrian updated the diff for D45887: net80211: add a placeholder check routine for whether a key is an IGTK key.

update url

Jul 5 2024, 8:26 PM · wireless
adrian requested review of D45887: net80211: add a placeholder check routine for whether a key is an IGTK key.
Jul 5 2024, 8:24 PM · wireless

Jul 1 2024

adrian updated the diff for D45516: net80211: migrate the group/unicast key check into inline functions.

feedback from bz:

Jul 1 2024, 5:40 PM · wireless

Jun 18 2024

adrian updated the diff for D45619: net80211: separate out the net80211 ioctl key size from the kernel definition.

update

Jun 18 2024, 8:43 PM · wireless
adrian updated the diff for D45629: net80211: add maximum key length for each cipher.

oops, fix compile

Jun 18 2024, 7:42 PM · wireless
adrian updated the diff for D45629: net80211: add maximum key length for each cipher.

update url

Jun 18 2024, 7:31 PM · wireless
adrian requested review of D45629: net80211: add maximum key length for each cipher.
Jun 18 2024, 7:29 PM · wireless
adrian updated the diff for D45619: net80211: separate out the net80211 ioctl key size from the kernel definition.

more updates

Jun 18 2024, 6:53 PM · wireless

Jun 17 2024

adrian updated the diff for D45619: net80211: separate out the net80211 ioctl key size from the kernel definition.

address comments from bz@

Jun 17 2024, 11:49 PM · wireless
adrian added inline comments to D45516: net80211: migrate the group/unicast key check into inline functions.
Jun 17 2024, 11:38 PM · wireless

Jun 16 2024

adrian added a reviewer for D45619: net80211: separate out the net80211 ioctl key size from the kernel definition: wireless.
Jun 16 2024, 11:32 PM · wireless
adrian updated the diff for D45619: net80211: separate out the net80211 ioctl key size from the kernel definition.

add url

Jun 16 2024, 11:32 PM · wireless
adrian requested review of D45619: net80211: separate out the net80211 ioctl key size from the kernel definition.
Jun 16 2024, 11:31 PM · wireless
adrian updated the test plan for D45516: net80211: migrate the group/unicast key check into inline functions.
Jun 16 2024, 11:21 PM · wireless

Jun 6 2024

adrian added a reviewer for D45516: net80211: migrate the group/unicast key check into inline functions: wireless.

Note - I'm landing this as a standalone diff for review, but it hasn't yet had any thorough testing. Stay tuned.

Jun 6 2024, 5:34 PM · wireless
adrian updated the diff for D45516: net80211: migrate the group/unicast key check into inline functions.

add differential url

Jun 6 2024, 5:33 PM · wireless
adrian requested review of D45516: net80211: migrate the group/unicast key check into inline functions.
Jun 6 2024, 5:32 PM · wireless
adrian added inline comments to D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().
Jun 6 2024, 5:26 PM · wireless

Jun 5 2024

adrian updated the diff for D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().

rename field, from cc@

Jun 5 2024, 11:36 PM · wireless
adrian added a comment to D45508: LinuxKPI: 802.11: make sure we can send DISASSOC or DEAUTH frames.

The comlock is also a problem. But we shouldn't need to hold the lock whilst we do things like transmit; we're only required to do that because of how the state changes happen. The early net80211 drivers had almost no locking outside of ieee80211com. I've seen what vendors have done to net80211 to "fix locking" by changing the lock types, making some sleepable, etc ... it's just terrible.

Jun 5 2024, 11:33 PM
adrian accepted D45508: LinuxKPI: 802.11: make sure we can send DISASSOC or DEAUTH frames.

Ah, crap. This stuff. Yeah, I hit this in ath(4) and iwn(4) way back when. It's a pain in the butt. I even think ath(4) has a workaround to drop frames in this instance because of exactly what you found.

Jun 5 2024, 11:14 PM
adrian accepted D45505: net80211: fix IEEE80211_FHT_BITS.

whoops! nice catch.

Jun 5 2024, 11:06 PM
adrian accepted D45506: LinuxKPI: 802.11: Fix definition of IEEE80211_HT_CAP_RX_STBC.
Jun 5 2024, 11:06 PM
adrian added a comment to D45506: LinuxKPI: 802.11: Fix definition of IEEE80211_HT_CAP_RX_STBC.

Yeah, I remember hitting namespace clashes when trying to do this with some earlier linux driver ports. :(

Jun 5 2024, 11:05 PM
adrian added inline comments to D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().
Jun 5 2024, 2:11 AM · wireless

Jun 1 2024

adrian updated the diff for D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit..

add the modules Makefile

Jun 1 2024, 6:41 AM · wireless

May 31 2024

adrian added inline comments to D44964: net80211: add IEEE80211_IOC_DEVCAPS2, include versioned responses.
May 31 2024, 1:30 AM · wireless
adrian added inline comments to D44964: net80211: add IEEE80211_IOC_DEVCAPS2, include versioned responses.
May 31 2024, 1:01 AM · wireless

May 30 2024

adrian accepted D45418: WPA: Allow CLOCK_BOOTTIME and CLOCK_MONOTONIC to #define the same.
May 30 2024, 9:06 PM
adrian added a comment to D44920: net80211: bump maximum key size to 384 bits.

The real problem isn't the ABI key size, it's that the current net80211 API routine expects the ioctl size is fixed. If that size check wasn't there and we relied on the key request key size and verified it fit inside the ioctl buffer size then we'd be fine.

May 30 2024, 7:31 PM · wireless

May 29 2024

adrian updated the summary of D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit..
May 29 2024, 12:55 AM · wireless
adrian added a reviewer for D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit.: wireless.
May 29 2024, 12:51 AM · wireless
adrian updated the summary of D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit..
May 29 2024, 12:51 AM · wireless
adrian requested review of D45397: net80211: Add crypto module support for AES-GCMP 128 and 256 bit..
May 29 2024, 12:49 AM · wireless

May 18 2024

adrian added a comment to D44920: net80211: bump maximum key size to 384 bits.

Can we decouple userland use in ifconfig? i.e., have ifconfig support 384 bits now

May 18 2024, 4:59 AM · wireless

May 15 2024

adrian added a comment to D42391: ethernet: Remove FCS bit.

I'm sure I've seen FCSes in 802.11 bpf traces? Maybe that's happening at the 802.11 radiotap level?

May 15 2024, 2:41 AM

May 14 2024

adrian committed rGc7f5f140bfdd: net80211: add initial key management suites from 802.11-2016, APIs to register… (authored by adrian).
net80211: add initial key management suites from 802.11-2016, APIs to register…
May 14 2024, 9:40 PM
adrian committed rGdcf6ab2f2e38: net80211: allow a single wlan crypto module to register for >1 cipher (authored by adrian).
net80211: allow a single wlan crypto module to register for >1 cipher
May 14 2024, 9:40 PM
adrian committed rG98e8df90b5cc: net80211: add placeholder module names for the new ciphers (authored by adrian).
net80211: add placeholder module names for the new ciphers
May 14 2024, 9:40 PM
adrian closed D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.
May 14 2024, 9:40 PM · wireless
adrian closed D44901: net80211: allow a single wlan crypto module to register for >1 cipher.
May 14 2024, 9:40 PM · wireless
adrian committed rG05540e62e75f: net80211: add the 802.11-2016 cipher list to the crypto array set. (authored by adrian).
net80211: add the 802.11-2016 cipher list to the crypto array set.
May 14 2024, 9:40 PM
adrian closed D44900: net80211: add placeholder module names for the new ciphers.
May 14 2024, 9:40 PM · wireless
adrian closed D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
May 14 2024, 9:40 PM · wireless

May 13 2024

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

oh, interesting! does 11n work on this driver in openbsd? I see some 11n stuff is commented out here.

May 13 2024, 5:56 PM

May 12 2024

adrian added inline comments to D44921: net80211: add 256 bit CCMP support.
May 12 2024, 10:35 PM · wireless
adrian added inline comments to D44921: net80211: add 256 bit CCMP support.
May 12 2024, 10:32 PM · wireless
adrian updated the summary of D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.
May 12 2024, 10:28 PM · wireless
adrian updated the diff for D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.

remove the VAP keymgmt flags for now; will reintroduce it and change the
ioctl API to use that instead when it's necessary.

May 12 2024, 10:28 PM · wireless
adrian added inline comments to D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.
May 12 2024, 10:25 PM · wireless
adrian added inline comments to D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
May 12 2024, 10:21 PM · wireless
adrian updated the diff for D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..

remove NONE, from bz@

May 12 2024, 10:20 PM · wireless

May 9 2024

adrian committed rGc2a005a0a97d: net80211: add new ciphers and RSN flags (authored by adrian).
net80211: add new ciphers and RSN flags
May 9 2024, 12:50 AM
adrian committed rGe9961ea16496: net80211: add driver / crypto methods to set the hardware / software cipher… (authored by adrian).
net80211: add driver / crypto methods to set the hardware / software cipher…
May 9 2024, 12:50 AM
adrian committed rG491938d7435f: wpa: Remove the now not-needed local logic to hard-code cipher support (authored by adrian).
wpa: Remove the now not-needed local logic to hard-code cipher support
May 9 2024, 12:50 AM
adrian closed D44864: net80211: add new ciphers and RSN flags.
May 9 2024, 12:50 AM · wireless
adrian committed rG1116e8b95c60: net80211: add a new field specifically for announcing specific ciphers (authored by adrian).
net80211: add a new field specifically for announcing specific ciphers
May 9 2024, 12:50 AM
adrian closed D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
May 9 2024, 12:50 AM · wireless