STRUCT IWL_MEI_CACHE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_mei_cache(9)

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, the manual name is literally Kernel API Manual, and today we're reading about struct iwl_mei_cache, which is a whole little struct that lives in the kernel universe and honestly? it's giving organized-notes energy. πŸŽ€


🌸 NAME 🌸

struct iwl_mei_cache β€” a cache for the parameters from iwlwifi 🫢


✨ SYNOPSIS ✨

struct iwl_mei_cache {
    const struct iwl_mei_ops *ops;
    struct net_device *netdev;
    const struct iwl_sap_notif_connection_info *conn_info;
    const __le16 *power_limit;
    u32 rf_kill;
    u16 mcc;
    u8 mac_address[6];
    u8 nvm_address[6];
    enum iwl_mei_sap_version sap_version;
    void *priv;
 };

like… look at her. she's got range. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

so here's the cast of characters, no cap:

  • ops β€” Callbacks to iwlwifi. the little phone-a-friend line back home πŸ’–
  • netdev β€” The netdev that will be used to transmit / receive packets. the main character fr fr, she's the one moving the packets around πŸ“¨
  • conn_info β€” The connection info message triggered by iwlwifi's association. literally the "we're connected!!" announcement 😭
  • power_limit β€” pointer to an array of 10 elements (le16) represents the power restrictions per chain. ten whole little le16s of power rules, one per chain, periodt ⚑
  • rf_kill β€” rf kill state. is the radio on or is it grounded? πŸ™ˆ
  • mcc β€” MCC info
  • mac_address β€” interface MAC address. πŸŽ€
  • nvm_address β€” NVM MAC address. πŸŽ€ (yes she has TWO, the interface one and the NVM one, both u8[6], iconic)
  • sap_version β€” The SAP version to use. it's an enum iwl_mei_sap_version. ✨
  • priv β€” A pointer to iwlwifi. the sneaky back-to-where-it-came-from pointer πŸ’…

πŸ’œ Description πŸ’œ

This used to cache the configurations coming from iwlwifi's way. πŸ’Ύ

The data is cached here so that we can buffer the configuration even if we don't have a bind from the mei bus and hence, on iwl_mei structure.

lowkey the whole point: no bind from the mei bus? doesn't matter, the config gets buffered here anyway. buffer it and slay 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/wireless/intel/iwlwifi/mei/main.c
  • struct iwl_mei(9) β€” her sibling, go say hi πŸ’–

and that's the page!! 🌸 this one came from ./drivers/net/wireless/intel/i... and it's dated October 2026, so like… the future already read it. you're basically early. πŸ’…βœ¨ go forth and cache responsibly, bestie πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from