Lines Matching +full:pre +full:- +full:filled
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright 2015-2017 Intel Deutschland GmbH
10 * Copyright (C) 2018-2025 Intel Corporation
72 * enum ieee80211_channel_flags - channel flags
170 * struct ieee80211_channel - channel definition
177 * @hw_value: hardware-specific value for the channel
215 * enum ieee80211_rate_flags - rate flags
225 * when used with 802.11a (on the 5 GHz band); filled by the
228 * when used with 802.11b (on the 2.4 GHz band); filled by the
231 * when used with 802.11g (on the 2.4 GHz band); filled by the
248 * enum ieee80211_bss_type - BSS type filter
265 * enum ieee80211_privacy - BSS privacy filter
281 * struct ieee80211_rate - bitrate definition
288 * @flags: rate-specific flags from &enum ieee80211_rate_flags
301 * struct ieee80211_he_obss_pd - AP settings for spatial reuse
305 * @non_srg_max_offset: non-SRG maximum tx power offset
324 * struct cfg80211_he_bss_color - AP settings for BSS coloring
337 * struct ieee80211_sta_ht_cap - STA's HT capabilities
344 * @ampdu_factor: Maximum A-MPDU length factor
345 * @ampdu_density: Minimum A-MPDU spacing
357 * struct ieee80211_sta_vht_cap - STA's VHT capabilities
375 * struct ieee80211_sta_he_cap - STA's HE capabilities
393 * struct ieee80211_eht_mcs_nss_supp - EHT max supported NSS per MCS
395 * See P802.11be_D1.3 Table 9-401k - "Subfields of the Supported EHT-MCS
398 * @only_20mhz: MCS/NSS support for 20 MHz-only STA.
418 * struct ieee80211_sta_eht_cap - STA's EHT capabilities
435 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */
438 * This is used to mark the sband->iftype_data pointer which is supposed
449 * struct ieee80211_sband_iftype_data - sband data per interface type
457 * @he_6ghz_capa: HE 6 GHz capabilities, must be filled in for a
476 * enum ieee80211_edmg_bw_config - allowed channel bandwidth configurations
512 * struct ieee80211_edmg - EDMG configuration
530 * struct ieee80211_sta_s1g_cap - STA's S1G capabilities
546 * struct ieee80211_supported_band - frequency band definition
585 * _ieee80211_set_sband_iftype_data - set sband iftype data array
599 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data()
600 sband->n_iftype_data = n_iftd; in _ieee80211_set_sband_iftype_data()
604 * ieee80211_set_sband_iftype_data - set sband iftype data array
612 * for_each_sband_iftype_data - iterate sband iftype data entries
618 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \
619 i < (sband)->n_iftype_data; \
620 i++, iftd = (const void __force *)&(sband)->iftype_data[i])
623 * ieee80211_get_sband_iftype_data - return sband data for a given iftype
643 if (data->types_mask & BIT(iftype)) in ieee80211_get_sband_iftype_data()
651 * ieee80211_get_he_iftype_cap - return HE capabilities for an sband's iftype
664 if (data && data->he_cap.has_he) in ieee80211_get_he_iftype_cap()
665 return &data->he_cap; in ieee80211_get_he_iftype_cap()
671 * ieee80211_get_he_6ghz_capa - return HE 6 GHz capabilities
684 if (WARN_ON(!data || !data->he_cap.has_he)) in ieee80211_get_he_6ghz_capa()
687 return data->he_6ghz_capa.capa; in ieee80211_get_he_6ghz_capa()
691 * ieee80211_get_eht_iftype_cap - return ETH capabilities for an sband's iftype
704 if (data && data->eht_cap.has_eht) in ieee80211_get_eht_iftype_cap()
705 return &data->eht_cap; in ieee80211_get_eht_iftype_cap()
711 * wiphy_read_of_freq_limits - read frequency limits from device tree
761 * struct vif_params - describes virtual interface parameters
764 * @use_4addr: use 4-address frames
771 * @vht_mumimo_groups: MU-MIMO groupID, used for monitoring MU-MIMO packets
772 * belonging to that MU-MIMO groupID; %NULL if not changed
773 * @vht_mumimo_follow_addr: MU-MIMO follow address, used for monitoring
774 * MU-MIMO packets going to the specified station; %NULL if not changed
785 * struct key_params - key information
810 * struct cfg80211_chan_def - channel definition
817 * If edmg is requested (i.e. the .channels member is non-zero),
836 * cfg80211_bitrate_mask - masks for bitrate control
852 * struct cfg80211_tid_cfg - TID specific configuration
881 * struct cfg80211_tid_config - TID configuration
893 * struct cfg80211_fils_aad - FILS AAD data
909 * struct cfg80211_set_hw_timestamp - enable/disable HW timestamping
921 * cfg80211_get_chandef_type - return old channel type from chandef
924 * Return: The old channel type (NOHT, HT20, HT40+/-) from a given
930 switch (chandef->width) { in cfg80211_get_chandef_type()
936 if (chandef->center_freq1 > chandef->chan->center_freq) in cfg80211_get_chandef_type()
946 * cfg80211_chandef_create - create channel definition using channel type
958 * cfg80211_chandef_identical - check if two channel definitions are identical
969 return (chandef1->chan == chandef2->chan && in cfg80211_chandef_identical()
970 chandef1->width == chandef2->width && in cfg80211_chandef_identical()
971 chandef1->center_freq1 == chandef2->center_freq1 && in cfg80211_chandef_identical()
972 chandef1->freq1_offset == chandef2->freq1_offset && in cfg80211_chandef_identical()
973 chandef1->center_freq2 == chandef2->center_freq2 && in cfg80211_chandef_identical()
974 chandef1->punctured == chandef2->punctured); in cfg80211_chandef_identical()
978 * cfg80211_chandef_is_edmg - check if chandef represents an EDMG channel
987 return chandef->edmg.channels || chandef->edmg.bw_config; in cfg80211_chandef_is_edmg()
991 * cfg80211_chandef_compatible - check if two channel definitions are compatible
1003 * nl80211_chan_width_to_mhz - get the channel width in MHz
1007 * is valid. -1 otherwise.
1012 * cfg80211_chandef_get_width - return chandef width in MHz
1019 return nl80211_chan_width_to_mhz(c->width); in cfg80211_chandef_get_width()
1023 * cfg80211_chandef_valid - check if a channel definition is valid
1030 * cfg80211_chandef_usable - check if secondary channels can be used
1041 * cfg80211_chandef_dfs_required - checks if radar detection is required
1053 * cfg80211_chandef_dfs_usable - checks if chandef is DFS usable and we
1065 * cfg80211_chandef_dfs_cac_time - get the DFS CAC time (in ms) for given
1077 * cfg80211_chandef_primary - calculate primary 40/80/160 MHz freq
1080 * @punctured: punctured sub-channel bitmap, will be recalculated
1083 * Returns: the primary 40/80/160 MHz channel center frequency, or -1
1091 * nl80211_send_chandef - sends the channel definition.
1100 * ieee80211_chanwidth_rate_flags - return rate flags for channel width
1103 * In some channel types, not all rates may be used - for example CCK
1123 * ieee80211_chandef_rate_flags - returns rate flags for a channel
1133 return ieee80211_chanwidth_rate_flags(chandef->width); in ieee80211_chandef_rate_flags()
1137 * ieee80211_chandef_max_power - maximum transmission power for the chandef
1141 * max_power for non-standard (20 MHz) channels.
1150 switch (chandef->width) { in ieee80211_chandef_max_power()
1152 return min(chandef->chan->max_reg_power - 6, in ieee80211_chandef_max_power()
1153 chandef->chan->max_power); in ieee80211_chandef_max_power()
1155 return min(chandef->chan->max_reg_power - 3, in ieee80211_chandef_max_power()
1156 chandef->chan->max_power); in ieee80211_chandef_max_power()
1160 return chandef->chan->max_power; in ieee80211_chandef_max_power()
1164 * cfg80211_any_usable_channels - check for usable channels
1177 * enum survey_info_flags - survey information flags
1179 * @SURVEY_INFO_NOISE_DBM: noise (in dBm) was filled in
1181 * @SURVEY_INFO_TIME: active time (in ms) was filled in
1182 * @SURVEY_INFO_TIME_BUSY: busy time was filled in
1183 * @SURVEY_INFO_TIME_EXT_BUSY: extension channel busy time was filled in
1184 * @SURVEY_INFO_TIME_RX: receive time was filled in
1185 * @SURVEY_INFO_TIME_TX: transmit time was filled in
1186 * @SURVEY_INFO_TIME_SCAN: scan time was filled in
1187 * @SURVEY_INFO_TIME_BSS_RX: local BSS receive time was filled in
1190 * it has filled in during the get_survey().
1205 * struct survey_info - channel survey response
1209 * @filled: bitflag of flags from &enum survey_info_flags
1220 * Used by dump_survey() to report back per-channel survey information.
1234 u32 filled; member
1241 * struct cfg80211_crypto_settings - Crypto settings
1259 * @control_port_no_preauth: disables pre-auth rx over the nl80211 control
1261 * @psk: PSK (for devices supporting 4-way-handshake offload)
1268 * Not-specified, used to indicate userspace did not specify any
1273 * Allow hunting-and-pecking loop only
1276 * Allow hash-to-element only
1279 * Allow either hunting-and-pecking loop or hash-to-element
1300 * struct cfg80211_mbssid_config - AP settings for multi bssid
1313 * struct cfg80211_mbssid_elems - Multiple BSSID elements
1330 * struct cfg80211_rnr_elems - Reduced neighbor report (RNR) elements
1347 * struct cfg80211_beacon_data - beacon data
1367 * @ftm_responder: enable FTM responder functionality; -1 for no change
1409 * struct cfg80211_acl_data - Access control list data
1425 * struct cfg80211_fils_discovery - FILS discovery parameters from
1426 * IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
1429 * @min_interval: Minimum packet interval in TUs (0 - 10000)
1430 * @max_interval: Maximum packet interval in TUs (0 - 10000)
1444 * struct cfg80211_unsol_bcast_probe_resp - Unsolicited broadcast probe
1449 * in IEEE P802.11ax/D6.0 26.17.2.3.2 - AP behavior for fast passive
1462 * struct cfg80211_ap_settings - AP configuration
1538 * struct cfg80211_ap_update - AP configuration update
1553 * struct cfg80211_csa_settings - channel switch settings
1568 * MLO. 0 in case of non-MLO.
1585 * struct cfg80211_color_change_settings - color change settings
1596 * 0 in case of non-MLO.
1609 * struct iface_combination_params - input parameters for interface combinations
1613 * @radio_idx: wiphy radio index or -1 for global
1635 * enum station_parameters_apply_mask - station parameter values to apply
1640 * Not all station parameters have in-band "no change" signalling,
1650 * struct sta_txpwr - station txpower configuration
1655 * is not provided, the default per-interface tx power setting will be
1657 * power per-interface or per-station.
1670 * struct link_station_parameters - link station parameters
1675 * @link_id: the link id (-1 for non-MLD station)
1712 * struct link_station_del_parameters - link station deletion parameters
1730 * (TID-To-Link Mapping element) in Draft P802.11be_D4.0.
1732 * (TID-To-Link Mapping element) in Draft P802.11be_D4.0.
1740 * struct station_parameters - station parameters
1749 * @listen_interval: listen interval or -1 for no change
1762 * @local_pm: local link-specific mesh power save mode (no change when set
1801 * struct station_del_parameters - station deletion parameters
1810 * using; valid only for MLO, but can also be -1 for MLO to really
1821 * enum cfg80211_station_type - the type of station being modified
1851 * cfg80211_check_station_change - validate parameter changes
1869 * enum rate_info_flags - bitrate info flags
1874 * @RATE_INFO_FLAGS_MCS: mcs field filled with HT MCS
1875 * @RATE_INFO_FLAGS_VHT_MCS: mcs field filled with VHT MCS
1882 * @RATE_INFO_FLAGS_S1G_MCS: MCS field filled with S1G MCS
1897 * enum rate_info_bw - rate bandwidth information
1934 * struct rate_info - bitrate information
1947 * @n_bonded_ch: In case of EDMG the number of bonded channels (1-4)
1967 * enum bss_param_flags - bitrate info flags
1983 * struct sta_bss_parameters - BSS parameters for the attached station
1998 * struct cfg80211_txq_stats - TXQ statistics for this TID
1999 * @filled: bitmap of flags using the bits of &enum nl80211_txq_stats to
2000 * indicate the relevant values in this struct are filled
2014 u32 filled; member
2029 * struct cfg80211_tid_stats - per-TID statistics
2030 * @filled: bitmap of flags using the bits of &enum nl80211_tid_stats to
2031 * indicate the relevant values in this struct are filled
2040 u32 filled; member
2051 * struct station_info - station information
2053 * Station information filled by driver for get_station() and dump_station.
2055 * @filled: bitflag of flags using the bits of &enum nl80211_sta_info to
2066 * @chains: bitmask for filled values in @chain_signal, @chain_signal_avg
2067 * @chain_signal: per-chain signal strength of last received packet in dBm
2068 * @chain_signal_avg: per-chain signal strength average in dBm
2075 * @rx_dropped_misc: Dropped for un-specified reason.
2097 * @nonpeer_pm: non-peer mesh STA power save mode
2106 * @pertid: per-TID statistics, see &struct cfg80211_tid_stats, using the last
2107 * (IEEE80211_NUM_TIDS) index for MSDUs not encapsulated in QoS-MPDUs.
2108 * Note that this doesn't use the @filled bit, but is used if non-NULL.
2116 * @mlo_params_valid: Indicates @assoc_link_id and @mld_addr fields are filled
2122 * completed (re)association. This information filled for both MLO
2123 * and non-MLO STA connections when the AP affiliated with an MLD.
2124 * @mld_addr: For MLO STA connection, filled with MLD address of the station.
2125 * For non-MLO STA connection, filled with all zeros.
2136 u64 filled; member
2201 * struct cfg80211_sar_sub_specs - sub specs limit
2211 * struct cfg80211_sar_specs - sar limit specs
2224 * struct cfg80211_sar_freq_ranges - sar frequency ranges
2234 * struct cfg80211_sar_capa - sar limit capability
2250 * cfg80211_get_station - retrieve information about a given station
2255 * Return: 0 on success and sinfo is filled with the available information
2266 return -ENOENT; in cfg80211_get_station()
2271 * enum monitor_flags - monitor flags
2297 * enum mpath_info_flags - mesh path information flags
2299 * Used by the driver to indicate which info in &struct mpath_info it has filled
2302 * @MPATH_INFO_FRAME_QLEN: @frame_qlen filled
2303 * @MPATH_INFO_SN: @sn filled
2304 * @MPATH_INFO_METRIC: @metric filled
2305 * @MPATH_INFO_EXPTIME: @exptime filled
2306 * @MPATH_INFO_DISCOVERY_TIMEOUT: @discovery_timeout filled
2307 * @MPATH_INFO_DISCOVERY_RETRIES: @discovery_retries filled
2308 * @MPATH_INFO_FLAGS: @flags filled
2309 * @MPATH_INFO_HOP_COUNT: @hop_count filled
2310 * @MPATH_INFO_PATH_CHANGE: @path_change_count filled
2325 * struct mpath_info - mesh path information
2327 * Mesh path information filled by driver for get_mpath() and dump_mpath().
2329 * @filled: bitfield of flags from &enum mpath_info_flags
2345 u32 filled; member
2360 * struct bss_parameters - BSS parameters
2364 * @link_id: link_id or -1 for non-MLD
2366 * (0 = no, 1 = yes, -1 = do not change)
2368 * (0 = no, 1 = yes, -1 = do not change)
2370 * (0 = no, 1 = yes, -1 = do not change)
2375 * (0 = no, 1 = yes, -1 = do not change)
2377 * (u16 = opmode, -1 = do not change)
2378 * @p2p_ctwindow: P2P CT Window (-1 = no change)
2379 * @p2p_opp_ps: P2P opportunistic PS (-1 = no change)
2394 * struct mesh_config - 802.11s mesh configuration
2440 * @dot11MeshForwarding: whether the Mesh STA is forwarding or non-forwarding
2441 * entity (default is TRUE - forwarding entity)
2469 * @dot11MeshNolearn: Try to avoid multi-hop path discovery (e.g. PREQ/PREP
2471 * not be the optimal decision as a multi-hop route might be better. So
2510 * struct mesh_setup - 802.11s mesh setup configuration
2559 * struct ocb_setup - 802.11p OCB mode setup configuration
2569 * struct ieee80211_txq_params - TX queue parameters
2572 * @cwmin: Minimum contention window [a value of the form 2^n-1 in the range
2574 * @cwmax: Maximum contention window [a value of the form 2^n-1 in the range
2577 * @link_id: link_id or -1 for non-MLD
2598 * well-formed, and will not exceed the maximum length the driver advertised
2612 * struct cfg80211_ssid - SSID description
2622 * struct cfg80211_scan_info - information about completed scan
2637 * struct cfg80211_scan_6ghz_params - relevant for 6 GHz only
2660 * struct cfg80211_scan_request - scan request description
2691 * used for TSF reporting. Can be set to -1 to indicate no preference.
2738 * struct cfg80211_match_set - sets of attributes to match
2740 * @ssid: SSID to be matched; may be zero-length in case of BSSID match
2742 * @bssid: BSSID to be matched; may be all-zero BSSID in case of SSID match
2753 * struct cfg80211_sched_scan_plan - scan plan for scheduled scan
2767 * struct cfg80211_bss_select_adjust - BSS selection with RSSI adjustment.
2778 * struct cfg80211_sched_scan_request - scheduled scan request description
2809 * @nl_owner_dead: netlink owner socket was closed - this request be freed
2863 * enum cfg80211_signal_type - signal type
2876 * struct cfg80211_inform_bss - BSS inform data
2891 * @chains: bitmask for filled values in @chain_signal.
2892 * @chain_signal: per-chain signal strength of last received BSS in dBm.
2918 * struct cfg80211_bss_ies - BSS entry IE data
2934 * struct cfg80211_bss - BSS description
2944 * are well-formed!); this is a pointer to either the beacon_ies or
2946 * received. It is always non-%NULL.
2957 * points to the same data as hidden_beacon_bss->beacon_ies in that case.
2959 * non-transmitted one (multi-BSSID support)
2960 * @nontrans_list: list of non-transmitted BSS, if this is a transmitted one
2961 * (multi-BSSID support)
2964 * @chains: bitmask for filled values in @chain_signal.
2965 * @chain_signal: per-chain signal strength of last received BSS in dBm.
2973 * @priv: private area for driver use, has at least wiphy->bss_priv_size bytes
3009 * ieee80211_bss_get_elem - find element with given ID
3013 * Note that the return value is an RCU-protected pointer, so
3020 * ieee80211_bss_get_ie - find IE with given ID
3024 * Note that the return value is an RCU-protected pointer, so
3035 * struct cfg80211_auth_request - Authentication request data
3053 * the authentication frame body (non-IE and IE data), excluding the
3081 * struct cfg80211_assoc_link - per-link information for MLO association
3084 * @elems: extra elements for the per-STA profile for this link
3088 * @error: per-link error code, must be <= 0. If there is an error, then the
3100 * struct cfg80211_ml_reconf_req - MLO link reconfiguration request
3113 * enum cfg80211_assoc_req_flags - Over-ride default behaviour in association.
3127 * @ASSOC_REQ_SPP_AMSDU: SPP A-MSDUs will be used on this connection (if any)
3141 * struct cfg80211_assoc_request - (Re)Association request data
3166 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3167 * will be used in ht_capa. Un-supported values will be ignored.
3179 * @links: per-link information for MLO connections
3210 * struct cfg80211_deauth_request - Deauthentication request data
3231 * struct cfg80211_disassoc_request - Disassociation request data
3252 * struct cfg80211_ibss_params - IBSS parameters
3257 * @ssid: The SSID, will always be non-null.
3258 * @ssid_len: The length of the SSID, will always be non-zero.
3262 * @channel_fixed: The channel should be fixed -- do not search for
3279 * @mcast_rate: per-band multicast rate index + 1 (0: disabled)
3280 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3281 * will be used in ht_capa. Un-supported values will be ignored.
3308 * struct cfg80211_bss_selection - connection parameters for BSS selection.
3324 * struct cfg80211_connect_params - Connection parameters
3329 * @channel: The channel to use or %NULL if not specified (auto-select based
3333 * @bssid: The AP BSSID or %NULL if not specified (auto-select based on scan
3344 * @privacy: indicates whether privacy-enabled APs should be used
3352 * or -1 to indicate that default value is to be used.
3353 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3354 * will be used in ht_capa. Un-supported values will be ignored.
3367 * @fils_erp_username: EAP re-authentication protocol (ERP) username part of the
3371 * @fils_erp_realm: EAP re-authentication protocol (ERP) realm part of NAI or
3377 * @fils_erp_rrk: ERP re-authentication Root Key (rRK) used to derive additional
3380 * @want_1x: indicates user-space supports and wants to use 802.1X driver
3381 * offload of 4-way handshake.
3422 * enum cfg80211_connect_params_changed - Connection parameters being updated
3439 * enum wiphy_params_flags - set_wiphy_params bitfield values
3440 * @WIPHY_PARAM_RETRY_SHORT: wiphy->retry_short has changed
3441 * @WIPHY_PARAM_RETRY_LONG: wiphy->retry_long has changed
3442 * @WIPHY_PARAM_FRAG_THRESHOLD: wiphy->frag_threshold has changed
3443 * @WIPHY_PARAM_RTS_THRESHOLD: wiphy->rts_threshold has changed
3472 * struct cfg80211_pmksa - PMK Security Association
3486 * @cache_id: 2-octet cache identifier advertized by a FILS AP identifying the
3487 * scope of PMKSA. This is valid only if @ssid_len is non-zero (may be
3514 * struct cfg80211_pkt_pattern - packet pattern
3531 * struct cfg80211_wowlan_tcp - TCP connection parameters
3566 * struct cfg80211_wowlan - Wake on Wireless-LAN support info
3569 * @any: wake up on any activity -- special trigger if device continues
3577 * @four_way_handshake: wake up on 4-way handshake
3594 * struct cfg80211_coalesce_rules - Coalesce rule parameters
3611 * struct cfg80211_coalesce - Packet coalescing settings
3623 * struct cfg80211_wowlan_nd_match - information about the match
3638 * struct cfg80211_wowlan_nd_info - net detect wake up information
3652 * struct cfg80211_wowlan_wakeup - wakeup report
3657 * @four_way_handshake: woke up by 4-way handshake
3659 * @pattern_idx: pattern that caused wakeup, -1 if not due to pattern
3687 * struct cfg80211_gtk_rekey_data - rekey data
3702 * struct cfg80211_update_ft_ies_params - FT IE Information
3717 * struct cfg80211_mgmt_tx_params - mgmt tx parameters
3730 * @link_id: for MLO, the link ID to transmit on, -1 if not given; note
3748 * struct cfg80211_dscp_exception - DSCP exception
3759 * struct cfg80211_dscp_range - DSCP range definition for user priority
3769 /* QoS Map Set element length defined in IEEE Std 802.11-2012, 8.4.2.97 */
3776 * struct cfg80211_qos_map - QoS Map Information
3792 * struct cfg80211_nan_conf - NAN configuration
3796 * @master_pref: master preference (1 - 255)
3807 * enum cfg80211_nan_conf_changes - indicates changed fields in NAN
3819 * struct cfg80211_nan_func_filter - a NAN function Rx / Tx filter
3830 * struct cfg80211_nan_func - a NAN function
3886 * struct cfg80211_pmk_conf - PMK configuration
3891 * @pmk_r0_name: PMK-R0 Name. NULL if not applicable (i.e., the PMK
3892 * is not PMK-R0). When pmk_r0_name is not NULL, the pmk field
3893 * holds PMK-R0.
3903 * struct cfg80211_external_auth_params - Trigger External authentication.
3944 * struct cfg80211_ftm_responder_stats - FTM responder statistics
3946 * @filled: bitflag of flags using the bits of &enum nl80211_ftm_stats to
3954 * @non_asap_num: number of non-ASAP FTM sessions
3955 * @total_duration_ms: total sessions durations - gives an indication
3957 * @unknown_triggers_num: number of unknown FTM triggers - triggers from
3960 * @reschedule_requests_num: number of FTM reschedule requests - initiator asks
3965 u32 filled; member
3978 * struct cfg80211_pmsr_ftm_result - FTM result
3983 * in [0 .. num_bursts-1] of the burst that's being reported
4058 * struct cfg80211_pmsr_result - peer measurement result
4089 * struct cfg80211_pmsr_ftm_request_peer - FTM request data
4132 * struct cfg80211_pmsr_request_peer - peer data for a peer measurement request
4146 * struct cfg80211_pmsr_request - peer measurement request
4148 * @nl_portid: netlink portid - used by cfg80211
4159 * @peers: per-peer measurement request data
4178 * struct cfg80211_update_owe_info - OWE Information
4196 * by peer. This will be filled by driver for both MLO and non-MLO station
4197 * connections when the AP affiliated with an MLD. For non-MLD AP mode, it
4198 * will be -1. Used only with OWE update event (driver to user space).
4199 * @peer_mld_addr: For MLO connection, MLD address of the peer. For non-MLO
4201 * @assoc_link_id is not -1, i.e., the AP affiliated with an MLD. Used only
4214 * struct mgmt_frame_regs - management frame registrations data
4229 * struct cfg80211_ops - backend description for wireless configuration
4243 * be %NULL or contain the enabled Wake-on-Wireless triggers that are
4265 * the wdev->link[] data structure has been updated, so the new link
4270 * when adding a group key. @link_id will be -1 for non-MLO connection.
4271 * For MLO connection, @link_id will be >= 0 for group key and -1 for
4278 * not possible to retrieve the key, -ENOENT if it doesn't exist.
4279 * @link_id will be -1 for non-MLO connection. For MLO connection,
4280 * @link_id will be >= 0 for group key and -1 for pairwise key, @mac_addr
4284 * and @key_index, return -ENOENT if the key doesn't exist. @link_id will
4285 * be -1 for non-MLO connection. For MLO connection, @link_id will be >= 0
4286 * for group key and -1 for pairwise key, @mac_addr will be peer's MLD
4290 * for MLO connection and -1 for non-MLO connection.
4293 * @link_id will be >= 0 for MLO connection and -1 for non-MLO connection.
4296 * @link_id will be >= 0 for MLO connection and -1 for non-MLO connection.
4309 * might come to the driver in invalid combinations -- make sure to check
4313 * @dump_station: dump station callback -- resume dump at index @idx
4319 * @dump_mpath: dump mesh path callback -- resume dump at index @idx
4321 * @dump_mpp: dump mesh proxy path callback -- resume dump at index @idx
4384 * In both the driver-initiated and new connect() call initiated roaming
4418 * always be %NULL unless the driver supports per-vif TX power
4429 * channel for the specified duration to complete an off-channel
4433 * @cancel_remain_on_channel: Cancel an on-going remain-on-channel operation.
4441 * @testmode_dump: Implement a test mode dump. The cb->args[2] and up may be
4443 * return error codes other than -ENOBUFS and -ENOENT will terminate the
4455 * @set_power_mgmt: Configure WLAN power management. A timeout value of -1
4482 * reject TX/RX mask combinations they cannot support by returning -EINVAL
4488 * @tdls_oper: Perform a high-level TDLS operation (e.g. TDLS link setup).
4525 * @channel_switch: initiate channel-switch procedure (with CSA). Driver is
4554 * @tdls_channel_switch: Start channel-switching with a TDLS peer. The driver
4555 * is responsible for continually initiating channel-switching operations
4557 * @tdls_cancel_channel_switch: Stop channel-switching with a TDLS peer. Both
4578 * @set_pmk: configure the PMK to be used for offloaded 802.1X 4-Way handshake.
4632 * @assoc_ml_reconf: Request a non-AP MLO connection to perform ML
5016 * enum wiphy_flags - wiphy capability flags
5023 * by default -- this flag will be set depending on the kernel's default
5050 * responds to probe-requests in hardware.
5051 * @WIPHY_FLAG_OFFCHAN_TX: Device supports direct off-channel TX.
5052 * @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL: Device supports remain-on-channel call.
5061 * @WIPHY_FLAG_SUPPORTS_EXT_KCK_32: The device supports 32-byte KCK keys.
5066 * @WIPHY_FLAG_SUPPORTS_NSTR_NONPRIMARY: support connection to non-primary link
5100 * struct ieee80211_iface_limit - limit on certain interface types
5110 * struct ieee80211_iface_combination - possible interface combination
5121 * .. code-block:: c
5135 * 2. Allow #{AP, P2P-GO} <= 8, channels = 1, 8 total:
5137 * .. code-block:: c
5151 * 3. Allow #STA <= 1, #{P2P-client,P2P-GO} <= 3 on two channels, 4 total.
5155 * .. code-block:: c
5233 * enum wiphy_wowlan_support_flags - WoWLAN support flags
5235 * trigger that keeps the device operating as-is and
5245 * @WIPHY_WOWLAN_4WAY_HANDSHAKE: supports wakeup on 4-way handshake failure
5246 * @WIPHY_WOWLAN_RFKILL_RELEASE: supports wakeup on RF-kill release
5270 * struct wiphy_wowlan_support - WoWLAN support data
5277 * @max_nd_match_sets: maximum number of matchsets for net-detect,
5295 * struct wiphy_coalesce_support - coalesce support data
5314 * enum wiphy_vendor_command_flags - validation flags for vendor commands
5327 * enum wiphy_opmode_flag - Station's ht/vht operation mode information flags
5341 * struct sta_opmode_info - Station's ht/vht operation mode information
5355 #define VENDOR_CMD_RAW_DATA ((const struct nla_policy *)(long)(-ENODATA))
5358 * struct wiphy_vendor_command - vendor command definition
5362 * flags didn't ask for a wdev and non-%NULL otherwise; the data
5365 * @storage points to cb->args[5], ie. is preserved over the multiple
5388 * struct wiphy_iftype_ext_capab - extended capabilities per interface type
5394 * 802.11-2012 8.4.2.29 for the defined fields.
5410 * cfg80211_get_iftype_ext_capa - lookup interface type extended capability
5420 * struct cfg80211_pmsr_capabilities - cfg80211 peer measurement capabilities
5426 * @ftm.asap: ASAP-mode is supported
5427 * @ftm.non_asap: non-ASAP-mode is supported
5433 * (set to -1 if not limited; note that setting this will necessarily
5461 * struct wiphy_iftype_akm_suites - This structure encapsulates supported akm
5476 * struct wiphy_radio_freq_range - wiphy frequency range
5487 * struct wiphy_radio - physical radio of a wiphy
5489 * It is used to describe concurrent-channel capabilities. Only one channel
5514 * struct wiphy - wireless hardware description
5539 * -1 = fragmentation disabled, only odd values >= 256 used
5540 * @rts_threshold: RTS threshold (dot11RTSThreshold); -1 = RTS/CTS disabled
5545 * four bits are variable then set it to 00-00-00-00-00-0f. The actual
5552 * all-zeroes. In this case it is assumed that the device can handle
5554 * @registered: protects ->resume and ->suspend sysfs callbacks against
5587 * @max_scan_ie_len: maximum length of user-controlled IEs device can
5623 * @max_remain_on_channel_duration: Maximum time a remain-on-channel operation
5632 * @ht_capa_mod_mask: Specify what ht_cap values can be over-ridden.
5633 * If null, then none can be over-ridden.
5634 * @vht_capa_mod_mask: Specify what VHT capabilities can be over-ridden.
5635 * If null, then none can be over-ridden.
5647 * 802.11-2012 8.4.2.29 for the defined fields. These are the default
5694 * @tid_config_support: describes the per-TID config support that the
5710 * in a multiple BSSID set. This field must be set to a non-zero value
5713 * the driver. Setting this field to a non-zero value indicates that the
5714 * driver supports enhanced multi-BSSID advertisements (EMA AP).
5725 * non-zero value indicates that the driver supports HW timestamping.
5819 /* fields below are read-only, assigned by cfg80211 */
5890 return read_pnet(&wiphy->_net); in wiphy_net()
5895 write_pnet(&wiphy->_net, net); in wiphy_net_set()
5899 * wiphy_priv - return priv from wiphy
5907 return &wiphy->priv; in wiphy_priv()
5911 * priv_to_wiphy - return the wiphy containing the priv
5923 * set_wiphy_dev - set device pointer for wiphy
5930 wiphy->dev.parent = dev; in set_wiphy_dev()
5934 * wiphy_dev - get wiphy dev pointer
5941 return wiphy->dev.parent; in wiphy_dev()
5945 * wiphy_name - get wiphy name
5952 return dev_name(&wiphy->dev); in wiphy_name()
5956 * wiphy_new_nm - create a new wiphy for use with cfg80211
5973 * wiphy_new - create a new wiphy for use with cfg80211
5991 * wiphy_register - register a wiphy with cfg80211
5995 * Return: A non-negative wiphy index or a negative error code.
6000 #define lockdep_assert_wiphy(wiphy) lockdep_assert_held(&(wiphy)->mtx)
6003 * rcu_dereference_wiphy - rcu_dereference with debug checking
6011 rcu_dereference_check(p, lockdep_is_held(&wiphy->mtx))
6014 * wiphy_dereference - fetch RCU pointer when updates are prevented by wiphy mtx
6018 * Return: the value of the specified RCU-protected pointer, but omit the
6022 rcu_dereference_protected(p, lockdep_is_held(&wiphy->mtx))
6025 * get_wiphy_regdom - get custom regdomain for the given wiphy
6035 * wiphy_unregister - deregister a wiphy from cfg80211
6046 * wiphy_free - free wiphy
6059 * wiphy_lock - lock the wiphy
6075 __acquires(&wiphy->mtx) in wiphy_lock()
6077 mutex_lock(&wiphy->mtx); in wiphy_lock()
6078 __acquire(&wiphy->mtx); in wiphy_lock()
6082 * wiphy_unlock - unlock the wiphy again
6086 __releases(&wiphy->mtx) in wiphy_unlock()
6088 __release(&wiphy->mtx); in wiphy_unlock()
6089 mutex_unlock(&wiphy->mtx); in wiphy_unlock()
6093 mutex_lock(&_T->mtx),
6094 mutex_unlock(&_T->mtx))
6107 INIT_LIST_HEAD(&work->entry); in wiphy_work_init()
6108 work->func = func; in wiphy_work_init()
6112 * wiphy_work_queue - queue work for the wiphy
6126 * wiphy_work_cancel - cancel previously queued work
6136 * wiphy_work_flush - flush previously queued work
6156 timer_setup(&dwork->timer, wiphy_delayed_work_timer, 0); in wiphy_delayed_work_init()
6157 wiphy_work_init(&dwork->work, func); in wiphy_delayed_work_init()
6161 * wiphy_delayed_work_queue - queue delayed work for the wiphy
6178 * wiphy_delayed_work_cancel - cancel previously queued delayed work
6189 * wiphy_delayed_work_flush - flush previously queued delayed work
6200 * wiphy_delayed_work_pending - Find out whether a wiphy delayable
6223 * mod_timer(wk->timer)
6224 * wiphy_delayed_work_pending(wk) -> true
6227 * expire_timers(wk->timer)
6228 * detach_timer(wk->timer)
6229 * wiphy_delayed_work_pending(wk) -> false
6230 * wk->timer->function() |
6233 * queue_work(cfg80211_wiphy_work) | wk->func() has not
6237 * wk->func() V
6244 * enum ieee80211_ap_reg_power - regulatory power for an Access Point
6259 * struct wireless_dev - wireless device state
6267 * unregistering netdevs if they pre-create any netdevs (in ops
6270 * For non-netdev uses, it must also be allocated by the driver
6300 * netdev and may otherwise be used by driver read-only, will be update
6306 * @is_running: true if this is a non-netdev device that has been started, e.g.
6316 * @disconnect_wk: (private) auto-disconnect work
6317 * @disconnect_bssid: (private) the BSSID to use for auto-disconnect
6356 /* currently used for IBSS and SME - might be rearranged later */
6456 if (wdev->netdev) in wdev_address()
6457 return wdev->netdev->dev_addr; in wdev_address()
6458 return wdev->address; in wdev_address()
6463 if (wdev->netdev) in wdev_running()
6464 return netif_running(wdev->netdev); in wdev_running()
6465 return wdev->is_running; in wdev_running()
6469 * wdev_priv - return wiphy priv from wireless_dev
6477 return wiphy_priv(wdev->wiphy); in wdev_priv()
6481 * wdev_chandef - return chandef pointer from wireless_dev
6493 WARN_ON(link_id && !wdev->valid_links); in WARN_INVALID_LINK_ID()
6494 WARN_ON(wdev->valid_links && in WARN_INVALID_LINK_ID()
6495 !(wdev->valid_links & BIT(link_id))); in WARN_INVALID_LINK_ID()
6500 link_id < ((link_info)->valid_links ? \
6501 ARRAY_SIZE((link_info)->links) : 1); \
6503 if (!(link_info)->valid_links || \
6504 ((link_info)->valid_links & BIT(link_id)))
6513 * ieee80211_channel_equal - compare two struct ieee80211_channel
6523 return (a->center_freq == b->center_freq && in ieee80211_channel_equal()
6524 a->freq_offset == b->freq_offset); in ieee80211_channel_equal()
6528 * ieee80211_channel_to_khz - convert ieee80211_channel to frequency in KHz
6535 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
6539 * ieee80211_s1g_channel_width - get allowed channel width from @chan
6549 * ieee80211_channel_to_freq_khz - convert channel number to frequency
6557 * ieee80211_channel_to_frequency - convert channel number to frequency
6569 * ieee80211_freq_khz_to_channel - convert frequency to channel number
6576 * ieee80211_frequency_to_channel - convert frequency to channel number
6587 * ieee80211_get_channel_khz - get channel struct from wiphy for specified
6597 * ieee80211_get_channel - get channel struct from wiphy for specified frequency
6610 * cfg80211_channel_is_psc - Check if the channel is a 6 GHz PSC
6620 if (chan->band != NL80211_BAND_6GHZ) in cfg80211_channel_is_psc()
6623 return ieee80211_frequency_to_channel(chan->center_freq) % 16 == 5; in cfg80211_channel_is_psc()
6627 * cfg80211_radio_chandef_valid - Check if the radio supports the chandef
6638 * cfg80211_wdev_channel_allowed - Check if the wdev may use the channel
6649 * ieee80211_get_response_rate - get basic rate for a given rate
6665 * ieee80211_mandatory_rates - get mandatory rates for a given band
6674 * Radiotap parsing functions -- for controlled injection support
6677 * Documentation in Documentation/networking/radiotap-headers.rst
6697 * struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args
6759 * ieee80211_get_hdrlen_from_skb - get header length from data
6773 * ieee80211_hdrlen - get header length in bytes from frame control
6774 * @fc: frame control field in little-endian format
6780 * ieee80211_get_mesh_hdrlen - get mesh extension header length
6797 * ieee80211_data_to_8023_exthdr - convert an 802.11 data frame to 802.3
6804 * @is_amsdu: true if the 802.11 header is A-MSDU
6805 * Return: 0 on success. Non-zero on error.
6812 * ieee80211_data_to_8023 - convert an 802.11 data frame to 802.3
6816 * Return: 0 on success. Non-zero on error.
6825 * ieee80211_is_valid_amsdu - check if subframe lengths of an A-MSDU are valid
6827 * This is used to detect non-standard A-MSDU frames, e.g. the ones generated
6831 * @skb: The input A-MSDU frame without any headers.
6833 * 0: non-mesh A-MSDU length field
6834 * 1: big-endian mesh A-MSDU length field
6835 * 2: little-endian mesh A-MSDU length field
6841 * ieee80211_amsdu_to_8023s - decode an IEEE 802.11n A-MSDU frame
6843 * Decode an IEEE 802.11 A-MSDU and convert it to a list of 802.3 frames.
6845 * header-less before being passed in here; it is freed in this function.
6847 * @skb: The input A-MSDU frame without any headers.
6864 * ieee80211_get_8023_tunnel_proto - get RFC1042 or bridge tunnel encap protocol
6876 * ieee80211_strip_8023_mesh_hdr - strip mesh header from converted 802.3 frames
6884 * Return: 0 on success. Non-zero on error.
6889 * cfg80211_classify8021d - determine the 802.1p/1d tag for a data frame
6898 * cfg80211_find_elem_match - match information element and byte array in data
6925 * cfg80211_find_ie_match - match information element and byte array in data
6963 match_offset - 2 : 0); in cfg80211_find_ie_match()
6967 * cfg80211_find_elem - find information element in data
6988 * cfg80211_find_ie - find information element in data
7008 * cfg80211_find_ext_elem - find information element with EID Extension in data
7030 * cfg80211_find_ext_ie - find information element with EID Extension in data
7051 * cfg80211_find_vendor_elem - find vendor specific information element in data
7054 * @oui_type: vendor-specific OUI type (must be < 0xff), negative means any
7070 * cfg80211_find_vendor_ie - find vendor specific information element in data
7073 * @oui_type: vendor-specific OUI type (must be < 0xff), negative means any
7093 * enum cfg80211_rnr_iter_ret - reduced neighbor report iteration state
7105 * cfg80211_iter_rnr - iterate reduced neighbor report entries
7125 * cfg80211_defragment_element - Defrag the given element data into a buffer
7134 * Return: length of @data, or -EINVAL on error
7140 * element in-place.
7147 * cfg80211_send_layer2_update - send layer 2 update frame
7164 * regulatory_hint - driver hint to the wireless core a regulatory domain
7169 * set this to NULL you should still set rd->alpha2 to some accepted
7184 * an -ENOMEM.
7186 * Return: 0 on success. -ENOMEM.
7191 * regulatory_set_wiphy_regd - set regdom info for self managed drivers
7195 * Set the regulatory domain information for self-managed wiphys, only they
7199 * Return: 0 on success. -EINVAL, -EPERM
7205 * regulatory_set_wiphy_regd_sync - set regdom for self-managed drivers
7213 * Return: 0 on success. -EINVAL, -EPERM
7219 * wiphy_apply_custom_regulatory - apply a custom driver regulatory domain
7237 * freq_reg_info - get regulatory information for the given frequency
7249 * value will be -ERANGE if we determine the given center_freq does not even
7251 * See freq_in_rule_band() for our current definition of a band -- this is
7258 * reg_initiator_name - map regulatory request initiator enum to name
7269 * regulatory_pre_cac_allowed - check if pre-CAC allowed in the current regdom
7270 * @wiphy: wiphy for which pre-CAC capability is checked.
7272 * Pre-CAC is allowed only in some regdomains (notable ETSI).
7284 * reg_query_regdb_wmm - Query internal regulatory db for wmm rule
7285 * Regulatory self-managed driver can use it to proactively
7291 * Self-managed wireless drivers can use this function to query
7296 * an -ENODATA.
7298 * Return: 0 on success. -ENODATA.
7309 * cfg80211_scan_done - notify that scan finished
7318 * cfg80211_sched_scan_results - notify that new scan results are available
7326 * cfg80211_sched_scan_stopped - notify that the scheduled scan has stopped
7338 * cfg80211_sched_scan_stopped_locked - notify that the scheduled scan has stopped
7351 * cfg80211_inform_bss_frame_data - inform cfg80211 of a received BSS frame
7385 * cfg80211_gen_new_bssid - generate a nontransmitted BSSID for multi-BSSID
7395 u64 mask = GENMASK_ULL(max_bssid - 1, 0); in cfg80211_gen_new_bssid()
7406 * cfg80211_is_element_inherited - returns if element ID should be inherited
7416 * cfg80211_merge_profile - merges a MBSSID profile if it is split between IEs
7432 * enum cfg80211_bss_frame_type - frame type that the BSS data came from
7447 * cfg80211_get_ies_channel_number - returns the channel number from ies
7452 * Return: the channel number, or -1 if none could be determined.
7458 * cfg80211_ssid_eq - compare two SSIDs
7469 if (a->ssid_len != b->ssid_len) in cfg80211_ssid_eq()
7471 return memcmp(a->ssid, b->ssid, a->ssid_len) ? false : true; in cfg80211_ssid_eq()
7475 * cfg80211_inform_bss_data - inform cfg80211 of a new BSS
7521 * __cfg80211_get_bss - get a BSS reference
7531 * Return: Reference-counted BSS on success. %NULL on error.
7542 * cfg80211_get_bss - get a BSS reference
7553 * Return: Reference-counted BSS on success. %NULL on error.
7577 * cfg80211_ref_bss - reference BSS struct
7586 * cfg80211_put_bss - unref BSS struct
7595 * cfg80211_unlink_bss - unlink BSS from internal data structures
7607 * cfg80211_bss_iter - iterate all BSS entries
7627 * cfg80211_rx_mlme_mgmt - notification of processed MLME management frame
7648 * cfg80211_auth_timeout - notification of timed out authentication
7658 * struct cfg80211_rx_assoc_resp_data - association response data
7666 * @links: per-link information indexed by link ID, use links[0] for
7667 * non-MLO connections
7688 * cfg80211_rx_assoc_resp - notification of processed association response
7701 * struct cfg80211_assoc_failure - association failure data
7703 * @bss: list of BSSes, must use entry 0 for non-MLO connections
7716 * cfg80211_assoc_failure - notification of association failure
7726 * cfg80211_tx_mlme_mgmt - notification of transmitted deauth/disassoc frame
7741 * cfg80211_rx_unprot_mlme_mgmt - notification of unprotected mlme mgmt frame
7758 * cfg80211_michael_mic_failure - notification of Michael MIC failure (TKIP)
7762 * @key_id: Key identifier (0..3). Can be -1 if missing.
7767 * received frame. This matches with MLME-MICHAELMICFAILURE.indication()
7775 * cfg80211_ibss_joined - notify cfg80211 that device joined an IBSS
7786 * with the locally generated beacon -- this guarantees that there is
7793 * cfg80211_notify_new_peer_candidate - notify cfg80211 of a new mesh peer
7826 * wiphy_rfkill_set_hw_state_reason - notify cfg80211 about hw block state
7841 * wiphy_rfkill_start_polling - start polling rfkill
7847 * wiphy_rfkill_stop_polling - stop polling rfkill
7852 rfkill_pause_polling(wiphy->rfkill); in wiphy_rfkill_stop_polling()
7861 * (typically closed-source) userspace and firmware, using nl80211 as
7871 * "normal" functionality that higher-level userspace like connection
7891 * cfg80211_vendor_cmd_alloc_reply_skb - allocate vendor command reply
7896 * This function allocates and pre-fills an skb for a reply to
7900 * The returned skb is pre-filled with some identifying data in
7911 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7921 * cfg80211_vendor_cmd_reply - send the reply skb
7935 * cfg80211_vendor_cmd_get_sender - get the current sender netlink ID
7945 * cfg80211_vendor_event_alloc - allocate vendor-specific event skb
7953 * This function allocates and pre-fills an skb for an event on the
7954 * vendor-specific multicast group.
7963 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7975 * cfg80211_vendor_event_alloc_ucast - alloc unicast vendor-specific event skb
7984 * This function allocates and pre-fills an skb for an event to send to
7996 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
8010 * cfg80211_vendor_event - send the event
8027 * interact with driver-specific tools to aid, for instance,
8035 * cfg80211_testmode_alloc_reply_skb - allocate testmode reply
8040 * This function allocates and pre-fills an skb for a reply to
8044 * The returned skb is pre-filled with the wiphy index and set up in
8055 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
8065 * cfg80211_testmode_reply - send the reply skb
8082 * cfg80211_testmode_alloc_event_skb - allocate testmode event
8088 * This function allocates and pre-fills an skb for an event on the
8100 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
8106 NL80211_ATTR_TESTDATA, 0, -1, in cfg80211_testmode_alloc_event_skb()
8111 * cfg80211_testmode_event - send the event
8133 * struct cfg80211_fils_resp_params - FILS connection response params
8157 * struct cfg80211_connect_resp_params - Connection response params
8162 * from the AP) instead of an explicit rejection by the AP, -1 is used to
8181 * using @valid_links. For non-MLO connection, links[0] contains the
8185 * @links.bssid: For MLO connection, MAC address of the AP link. For non-MLO
8188 * For non-MLO connection, links[0].bss points to entry of bss to which STA
8195 * @links.status: per-link status code, to report a status code that's not
8219 * cfg80211_connect_done - notify cfg80211 of connection result
8237 * cfg80211_connect_bss - notify cfg80211 of connection result
8255 * from the AP) instead of an explicit rejection by the AP, -1 is used to
8297 * cfg80211_connect_result - notify cfg80211 of connection result
8328 * cfg80211_connect_timeout - notify cfg80211 of connection timeout
8350 cfg80211_connect_bss(dev, bssid, NULL, req_ie, req_ie_len, NULL, 0, -1, in cfg80211_connect_timeout()
8355 * struct cfg80211_roam_info - driver initiated roaming information
8366 * @valid_links. For non-MLO roaming, links[0] contains the new AP info.
8368 * @links.bssid: For MLO roaming, MAC address of the new AP link. For non-MLO
8373 * roamed. For non-MLO roaming, links[0].bss points to entry of bss to
8394 * cfg80211_roamed - notify cfg80211 of roaming
8407 * rdev->event_work. In case of any failures, the reference is released
8415 * cfg80211_port_authorized - notify cfg80211 of successful security association
8438 * cfg80211_disconnected - notify cfg80211 that connection was dropped
8455 * cfg80211_ready_on_channel - notification of remain_on_channel start
8468 * cfg80211_remain_on_channel_expired - remain_on_channel duration expired
8479 * cfg80211_tx_mgmt_expired - tx_mgmt duration expired
8489 * cfg80211_sinfo_alloc_tid_stats - allocate per-tid statistics.
8494 * Return: 0 on success. Non-zero on error.
8499 * cfg80211_sinfo_release_content - release contents of station info
8502 * Releases any potentially allocated sub-information of the station
8508 kfree(sinfo->pertid); in cfg80211_sinfo_release_content()
8512 * cfg80211_new_sta - notify userspace about station
8523 * cfg80211_del_sta_sinfo - notify userspace about deletion of a station
8533 * cfg80211_del_sta - notify userspace about deletion of a station
8546 * cfg80211_conn_failed - connection request failed notification
8565 * struct cfg80211_rx_info - received management frame info
8591 * cfg80211_rx_mgmt_ext - management frame notification with extended info
8607 * cfg80211_rx_mgmt_khz - notification of received, unprocessed management frame
8639 * cfg80211_rx_mgmt - notification of received, unprocessed management frame
8671 * struct cfg80211_tx_status - TX status for management frame information
8690 * cfg80211_mgmt_tx_status_ext - TX status notification with extended info
8703 * cfg80211_mgmt_tx_status - notification of TX status for management frame
8730 * cfg80211_control_port_tx_status - notification of TX status for control
8748 * cfg80211_rx_control_port - notification about a received control port frame
8751 * is 802.3 formatted (with 802.3 header). The skb can be non-linear.
8754 * skb->protocol is set appropriately.
8756 * @link_id: the link the frame was received on, -1 if not applicable or unknown
8771 * cfg80211_cqm_rssi_notify - connection quality monitoring rssi event
8785 * cfg80211_cqm_pktloss_notify - notify userspace about packetloss to peer
8788 * @num_packets: how many packets were lost -- should be a fixed threshold
8797 * cfg80211_cqm_txe_notify - TX error rate event
8812 * cfg80211_cqm_beacon_loss_notify - beacon loss event
8821 * __cfg80211_radar_event - radar detection event
8850 * cfg80211_sta_opmode_change_notify - STA's ht/vht operation mode change event
8864 * cfg80211_cac_event - Channel availability check (CAC) event
8873 * also by full-MAC drivers.
8881 * cfg80211_background_cac_abort - Channel Availability Check offchan abort event
8890 * cfg80211_gtk_rekey_notify - notify userspace about driver rekeying
8900 * cfg80211_pmksa_candidate_notify - notify about PMKSA caching candidate
8904 * @preauth: Whether AP advertises support for RSN pre-authentication
8911 * cfg80211_rx_spurious_frame - inform userspace about a spurious frame
8926 * cfg80211_rx_unexpected_4addr_frame - inform about unexpected WDS frame
8942 * cfg80211_probe_status - notify userspace about probe status
8945 * @cookie: the cookie filled in @probe_client previously
8956 * cfg80211_report_obss_beacon_khz - report beacon from other APs
8971 * cfg80211_report_obss_beacon - report beacon from other APs
8991 * struct cfg80211_beaconing_check_config - beacon check configuration
8993 * @relax: allow IR-relaxation conditions to apply (e.g. another
9006 * cfg80211_reg_check_beaconing - check if beaconing is allowed
9019 * cfg80211_reg_can_beacon - check if beaconing is allowed
9040 * cfg80211_reg_can_beacon_relax - check if beaconing is allowed with relaxation
9047 * also checks if IR-relaxation conditions apply, to allow beaconing under
9066 * cfg80211_ch_switch_notify - update wdev channel and notify userspace
9069 * @link_id: the link ID for MLO, must be 0 for non-MLO
9079 * cfg80211_ch_switch_started_notify - notify channel switch start
9082 * @link_id: the link ID for MLO, must be 0 for non-MLO
9096 * ieee80211_operating_class_to_band - convert operating class to band
9107 * ieee80211_operating_class_to_chandef - convert operating class to chandef
9120 * ieee80211_chandef_to_operating_class - convert chandef to operation class
9131 * ieee80211_chandef_to_khz - convert chandef to frequency in KHz
9140 return MHZ_TO_KHZ(chandef->center_freq1) + chandef->freq1_offset; in ieee80211_chandef_to_khz()
9144 * cfg80211_tdls_oper_request - request userspace to perform TDLS operation
9163 * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units)
9171 * cfg80211_unregister_wdev - remove the given wdev
9185 * cfg80211_register_netdevice - register the given netdev
9195 * Return: 0 on success. Non-zero on error.
9200 * cfg80211_unregister_netdevice - unregister the given netdev
9213 cfg80211_unregister_wdev(dev->ieee80211_ptr); in cfg80211_unregister_netdevice()
9218 * struct cfg80211_ft_event_params - FT Information Elements
9234 * cfg80211_ft_event - notify userspace about FT IE and RIC IE
9242 * cfg80211_get_p2p_attr - find and copy a P2P attribute from IE buffer
9253 * Return: A negative error code (-%EILSEQ or -%ENOENT) if the data is
9262 * ieee80211_ie_split_ric - split an IE buffer according to ordering (with RIC)
9267 * EID in the list is a sub-element of the EXTENSION IE.
9277 * It assumes that the given IE buffer is well-formed, this
9294 * ieee80211_ie_split - split an IE buffer according to ordering
9299 * EID in the list is a sub-element of the EXTENSION IE.
9307 * It assumes that the given IE buffer is well-formed, this
9325 * ieee80211_fragment_element - fragment the last element in skb
9337 * cfg80211_report_wowlan_wakeup - report wakeup from WoWLAN
9352 * cfg80211_crit_proto_stopped() - indicate critical protocol stopped by driver.
9364 * ieee80211_get_num_supported_channels - get number of channels device has
9372 * cfg80211_check_combinations - check interface combinations
9381 * Return: 0 if combinations are allowed. Non-zero on error.
9387 * cfg80211_iter_combinations - iterate over matching combinations
9398 * Return: 0 on success. Non-zero on error.
9407 * cfg80211_stop_iface - trigger interface disconnection
9422 * cfg80211_shutdown_all_interfaces - shut down all interfaces for a wiphy
9426 * calling dev_close() (and treating non-netdev interfaces as needed).
9436 * wiphy_ext_feature_set - set the extended feature flag
9449 ft_byte = &wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_set()
9454 * wiphy_ext_feature_isset - check the extended feature flag
9470 ft_byte = wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_isset()
9475 * cfg80211_free_nan_func - free NAN function
9483 * struct cfg80211_nan_match_params - NAN match parameters
9507 * cfg80211_nan_match - report a match for a NAN function.
9520 * cfg80211_nan_func_terminated - notify about NAN function termination.
9539 * cfg80211_external_auth_request - userspace request for authentication
9550 * cfg80211_pmsr_report - report peer measurement result data
9562 * cfg80211_pmsr_complete - report peer measurement completed
9575 * cfg80211_iftype_allowed - check whether the interface can be allowed
9592 * cfg80211_assoc_comeback - notification of association that was
9608 dev_printk(level, &(wiphy)->dev, format, ##args)
9610 dev_emerg(&(wiphy)->dev, format, ##args)
9612 dev_alert(&(wiphy)->dev, format, ##args)
9614 dev_crit(&(wiphy)->dev, format, ##args)
9616 dev_err(&(wiphy)->dev, format, ##args)
9618 dev_warn(&(wiphy)->dev, format, ##args)
9620 dev_notice(&(wiphy)->dev, format, ##args)
9622 dev_info(&(wiphy)->dev, format, ##args)
9624 dev_info_once(&(wiphy)->dev, format, ##args)
9627 dev_err_ratelimited(&(wiphy)->dev, format, ##args)
9629 dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
9635 dev_dbg(&(wiphy)->dev, format, ##args)
9657 * cfg80211_update_owe_info_event - Notify the peer's OWE info to user space
9667 * cfg80211_bss_flush - resets all the scan entries
9673 * cfg80211_bss_color_notify - notify about bss color event
9678 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9680 * Return: 0 on success. Non-zero on error.
9687 * cfg80211_obss_color_collision_notify - notify about bss color collision
9690 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9692 * Return: 0 on success. Non-zero on error.
9703 * cfg80211_color_change_started_notify - notify color change start
9706 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9710 * Return: 0 on success. Non-zero on error.
9720 * cfg80211_color_change_aborted_notify - notify color change abort
9722 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9726 * Return: 0 on success. Non-zero on error.
9736 * cfg80211_color_change_notify - notify color change completion
9738 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9742 * Return: 0 on success. Non-zero on error.
9753 * cfg80211_links_removed - Notify about removed STA MLD setup links.
9758 * AP MLD removing the corresponding affiliated APs with Multi-Link
9766 * struct cfg80211_mlo_reconf_done_data - MLO reconfiguration data
9770 * @links: per-link information indexed by link ID
9789 * cfg80211_mlo_reconf_add_done - Notify about MLO reconfiguration result
9800 * cfg80211_schedule_channels_check - schedule regulatory check if needed
9810 * cfg80211_epcs_changed - Notify about a change in EPCS state
9818 * wiphy_locked_debugfs_read - do a locked read in debugfs
9843 * wiphy_locked_debugfs_write - do a locked write in debugfs