ENUM IWL_STATISTICS_CFG_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ enum iwl_statistics_cfg_flags(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” yes we're literally reading kernel docs together, this is our bonding era πŸ’…βœ¨


✨ NAME ✨

enum iwl_statistics_cfg_flags β€” the cfg_mask used in the system statistics command 🫢 like, it's the little flag enum that tells the stats command how to behave. iconic honestly.


🌸 SYNOPSIS 🌸

enum iwl_statistics_cfg_flags {
    IWL_STATS_CFG_FLG_DISABLE_NTFY_MSK ,
    IWL_STATS_CFG_FLG_ON_DEMAND_NTFY_MSK ,
    IWL_STATS_CFG_FLG_RESET_MSK

};

(no cap, that trailing blank line before the closing brace is canon, don't come for me 😭)


πŸ’– Constants πŸ’–

okay so here's the lineup, three icons, each one is a mask and each one has a 0 vibe and a 1 vibe β€” get into it:

  • IWL_STATS_CFG_FLG_DISABLE_NTFY_MSK β€” 0 for enable, 1 for disable πŸ¦‹ so it's like, are we doing notifications or not
  • IWL_STATS_CFG_FLG_ON_DEMAND_NTFY_MSK β€” 0 for periodic, 1 for on-demand ⭐ meaning: do you want them on a schedule or only when you ask, bestie
  • IWL_STATS_CFG_FLG_RESET_MSK β€” 0 for reset statistics after sending the notification, 1 for do not reset statistics after sending the notification πŸ”₯ lowkey the most main-character flag here, it decides whether your stats get wiped after they go out

πŸ‘‘ SEE ALSO πŸ‘‘

go look at the kernel file ./drivers/net/wireless/intel/iwlwifi/fw/api/stats.h first, that's the whole neighborhood 🧚 and then the whole friend group, in order, exactly like this:

  • struct mvm_statistics_rx_non_phy(9)
  • struct mvm_statistics_load(9)
  • enum iwl_statistics_notif_flags(9)
  • enum iwl_statistics_cmd_flags(9)
  • struct iwl_statistics_cmd(9)
  • enum iwl_statistics_notify_type_id(9)
  • struct iwl_system_statistics_cmd(9)
  • enum iwl_fw_statistics_type(9)
  • struct iwl_statistics_ntfy_hdr(9)
  • struct iwl_stats_ntfy_per_link(9)
  • struct iwl_stats_ntfy_part1_per_link(9)
  • struct iwl_stats_ntfy_per_mac(9)
  • struct iwl_stats_ntfy_per_phy_v1(9)
  • struct iwl_stats_ntfy_coex(9)
  • struct iwl_stats_ntfy_per_phy(9)
  • struct iwl_stats_ntfy_per_sta(9)
  • struct iwl_system_statistics_notif_oper_v3(9)
  • struct iwl_system_statistics_notif_oper(9)
  • struct iwl_system_statistics_part1_notif_oper(9)
  • struct iwl_system_statistics_end_notif(9)
  • struct iwl_statistics_operational_ntfy(9)
  • struct iwl_statistics_operational_ntfy_ver_14(9)
  • struct iwl_statistics_phy_ntfy(9)
  • struct iwl_statistics_mac_ntfy(9)
  • struct iwl_statistics_rx_ntfy(9)
  • struct iwl_statistics_tx_ntfy(9)
  • struct iwl_statistics_duration_ntfy(9)
  • struct iwl_statistics_he_ntfy(9)
ngl that's a lot of structs but they're all part of the stats family and we respect every single one of them πŸ’œ

aaaand that's the page, bestie 🌈 sign-off szn: this one comes from ./drivers/net/wireless/intel/i... and it's dated October 2026 β€” the same page name, enum iwl_st...cs_cfg_flags(9), both at the top and the bottom, fr fr πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from