STRUCT FW_PHY_PATCH_KEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct fw_phy_patch_key(9) πŸ’–

okay so bestie, we’re in the Kernel API Manual and this page is all about struct fw_phy_patch_key(9). it’s giving firmware-struct main character energy, no cap ✨

✨ NAME ✨

struct fw_phy_patch_key β€” a firmware block used by RTL_FW_PHY_START. This is used to set patch key when loading the firmware of PHY. 🫢

πŸŽ€ SYNOPSIS πŸŽ€

struct fw_phy_patch_key {
    struct fw_block blk_hdr;
    __le16 key_reg;
    __le16 key_data;
    __le32 reserved;
};

πŸ‘‘ Members πŸ‘‘

okay these are the fields in the struct, and yes every single one is important:

  • blk_hdr β€” firmware descriptor (type, length) πŸ“¦
  • key_reg β€” the register to write the patch key. πŸ”‘
  • key_data β€” patch key. πŸ—οΈ
  • reserved β€” reserved space (unused) 🚫

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/usb/r8152.c is the one to peek at, and also go say hi to struct fw_block(9), struct fw_header(9), struct fw_mac(9), and struct fw_phy_nc(9). πŸ’–


that’s the whole page, mwah πŸ’‹ β€” source/version lives at ./drivers/net/usb, dated October 2026, and the page is struct fw_phy_patch_key(9). πŸ¦‹

πŸ“¦ where this page comes from