STRUCT IWL_MEI_CACHE(9)
π 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 toiwlwifi. the little phone-a-friend line back home πnetdevβ Thenetdevthat 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 byiwlwifi'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 littlele16s of power rules, one per chain, periodt β‘rf_killβ rf kill state. is the radio on or is it grounded? πmccβ MCC infomac_addressβ interface MAC address. πnvm_addressβ NVM MAC address. π (yes she has TWO, the interface one and the NVM one, bothu8[6], iconic)sap_versionβ The SAP version to use. it's anenum iwl_mei_sap_version. β¨privβ A pointer toiwlwifi. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms