Page MenuHomeFreeBSD

thj (Tom Jones)
User

Projects (6)

User Details

User Since
Jan 7 2016, 3:15 PM (485 w, 4 d)

Recent Activity

Mon, Apr 14

thj requested review of D49827: iwx: Take the iwx lock in the resume path.
Mon, Apr 14, 1:49 PM
thj requested review of D49826: iwx: Try to make error messages cleared.
Mon, Apr 14, 1:47 PM
thj added a comment to D49825: firmware: Be clearer about where load errors originate.

Meant to add:

Mon, Apr 14, 1:44 PM
thj added reviewers for D49825: firmware: Be clearer about where load errors originate: bz, adrian.
Mon, Apr 14, 1:43 PM
thj requested review of D49825: firmware: Be clearer about where load errors originate.
Mon, Apr 14, 1:43 PM
thj committed rG71baab405ef6: iwx: Remove debug logging code (authored by thj).
iwx: Remove debug logging code
Mon, Apr 14, 8:57 AM
thj closed D49783: if_iwx: Remove debug logging code.
Mon, Apr 14, 8:57 AM
thj committed rG1110ed3b46ea: iwx: Use subdevice for comparison (authored by thj).
iwx: Use subdevice for comparison
Mon, Apr 14, 8:17 AM
thj closed D49759: iwx: Look up subdevice rather than device.
Mon, Apr 14, 8:17 AM

Fri, Apr 11

thj requested review of D49783: if_iwx: Remove debug logging code.
Fri, Apr 11, 3:03 PM
thj retitled D49759: iwx: Look up subdevice rather than device from iwx: Look up product id correctly to iwx: Look up subdevice rather than device.
Fri, Apr 11, 12:15 PM
thj updated the diff for D49759: iwx: Look up subdevice rather than device.
  • use the correct pci_get_subdevice macro
Fri, Apr 11, 12:14 PM
thj closed D49599: iwx: Add status report.
Fri, Apr 11, 8:10 AM
thj committed R9:001d3b0b665d: Status/2025/Q1/wireless-iwx.adoc: Add status report (authored by thj).
Status/2025/Q1/wireless-iwx.adoc: Add status report
Fri, Apr 11, 8:10 AM
thj updated the diff for D49599: iwx: Add status report.
  • Fix nits
Fri, Apr 11, 8:03 AM
thj accepted D49772: net80211: fix IEEE80211_VFHT_BITS after 160 nd 80P80 got swapped.
Fri, Apr 11, 7:56 AM
thj accepted D49771: net80211: fill in missing flags to IEEE80211_NODE_BITS.
Fri, Apr 11, 7:55 AM

Thu, Apr 10

thj added a comment to D49759: iwx: Look up subdevice rather than device.
In D49759#1134392, @bz wrote:

PCI accessors are all there @adrian pci_get_(first column)

PCI_ACCESSOR(subvendor,         SUBVENDOR,      uint16_t)
PCI_ACCESSOR(subdevice,         SUBDEVICE,      uint16_t)
PCI_ACCESSOR(vendor,            VENDOR,         uint16_t)
PCI_ACCESSOR(device,            DEVICE,         uint16_t)
PCI_ACCESSOR(devid,             DEVID,          uint32_t)
PCI_ACCESSOR(class,             CLASS,          uint8_t)
PCI_ACCESSOR(subclass,          SUBCLASS,       uint8_t)
...

are all there.

Thu, Apr 10, 3:37 PM
thj requested review of D49759: iwx: Look up subdevice rather than device.
Thu, Apr 10, 2:35 PM
thj accepted D49713: iwlwififw: remove Intel iwlwifi firmware from src.git.
Thu, Apr 10, 8:18 AM
thj requested changes to D49687: iwx.4: Initial manual page.
Thu, Apr 10, 8:14 AM

Wed, Apr 9

thj added a comment to D49687: iwx.4: Initial manual page.

Thanks for writing up the page! I started, but got distracted with something else. I've added some bits which will help us align to other wifi man pages

Wed, Apr 9, 12:54 PM
thj added a comment to D49634: iwx: Shorten log code field.

I added this to iwx to debug firmware crashes in comparison to the openbsd driver. I can move back to being a header only and out of iwx. Those crashes aren't happening anymore with the move to the fc release

Wed, Apr 9, 12:33 PM

Thu, Apr 3

thj committed rG74a6f2a76b32: iwx: Shorten log code field (authored by thj).
iwx: Shorten log code field
Thu, Apr 3, 7:08 AM
thj closed D49634: iwx: Shorten log code field.
Thu, Apr 3, 7:08 AM

Wed, Apr 2

thj requested review of D49634: iwx: Shorten log code field.
Wed, Apr 2, 2:08 PM

Tue, Apr 1

thj committed rGe9efa3ed25d4: Add a kgdb python script to extract bbl from kernel dumps (authored by thj).
Add a kgdb python script to extract bbl from kernel dumps
Tue, Apr 1, 8:19 AM
thj closed D48705: Add a kgdb python script to extract bbl from kernel dumps.
Tue, Apr 1, 8:19 AM
thj requested review of D49599: iwx: Add status report.
Tue, Apr 1, 8:12 AM
thj committed rG426f4e5e2e70: if_run: Add sitecom device id (authored by Nia Alarie <nia@NetBSD.org>).
if_run: Add sitecom device id
Tue, Apr 1, 8:02 AM
thj committed rG9f3e7b75976b: if_rsu: Add sitecom device id (authored by Nia Alarie <nia@NetBSD.org>).
if_rsu: Add sitecom device id
Tue, Apr 1, 8:02 AM
thj closed D49588: run/rsu: Add device ids for adapters.
Tue, Apr 1, 8:01 AM

Mon, Mar 31

thj accepted D49238: net80211: Refactor CCMP-128 support; add CCMP-256 support.
Mon, Mar 31, 3:20 PM · wireless
thj accepted D49481: ifconfig: decode 256 bit CCM/GCM ciphers and 256 bit 802.1x/none keymgmt.
Mon, Mar 31, 3:07 PM · wireless
thj committed rG2ad0f7e91582: Import iwx as ported from OpenBSD by Future Crew. (authored by thj).
Import iwx as ported from OpenBSD by Future Crew.
Mon, Mar 31, 12:43 PM
thj closed D49259: Import iwx as ported from OpenBSD by Future Crew..
Mon, Mar 31, 12:43 PM
thj requested review of D49588: run/rsu: Add device ids for adapters.
Mon, Mar 31, 11:55 AM
thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • Update copyright statements based on advice from review
Mon, Mar 31, 9:43 AM
thj added a comment to D49259: Import iwx as ported from OpenBSD by Future Crew..

"GPL-2.0" without only isn't in the spdx license list so I would like to avoid that. I think only here means "not and later" rather than it being a file exclusively licensed with the gpl.

Mon, Mar 31, 9:41 AM

Mar 28 2025

thj added a comment to D49259: Import iwx as ported from OpenBSD by Future Crew..

I'm waiting for an ack on spdx tags from @emaste or @imp and I'm not going to commit at 4 on a Friday :D

Mar 28 2025, 4:10 PM
thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • Add spdx tags and FreeBSD Foundation Copyright
Mar 28 2025, 4:09 PM
thj added inline comments to D49514: net80211: workaround a beacon setup crash race w/ ieee80211_getcapinfo().
Mar 28 2025, 3:48 PM · wireless
thj accepted D49513: net80211: document the 802.11 specification for ieee80211_getcapinfo().
Mar 28 2025, 3:43 PM · wireless
thj accepted D49512: mtw: fix compilation with IEEE80211_SUPPORT_SUPERG enabled.
Mar 28 2025, 3:42 PM · wireless
thj accepted D49545: ath: fix athtools common code to correctly init state.
Mar 28 2025, 3:39 PM · wireless
thj accepted D49546: athpoke: Use a format string with err().
Mar 28 2025, 3:38 PM · wireless
thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • rewrite channel map with patch from bz
  • Add more printing to rate debugging
  • Add an ignore around payload_len
Mar 28 2025, 10:22 AM

Mar 19 2025

thj accepted D49403: wifi-firmware-{iwlwifi,*}-kmod: add missing firmware files.
Mar 19 2025, 1:42 PM
thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • Comment out debug flags
  • Remove FreeBSD revision specifier
  • Move iwx to be in the sourcelss block with other intel drivers
  • Remove unused functions from build
Mar 19 2025, 10:10 AM
thj added inline comments to D49259: Import iwx as ported from OpenBSD by Future Crew..
Mar 19 2025, 9:43 AM

Mar 18 2025

thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • Tidy up headers
  • Split out debug.h
  • Fix build without debug
  • Manage firmware lifetimes better
  • Change probe priority
Mar 18 2025, 3:00 PM

Mar 14 2025

thj updated the diff for D49259: Import iwx as ported from OpenBSD by Future Crew..
  • Use iwlwifi names for firmware files
  • Parameterise iwx in the modules makefile
  • Remove a debug panic
Mar 14 2025, 3:59 PM

Mar 6 2025

thj requested review of D49259: Import iwx as ported from OpenBSD by Future Crew..
Mar 6 2025, 4:19 PM

Feb 13 2025

thj accepted D48604: net80211: convert ni_txrate to a struct, with extra rate information.
Feb 13 2025, 4:02 PM · wireless
thj accepted D48603: net80211: change ieee80211_ratectl_rate() to not return a rix.

I'm happy with the ieee80211 and driver changes, but bz@ should respond for the linuxkpi as he has all the experience there.

Feb 13 2025, 3:58 PM · wireless
thj accepted D48602: sys: convert ni->ni_txrate references use to the new net80211 API.

I think that dot11rate should be a uint8_t, but you can change it on commit if you agree

Feb 13 2025, 3:54 PM · wireless
thj accepted D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Feb 13 2025, 3:47 PM · wireless

Feb 12 2025

thj requested changes to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Feb 12 2025, 8:53 AM · wireless

Jan 28 2025

thj requested review of D48705: Add a kgdb python script to extract bbl from kernel dumps.
Jan 28 2025, 10:56 AM
thj accepted D48429: amrr: refactor amrr_node_init() into HT and legacy paths.
Jan 28 2025, 10:10 AM · wireless
thj accepted D48616: net80211: update get_sta_info() to only populate isi_txrate for legacy rates.
Jan 28 2025, 10:10 AM · wireless
thj accepted D48615: net80211: migrate ieee80211_rate2media() to use ieee80211_node_txrate.
Jan 28 2025, 10:09 AM · wireless
thj accepted D48614: net80211: add static initialisers for the ieee80211_node_txrate options.
Jan 28 2025, 10:01 AM · wireless
thj accepted D48612: net80211: add ieee80211_phy_vht_get_mcs_kbit().
Jan 28 2025, 10:00 AM · wireless
thj accepted D48613: net80211: update ieee80211_node_get_txrate_mbit() to support VHT.
Jan 28 2025, 10:00 AM · wireless
thj requested changes to D48611: net80211: add VHT MCS in AMRR rate control.
Jan 28 2025, 9:48 AM · wireless
thj accepted D48248: net80211: refactor amrr_update() into HT and legacy paths.
Jan 28 2025, 9:34 AM · wireless

Jan 24 2025

thj added inline comments to D48606: rtwn: move to using ieee80211_node_get_txrate().
Jan 24 2025, 4:38 PM · wireless
thj added inline comments to D48603: net80211: change ieee80211_ratectl_rate() to not return a rix.
Jan 24 2025, 4:22 PM · wireless
thj added inline comments to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Jan 24 2025, 1:09 PM · wireless

Jan 23 2025

thj added inline comments to D48602: sys: convert ni->ni_txrate references use to the new net80211 API.
Jan 23 2025, 4:28 PM · wireless
thj requested changes to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Jan 23 2025, 4:23 PM · wireless

Dec 19 2024

thj requested review of D48144: Status/2024Q3: Status report for iwx WiFi driver port.
Dec 19 2024, 8:48 AM

Dec 6 2024

thj committed rGf132be9bac5f: netgraph: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
netgraph: Enable support for EIM NAT
Dec 6 2024, 9:33 AM
thj committed rGcb21fa3d0d26: ppp: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
ppp: Enable support for EIM NAT
Dec 6 2024, 9:24 AM
thj committed rGef18594985c0: natd: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
natd: Enable support for EIM NAT
Dec 6 2024, 9:23 AM
thj closed D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).
Dec 6 2024, 9:22 AM · network
thj committed rGb6c90b909905: ipfw : Enable support for EIM NAT (authored by damjan.jov_gmail.com).
ipfw : Enable support for EIM NAT
Dec 6 2024, 9:20 AM

Dec 5 2024

thj committed rG61bf830cbb26: libalias: Add support for EIM NAT (authored by damjan.jov_gmail.com).
libalias: Add support for EIM NAT
Dec 5 2024, 4:27 PM
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

just and fyi, I've broken this down to 5 commits and only pushed the first so far

Dec 5 2024, 4:27 PM · network

Nov 14 2024

thj accepted D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

From my testing this seems good. From there I will break this down a bit so the commits are smaller and start adding stuff next week

Nov 14 2024, 4:14 PM · network

Nov 8 2024

thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

This update:

  • Makes EIM opt-in, off by default, although I still think this decision needs broader discussion, or even a vote.
Nov 8 2024, 4:10 PM · network

Nov 5 2024

thj added a comment to D47410: Fix the pf.conf(5) man page "endpoint-independent" section.

Is there a reason this moves in the ordering of nat rules? We tend to aim for roughly alphabetical ordering if there isn't a reason for something different?

Nov 5 2024, 11:02 AM · network
thj added a reviewer for D47410: Fix the pf.conf(5) man page "endpoint-independent" section: manpages.
Nov 5 2024, 11:00 AM · network

Oct 18 2024

thj edited reviewers for D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT), added: igoro, manpages; removed: glebius.

Generally looks good, there are some small nits, but I'm happy for this to land once you've made the changes to the man page and the comment at the top.

Oct 18 2024, 3:50 PM · network
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

Sorry one more thing, can you upload future diffs with full context. It makes reviewing on phabricator much easier.

Oct 18 2024, 1:33 PM · network
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

Two small things, I will start testing now

Oct 18 2024, 1:01 PM · network

Oct 3 2024

thj closed D46869: Add status report for EIM NAT project.
Oct 3 2024, 8:49 AM
thj committed R9:192923674e8d: Status/2024Q3: Status report for EIM NAT project (authored by thj).
Status/2024Q3: Status report for EIM NAT project
Oct 3 2024, 8:49 AM

Oct 2 2024

thj added a comment to D46870: (draft) conf: GENERIC: Add a disclaimer on customized kernel configurations.

Tweak some wording to imply reality

Oct 2 2024, 9:37 AM
thj added a comment to D46869: Add status report for EIM NAT project.

Sorry it is a bit late

Oct 2 2024, 9:15 AM
thj requested review of D46869: Add status report for EIM NAT project.
Oct 2 2024, 9:15 AM

Sep 30 2024

thj added a comment to D16851: Add support for header chain validation on IPv6 Fragments (RFC7112).

I think we just need to check first fragments in frag6_input() and check whole header chain everytime:

if (fragoff == 0)
{
    if (!ip6_valid_hdrchain(&m, off, nxt, frgpartlen))
    {
         icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_MISSING_HDR, 0);
         return (IPPROTO_DONE);
     }
}

This will conform with RFC 8200, page 21, last paragraph.

Sep 30 2024, 12:49 PM

Sep 27 2024

thj accepted D46760: dhclient: Ignore vendor-identifying DHCP options defined in RFC 3925.
Sep 27 2024, 2:24 PM

Sep 26 2024

thj committed rG99adbd1b3f3b: gpioc: Fix handling of priv data during open (authored by thj).
gpioc: Fix handling of priv data during open
Sep 26 2024, 9:17 AM
thj closed D46568: gpioc: Fix handling of priv data during open.
Sep 26 2024, 9:17 AM

Sep 25 2024

thj requested review of D46782: imx_clk_composite: Fix up clock selection.
Sep 25 2024, 2:46 PM
thj added a comment to D17675: Suspend to idle support.

Thanks Ed, I think that is a useful clarification.

Sep 25 2024, 2:27 PM
thj added a comment to D17675: Suspend to idle support.

For anyone looking into this the ACPI reference table might help:

Sep 25 2024, 9:00 AM

Sep 24 2024

thj added a comment to D46568: gpioc: Fix handling of priv data during open.

Thanks for the comments both, I'm sorry I rolled my confusion about the use of cdevpriv and clean up with this change.

Sep 24 2024, 12:37 PM