Page MenuHomeFreeBSD
Feed Advanced Search

Today

adrian added a reviewer for D44964: net80211: add IEEE80211_IOC_DEVCAPS2, include versioned responses: wireless.
Fri, Apr 26, 5:15 AM · wireless
adrian added a reviewer for D44965: wpa: add IEEE80211_IOC_DEVCAPS2 ioctl support: wireless.
Fri, Apr 26, 5:14 AM · wireless
adrian updated the diff for D44965: wpa: add IEEE80211_IOC_DEVCAPS2 ioctl support.

update diff url

Fri, Apr 26, 5:13 AM · wireless
adrian updated the diff for D44964: net80211: add IEEE80211_IOC_DEVCAPS2, include versioned responses.

update diff url

Fri, Apr 26, 5:13 AM · wireless
adrian requested review of D44965: wpa: add IEEE80211_IOC_DEVCAPS2 ioctl support.
Fri, Apr 26, 5:11 AM · wireless
adrian requested review of D44964: net80211: add IEEE80211_IOC_DEVCAPS2, include versioned responses.
Fri, Apr 26, 5:11 AM · wireless

Yesterday

adrian added a comment to D44944: daemon: Add -C (--restart-count) option.

lgtm, whats this addressing? Whats the system behaviour when the count limit is hit?

Thu, Apr 25, 2:35 PM
adrian added a reviewer for D44937: wlan: add some calls to ieee80211_set_driver_keymgmt_suites(): wireless.
Thu, Apr 25, 4:45 AM · wireless
adrian updated the diff for D44937: wlan: add some calls to ieee80211_set_driver_keymgmt_suites().

update diff url

Thu, Apr 25, 4:44 AM · wireless
adrian requested review of D44937: wlan: add some calls to ieee80211_set_driver_keymgmt_suites().
Thu, Apr 25, 4:44 AM · wireless
adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
In D44827#1024357, @cc wrote:
In D44827#1023209, @bz wrote:

eg ath(4) would do something like:

How do you want to implement ath_settkipmic() "nicely" without exposing the field?

oops my bad. it'll be a flag for hardware encryption support! I fixed the code snippet.

I don't get it. Without exposing the field ic_cryptocaps? And where is the "fixed the code snippet"?

Thu, Apr 25, 4:18 AM · wireless
adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
In D44827#1024561, @bz wrote:

Are you going to change the few drivers which need change to get rid of the public exposure as well? Otherwise this is a dead code before added.

Thu, Apr 25, 4:17 AM · wireless
adrian updated the summary of D44820: net80211: add a new field specifically for announcing specific ciphers.
Thu, Apr 25, 4:16 AM · wireless
adrian updated the diff for D44820: net80211: add a new field specifically for announcing specific ciphers.

address comments from cc@

Thu, Apr 25, 4:16 AM · wireless
adrian added a reviewer for D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers(): wireless.
Thu, Apr 25, 4:11 AM · wireless
adrian updated the diff for D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().

update w/ diff url

Thu, Apr 25, 4:09 AM · wireless
adrian requested review of D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().
Thu, Apr 25, 4:08 AM · wireless

Wed, Apr 24

adrian updated the diff for D44921: net80211: add 256 bit CCMP support.

add missing RSN parsing stuff for hostapd

Wed, Apr 24, 7:18 PM · wireless
adrian added a project to D44920: net80211: bump maximum key size to 384 bits: wireless.
Wed, Apr 24, 12:01 AM · wireless
adrian added a reviewer for D44920: net80211: bump maximum key size to 384 bits: wireless.
Wed, Apr 24, 12:01 AM · wireless
adrian added a reviewer for D44921: net80211: add 256 bit CCMP support: wireless.
Wed, Apr 24, 12:01 AM · wireless
adrian added reviewers for D44922: wpa: add cipher flag support for the new ciphers: wireless, cy.
Wed, Apr 24, 12:00 AM

Tue, Apr 23

adrian updated the diff for D44922: wpa: add cipher flag support for the new ciphers.

diff url update

Tue, Apr 23, 11:56 PM
adrian requested review of D44922: wpa: add cipher flag support for the new ciphers.
Tue, Apr 23, 11:55 PM
adrian updated the diff for D44921: net80211: add 256 bit CCMP support.

add diff url

Tue, Apr 23, 11:30 PM · wireless
adrian requested review of D44921: net80211: add 256 bit CCMP support.
Tue, Apr 23, 11:29 PM · wireless
adrian updated the diff for D44920: net80211: bump maximum key size to 384 bits.

diff url

Tue, Apr 23, 11:07 PM · wireless
adrian requested review of D44920: net80211: bump maximum key size to 384 bits.
Tue, Apr 23, 11:06 PM · wireless
adrian added a reviewer for D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them: wireless.
Tue, Apr 23, 10:09 PM · wireless
adrian requested review of D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.
Tue, Apr 23, 10:08 PM · wireless
adrian updated the diff for D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.

add differential link

Tue, Apr 23, 10:08 PM · wireless

Mon, Apr 22

adrian updated the diff for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

comment from emaste

Mon, Apr 22, 4:31 PM · wireless
adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

I find it a little confusing with the verb & noun use of set in set_software_cipher_set - do you think set_software_ciphers (or set_sw_ciphers) is reasonable?

Mon, Apr 22, 3:59 PM · wireless
adrian added a reviewer for D44901: net80211: allow a single wlan crypto module to register for >1 cipher: wireless.
Mon, Apr 22, 3:47 AM · wireless
adrian added a reviewer for D44900: net80211: add placeholder module names for the new ciphers: wireless.
Mon, Apr 22, 3:47 AM · wireless
adrian added a reviewer for D44899: net80211: add the 802.11-2016 cipher list to the crypto array set.: wireless.
Mon, Apr 22, 3:46 AM · wireless
adrian updated the diff for D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..

oops, url update again

Mon, Apr 22, 3:45 AM · wireless
adrian updated the diff for D44901: net80211: allow a single wlan crypto module to register for >1 cipher.

url update

Mon, Apr 22, 3:42 AM · wireless
adrian updated the diff for D44900: net80211: add placeholder module names for the new ciphers.

url update

Mon, Apr 22, 3:42 AM · wireless
adrian updated the diff for D44901: net80211: allow a single wlan crypto module to register for >1 cipher.

url update

Mon, Apr 22, 3:42 AM · wireless
adrian requested review of D44901: net80211: allow a single wlan crypto module to register for >1 cipher.
Mon, Apr 22, 3:40 AM · wireless
adrian requested review of D44900: net80211: add placeholder module names for the new ciphers.
Mon, Apr 22, 3:39 AM · wireless
adrian requested review of D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
Mon, Apr 22, 3:39 AM · wireless

Sat, Apr 20

adrian added a project to D44864: net80211: add new ciphers and RSN flags: wireless.
Sat, Apr 20, 8:46 PM · wireless
adrian added a project to D44821: wpa: Remove the now not-needed local logic to hard-code cipher support: wireless.
Sat, Apr 20, 8:46 PM · wireless
adrian added a project to D44820: net80211: add a new field specifically for announcing specific ciphers: wireless.
Sat, Apr 20, 8:46 PM · wireless
adrian added a project to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites: wireless.
Sat, Apr 20, 8:44 PM · wireless
adrian updated the diff for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

comments from bz

Sat, Apr 20, 7:56 PM · wireless
adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
In D44827#1023209, @bz wrote:

eg ath(4) would do something like:

How do you want to implement ath_settkipmic() "nicely" without exposing the field?

Sat, Apr 20, 12:30 AM · wireless

Fri, Apr 19

adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

eg ath(4) would do something like:

Fri, Apr 19, 11:51 PM · wireless
adrian added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
In D44827#1023017, @bz wrote:

Can we shorten hardware/software to hw/sw?

Why do we need wrappers from general code into crypto? Isn't one of them enough to set (and probably also clear[1]) a field in the (currently) ic?

Fri, Apr 19, 11:44 PM · wireless
adrian added a comment to D44864: net80211: add new ciphers and RSN flags.

updated after looking at wpa's definition of it in the 802.11 spec headers in it:

Fri, Apr 19, 8:56 PM · wireless
adrian added inline comments to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 8:54 PM · wireless
adrian updated the diff for D44864: net80211: add new ciphers and RSN flags.

rename fields

Fri, Apr 19, 8:54 PM · wireless
adrian added inline comments to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 5:28 PM · wireless
adrian added a comment to D44864: net80211: add new ciphers and RSN flags.

I'll review the AKM names a second time; stay tuned.

Fri, Apr 19, 5:23 PM · wireless
adrian updated the diff for D44864: net80211: add new ciphers and RSN flags.

feedback from emaste / bz

Fri, Apr 19, 5:21 PM · wireless
adrian added inline comments to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 5:20 PM · wireless
adrian added inline comments to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 4:58 PM · wireless
adrian added a reviewer for D44864: net80211: add new ciphers and RSN flags: wireless.
Fri, Apr 19, 2:10 PM · wireless
adrian updated the diff for D44864: net80211: add new ciphers and RSN flags.

add differential revision

Fri, Apr 19, 2:09 PM · wireless
adrian requested review of D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 2:08 PM · wireless

Thu, Apr 18

adrian updated the diff for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
  • rename software crypto field to better represent what its doing
Thu, Apr 18, 5:20 PM · wireless
adrian updated the diff for D44820: net80211: add a new field specifically for announcing specific ciphers.
  • rename field / comments to better reflect what's going on
  • update commit message to better reflect what's going on
Thu, Apr 18, 5:18 PM · wireless
adrian added a reviewer for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites: wireless.
Thu, Apr 18, 4:56 AM · wireless
adrian updated the diff for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

fix commit message

Thu, Apr 18, 2:10 AM · wireless
adrian retitled D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites from [net80211] add driver / crypto methods to set the hardware / software cipher suites to net80211: add driver / crypto methods to set the hardware / software cipher suites.
Thu, Apr 18, 2:09 AM · wireless
adrian updated the diff for D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

add review

Thu, Apr 18, 2:08 AM · wireless
adrian requested review of D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
Thu, Apr 18, 2:06 AM · wireless
adrian added inline comments to D44820: net80211: add a new field specifically for announcing specific ciphers.
Thu, Apr 18, 1:25 AM · wireless
adrian updated the diff for D44820: net80211: add a new field specifically for announcing specific ciphers.

address comments from bz@

Thu, Apr 18, 1:25 AM · wireless

Wed, Apr 17

adrian added inline comments to D44820: net80211: add a new field specifically for announcing specific ciphers.
Wed, Apr 17, 7:09 PM · wireless
adrian accepted D36469: wtap(4): implement monitor mode and handle radiotap.
Wed, Apr 17, 5:24 PM · wireless
adrian added inline comments to D36243: wtap(4): Implement STA/HostAP mode and support WPA/WPA2.
Wed, Apr 17, 5:22 PM · wireless
adrian updated the diff for D44821: wpa: Remove the now not-needed local logic to hard-code cipher support.

Update description

Wed, Apr 17, 4:46 PM · wireless
adrian updated the diff for D44820: net80211: add a new field specifically for announcing specific ciphers.

Feedback

Wed, Apr 17, 4:46 PM · wireless
adrian retitled D44821: wpa: Remove the now not-needed local logic to hard-code cipher support from [wpa] Remove the now not-needed local logic to hard-code cipher support to wpa: Remove the now not-needed local logic to hard-code cipher support.
Wed, Apr 17, 2:52 AM · wireless
adrian retitled D44820: net80211: add a new field specifically for announcing specific ciphers from [net80211] add a new field specifically for announcing specific ciphers to net80211: add a new field specifically for announcing specific ciphers.
Wed, Apr 17, 2:51 AM · wireless
adrian requested review of D44821: wpa: Remove the now not-needed local logic to hard-code cipher support.
Wed, Apr 17, 2:13 AM · wireless
adrian requested review of D44820: net80211: add a new field specifically for announcing specific ciphers.
Wed, Apr 17, 2:13 AM · wireless

Mon, Apr 15

adrian added inline comments to D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.
Mon, Apr 15, 2:27 PM

Mar 21 2024

adrian added a comment to D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.

you negotiate it as an extension, and then it's used to switch STA keys without dropping frames.

Mar 21 2024, 11:05 PM

Mar 12 2024

adrian accepted D44328: ath_hal/ar9300: allow JUPITER cards to read eeprom.

oh, you have a jupiter card with eeprom, rather than just OTP? ooer. Good catch! I likely only have OTP AR9462s :(

Mar 12 2024, 9:51 PM
adrian added a comment to D44311: sockets: remove unused KPIs to manipulate sockets.

looks like it was kip's TOE work from way back when? Maybe there was an out of tree driver / multi-platform driver that used it at some point.

Mar 12 2024, 4:01 PM

Mar 5 2024

adrian accepted D44208: LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM.

ooo!

Mar 5 2024, 1:09 AM

Mar 4 2024

adrian added a comment to D43634: net80211: crypto: fix check for driver having done decryption.

Aha i remember now. Ok, so.

Mar 4 2024, 12:36 AM

Mar 1 2024

adrian added a comment to D43634: net80211: crypto: fix check for driver having done decryption.
In D43634#1007535, @bz wrote:

err, lemme double check this first. SWDECRYPT is not related to hardware encryption offload; it's an earlier thing where you could have RX STA keys in the hardware (to accelerate knowing which STA it belongs to) but it still passes it through untouched requiring one to do encrypt/decrypt in software.

For the ath NICs, the keycache served both as a encryption/decryption key cache and also as a way of marking known STAs in hardware for doing things like auto-ACK, block-ACK tracking, hardware antenna diversity in the older NICs, etc. It doesn't /have/ to contain encryption keys - that's why SWDECRYPT is a thing.

Is IEEE80211_KEY_SWDECRYPT being set somewhere in the linux kpi layer?

I don't think so but that means we need an extra bit of logic. The HW decrypted packets come in and hit ccmp_decrypt() which they definitively shouldn't anymore. So pseudo-code:

if (!IEEE80211_RX_F_DECRYPTED && IEEE80211_KEY_SWDECRYPT) error = xxx_decrypt();  Handle error accrodingly.

Something like this?

Mar 1 2024, 5:01 PM

Feb 29 2024

adrian added inline comments to D43634: net80211: crypto: fix check for driver having done decryption.
Feb 29 2024, 8:30 PM
adrian requested changes to D43634: net80211: crypto: fix check for driver having done decryption.

err, lemme double check this first. SWDECRYPT is not related to hardware encryption offload; it's an earlier thing where you could have RX STA keys in the hardware (to accelerate knowing which STA it belongs to) but it still passes it through untouched requiring one to do encrypt/decrypt in software.

Feb 29 2024, 8:29 PM

Feb 19 2024

adrian added a comment to D43968: LinuxKPI: 802.11: implement a deferred RX path.

honestly we should defer rx in net80211, it'd make a whole lot of packet handling w/ state transitions easier

Feb 19 2024, 6:44 PM

Feb 18 2024

adrian added a comment to D43964: ath(4): always enable 11n.

lol well yeah, i think after 10+ years of the software transmit queue handling in ath(4) I can say "ok this shit just works now"

Feb 18 2024, 7:46 PM
adrian accepted D43964: ath(4): always enable 11n.
Feb 18 2024, 7:18 PM

Feb 3 2024

adrian added a comment to D43549: arm64: add wlan and ath to kernel config.

Yeah, thee's no reason not to enable it by default nowdays. :-)

Feb 3 2024, 11:37 PM

Jan 17 2024

adrian added a comment to D11050: [bhnd] reduce size of chipc_slicer.

oh wow, howd this get missed :( lemme see if it's still relevant?

Jan 17 2024, 4:04 PM

Jan 16 2024

adrian accepted D43469: net80211: fix a NULL deref in ieee80211_sta_join1().

nice catch! The iv_bss reference issues strike again! :P

Jan 16 2024, 7:19 PM

Dec 14 2023

adrian accepted D42901: net80211: adjust more VHT structures/fields.

sorry! looks good, I was sick the last couple weeks and missed that. :(

Dec 14 2023, 12:28 AM

Nov 29 2023

adrian accepted D42558: wpa: ctrl_iface set sendbuf size.
Nov 29 2023, 3:13 AM

Nov 8 2023

adrian accepted D42502: bsdbox: use paths relative to SRCTOP instead of .CURDIR.
Nov 8 2023, 4:03 PM
adrian accepted D42501: bsdbox: hook wpa_supplicant up as well.
Nov 8 2023, 4:03 PM
adrian accepted D42500: bsdbox: fix the hostapd build, hook it back up.
Nov 8 2023, 4:03 PM