wiphy_ext_feature_set(9)
π¦ wiphy_ext_feature_set(9) π¦
okay so bestie, welcome to the wiphy_ext_feature_set page β yes it's a kernel API manual page, yes we're doing this, and yes you're gonna understand it. it's giving "tiny function, big wireless energy" π
β¨ NAME β¨
wiphy_ext_feature_set β set the extended feature flag. that's the whole vibe. one job. iconic behavior honestly π
πΈ SYNOPSIS πΈ
void wiphy_ext_feature_set (struct wiphy *wiphy , enum
nl80211_ext_feature_index ftidx );
literally just two things going in, nothing coming out β it's a void function so it doesn't hand you anything back, it just does the thing to the thing you gave it π«Ά
π ARGUMENTS π
wiphyβ the wiphy to modify. this is the lil guy you're poking at. you hand it over, the function messes with it, that's the deal β¨ftidxβ extended feature bit index. it's anenum nl80211_ext_feature_index, so likeβ¦ it's not a random number, it's one of the named feature slots, and it tells the function which extended feature bit we're talking about π₯
π DESCRIPTION π
so here's the tea β the extended features are flagged in multiple bytes (see struct wiphy.ext_features). multiple. bytes. not just one lil byte, a whole little squad of them π
which is why this function takes a feature index rather than you trying to do bit math yourself β the index is what sorts out which byte and which bit inside struct wiphy.ext_features you're actually touching. iykyk π
ngl, the source page keeps this part short and sweet, and it points you straight at struct wiphy.ext_features for the full picture β go look at that struct if you want the whole layout, bestie π
and that's part 1 of 3, so don't go anywhere β more incoming π§π
π SEE ALSO π
Okay bestie, this is the part where the page just. lists everyone. It's giving family reunion group-chat, it's giving "mom made me invite the whole class" π β but for real though, every single one of these is (9), aka a kernel API page, and they're all canon. Slay. Let's get into it π
First up, the mothership herself:
./include/net/cfg80211.hβ the kernel file, i.e. where all this lore lives π«ΆIntroduction(9)Device registration(9)
β¨ bands, caps & iftypes, oh my β¨
The hardware-ability girlies:
enum ieee80211_channel_flags(9),struct ieee80211_channel(9),enum ieee80211_rate_flags(9),enum ieee80211_bss_type(9),enum ieee80211_privacy(9),struct ieee80211_rate(9)β the basic channel/rate lineupstruct ieee80211_he_obss_pd(9),struct cfg80211_he_bss_color(9)β HE (Wi-Fi 6) flavor stuffstruct ieee80211_sta_ht_cap(9),struct ieee80211_sta_vht_cap(9),struct ieee80211_sta_he_cap(9),struct ieee80211_eht_mcs_nss_supp(9),struct ieee80211_sta_eht_cap(9),struct ieee80211_sta_uhr_cap(9)β the whole HT β VHT β HE β EHT β UHR capability glow-up pipeline, obsessedstruct ieee80211_sband_iftype_data(9),enum ieee80211_edmg_bw_config(9),struct ieee80211_edmg(9),struct ieee80211_sta_s1g_cap(9),struct ieee80211_supported_band(9)β band data + EDMG + S1G (yes, the sub-1GHz icon behavior)_ieee80211_set_sband_iftype_data(9),ieee80211_set_sband_iftype_data(9),for_each_sband_iftype_data(9),ieee80211_get_sband_iftype_data(9)β note the leading underscore on_ieee80211_set_sband_iftype_data(9), don't @ me, that's a different function fr frieee80211_get_he_iftype_cap(9),ieee80211_get_he_6ghz_capa(9),ieee80211_get_eht_iftype_cap(9),ieee80211_get_uhr_iftype_cap(9)β getters for dayswiphy_read_of_freq_limits(9)β reading freq limits out of device tree, cute
π actions & configuration π
This is the big one, prepare yourself:
Actions and configuration(9)β the section itself, meta queenstruct 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)cfg80211_get_chandef_type(9),cfg80211_chandef_create(9),cfg80211_chandef_identical(9),cfg80211_chandef_is_edmg(9),cfg80211_chandef_is_s1g(9),cfg80211_chandef_compatible(9),nl80211_chan_width_to_mhz(9),cfg80211_chandef_get_width(9),cfg80211_chandef_valid(9),cfg80211_chandef_usable(9),cfg80211_chandef_dfs_required(9),cfg80211_chandef_dfs_usable(9),cfg80211_chandef_dfs_cac_time(9),cfg80211_chandef_primary(9),cfg80211_chandef_npca_valid(9),cfg80211_chandef_add_npca(9),cfg80211_chandef_add_dbe(9),nl80211_send_chandef(9),ieee80211_chandef_max_power(9),cfg80211_chandef_s1g_pri_width(9),cfg80211_any_usable_channels(9)β the entirechandefcinematic universe, no capenum 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)β AP-mode everything, we love a beacon glow-upstruct iface_combination_params(9),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)β station param eraenum 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)β stats girlies, tracking everythingstruct cfg80211_sar_sub_specs(9),struct cfg80211_sar_specs(9),struct cfg80211_sar_freq_ranges(9),struct cfg80211_sar_capa(9)β SAR (specific absorption rate) crew, keeping you safe ilycfg80211_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)β mesh + OCB + monitor representation
π¦ scanning & BSS list handling π¦
The "who's out there" section:
Scanning and BSS list handling(9)β yes the section ref itselfstruct 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)β scan request centralstruct cfg80211_inform_bss(9),struct cfg80211_bss_ies(9),struct cfg80211_bss(9),ieee80211_bss_get_elem(9),ieee80211_bss_get_ie(9)β the BSS object itself, the main characterstruct 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)β auth/assoc/deauth/disassoc + connect vibesenum 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)β WoWLAN + coalesce erastruct 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)β rekey + FT + mgmt tx + QoS, all accounted for
π§ NAN & friends π§
Neighbor Awareness Networking (NAN)(9)β the whole NAN sectionstruct 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)β NAN everything, so many structs babestruct 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)
π the wiphy core π
The struct wiphy(9) extended universe, and honestly? iconic.
struct mgmt_frame_regs(9),struct cfg80211_ops(9),enum wiphy_flags(9)struct ieee80211_iface_limit(9),struct ieee80211_iface_combination(9)enum wiphy_wowlan_support_flags(9),struct wiphy_wowlan_support(9),struct wiphy_coalesce_support(9)enum wiphy_vendor_command_flags(9),enum wiphy_opmode_flag(9),struct sta_opmode_info(9),struct wiphy_vendor_command(9)struct wiphy_iftype_ext_capab(9),cfg80211_get_iftype_ext_capa(9),struct cfg80211_pmsr_capabilities(9),struct wiphy_iftype_akm_suites(9)struct wiphy_radio_cfg(9),struct wiphy_radio_freq_range(9),struct wiphy_radio(9)β radio-in-wiphy representation, love that for usenum wiphy_nan_flags(9),struct wiphy_nan_capa(9),struct wiphy(9)β the main character herselfwiphy_priv(9),priv_to_wiphy(9),set_wiphy_dev(9),wiphy_dev(9),wiphy_name(9),wiphy_new_nm(9),wiphy_new(9),wiphy_register(9),rcu_dereference_wiphy(9),wiphy_dereference(9),get_wiphy_regdom(9),wiphy_unregister(9),wiphy_free(9)β create/register/destroy lifecycle, the full arcwiphy_lock(9),wiphy_unlock(9)wiphy_work_queue(9),wiphy_work_cancel(9),wiphy_work_flush(9)β the work triowiphy_delayed_work_queue(9),wiphy_delayed_work_cancel(9),wiphy_delayed_work_flush(9),wiphy_delayed_work_pending(9)β delayed-work quartet, they're a setwiphy_hrtimer_work_queue(9),wiphy_hrtimer_work_cancel(9),wiphy_hrtimer_work_flush(9),wiphy_hrtimer_work_pending(9)β hrtimer-work quartet, also a setenum ieee80211_ap_reg_power(9),struct wireless_dev(9),wdev_priv(9),wdev_chandef(9)β the wdev crew, hello
πΈ utility functions πΈ
Utility functions(9)β the sectionieee80211_channel_equal(9),ieee80211_channel_to_khz(9),ieee80211_channel_to_freq_khz(9),ieee80211_channel_to_frequency(9),ieee80211_freq_khz_to_channel(9),ieee80211_frequency_to_channel(9),ieee80211_get_channel_khz(9),ieee80211_get_channel(9)β channel β freq conversions galorecfg80211_channel_is_psc(9),ieee80211_radio_freq_range_valid(9),cfg80211_radio_chandef_valid(9),cfg80211_wdev_channel_allowed(9)ieee80211_get_response_rate(9),ieee80211_mandatory_rates(9)struct ieee80211_radiotap_iterator(9),ieee80211_get_hdrlen_from_skb(9),ieee80211_hdrlen(9),ieee80211_get_mesh_hdrlen(9)β radiotap + header length helpers
π data path helpers π
Data path helpers(9),ieee80211_data_to_8023_exthdr(9),ieee80211_data_to_8023(9),ieee80211_is_valid_amsdu(9),ieee80211_amsdu_to_8023s(9),ieee80211_get_8023_tunnel_proto(9),ieee80211_strip_8023_mesh_hdr(9)β 802.11 β 802.3 conversions, A-MSDU etc.cfg80211_classify8021d(9),cfg80211_find_elem_match(9),cfg80211_find_ie_match(9),cfg80211_find_elem(9),cfg80211_find_ie(9),cfg80211_find_ext_elem(9),cfg80211_find_ext_ie(9),cfg80211_find_vendor_elem(9),cfg80211_find_vendor_ie(9)β the "find an element" dynastyenum cfg80211_rnr_iter_ret(9),cfg80211_iter_rnr(9),cfg80211_defragment_element(9),cfg80211_send_layer2_update(9)
π₯ regulatory girlies π₯
Regulatory enforcement infrastructure(9)β the sectionregulatory_hint(9),regulatory_set_wiphy_regd(9),regulatory_set_wiphy_regd_sync(9),wiphy_apply_custom_regulatory(9),freq_reg_info(9),reg_initiator_name(9),regulatory_pre_cac_allowed(9)Internal regulatory db functions(9),reg_query_regdb_wmm(9)β internal db stuff, mind your business π
π BSS, MLME & notify π
Okay this is a long stretch, stay with me:
cfg80211_scan_done(9),cfg80211_sched_scan_results(9),cfg80211_sched_scan_stopped(9),cfg80211_sched_scan_stopped_locked(9)cfg80211_inform_bss_frame_data(9),cfg80211_gen_new_bssid(9),cfg80211_is_element_inherited(9),cfg80211_merge_profile(9),enum cfg80211_bss_frame_type(9),cfg80211_get_ies_channel_number(9),cfg80211_ssid_eq(9),cfg80211_inform_bss_data(9)__cfg80211_get_bss(9),cfg80211_get_bss(9),cfg80211_ref_bss(9),cfg80211_put_bss(9),cfg80211_unlink_bss(9),cfg80211_bss_iter(9)β note the double-underscore on__cfg80211_get_bss(9), that's the internal onecfg80211_rx_mlme_mgmt(9),cfg80211_auth_timeout(9),struct cfg80211_rx_assoc_resp_data(9),cfg80211_rx_assoc_resp(9),struct cfg80211_assoc_failure(9),cfg80211_assoc_failure(9),cfg80211_tx_mlme_mgmt(9),cfg80211_rx_unprot_mlme_mgmt(9),cfg80211_michael_mic_failure(9),cfg80211_ibss_joined(9),cfg80211_notify_new_peer_candidate(9)
π RFkill integration π
RFkill integration(9)β the sectionwiphy_rfkill_set_hw_state_reason(9),wiphy_rfkill_start_polling(9),wiphy_rfkill_stop_polling(9)
β vendor commands β
Vendor commands(9)β section refcfg80211_vendor_cmd_alloc_reply_skb(9),cfg80211_vendor_cmd_reply(9),cfg80211_vendor_cmd_get_sender(9)cfg80211_vendor_event_alloc(9),cfg80211_vendor_event_alloc_ucast(9),cfg80211_vendor_event(9)
π test mode π
Test mode(9)β the sectioncfg80211_testmode_alloc_reply_skb(9),cfg80211_testmode_reply(9),cfg80211_testmode_alloc_event_skb(9),cfg80211_testmode_event(9)
π«Ά connect, roam & the rest of the notifies π«Ά
Deep breath bestie, almost through the list:
struct cfg80211_fils_resp_params(9),struct cfg80211_connect_resp_params(9),cfg80211_connect_done(9),cfg80211_connect_bss(9),cfg80211_connect_result(9),cfg80211_connect_timeout(9)struct cfg80211_roam_info(9),cfg80211_roamed(9),cfg80211_port_authorized(9),cfg80211_disconnected(9)cfg80211_ready_on_channel(9),cfg80211_remain_on_channel_expired(9),cfg80211_tx_mgmt_expired(9)cfg80211_sinfo_alloc_tid_stats(9),cfg80211_link_sinfo_alloc_tid_stats(9),cfg80211_sinfo_release_content(9),cfg80211_new_sta(9),cfg80211_del_sta_sinfo(9),cfg80211_del_sta(9),cfg80211_conn_failed(9)struct cfg80211_rx_info(9),cfg80211_rx_mgmt_ext(9),cfg80211_rx_mgmt_khz(9),cfg80211_rx_mgmt(9)struct cfg80211_tx_status(9),cfg80211_mgmt_tx_status_ext(9),cfg80211_mgmt_tx_status(9),cfg80211_control_port_tx_status(9),cfg80211_rx_control_port(9)cfg80211_cqm_rssi_notify(9),cfg80211_cqm_pktloss_notify(9),cfg80211_cqm_txe_notify(9),cfg80211_cqm_beacon_loss_notify(9)β the CQM notify four, they understood the assignment__cfg80211_radar_event(9),cfg80211_sta_opmode_change_notify(9),cfg80211_cac_event(9),cfg80211_background_cac_abort(9)β double underscore on__cfg80211_radar_event(9), internal radar behaviorcfg80211_gtk_rekey_notify(9),cfg80211_pmksa_candidate_notify(9),cfg80211_rx_spurious_frame(9),cfg80211_rx_unexpected_4addr_frame(9),cfg80211_probe_status(9),cfg80211_report_obss_beacon_khz(9),cfg80211_report_obss_beacon(9),struct cfg80211_beaconing_check_config(9)
And that's the whole guest list π every single name, exactly as written, no substitutions, no cap.
That list keeps going, bestie β it's a whole friend group of functions, so let's meet all of them π
cfg80211_reg_check_beaconing(9) β the "can u even beacon here" check πcfg80211_reg_can_beacon(9) β same vibe, chill editioncfg80211_reg_can_beacon_relax(9) β same vibe, but it loosens up a lilcfg80211_ch_switch_notify(9) β "we switched channels, just so u know" π£cfg80211_ch_switch_started_notify(9) β the pre switch announcement, main character energyieee80211_operating_class_to_band(9) β op class in, band out, iconic conversionieee80211_operating_class_to_chandef(9) β op class in, chandef out β¨ieee80211_chandef_to_operating_class(9) β the reverse glow-upieee80211_chandef_to_khz(9) β chandef to numbers, in kHz frcfg80211_tdls_oper_request(9) β TDLS said "hey, can we talk" π«Άcfg80211_calculate_bitrate(9) β the math girlie doing bitrate mathcfg80211_unregister_wdev(9) β bye-bye wireless device πcfg80211_register_netdevice(9) β netdev, meet the worldcfg80211_unregister_netdevice(9) β netdev, exit stage leftstruct cfg80211_ft_event_params(9) β the struct holding FT event param realnesscfg80211_ft_event(9) β fast transition event, she's moving fastcfg80211_get_p2p_attr(9) β grab that P2P attributeieee80211_ie_split_ric(9) β splitting IEs w/ RIC included, no skipsieee80211_ie_split(9) β the classic IE splitieee80211_fragment_element(9) β chop an element into fragments πͺcfg80211_report_wowlan_wakeup(9) β "you woke me up" report πcfg80211_crit_proto_stopped(9) β critical proto said peace outieee80211_get_num_supported_channels(9) β counting channels like counting blessings βcfg80211_check_combinations(9) β does this combo even work?? vibe checkcfg80211_iter_combinations(9) β loop those comboscfg80211_get_radio_idx_by_chan(9) β radio index lookups via channelcfg80211_stop_link(9) β link, ur done πcfg80211_stop_iface(9) β iface, ur done toocfg80211_shutdown_all_interfaces(9) β everyone gets shut down, no survivors πwiphy_ext_feature_isset(9) β the sibling of this page, checking if a feature is setcfg80211_free_nan_func(9) β freeing NAN funcs, tidy queen π§Ήstruct cfg80211_nan_match_params(9) β struct holding NAN match paramscfg80211_nan_match(9) β NAN match found πcfg80211_nan_func_terminated(9) β the NAN func has left the chatcfg80211_nan_sched_update_done(9) β sched update finished, slaycfg80211_external_auth_request(9) β auth going external, fancycfg80211_pmsr_report(9) β PMS R report incomingcfg80211_pmsr_complete(9) β PMS R, complete βcfg80211_iftype_allowed(9) β is this iftype allowed? ask hercfg80211_assoc_comeback(9) β assoc comeback szncfg80211_update_owe_info_event(9) β OWE info event, updatedcfg80211_bss_flush(9) β flush those BSS entries π½β¨cfg80211_bss_color_notify(9) β BSS color notif, aestheticcfg80211_obss_color_collision_notify(9) β collision!! colors clashing, not cutecfg80211_color_change_started_notify(9) β color change: startedcfg80211_color_change_aborted_notify(9) β color change: aborted πcfg80211_color_change_notify(9) β color change: donecfg80211_6ghz_power_type(9) β 6 GHz power type, she's specificcfg80211_links_removed(9) β links got removed, ripstruct cfg80211_mlo_reconf_done_data(9) β struct for MLO reconf done datacfg80211_mlo_reconf_add_done(9) β MLO reconf add, donecfg80211_schedule_channels_check(9) β schedule that channel check πcfg80211_epcs_changed(9) β EPCS changed, moving oncfg80211_next_nan_dw_notif(9) β next NAN DW notificationcfg80211_nan_cluster_joined(9) β joined a NAN cluster π«cfg80211_nan_ulw_update(9) β NAN ULW updatecfg80211_nan_channel_evac(9) β evacuate that NAN channel, hurrywiphy_locked_debugfs_read(9) β debugfs read, but locked πwiphy_locked_debugfs_write(9) β debugfs write, also lockedcfg80211_s1g_get_start_freq_khz(9) β S1G start freq in kHzcfg80211_s1g_get_end_freq_khz(9) β S1G end freq in kHzcfg80211_s1g_get_primary_sibling(9) β find the primary sibling π―cfg80211_incumbent_signal_notify(9) β incumbent signal notif, pay attention
Likeβ¦ that's the whole clique π Go read them, they're all in ./include/net and they all slay in their own way.
Okay bestie, that's the page!! You made it to the end, I'm so proud π«Ά This lil gem lives in ./include/net, dated October 2026, and it's your girl wiphy_ext_feature_set(9) saying bye β go set some features, mwah πβ¨
π¦ 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