STRUCT IWL_BINDING_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct iwl_binding_cmd(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct iwl_binding_cmd, and yes it's exactly as niche and iconic as it sounds. we're in kernel-land, we're being extremely normal about wireless firmware, and honestly? it's giving main character energy for a C struct. πŸ’…


🌸 NAME 🌸

struct iwl_binding_cmd β€” this is the whole "configuring bindings" situation, and the command it rides with is BINDING_CONTEXT_CMD = 0x2b no cap πŸ”₯


✨ SYNOPSIS ✨

here's the whole glow-up, character for character, don't touch it:

struct iwl_binding_cmd {
    __le32 id_and_color;
    __le32 action;
    __le32 macs[MAX_MACS_IN_BINDING];
    __le32 phy;
    __le32 lmac_id;
 };

lowkey a little five-field icon 🀏


πŸŽ€ Members πŸŽ€

  • id_and_color β€” the ID and the color of the relevant Binding, type is enum iwl_ctxt_id_and_color 🎨 literally both things, it said what it said.
  • action β€” the action to perform, see enum iwl_ctxt_action ⚑ it's the "what are we even doing" field, iykyk.
  • macs β€” an array of MAC id and colors which belong to the binding, type enum iwl_ctxt_id_and_color πŸ“ it's MAX_MACS_IN_BINDING of them, a whole little squad.
  • phy β€” the PHY id and color which belongs to the binding, type enum iwl_ctxt_id_and_color 🌈 again with the id+color combo, we love consistency.
  • lmac_id β€” the lmac id the binding belongs to 🏷️ that's it, that's the field, she's simple and she knows it.

πŸ‘€ SEE ALSO πŸ‘€

go read the source, bestie, it's right here: Kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/binding.h πŸ“

and the whole friend group of structs:

  • struct iwl_binding_cmd_v1(9)
  • struct iwl_time_quota_data_v1(9)
  • struct iwl_time_quota_cmd_v1(9)
  • struct iwl_time_quota_data(9)
  • struct iwl_time_quota_cmd(9)

ngl the v1/non-v1 thing is a whole saga β€” but that's a different page, bestie, one thing at a time πŸ™ˆ

and that's the page!! sign-off time 🫢 this one's from ./drivers/net/wireless/intel/i... (yes the path got cut off, not my fault, blame the formatting πŸ’€), dated October 2026, and it's filed under struct iwl_binding_cmd(9). slay, go configure some bindings, periodt πŸ’–

πŸ“¦ where this page comes from