wiphy_rfkill...state_reason(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ wiphy_rfkill...state_reason(9) ✨

okay so this is straight out of the Kernel API Manual, section 9 β€” the page is literally called wiphy_rfkill...state_reason(9) and yeah the name is cursed but we move πŸ’…


🌸 NAME 🌸

wiphy_rfkill_set_hw_state_reason β€” the function that slides into cfg80211's DMs to tell it about the hardware block state 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void wiphy_rfkill_set_hw_state_reason (struct wiphy *wiphy , bool
       blocked , enum rfkill_hard_block_reasons reason );

like that's the whole signature, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • wiphy β€” bestie, this is the wiphy πŸ’– that's it, that's the whole description, she's the main character here
  • blocked β€” the block status πŸ‘‘ basically whether it's blocked or not
  • reason β€” one of the reasons sitting inside enum rfkill_hard_block_reasons 🧚 like you gotta pick from that enum, it's giving "choose your fighter" but make it kernel

lowkey this is only part one bestie, there's more coming so don't go anywhere 🌈

okay so there's more page to go, keep reading πŸ‘€

okay bestie, buckle up β€” this SEE ALSO section is long long. like, "my thumb hurts from scrolling" long πŸ’€ but every single one of these is a real page you can go read, so we're listing them all. no skipping, no cap.

Everything here lives around Kernel file ./include/net/cfg80211.h, and honestly the whole wireless subsystem is just one giant friend group that all references each other. iykyk 🌸



like… that's the whole extended universe, bestie 😭 every struct, every enum, every cfg80211_* function that ever texted this function back. tap any of them and you get more lore. it's giving "the friend group has a friend group". 🫢

...okay so the cross-reference list keeps going, and honestly it's giving "the whole kernel net stack in one group chat" πŸ’« β€” every one of these is its own man page ((9) = kernel API page, iykyk), so here's the full roll call, no skipping, no cap:

  • cfg80211_reg_check_beaconing(9)
  • cfg80211_reg_can_beacon(9)
  • cfg80211_reg_can_beacon_relax(9)
  • cfg80211_ch_switch_notify(9)
  • cfg80211_ch_switch_started_notify(9)
  • ieee80211_operating_class_to_band(9)
  • ieee80211_operating_class_to_chandef(9)
  • ieee80211_chandef_to_operating_class(9)
  • ieee80211_chandef_to_khz(9)
  • cfg80211_tdls_oper_request(9)
  • cfg80211_calculate_bitrate(9)
  • cfg80211_unregister_wdev(9)
  • cfg80211_register_netdevice(9)
  • cfg80211_unregister_netdevice(9)
  • struct cfg80211_ft_event_params(9) β€” yes queen, a struct gets her own page too πŸ‘‘
  • cfg80211_ft_event(9)
  • cfg80211_get_p2p_attr(9)
  • ieee80211_ie_split_ric(9)
  • ieee80211_ie_split(9)
  • ieee80211_fragment_element(9)
  • cfg80211_report_wowlan_wakeup(9)
  • cfg80211_crit_proto_stopped(9)
  • ieee80211_get_num_supported_channels(9)
  • cfg80211_check_combinations(9)
  • cfg80211_iter_combinations(9)
  • cfg80211_get_radio_idx_by_chan(9)
  • cfg80211_stop_link(9)
  • cfg80211_stop_iface(9)
  • cfg80211_shutdown_all_interfaces(9) β€” the dramatic one πŸ˜­πŸ’€
  • wiphy_ext_feature_set(9)
  • wiphy_ext_feature_isset(9)
  • cfg80211_free_nan_func(9)
  • struct cfg80211_nan_match_params(9)
  • cfg80211_nan_match(9)
  • cfg80211_nan_func_terminated(9)
  • cfg80211_nan_sched_update_done(9)
  • cfg80211_external_auth_request(9)
  • cfg80211_pmsr_report(9)
  • cfg80211_pmsr_complete(9)
  • cfg80211_iftype_allowed(9)
  • cfg80211_assoc_comeback(9)
  • cfg80211_update_owe_info_event(9)
  • cfg80211_bss_flush(9)
  • cfg80211_bss_color_notify(9)
  • cfg80211_obss_color_collision_notify(9)
  • cfg80211_color_change_started_notify(9)
  • cfg80211_color_change_aborted_notify(9)
  • cfg80211_color_change_notify(9) β€” the color-change girlies, a whole trilogy plus friends 🎨
  • cfg80211_6ghz_power_type(9)
  • cfg80211_links_removed(9)
  • struct cfg80211_mlo_reconf_done_data(9)
  • cfg80211_mlo_reconf_add_done(9)
  • cfg80211_schedule_channels_check(9)
  • cfg80211_epcs_changed(9)
  • cfg80211_next_nan_dw_notif(9)
  • cfg80211_nan_cluster_joined(9)
  • cfg80211_nan_ulw_update(9)
  • cfg80211_nan_channel_evac(9) β€” NAN squad, we love a niche community 🫢
  • wiphy_locked_debugfs_read(9)
  • wiphy_locked_debugfs_write(9)
  • cfg80211_s1g_get_start_freq_khz(9)
  • cfg80211_s1g_get_end_freq_khz(9)
  • cfg80211_s1g_get_primary_sibling(9)
  • cfg80211_incumbent_signal_notify(9)

And that's a wrap on the whole page, bestie πŸ’– like, you made it to the end of the reference list, which is genuinely iconic behavior ✨ no notes. Go forth and read kernel source, you're literally built for this 🌈

Stamped straight from ./include/net, dated October 2026, and the star of the show is wiphy_rfkill...state_reason(9) β€” bye babe, mwah πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from