wiphy_hrtimer_work_cancel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wiphy_hrtimer_work_cancel(9) β€” a Kernel API Manual moment

okay so bestie, welcome to wiphy_hrtimer_work_cancel(9), straight out of the Kernel API Manual. this one is short and sweet and does exactly what it says on the tin, so let's get into it πŸŽ€


✨ NAME ✨

wiphy_hrtimer_work_cancel β€” cancel previously queued hrtimer work

like, it cancels. the hrtimer work. that you queued earlier. no cap πŸ’…


🌸 SYNOPSIS 🌸

void wiphy_hrtimer_work_cancel (struct wiphy *wiphy , struct
       wiphy_hrtimer_work *hrtimer );

it returns void, so don't go looking for a return value, there isn't one, that's the whole vibe πŸ¦‹


🧚 ARGUMENTS 🧚

  • wiphy β€” the wiphy, for debug purposes πŸ‘€ like it's literally just there so debugging has something to look at
  • hrtimer β€” the hrtimer work to cancel ✨ this is the actual main character here

πŸ”₯ DESCRIPTION πŸ”₯

Cancel the work without waiting for it. that asterisk-ed without is doing so much heavy lifting, bestie β€” it means this call does not hang around waiting for the work to actually be done, it just cancels and moves on 🫢

this assumes being called under the wiphy mutex acquired by wiphy_lock. so like, lock it first with wiphy_lock, then call this. assume it, don't fight it πŸ’€

fr fr, respect the mutex assumption β€” it's not a suggestion, it's the contract πŸ™ˆ

and that's the whole first chunk β€” more coming in part 2, don't go anywhere πŸ’–

🌈 SEE ALSO 🌈

okay bestie, buckle up πŸ’– because this section is long, and it's basically the entire cast of cfg80211. Think of it as the group chat members list for the kernel's wireless stack. Every single one of these is a (9) page, so if you're ever like "wait what does that struct do," you know exactly where to go. iykyk 🫢

  • Kernel file ./include/net/cfg80211.h β€” the header that houses all of this, lowkey the mothership 🏠
  • Introduction(9)
  • Device registration(9)

πŸ›°οΈ the channel / rate / bss basics


βš™οΈ Actions and configuration β€” the whole saga

  • Actions and configuration(9)
  • struct vif_params(9)
  • struct key_params(9)
  • struct cfg80211_chan_def(9)
  • struct cfg80211_tid_cfg(9)
  • struct cfg80211_tid_config(9)
  • struct cfg80211_fils_aad(9)
  • struct cfg80211_set_hw_timestamp(9)

πŸŽ€ chandef girlies, assemble

🌸 survey, crypto, beacons, AP settings

  • enum survey_info_flags(9)
  • struct survey_info(9)
  • struct cfg80211_crypto_settings(9)
  • struct cfg80211_mbssid_config(9)
  • struct cfg80211_mbssid_elems(9)
  • struct cfg80211_rnr_elems(9)
  • struct cfg80211_beacon_data(9)
  • struct cfg80211_acl_data(9)
  • struct cfg80211_fils_discovery(9)
  • struct cfg80211_unsol_bcast_probe_resp(9)
  • struct cfg80211_s1g_short_beacon(9)
  • struct cfg80211_ap_settings(9)
  • struct cfg80211_ap_update(9)
  • struct cfg80211_csa_settings(9)
  • struct cfg80211_color_change_settings(9)
  • struct iface_combination_params(9)

🧚 station era

  • enum station_parameters_apply_mask(9)
  • struct sta_txpwr(9)
  • struct link_station_parameters(9)
  • struct link_station_del_parameters(9)
  • struct cfg80211_ttlm_params(9)
  • struct station_parameters(9)
  • struct station_del_parameters(9)
  • enum cfg80211_station_type(9)
  • cfg80211_check_station_change(9)
  • enum rate_info_flags(9)
  • enum rate_info_bw(9)
  • struct rate_info(9)
  • enum bss_param_flags(9)
  • struct sta_bss_parameters(9)
  • struct cfg80211_txq_stats(9)
  • struct cfg80211_tid_stats(9)
  • struct link_station_info(9)
  • struct station_info(9)
  • struct cfg80211_sar_sub_specs(9)
  • struct cfg80211_sar_specs(9)
  • struct cfg80211_sar_freq_ranges(9)
  • struct cfg80211_sar_capa(9)
  • cfg80211_get_station(9)
  • enum monitor_flags(9)
  • enum mpath_info_flags(9)
  • struct mpath_info(9)
  • enum wiphy_bss_param_flags(9)
  • struct bss_parameters(9)
  • struct mesh_config(9)
  • struct mesh_setup(9)
  • struct ocb_setup(9)
  • struct ieee80211_txq_params(9)

πŸ” Scanning and BSS list handling

  • Scanning and BSS list handling(9)
  • struct cfg80211_ssid(9)
  • struct cfg80211_scan_info(9)
  • struct cfg80211_scan_6ghz_params(9)
  • struct cfg80211_scan_request(9)
  • struct cfg80211_match_set(9)
  • struct cfg80211_sched_scan_plan(9)
  • struct cfg80211_bss_select_adjust(9)
  • struct cfg80211_sched_scan_request(9)
  • enum cfg80211_signal_type(9)
  • struct cfg80211_inform_bss(9)
  • struct cfg80211_bss_ies(9)
  • struct cfg80211_bss(9)
  • ieee80211_bss_get_elem(9)
  • ieee80211_bss_get_ie(9)
  • struct cfg80211_auth_request(9)
  • struct cfg80211_assoc_link(9)
  • struct cfg80211_ml_reconf_req(9)
  • enum cfg80211_assoc_req_flags(9)
  • struct cfg80211_assoc_request(9)
  • struct cfg80211_deauth_request(9)
  • struct cfg80211_disassoc_request(9)
  • struct cfg80211_ibss_params(9)
  • struct cfg80211_bss_selection(9)
  • struct cfg80211_connect_params(9)
  • enum cfg80211_connect_params_changed(9)
  • enum wiphy_params_flags(9)
  • struct cfg80211_pmksa(9)
  • struct cfg80211_pkt_pattern(9)
  • struct cfg80211_wowlan_tcp(9)
  • struct cfg80211_wowlan(9)
  • struct cfg80211_coalesce_rules(9)
  • struct cfg80211_coalesce(9)
  • struct cfg80211_wowlan_nd_match(9)
  • struct cfg80211_wowlan_nd_info(9)
  • struct cfg80211_wowlan_wakeup(9)
  • struct cfg80211_gtk_rekey_data(9)
  • struct cfg80211_update_ft_ies_params(9)
  • struct cfg80211_mgmt_tx_params(9)
  • struct cfg80211_dscp_exception(9)
  • struct cfg80211_dscp_range(9)
  • struct cfg80211_qos_map(9)

πŸ¦‹ Neighbor Awareness Networking (NAN) β€” the neighborly chapter

  • Neighbor Awareness Networking (NAN)(9)
  • struct cfg80211_nan_band_config(9)
  • struct cfg80211_nan_conf(9)
  • struct cfg80211_nan_channel(9)
  • struct cfg80211_nan_local_sched(9)
  • struct cfg80211_nan_peer_map(9)
  • struct cfg80211_nan_peer_sched(9)
  • enum cfg80211_nan_conf_changes(9)
  • struct cfg80211_nan_func_filter(9)
  • struct cfg80211_nan_func(9)
  • struct cfg80211_pmk_conf(9)
  • struct cfg80211_external_auth_params(9)
  • struct cfg80211_ftm_responder_stats(9)
  • struct cfg80211_pmsr_ftm_result(9)
  • struct cfg80211_pmsr_result(9)
  • struct cfg80211_pmsr_ftm_request_peer(9)
  • struct cfg80211_pmsr_request_peer(9)
  • struct cfg80211_pmsr_request(9)
  • struct cfg80211_update_owe_info(9)
  • struct mgmt_frame_regs(9)

πŸ‘‘ the wiphy struct itself + registration + lifecycle

πŸ•°οΈ the work / hrtimer squad β€” literally the neighbors of this page

🌟 dev side


🧰 Utility functions


πŸ“ Data path helpers


πŸ“‘ Regulatory enforcement infrastructure

πŸ—„οΈ Internal regulatory db functions


πŸ’€ scan done / inform bss / mlme plumbing


πŸ“΄ RFkill integration, Vendor commands, Test mode


πŸŽ€ connect / disconnect / mgmt notification besties

and that's the entire guest list, no cap β€” every single name accounted for ✨🌸

…and the rest of the cross-reference family, because this page is a social butterfly and knows everybody πŸ¦‹πŸ’…:

okay like, that's the regulatory + channel + registration friend group, they literally all show up to every function's party together 😭 the beacon trio up top especially, they're giving inseparable.

the NAN girlies are lowkey a whole friend group of their own ngl β€” cfg80211_free_nan_func(9), cfg80211_nan_match(9), cfg80211_nan_func_terminated(9), cfg80211_nan_sched_update_done(9) β€” and yes they come back again later in the list because of course they do πŸ’€ main character energy fr fr.

the color-change quartet, they ate πŸ’… and then we've got the MLO reconf duo plus the struct they can't function without β€” a struct getting its own SEE ALSO entry is so real of it honestly, it's basically the group's manager.

see?? told you the NAN squad would be back 😭 they really said "we're not leaving until the page ends" and honestly? iconic. also the wiphy_locked_debugfs_read(9) / wiphy_locked_debugfs_write(9) pair being right next to each other is a little sibling moment, love that for them 🫢 and the S1G trio closing things out with an incumbent signal notify like a perfect outro ✨


and that's literally the whole page bestie, you made it to the end!! πŸŽ€πŸŒΈ You now know everything this man page has to say about wiphy_hrtimer_work_cancel(9) β€” all of it, no skips, no cap.

tiny lil sign-off πŸ’– this gorgeous thing lives in ./include/net, it's dated October 2026, and the page itself is wiphy_hrtimer_work_cancel(9) β€” go forth and cancel those hrtimer works like the main character you are πŸ‘‘πŸ’œ periodt.

πŸ“¦ where this page comes from