Page MenuHomeFreeBSD
Feed Advanced Search

Yesterday

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

Thu, Mar 21

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.

Thu, Mar 21, 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
adrian accepted D42499: crunchgen: make special "keep" more useful, break it out.
Nov 8 2023, 4:03 PM

Nov 3 2023

adrian accepted D42427: net80211: move net_epoch into net80211.
Nov 3 2023, 11:12 PM

Nov 1 2023

adrian accepted D42427: net80211: move net_epoch into net80211.

I think it's fine, it just means we can't batch a single epoch call inside the driver when it does encap/decap for us!

Nov 1 2023, 1:11 AM
adrian accepted D42422: net80211: add ieee80211_add_vhtcap_ch().
Nov 1 2023, 1:09 AM
adrian accepted D42421: net80211: migrate ic_vhtcaps, ic_vht_mcsinfo, ic_flags_vht.
Nov 1 2023, 1:09 AM
adrian accepted D42419: net80211: rename iv_flags_vht to iv_vht_flags.
Nov 1 2023, 1:09 AM
adrian accepted D42420: net80211: combine iv_vhtcaps and iv_vht_mcsinfo.
Nov 1 2023, 1:08 AM

Oct 2 2023

adrian accepted D42035: net80211: remove ieee80211_unref_node().

Oh I remember some stupid corner cases waaaay back that needed this for stupid reasons? because some (temp) nodes only had one reference at that point that shouldn't? or something with the bssnode handling continuing to be stupid?

Oct 2 2023, 3:05 PM

Aug 29 2023

adrian accepted D41628: igmp: do not upgrade IGMP version beyond net.inet.igmp.default_version.
Aug 29 2023, 7:08 PM

Aug 9 2023

adrian accepted D41394: arswitch(4): Remove support for AR{7240,9340} found in MIPS SoCs only.
Aug 9 2023, 4:14 PM
adrian added a comment to D41355: ath(4): Remove MIPS SoC build glue and support from FreeBSD HAL.

lets hold off on removing the /HAL/ support just right now. If we start stripping this stuff out then i'll make it harder to sync this code up with what I'm slowly hacking up in netbsd...

Aug 9 2023, 1:52 AM

Aug 8 2023

adrian accepted D41354: ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again.

fiiine :-P

Aug 8 2023, 5:05 PM
adrian accepted D41355: ath(4): Remove MIPS SoC build glue and support from FreeBSD HAL.
Aug 8 2023, 11:09 AM
adrian requested changes to D41354: ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again.

Hi! I know this is a long shot, but if someone wants to do AR9271/AR7010 support (which is USB) it'll need this bus abstraction still.

Aug 8 2023, 11:08 AM

Jul 27 2023

adrian accepted D41212: vtnet: Ensure that L3 protocol headers are aligned when necessary.
Jul 27 2023, 3:26 PM
adrian added a comment to D41212: vtnet: Ensure that L3 protocol headers are aligned when necessary.

i know this keeps happening for unaligned-unhappy platforms, but can we please at least try to "fix" this in the L3 path too? Do an explicit pull-up and counter on the input path just in case something sneaks through?

Jul 27 2023, 3:26 PM

May 31 2023

adrian added a comment to D40356: netlink: use custom uma zone for the mbuf storage.

nice!

May 31 2023, 9:17 PM
adrian accepted D40356: netlink: use custom uma zone for the mbuf storage.
May 31 2023, 9:17 PM
adrian added a comment to D40348: netlink: retry mbuf allocation in different pool on failure.

I think having a separate dedicated allocator for netlink messages is the better call. Don't make your control plane reliant on your data plane's memory management.

May 31 2023, 4:11 PM

May 26 2023

adrian added a comment to D31119: games/lwjgl3: Lightweight Java Game Library 3.

ping! what's left before we can have a lwjgl3 port landed?

May 26 2023, 3:46 AM

Apr 13 2023

adrian added a comment to D39476: net80211: wrong transmit MCS set in HT Capabilities IE.

oh wait err, i recall when bernard and i were debugging this in 2010/2011 time we found that "what the spec said" and "what devices actually needed because of bugs" were very different. so let's be careful with these.

(gosh I wish we had all of that in the commit logs or bug report logs somewhere..)

I think that adjusting to bugs of some devices in cost of contradicting to the standard for every device around is counter-productive, especially considering time which has passed since 2010.

What were consequences of these bugs and what were the vendors?

Apr 13 2023, 4:15 AM

Apr 12 2023

adrian added a comment to D39476: net80211: wrong transmit MCS set in HT Capabilities IE.

oh wait err, i recall when bernard and i were debugging this in 2010/2011 time we found that "what the spec said" and "what devices actually needed because of bugs" were very different. so let's be careful with these.

Apr 12 2023, 4:04 AM

Apr 10 2023

adrian added a comment to D39476: net80211: wrong transmit MCS set in HT Capabilities IE.

oh hm! good catch, let's see!

Apr 10 2023, 2:47 PM

Mar 24 2023

adrian accepted D39247: WPA: revert wpa_poststart.
Mar 24 2023, 2:38 PM

Mar 21 2023

adrian accepted D39192: ifconfig: ifieee80211: print bssid name.
Mar 21 2023, 9:41 PM

Mar 5 2023

adrian accepted D38893: net: unify mtu update code.
Mar 5 2023, 6:58 PM

Mar 3 2023

adrian added a comment to D38854: rtwn: Fix RTL8192EU cannot associate in STA mode.

i understand the fix, but the whole code layout for rtwn is to avoid the HW code knowing too much about the bus/transport.

Mar 3 2023, 1:44 AM

Feb 28 2023

adrian accepted D38832: net80211: define mask for ss_flags rather than using hardcoded 0xfff.
Feb 28 2023, 11:32 PM

Feb 18 2023

adrian accepted D38660: net80211: ieee80211_swscan_bg_scan() track return variable under lock.
Feb 18 2023, 5:17 PM

Feb 15 2023

adrian added a comment to D38508: net80211(4): fix the connection-fail problem in wpa_supplicant(8).

(also I thought we had a program somewhere in tools/tools/net80211 that would listen to the routing socket for all net80211 messages, to make debugging this easier? if not, we should write one :-)

Feb 15 2023, 5:16 PM · wireless
adrian added a comment to D38508: net80211(4): fix the connection-fail problem in wpa_supplicant(8).

iirc, and don't quote me on this, the "scan done + restart" stuff can happen when the software scanner is doing things like background scans (which break softmac 11n/11ac/etc devices, sigh, someone needs to employ me for 6 months to properly fix that for softmac devices already) it can start and stop a scan, push up scan results, but not complete it. background scans can be interrupted by active traffic, which means it'll try to do a piecemeal scan before pushing things up.

Feb 15 2023, 5:15 PM · wireless

Feb 8 2023

adrian committed rG2e9d05fd6848: asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1 (authored by adrian).
asmc: Add support for 10 byte light sensor payloads; MacBookAir6,1
Feb 8 2023, 4:09 AM
adrian closed D38365: asmc: add support for 10 byte light sensor payloads.
Feb 8 2023, 4:09 AM

Feb 7 2023

adrian added a comment to D38365: asmc: add support for 10 byte light sensor payloads.

ok, try this one!

Feb 7 2023, 1:13 AM
adrian updated the diff for D38365: asmc: add support for 10 byte light sensor payloads.

oops

Feb 7 2023, 1:13 AM
adrian updated the diff for D38365: asmc: add support for 10 byte light sensor payloads.

corrections!

Feb 7 2023, 1:12 AM

Feb 3 2023

adrian added inline comments to D38365: asmc: add support for 10 byte light sensor payloads.
Feb 3 2023, 6:12 AM

Feb 2 2023

adrian updated the summary of D38365: asmc: add support for 10 byte light sensor payloads.
Feb 2 2023, 11:37 PM
adrian added a reviewer for D38365: asmc: add support for 10 byte light sensor payloads: markj.
Feb 2 2023, 11:30 PM
adrian requested review of D38365: asmc: add support for 10 byte light sensor payloads.
Feb 2 2023, 11:29 PM

Jan 21 2023

adrian committed rGffc58e2ca365: asmc: Add MacbookAir6,2 (authored by adrian).
asmc: Add MacbookAir6,2
Jan 21 2023, 4:44 AM
adrian closed D38073: [asmc] Add Macbook 6,2.
Jan 21 2023, 4:44 AM

Jan 19 2023

adrian updated the diff for D38073: [asmc] Add Macbook 6,2.

addressed nits

Jan 19 2023, 2:50 AM

Jan 16 2023

adrian added a reviewer for D38073: [asmc] Add Macbook 6,2: markj.
Jan 16 2023, 4:31 PM
adrian requested review of D38073: [asmc] Add Macbook 6,2.
Jan 16 2023, 5:37 AM

Dec 29 2022

adrian accepted D37900: asmc: Add support for MacBook5,5.

amusingly I'm actually neck deep in figuring it out for my macbook air, so sure. Why not. ;)

Dec 29 2022, 5:17 PM

Dec 27 2022

adrian added a comment to D37882: QCOM: various bits.

Thanks for the cleanup!

Dec 27 2022, 5:55 PM

Nov 29 2022

adrian accepted D37529: net80211: try to fix IEEE80211_DEBUG_REFCNT builds.
Nov 29 2022, 12:57 AM

Sep 27 2022

adrian added inline comments to D36615: net80211: clean up / add more macros to check the frame types.
Sep 27 2022, 12:39 AM

Sep 26 2022

adrian accepted D36733: net80211: move IEEE80211_F_WME check to vap for consistency.
Sep 26 2022, 9:49 PM

Sep 24 2022

adrian added inline comments to D36615: net80211: clean up / add more macros to check the frame types.
Sep 24 2022, 1:22 AM

Sep 22 2022

adrian added inline comments to D36615: net80211: clean up / add more macros to check the frame types.
Sep 22 2022, 3:18 AM

Sep 21 2022

adrian added inline comments to D36615: net80211: clean up / add more macros to check the frame types.
Sep 21 2022, 5:05 PM
adrian added a comment to D36615: net80211: clean up / add more macros to check the frame types.

They're all used in the ath10k driver port I'm working on. They're available in the linuxkpi for liinux drivers too :-)

Sep 21 2022, 2:40 PM
adrian accepted D36501: lio: Remove unneeded include..
Sep 21 2022, 5:18 AM

Sep 18 2022

adrian added a reviewer for D36615: net80211: clean up / add more macros to check the frame types: cy.
Sep 18 2022, 12:30 AM
adrian added reviewers for D36615: net80211: clean up / add more macros to check the frame types: wireless, bz.
Sep 18 2022, 12:29 AM
adrian requested review of D36615: net80211: clean up / add more macros to check the frame types.
Sep 18 2022, 12:29 AM

Sep 13 2022

adrian committed rG633d178c63be: qcom_qup: compilation fixes (authored by adrian).
qcom_qup: compilation fixes
Sep 13 2022, 3:11 AM
adrian committed rG82302a49fde3: qcom_tlmm: use return code instead of always returning true. (authored by adrian).
qcom_tlmm: use return code instead of always returning true.
Sep 13 2022, 3:11 AM
adrian committed rG3d9bd8252205: qcom_clk: compilation fixes (authored by adrian).
qcom_clk: compilation fixes
Sep 13 2022, 3:11 AM
adrian committed rGf060362adeb4: ipq4018: remove write-only variables in USB ehci/xhci bus glue (authored by adrian).
ipq4018: remove write-only variables in USB ehci/xhci bus glue
Sep 13 2022, 3:11 AM
adrian committed rGf05b3c9f4741: qcom_gcc: fix the parent clock to work again (authored by adrian).
qcom_gcc: fix the parent clock to work again
Sep 13 2022, 3:11 AM
adrian closed D36535: qcom_qup: compilation fixes.
Sep 13 2022, 3:11 AM
adrian closed D36534: qcom_tlmm: fix compiler errors, return error code.
Sep 13 2022, 3:11 AM
adrian closed D36533: qcom_clk: compilation fixes.
Sep 13 2022, 3:11 AM
adrian closed D36532: ipq4018: fix USB ehci/xhci bus glue to compile again.
Sep 13 2022, 3:11 AM
adrian closed D36531: qcom_gcc: fix the parent clock to work again.
Sep 13 2022, 3:11 AM

Sep 12 2022

adrian accepted D36543: stand: Stop support booting 4.x and earlier kernels.

i think it's fine to nuke it?

Sep 12 2022, 11:50 PM
adrian updated the diff for D36535: qcom_qup: compilation fixes.

update

Sep 12 2022, 6:31 PM
adrian updated the diff for D36534: qcom_tlmm: fix compiler errors, return error code.

update

Sep 12 2022, 6:31 PM
adrian updated the diff for D36533: qcom_clk: compilation fixes.

update

Sep 12 2022, 6:31 PM
adrian updated the diff for D36532: ipq4018: fix USB ehci/xhci bus glue to compile again.

update

Sep 12 2022, 6:31 PM
adrian updated the diff for D36531: qcom_gcc: fix the parent clock to work again.

update

Sep 12 2022, 6:31 PM
adrian updated the diff for D36535: qcom_qup: compilation fixes.

address comments from imp

Sep 12 2022, 6:28 PM
adrian updated the diff for D36531: qcom_gcc: fix the parent clock to work again.

update

Sep 12 2022, 6:28 PM
adrian requested review of D36535: qcom_qup: compilation fixes.
Sep 12 2022, 6:37 AM
adrian requested review of D36534: qcom_tlmm: fix compiler errors, return error code.
Sep 12 2022, 6:37 AM
adrian requested review of D36533: qcom_clk: compilation fixes.
Sep 12 2022, 6:37 AM
adrian requested review of D36532: ipq4018: fix USB ehci/xhci bus glue to compile again.
Sep 12 2022, 6:37 AM