STRUCT IWL_MVM_ROC_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct iwl_mvm_roc_ops(9) β€” like, the kernel API manual, bestie πŸŽ€

okay so this is a page straight out of the Kernel API Manual (section 9, iykyk) and it's all about struct iwl_mvm_roc_ops β€” the callback squad for remain_on_channel(). buckle up, it's short but it matters ✨


🌸 NAME 🌸

struct iwl_mvm_roc_ops β€” literally the callbacks for the remain_on_channel(). that's the whole vibe. periodt.


✨ SYNOPSIS ✨

here's the struct in all its glory, copy-pasted character for character because we do not play with code πŸ’…:

struct iwl_mvm_roc_ops {
    int (*add_aux_sta_for_hs20)(struct iwl_mvm *mvm, u32 lmac_id);
    int (*link)(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
 };

πŸ¦‹ Members πŸ¦‹

  • add_aux_sta_for_hs20 β€” a pointer to the function that adds an aux sta for Hot Spot 2.0. that's it, that's the job 🫢
  • link β€” for a P2P Device interface, this is a pointer to a function that links the MAC/Link to the PHY context. lowkey iconic πŸ”₯

πŸ’– Description πŸ’–

so the tea is this: the only difference between the MLD and non-MLD versions of remain_on_channel is these function calls. that's it. that's the whole plot twist 😭 so each version just sends its own specific function calls over to iwl_mvm_roc_common. shared code, custom vibes. we love a modular queen πŸ‘‘


🌈 SEE ALSO 🌈

all the friends in the group chat, fr fr β€” from the kernel file ./drivers/net/wireless/intel/iwlwifi/mvm/mvm.h:

  • struct iwl_mvm_mod_params(9)
  • enum iwl_power_scheme(9)
  • enum iwl_mvm_low_latency_force(9)
  • enum iwl_mvm_low_latency_cause(9)
  • struct iwl_mvm_link_bf_data(9)
  • struct iwl_probe_resp_data(9)
  • struct iwl_mvm_vif_link_info(9)
  • struct iwl_mvm_vif(9)
  • struct iwl_mvm_tt_mgmt(9)
  • struct iwl_mvm_thermal_device(9)
  • struct iwl_mvm_reorder_buffer(9)
  • struct iwl_mvm_reorder_buf_entry(9)
  • struct iwl_mvm_baid_data(9)
  • struct iwl_mvm_tvqm_txq_info(9)
  • struct iwl_mvm_acs_survey_channel(9)
  • enum iwl_mvm_status(9)
  • struct iwl_mvm_switch_vif_chanctx_ops(9)

ngl bestie if you got this far you're officially a kernel girlie now πŸ§šπŸ’œ

okay and before i go β€” the source line said ./drivers/net/wireless/intel/i... and the date was October 2026, and the whole thing is filed under struct iwl_mvm_roc_ops(9). mwah, sending you off with a kiss and a man page πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from