Lines Matching +full:pre +full:- +full:filled

1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2006-2010 Johannes Berg <[email protected]>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright 2015-2017 Intel Deutschland GmbH
10 * Copyright (C) 2018-2024 Intel Corporation
72 * enum ieee80211_channel_flags - channel flags
167 * struct ieee80211_channel - channel definition
174 * @hw_value: hardware-specific value for the channel
212 * enum ieee80211_rate_flags - rate flags
222 * when used with 802.11a (on the 5 GHz band); filled by the
225 * when used with 802.11b (on the 2.4 GHz band); filled by the
228 * when used with 802.11g (on the 2.4 GHz band); filled by the
245 * enum ieee80211_bss_type - BSS type filter
262 * enum ieee80211_privacy - BSS privacy filter
278 * struct ieee80211_rate - bitrate definition
285 * @flags: rate-specific flags from &enum ieee80211_rate_flags
298 * struct ieee80211_he_obss_pd - AP settings for spatial reuse
302 * @non_srg_max_offset: non-SRG maximum tx power offset
321 * struct cfg80211_he_bss_color - AP settings for BSS coloring
334 * struct ieee80211_sta_ht_cap - STA's HT capabilities
341 * @ampdu_factor: Maximum A-MPDU length factor
342 * @ampdu_density: Minimum A-MPDU spacing
354 * struct ieee80211_sta_vht_cap - STA's VHT capabilities
372 * struct ieee80211_sta_he_cap - STA's HE capabilities
390 * struct ieee80211_eht_mcs_nss_supp - EHT max supported NSS per MCS
392 * See P802.11be_D1.3 Table 9-401k - "Subfields of the Supported EHT-MCS
395 * @only_20mhz: MCS/NSS support for 20 MHz-only STA.
415 * struct ieee80211_sta_eht_cap - STA's EHT capabilities
432 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */
435 * This is used to mark the sband->iftype_data pointer which is supposed
446 * struct ieee80211_sband_iftype_data - sband data per interface type
454 * @he_6ghz_capa: HE 6 GHz capabilities, must be filled in for a
473 * enum ieee80211_edmg_bw_config - allowed channel bandwidth configurations
509 * struct ieee80211_edmg - EDMG configuration
527 * struct ieee80211_sta_s1g_cap - STA's S1G capabilities
543 * struct ieee80211_supported_band - frequency band definition
582 * _ieee80211_set_sband_iftype_data - set sband iftype data array
596 sband->iftype_data = (const void __iftd __force *)iftd; in _ieee80211_set_sband_iftype_data()
597 sband->n_iftype_data = n_iftd; in _ieee80211_set_sband_iftype_data()
601 * ieee80211_set_sband_iftype_data - set sband iftype data array
609 * for_each_sband_iftype_data - iterate sband iftype data entries
615 for (i = 0, iftd = (const void __force *)&(sband)->iftype_data[i]; \
616 i < (sband)->n_iftype_data; \
617 i++, iftd = (const void __force *)&(sband)->iftype_data[i])
620 * ieee80211_get_sband_iftype_data - return sband data for a given iftype
640 if (data->types_mask & BIT(iftype)) in ieee80211_get_sband_iftype_data()
648 * ieee80211_get_he_iftype_cap - return HE capabilities for an sband's iftype
661 if (data && data->he_cap.has_he) in ieee80211_get_he_iftype_cap()
662 return &data->he_cap; in ieee80211_get_he_iftype_cap()
668 * ieee80211_get_he_6ghz_capa - return HE 6 GHz capabilities
681 if (WARN_ON(!data || !data->he_cap.has_he)) in ieee80211_get_he_6ghz_capa()
684 return data->he_6ghz_capa.capa; in ieee80211_get_he_6ghz_capa()
688 * ieee80211_get_eht_iftype_cap - return ETH capabilities for an sband's iftype
701 if (data && data->eht_cap.has_eht) in ieee80211_get_eht_iftype_cap()
702 return &data->eht_cap; in ieee80211_get_eht_iftype_cap()
708 * wiphy_read_of_freq_limits - read frequency limits from device tree
758 * struct vif_params - describes virtual interface parameters
761 * @use_4addr: use 4-address frames
768 * @vht_mumimo_groups: MU-MIMO groupID, used for monitoring MU-MIMO packets
769 * belonging to that MU-MIMO groupID; %NULL if not changed
770 * @vht_mumimo_follow_addr: MU-MIMO follow address, used for monitoring
771 * MU-MIMO packets going to the specified station; %NULL if not changed
782 * struct key_params - key information
807 * struct cfg80211_chan_def - channel definition
814 * If edmg is requested (i.e. the .channels member is non-zero),
833 * cfg80211_bitrate_mask - masks for bitrate control
849 * struct cfg80211_tid_cfg - TID specific configuration
878 * struct cfg80211_tid_config - TID configuration
890 * struct cfg80211_fils_aad - FILS AAD data
906 * struct cfg80211_set_hw_timestamp - enable/disable HW timestamping
918 * cfg80211_get_chandef_type - return old channel type from chandef
921 * Return: The old channel type (NOHT, HT20, HT40+/-) from a given
927 switch (chandef->width) { in cfg80211_get_chandef_type()
933 if (chandef->center_freq1 > chandef->chan->center_freq) in cfg80211_get_chandef_type()
943 * cfg80211_chandef_create - create channel definition using channel type
955 * cfg80211_chandef_identical - check if two channel definitions are identical
966 return (chandef1->chan == chandef2->chan && in cfg80211_chandef_identical()
967 chandef1->width == chandef2->width && in cfg80211_chandef_identical()
968 chandef1->center_freq1 == chandef2->center_freq1 && in cfg80211_chandef_identical()
969 chandef1->freq1_offset == chandef2->freq1_offset && in cfg80211_chandef_identical()
970 chandef1->center_freq2 == chandef2->center_freq2 && in cfg80211_chandef_identical()
971 chandef1->punctured == chandef2->punctured); in cfg80211_chandef_identical()
975 * cfg80211_chandef_is_edmg - check if chandef represents an EDMG channel
984 return chandef->edmg.channels || chandef->edmg.bw_config; in cfg80211_chandef_is_edmg()
988 * cfg80211_chandef_compatible - check if two channel definitions are compatible
1000 * nl80211_chan_width_to_mhz - get the channel width in MHz
1004 * is valid. -1 otherwise.
1009 * cfg80211_chandef_valid - check if a channel definition is valid
1016 * cfg80211_chandef_usable - check if secondary channels can be used
1027 * cfg80211_chandef_dfs_required - checks if radar detection is required
1039 * cfg80211_chandef_dfs_usable - checks if chandef is DFS usable and we
1051 * cfg80211_chandef_dfs_cac_time - get the DFS CAC time (in ms) for given
1063 * cfg80211_chandef_primary - calculate primary 40/80/160 MHz freq
1066 * @punctured: punctured sub-channel bitmap, will be recalculated
1069 * Returns: the primary 40/80/160 MHz channel center frequency, or -1
1077 * nl80211_send_chandef - sends the channel definition.
1086 * ieee80211_chanwidth_rate_flags - return rate flags for channel width
1089 * In some channel types, not all rates may be used - for example CCK
1109 * ieee80211_chandef_rate_flags - returns rate flags for a channel
1119 return ieee80211_chanwidth_rate_flags(chandef->width); in ieee80211_chandef_rate_flags()
1123 * ieee80211_chandef_max_power - maximum transmission power for the chandef
1127 * max_power for non-standard (20 MHz) channels.
1136 switch (chandef->width) { in ieee80211_chandef_max_power()
1138 return min(chandef->chan->max_reg_power - 6, in ieee80211_chandef_max_power()
1139 chandef->chan->max_power); in ieee80211_chandef_max_power()
1141 return min(chandef->chan->max_reg_power - 3, in ieee80211_chandef_max_power()
1142 chandef->chan->max_power); in ieee80211_chandef_max_power()
1146 return chandef->chan->max_power; in ieee80211_chandef_max_power()
1150 * cfg80211_any_usable_channels - check for usable channels
1163 * enum survey_info_flags - survey information flags
1165 * @SURVEY_INFO_NOISE_DBM: noise (in dBm) was filled in
1167 * @SURVEY_INFO_TIME: active time (in ms) was filled in
1168 * @SURVEY_INFO_TIME_BUSY: busy time was filled in
1169 * @SURVEY_INFO_TIME_EXT_BUSY: extension channel busy time was filled in
1170 * @SURVEY_INFO_TIME_RX: receive time was filled in
1171 * @SURVEY_INFO_TIME_TX: transmit time was filled in
1172 * @SURVEY_INFO_TIME_SCAN: scan time was filled in
1173 * @SURVEY_INFO_TIME_BSS_RX: local BSS receive time was filled in
1176 * it has filled in during the get_survey().
1191 * struct survey_info - channel survey response
1195 * @filled: bitflag of flags from &enum survey_info_flags
1206 * Used by dump_survey() to report back per-channel survey information.
1220 u32 filled; member
1227 * struct cfg80211_crypto_settings - Crypto settings
1245 * @control_port_no_preauth: disables pre-auth rx over the nl80211 control
1247 * @psk: PSK (for devices supporting 4-way-handshake offload)
1254 * Not-specified, used to indicate userspace did not specify any
1259 * Allow hunting-and-pecking loop only
1262 * Allow hash-to-element only
1265 * Allow either hunting-and-pecking loop or hash-to-element
1286 * struct cfg80211_mbssid_config - AP settings for multi bssid
1299 * struct cfg80211_mbssid_elems - Multiple BSSID elements
1316 * struct cfg80211_rnr_elems - Reduced neighbor report (RNR) elements
1333 * struct cfg80211_beacon_data - beacon data
1353 * @ftm_responder: enable FTM responder functionality; -1 for no change
1395 * struct cfg80211_acl_data - Access control list data
1411 * struct cfg80211_fils_discovery - FILS discovery parameters from
1412 * IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
1415 * @min_interval: Minimum packet interval in TUs (0 - 10000)
1416 * @max_interval: Maximum packet interval in TUs (0 - 10000)
1430 * struct cfg80211_unsol_bcast_probe_resp - Unsolicited broadcast probe
1435 * in IEEE P802.11ax/D6.0 26.17.2.3.2 - AP behavior for fast passive
1448 * struct cfg80211_ap_settings - AP configuration
1524 * struct cfg80211_ap_update - AP configuration update
1539 * struct cfg80211_csa_settings - channel switch settings
1554 * MLO. 0 in case of non-MLO.
1571 * struct cfg80211_color_change_settings - color change settings
1582 * 0 in case of non-MLO.
1595 * struct iface_combination_params - input parameters for interface combinations
1599 * @radio_idx: wiphy radio index or -1 for global
1621 * enum station_parameters_apply_mask - station parameter values to apply
1626 * Not all station parameters have in-band "no change" signalling,
1636 * struct sta_txpwr - station txpower configuration
1641 * is not provided, the default per-interface tx power setting will be
1643 * power per-interface or per-station.
1656 * struct link_station_parameters - link station parameters
1661 * @link_id: the link id (-1 for non-MLD station)
1698 * struct link_station_del_parameters - link station deletion parameters
1716 * (TID-To-Link Mapping element) in Draft P802.11be_D4.0.
1718 * (TID-To-Link Mapping element) in Draft P802.11be_D4.0.
1726 * struct station_parameters - station parameters
1735 * @listen_interval: listen interval or -1 for no change
1748 * @local_pm: local link-specific mesh power save mode (no change when set
1787 * struct station_del_parameters - station deletion parameters
1796 * using; valid only for MLO, but can also be -1 for MLO to really
1807 * enum cfg80211_station_type - the type of station being modified
1837 * cfg80211_check_station_change - validate parameter changes
1855 * enum rate_info_flags - bitrate info flags
1860 * @RATE_INFO_FLAGS_MCS: mcs field filled with HT MCS
1861 * @RATE_INFO_FLAGS_VHT_MCS: mcs field filled with VHT MCS
1868 * @RATE_INFO_FLAGS_S1G_MCS: MCS field filled with S1G MCS
1883 * enum rate_info_bw - rate bandwidth information
1920 * struct rate_info - bitrate information
1933 * @n_bonded_ch: In case of EDMG the number of bonded channels (1-4)
1953 * enum bss_param_flags - bitrate info flags
1969 * struct sta_bss_parameters - BSS parameters for the attached station
1984 * struct cfg80211_txq_stats - TXQ statistics for this TID
1985 * @filled: bitmap of flags using the bits of &enum nl80211_txq_stats to
1986 * indicate the relevant values in this struct are filled
2000 u32 filled; member
2015 * struct cfg80211_tid_stats - per-TID statistics
2016 * @filled: bitmap of flags using the bits of &enum nl80211_tid_stats to
2017 * indicate the relevant values in this struct are filled
2026 u32 filled; member
2037 * struct station_info - station information
2039 * Station information filled by driver for get_station() and dump_station.
2041 * @filled: bitflag of flags using the bits of &enum nl80211_sta_info to
2055 * @chains: bitmask for filled values in @chain_signal, @chain_signal_avg
2056 * @chain_signal: per-chain signal strength of last received packet in dBm
2057 * @chain_signal_avg: per-chain signal strength average in dBm
2064 * @rx_dropped_misc: Dropped for un-specified reason.
2080 * @nonpeer_pm: non-peer mesh STA power save mode
2090 * @pertid: per-TID statistics, see &struct cfg80211_tid_stats, using the last
2091 * (IEEE80211_NUM_TIDS) index for MSDUs not encapsulated in QoS-MPDUs.
2092 * Note that this doesn't use the @filled bit, but is used if non-NULL.
2102 * @mlo_params_valid: Indicates @assoc_link_id and @mld_addr fields are filled
2108 * completed (re)association. This information filled for both MLO
2109 * and non-MLO STA connections when the AP affiliated with an MLD.
2110 * @mld_addr: For MLO STA connection, filled with MLD address of the station.
2111 * For non-MLO STA connection, filled with all zeros.
2122 u64 filled; member
2188 * struct cfg80211_sar_sub_specs - sub specs limit
2198 * struct cfg80211_sar_specs - sar limit specs
2211 * struct cfg80211_sar_freq_ranges - sar frequency ranges
2221 * struct cfg80211_sar_capa - sar limit capability
2237 * cfg80211_get_station - retrieve information about a given station
2242 * Return: 0 on success and sinfo is filled with the available information
2253 return -ENOENT; in cfg80211_get_station()
2258 * enum monitor_flags - monitor flags
2284 * enum mpath_info_flags - mesh path information flags
2286 * Used by the driver to indicate which info in &struct mpath_info it has filled
2289 * @MPATH_INFO_FRAME_QLEN: @frame_qlen filled
2290 * @MPATH_INFO_SN: @sn filled
2291 * @MPATH_INFO_METRIC: @metric filled
2292 * @MPATH_INFO_EXPTIME: @exptime filled
2293 * @MPATH_INFO_DISCOVERY_TIMEOUT: @discovery_timeout filled
2294 * @MPATH_INFO_DISCOVERY_RETRIES: @discovery_retries filled
2295 * @MPATH_INFO_FLAGS: @flags filled
2296 * @MPATH_INFO_HOP_COUNT: @hop_count filled
2297 * @MPATH_INFO_PATH_CHANGE: @path_change_count filled
2312 * struct mpath_info - mesh path information
2314 * Mesh path information filled by driver for get_mpath() and dump_mpath().
2316 * @filled: bitfield of flags from &enum mpath_info_flags
2332 u32 filled; member
2347 * struct bss_parameters - BSS parameters
2351 * @link_id: link_id or -1 for non-MLD
2353 * (0 = no, 1 = yes, -1 = do not change)
2355 * (0 = no, 1 = yes, -1 = do not change)
2357 * (0 = no, 1 = yes, -1 = do not change)
2362 * (0 = no, 1 = yes, -1 = do not change)
2364 * (u16 = opmode, -1 = do not change)
2365 * @p2p_ctwindow: P2P CT Window (-1 = no change)
2366 * @p2p_opp_ps: P2P opportunistic PS (-1 = no change)
2381 * struct mesh_config - 802.11s mesh configuration
2427 * @dot11MeshForwarding: whether the Mesh STA is forwarding or non-forwarding
2428 * entity (default is TRUE - forwarding entity)
2456 * @dot11MeshNolearn: Try to avoid multi-hop path discovery (e.g. PREQ/PREP
2458 * not be the optimal decision as a multi-hop route might be better. So
2497 * struct mesh_setup - 802.11s mesh setup configuration
2546 * struct ocb_setup - 802.11p OCB mode setup configuration
2556 * struct ieee80211_txq_params - TX queue parameters
2559 * @cwmin: Minimum contention window [a value of the form 2^n-1 in the range
2561 * @cwmax: Maximum contention window [a value of the form 2^n-1 in the range
2564 * @link_id: link_id or -1 for non-MLD
2585 * well-formed, and will not exceed the maximum length the driver advertised
2599 * struct cfg80211_ssid - SSID description
2609 * struct cfg80211_scan_info - information about completed scan
2624 * struct cfg80211_scan_6ghz_params - relevant for 6 GHz only
2647 * struct cfg80211_scan_request - scan request description
2678 * used for TSF reporting. Can be set to -1 to indicate no preference.
2725 * struct cfg80211_match_set - sets of attributes to match
2727 * @ssid: SSID to be matched; may be zero-length in case of BSSID match
2729 * @bssid: BSSID to be matched; may be all-zero BSSID in case of SSID match
2740 * struct cfg80211_sched_scan_plan - scan plan for scheduled scan
2754 * struct cfg80211_bss_select_adjust - BSS selection with RSSI adjustment.
2765 * struct cfg80211_sched_scan_request - scheduled scan request description
2796 * @nl_owner_dead: netlink owner socket was closed - this request be freed
2850 * enum cfg80211_signal_type - signal type
2863 * struct cfg80211_inform_bss - BSS inform data
2878 * @chains: bitmask for filled values in @chain_signal.
2879 * @chain_signal: per-chain signal strength of last received BSS in dBm.
2905 * struct cfg80211_bss_ies - BSS entry IE data
2921 * struct cfg80211_bss - BSS description
2931 * are well-formed!); this is a pointer to either the beacon_ies or
2933 * received. It is always non-%NULL.
2944 * points to the same data as hidden_beacon_bss->beacon_ies in that case.
2946 * non-transmitted one (multi-BSSID support)
2947 * @nontrans_list: list of non-transmitted BSS, if this is a transmitted one
2948 * (multi-BSSID support)
2950 * @chains: bitmask for filled values in @chain_signal.
2951 * @chain_signal: per-chain signal strength of last received BSS in dBm.
2959 * @priv: private area for driver use, has at least wiphy->bss_priv_size bytes
2993 * ieee80211_bss_get_elem - find element with given ID
2997 * Note that the return value is an RCU-protected pointer, so
3004 * ieee80211_bss_get_ie - find IE with given ID
3008 * Note that the return value is an RCU-protected pointer, so
3019 * struct cfg80211_auth_request - Authentication request data
3037 * the authentication frame body (non-IE and IE data), excluding the
3065 * struct cfg80211_assoc_link - per-link information for MLO association
3068 * @elems: extra elements for the per-STA profile for this link
3072 * @error: per-link error code, must be <= 0. If there is an error, then the
3084 * enum cfg80211_assoc_req_flags - Over-ride default behaviour in association.
3098 * @ASSOC_REQ_SPP_AMSDU: SPP A-MSDUs will be used on this connection (if any)
3112 * struct cfg80211_assoc_request - (Re)Association request data
3137 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3138 * will be used in ht_capa. Un-supported values will be ignored.
3150 * @links: per-link information for MLO connections
3178 * struct cfg80211_deauth_request - Deauthentication request data
3199 * struct cfg80211_disassoc_request - Disassociation request data
3220 * struct cfg80211_ibss_params - IBSS parameters
3225 * @ssid: The SSID, will always be non-null.
3226 * @ssid_len: The length of the SSID, will always be non-zero.
3230 * @channel_fixed: The channel should be fixed -- do not search for
3247 * @mcast_rate: per-band multicast rate index + 1 (0: disabled)
3248 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3249 * will be used in ht_capa. Un-supported values will be ignored.
3276 * struct cfg80211_bss_selection - connection parameters for BSS selection.
3292 * struct cfg80211_connect_params - Connection parameters
3297 * @channel: The channel to use or %NULL if not specified (auto-select based
3301 * @bssid: The AP BSSID or %NULL if not specified (auto-select based on scan
3312 * @privacy: indicates whether privacy-enabled APs should be used
3320 * or -1 to indicate that default value is to be used.
3321 * @ht_capa: HT Capabilities over-rides. Values set in ht_capa_mask
3322 * will be used in ht_capa. Un-supported values will be ignored.
3335 * @fils_erp_username: EAP re-authentication protocol (ERP) username part of the
3339 * @fils_erp_realm: EAP re-authentication protocol (ERP) realm part of NAI or
3345 * @fils_erp_rrk: ERP re-authentication Root Key (rRK) used to derive additional
3348 * @want_1x: indicates user-space supports and wants to use 802.1X driver
3349 * offload of 4-way handshake.
3390 * enum cfg80211_connect_params_changed - Connection parameters being updated
3407 * enum wiphy_params_flags - set_wiphy_params bitfield values
3408 * @WIPHY_PARAM_RETRY_SHORT: wiphy->retry_short has changed
3409 * @WIPHY_PARAM_RETRY_LONG: wiphy->retry_long has changed
3410 * @WIPHY_PARAM_FRAG_THRESHOLD: wiphy->frag_threshold has changed
3411 * @WIPHY_PARAM_RTS_THRESHOLD: wiphy->rts_threshold has changed
3440 * struct cfg80211_pmksa - PMK Security Association
3454 * @cache_id: 2-octet cache identifier advertized by a FILS AP identifying the
3455 * scope of PMKSA. This is valid only if @ssid_len is non-zero (may be
3482 * struct cfg80211_pkt_pattern - packet pattern
3499 * struct cfg80211_wowlan_tcp - TCP connection parameters
3534 * struct cfg80211_wowlan - Wake on Wireless-LAN support info
3537 * @any: wake up on any activity -- special trigger if device continues
3545 * @four_way_handshake: wake up on 4-way handshake
3562 * struct cfg80211_coalesce_rules - Coalesce rule parameters
3579 * struct cfg80211_coalesce - Packet coalescing settings
3591 * struct cfg80211_wowlan_nd_match - information about the match
3606 * struct cfg80211_wowlan_nd_info - net detect wake up information
3620 * struct cfg80211_wowlan_wakeup - wakeup report
3625 * @four_way_handshake: woke up by 4-way handshake
3627 * @pattern_idx: pattern that caused wakeup, -1 if not due to pattern
3655 * struct cfg80211_gtk_rekey_data - rekey data
3670 * struct cfg80211_update_ft_ies_params - FT IE Information
3685 * struct cfg80211_mgmt_tx_params - mgmt tx parameters
3698 * @link_id: for MLO, the link ID to transmit on, -1 if not given; note
3716 * struct cfg80211_dscp_exception - DSCP exception
3727 * struct cfg80211_dscp_range - DSCP range definition for user priority
3737 /* QoS Map Set element length defined in IEEE Std 802.11-2012, 8.4.2.97 */
3744 * struct cfg80211_qos_map - QoS Map Information
3760 * struct cfg80211_nan_conf - NAN configuration
3764 * @master_pref: master preference (1 - 255)
3775 * enum cfg80211_nan_conf_changes - indicates changed fields in NAN
3787 * struct cfg80211_nan_func_filter - a NAN function Rx / Tx filter
3798 * struct cfg80211_nan_func - a NAN function
3854 * struct cfg80211_pmk_conf - PMK configuration
3859 * @pmk_r0_name: PMK-R0 Name. NULL if not applicable (i.e., the PMK
3860 * is not PMK-R0). When pmk_r0_name is not NULL, the pmk field
3861 * holds PMK-R0.
3871 * struct cfg80211_external_auth_params - Trigger External authentication.
3912 * struct cfg80211_ftm_responder_stats - FTM responder statistics
3914 * @filled: bitflag of flags using the bits of &enum nl80211_ftm_stats to
3922 * @non_asap_num: number of non-ASAP FTM sessions
3923 * @total_duration_ms: total sessions durations - gives an indication
3925 * @unknown_triggers_num: number of unknown FTM triggers - triggers from
3928 * @reschedule_requests_num: number of FTM reschedule requests - initiator asks
3933 u32 filled; member
3946 * struct cfg80211_pmsr_ftm_result - FTM result
3951 * in [0 .. num_bursts-1] of the burst that's being reported
4026 * struct cfg80211_pmsr_result - peer measurement result
4057 * struct cfg80211_pmsr_ftm_request_peer - FTM request data
4100 * struct cfg80211_pmsr_request_peer - peer data for a peer measurement request
4114 * struct cfg80211_pmsr_request - peer measurement request
4116 * @nl_portid: netlink portid - used by cfg80211
4127 * @peers: per-peer measurement request data
4146 * struct cfg80211_update_owe_info - OWE Information
4164 * by peer. This will be filled by driver for both MLO and non-MLO station
4165 * connections when the AP affiliated with an MLD. For non-MLD AP mode, it
4166 * will be -1. Used only with OWE update event (driver to user space).
4167 * @peer_mld_addr: For MLO connection, MLD address of the peer. For non-MLO
4169 * @assoc_link_id is not -1, i.e., the AP affiliated with an MLD. Used only
4182 * struct mgmt_frame_regs - management frame registrations data
4197 * struct cfg80211_ops - backend description for wireless configuration
4211 * be %NULL or contain the enabled Wake-on-Wireless triggers that are
4233 * the wdev->link[] data structure has been updated, so the new link
4238 * when adding a group key. @link_id will be -1 for non-MLO connection.
4239 * For MLO connection, @link_id will be >= 0 for group key and -1 for
4246 * not possible to retrieve the key, -ENOENT if it doesn't exist.
4247 * @link_id will be -1 for non-MLO connection. For MLO connection,
4248 * @link_id will be >= 0 for group key and -1 for pairwise key, @mac_addr
4252 * and @key_index, return -ENOENT if the key doesn't exist. @link_id will
4253 * be -1 for non-MLO connection. For MLO connection, @link_id will be >= 0
4254 * for group key and -1 for pairwise key, @mac_addr will be peer's MLD
4258 * for MLO connection and -1 for non-MLO connection.
4261 * @link_id will be >= 0 for MLO connection and -1 for non-MLO connection.
4264 * @link_id will be >= 0 for MLO connection and -1 for non-MLO connection.
4277 * might come to the driver in invalid combinations -- make sure to check
4281 * @dump_station: dump station callback -- resume dump at index @idx
4287 * @dump_mpath: dump mesh path callback -- resume dump at index @idx
4289 * @dump_mpp: dump mesh proxy path callback -- resume dump at index @idx
4352 * In both the driver-initiated and new connect() call initiated roaming
4386 * always be %NULL unless the driver supports per-vif TX power
4397 * channel for the specified duration to complete an off-channel
4401 * @cancel_remain_on_channel: Cancel an on-going remain-on-channel operation.
4409 * @testmode_dump: Implement a test mode dump. The cb->args[2] and up may be
4411 * return error codes other than -ENOBUFS and -ENOENT will terminate the
4423 * @set_power_mgmt: Configure WLAN power management. A timeout value of -1
4450 * reject TX/RX mask combinations they cannot support by returning -EINVAL
4456 * @tdls_oper: Perform a high-level TDLS operation (e.g. TDLS link setup).
4493 * @channel_switch: initiate channel-switch procedure (with CSA). Driver is
4522 * @tdls_channel_switch: Start channel-switching with a TDLS peer. The driver
4523 * is responsible for continually initiating channel-switching operations
4525 * @tdls_cancel_channel_switch: Stop channel-switching with a TDLS peer. Both
4546 * @set_pmk: configure the PMK to be used for offloaded 802.1X 4-Way handshake.
4600 * @assoc_ml_reconf: Request a non-AP MLO connection to perform ML
4985 * enum wiphy_flags - wiphy capability flags
4992 * by default -- this flag will be set depending on the kernel's default
5019 * responds to probe-requests in hardware.
5020 * @WIPHY_FLAG_OFFCHAN_TX: Device supports direct off-channel TX.
5021 * @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL: Device supports remain-on-channel call.
5030 * @WIPHY_FLAG_SUPPORTS_EXT_KCK_32: The device supports 32-byte KCK keys.
5035 * @WIPHY_FLAG_SUPPORTS_NSTR_NONPRIMARY: support connection to non-primary link
5069 * struct ieee80211_iface_limit - limit on certain interface types
5079 * struct ieee80211_iface_combination - possible interface combination
5090 * .. code-block:: c
5104 * 2. Allow #{AP, P2P-GO} <= 8, channels = 1, 8 total:
5106 * .. code-block:: c
5120 * 3. Allow #STA <= 1, #{P2P-client,P2P-GO} <= 3 on two channels, 4 total.
5124 * .. code-block:: c
5202 * enum wiphy_wowlan_support_flags - WoWLAN support flags
5204 * trigger that keeps the device operating as-is and
5214 * @WIPHY_WOWLAN_4WAY_HANDSHAKE: supports wakeup on 4-way handshake failure
5215 * @WIPHY_WOWLAN_RFKILL_RELEASE: supports wakeup on RF-kill release
5239 * struct wiphy_wowlan_support - WoWLAN support data
5246 * @max_nd_match_sets: maximum number of matchsets for net-detect,
5264 * struct wiphy_coalesce_support - coalesce support data
5283 * enum wiphy_vendor_command_flags - validation flags for vendor commands
5296 * enum wiphy_opmode_flag - Station's ht/vht operation mode information flags
5310 * struct sta_opmode_info - Station's ht/vht operation mode information
5324 #define VENDOR_CMD_RAW_DATA ((const struct nla_policy *)(long)(-ENODATA))
5327 * struct wiphy_vendor_command - vendor command definition
5331 * flags didn't ask for a wdev and non-%NULL otherwise; the data
5334 * @storage points to cb->args[5], ie. is preserved over the multiple
5357 * struct wiphy_iftype_ext_capab - extended capabilities per interface type
5363 * 802.11-2012 8.4.2.29 for the defined fields.
5379 * cfg80211_get_iftype_ext_capa - lookup interface type extended capability
5389 * struct cfg80211_pmsr_capabilities - cfg80211 peer measurement capabilities
5395 * @ftm.asap: ASAP-mode is supported
5396 * @ftm.non_asap: non-ASAP-mode is supported
5402 * (set to -1 if not limited; note that setting this will necessarily
5430 * struct wiphy_iftype_akm_suites - This structure encapsulates supported akm
5445 * struct wiphy_radio_freq_range - wiphy frequency range
5456 * struct wiphy_radio - physical radio of a wiphy
5458 * It is used to describe concurrent-channel capabilities. Only one channel
5483 * struct wiphy - wireless hardware description
5508 * -1 = fragmentation disabled, only odd values >= 256 used
5509 * @rts_threshold: RTS threshold (dot11RTSThreshold); -1 = RTS/CTS disabled
5514 * four bits are variable then set it to 00-00-00-00-00-0f. The actual
5521 * all-zeroes. In this case it is assumed that the device can handle
5523 * @registered: protects ->resume and ->suspend sysfs callbacks against
5556 * @max_scan_ie_len: maximum length of user-controlled IEs device can
5592 * @max_remain_on_channel_duration: Maximum time a remain-on-channel operation
5601 * @ht_capa_mod_mask: Specify what ht_cap values can be over-ridden.
5602 * If null, then none can be over-ridden.
5603 * @vht_capa_mod_mask: Specify what VHT capabilities can be over-ridden.
5604 * If null, then none can be over-ridden.
5616 * 802.11-2012 8.4.2.29 for the defined fields. These are the default
5663 * @tid_config_support: describes the per-TID config support that the
5679 * in a multiple BSSID set. This field must be set to a non-zero value
5682 * the driver. Setting this field to a non-zero value indicates that the
5683 * driver supports enhanced multi-BSSID advertisements (EMA AP).
5694 * non-zero value indicates that the driver supports HW timestamping.
5788 /* fields below are read-only, assigned by cfg80211 */
5859 return read_pnet(&wiphy->_net); in wiphy_net()
5864 write_pnet(&wiphy->_net, net); in wiphy_net_set()
5868 * wiphy_priv - return priv from wiphy
5876 return &wiphy->priv; in wiphy_priv()
5880 * priv_to_wiphy - return the wiphy containing the priv
5892 * set_wiphy_dev - set device pointer for wiphy
5899 wiphy->dev.parent = dev; in set_wiphy_dev()
5903 * wiphy_dev - get wiphy dev pointer
5910 return wiphy->dev.parent; in wiphy_dev()
5914 * wiphy_name - get wiphy name
5921 return dev_name(&wiphy->dev); in wiphy_name()
5925 * wiphy_new_nm - create a new wiphy for use with cfg80211
5942 * wiphy_new - create a new wiphy for use with cfg80211
5960 * wiphy_register - register a wiphy with cfg80211
5964 * Return: A non-negative wiphy index or a negative error code.
5969 #define lockdep_assert_wiphy(wiphy) lockdep_assert_held(&(wiphy)->mtx)
5972 * rcu_dereference_wiphy - rcu_dereference with debug checking
5980 rcu_dereference_check(p, lockdep_is_held(&wiphy->mtx))
5983 * wiphy_dereference - fetch RCU pointer when updates are prevented by wiphy mtx
5987 * Return: the value of the specified RCU-protected pointer, but omit the
5991 rcu_dereference_protected(p, lockdep_is_held(&wiphy->mtx))
5994 * get_wiphy_regdom - get custom regdomain for the given wiphy
6004 * wiphy_unregister - deregister a wiphy from cfg80211
6015 * wiphy_free - free wiphy
6028 * wiphy_lock - lock the wiphy
6044 __acquires(&wiphy->mtx) in wiphy_lock()
6046 mutex_lock(&wiphy->mtx); in wiphy_lock()
6047 __acquire(&wiphy->mtx); in wiphy_lock()
6051 * wiphy_unlock - unlock the wiphy again
6055 __releases(&wiphy->mtx) in wiphy_unlock()
6057 __release(&wiphy->mtx); in wiphy_unlock()
6058 mutex_unlock(&wiphy->mtx); in wiphy_unlock()
6062 mutex_lock(&_T->mtx),
6063 mutex_unlock(&_T->mtx))
6076 INIT_LIST_HEAD(&work->entry); in wiphy_work_init()
6077 work->func = func; in wiphy_work_init()
6081 * wiphy_work_queue - queue work for the wiphy
6095 * wiphy_work_cancel - cancel previously queued work
6105 * wiphy_work_flush - flush previously queued work
6125 timer_setup(&dwork->timer, wiphy_delayed_work_timer, 0); in wiphy_delayed_work_init()
6126 wiphy_work_init(&dwork->work, func); in wiphy_delayed_work_init()
6130 * wiphy_delayed_work_queue - queue delayed work for the wiphy
6147 * wiphy_delayed_work_cancel - cancel previously queued delayed work
6158 * wiphy_delayed_work_flush - flush previously queued delayed work
6169 * wiphy_delayed_work_pending - Find out whether a wiphy delayable
6192 * mod_timer(wk->timer)
6193 * wiphy_delayed_work_pending(wk) -> true
6196 * expire_timers(wk->timer)
6197 * detach_timer(wk->timer)
6198 * wiphy_delayed_work_pending(wk) -> false
6199 * wk->timer->function() |
6202 * queue_work(cfg80211_wiphy_work) | wk->func() has not
6206 * wk->func() V
6213 * enum ieee80211_ap_reg_power - regulatory power for an Access Point
6228 * struct wireless_dev - wireless device state
6236 * unregistering netdevs if they pre-create any netdevs (in ops
6239 * For non-netdev uses, it must also be allocated by the driver
6269 * netdev and may otherwise be used by driver read-only, will be update
6275 * @is_running: true if this is a non-netdev device that has been started, e.g.
6285 * @disconnect_wk: (private) auto-disconnect work
6286 * @disconnect_bssid: (private) the BSSID to use for auto-disconnect
6325 /* currently used for IBSS and SME - might be rearranged later */
6425 if (wdev->netdev) in wdev_address()
6426 return wdev->netdev->dev_addr; in wdev_address()
6427 return wdev->address; in wdev_address()
6432 if (wdev->netdev) in wdev_running()
6433 return netif_running(wdev->netdev); in wdev_running()
6434 return wdev->is_running; in wdev_running()
6438 * wdev_priv - return wiphy priv from wireless_dev
6446 return wiphy_priv(wdev->wiphy); in wdev_priv()
6450 * wdev_chandef - return chandef pointer from wireless_dev
6462 WARN_ON(link_id && !wdev->valid_links); in WARN_INVALID_LINK_ID()
6463 WARN_ON(wdev->valid_links && in WARN_INVALID_LINK_ID()
6464 !(wdev->valid_links & BIT(link_id))); in WARN_INVALID_LINK_ID()
6469 link_id < ((link_info)->valid_links ? \
6470 ARRAY_SIZE((link_info)->links) : 1); \
6472 if (!(link_info)->valid_links || \
6473 ((link_info)->valid_links & BIT(link_id)))
6482 * ieee80211_channel_equal - compare two struct ieee80211_channel
6492 return (a->center_freq == b->center_freq && in ieee80211_channel_equal()
6493 a->freq_offset == b->freq_offset); in ieee80211_channel_equal()
6497 * ieee80211_channel_to_khz - convert ieee80211_channel to frequency in KHz
6504 return MHZ_TO_KHZ(chan->center_freq) + chan->freq_offset; in ieee80211_channel_to_khz()
6508 * ieee80211_s1g_channel_width - get allowed channel width from @chan
6518 * ieee80211_channel_to_freq_khz - convert channel number to frequency
6526 * ieee80211_channel_to_frequency - convert channel number to frequency
6538 * ieee80211_freq_khz_to_channel - convert frequency to channel number
6545 * ieee80211_frequency_to_channel - convert frequency to channel number
6556 * ieee80211_get_channel_khz - get channel struct from wiphy for specified
6566 * ieee80211_get_channel - get channel struct from wiphy for specified frequency
6579 * cfg80211_channel_is_psc - Check if the channel is a 6 GHz PSC
6589 if (chan->band != NL80211_BAND_6GHZ) in cfg80211_channel_is_psc()
6592 return ieee80211_frequency_to_channel(chan->center_freq) % 16 == 5; in cfg80211_channel_is_psc()
6596 * cfg80211_radio_chandef_valid - Check if the radio supports the chandef
6607 * cfg80211_wdev_channel_allowed - Check if the wdev may use the channel
6618 * ieee80211_get_response_rate - get basic rate for a given rate
6634 * ieee80211_mandatory_rates - get mandatory rates for a given band
6643 * Radiotap parsing functions -- for controlled injection support
6646 * Documentation in Documentation/networking/radiotap-headers.rst
6666 * struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args
6728 * ieee80211_get_hdrlen_from_skb - get header length from data
6742 * ieee80211_hdrlen - get header length in bytes from frame control
6743 * @fc: frame control field in little-endian format
6749 * ieee80211_get_mesh_hdrlen - get mesh extension header length
6766 * ieee80211_data_to_8023_exthdr - convert an 802.11 data frame to 802.3
6773 * @is_amsdu: true if the 802.11 header is A-MSDU
6774 * Return: 0 on success. Non-zero on error.
6781 * ieee80211_data_to_8023 - convert an 802.11 data frame to 802.3
6785 * Return: 0 on success. Non-zero on error.
6794 * ieee80211_is_valid_amsdu - check if subframe lengths of an A-MSDU are valid
6796 * This is used to detect non-standard A-MSDU frames, e.g. the ones generated
6800 * @skb: The input A-MSDU frame without any headers.
6802 * 0: non-mesh A-MSDU length field
6803 * 1: big-endian mesh A-MSDU length field
6804 * 2: little-endian mesh A-MSDU length field
6810 * ieee80211_amsdu_to_8023s - decode an IEEE 802.11n A-MSDU frame
6812 * Decode an IEEE 802.11 A-MSDU and convert it to a list of 802.3 frames.
6814 * header-less before being passed in here; it is freed in this function.
6816 * @skb: The input A-MSDU frame without any headers.
6833 * ieee80211_get_8023_tunnel_proto - get RFC1042 or bridge tunnel encap protocol
6845 * ieee80211_strip_8023_mesh_hdr - strip mesh header from converted 802.3 frames
6853 * Return: 0 on success. Non-zero on error.
6858 * cfg80211_classify8021d - determine the 802.1p/1d tag for a data frame
6867 * cfg80211_find_elem_match - match information element and byte array in data
6894 * cfg80211_find_ie_match - match information element and byte array in data
6932 match_offset - 2 : 0); in cfg80211_find_ie_match()
6936 * cfg80211_find_elem - find information element in data
6957 * cfg80211_find_ie - find information element in data
6977 * cfg80211_find_ext_elem - find information element with EID Extension in data
6999 * cfg80211_find_ext_ie - find information element with EID Extension in data
7020 * cfg80211_find_vendor_elem - find vendor specific information element in data
7023 * @oui_type: vendor-specific OUI type (must be < 0xff), negative means any
7039 * cfg80211_find_vendor_ie - find vendor specific information element in data
7042 * @oui_type: vendor-specific OUI type (must be < 0xff), negative means any
7062 * enum cfg80211_rnr_iter_ret - reduced neighbor report iteration state
7074 * cfg80211_iter_rnr - iterate reduced neighbor report entries
7094 * cfg80211_defragment_element - Defrag the given element data into a buffer
7103 * Return: length of @data, or -EINVAL on error
7109 * element in-place.
7116 * cfg80211_send_layer2_update - send layer 2 update frame
7133 * regulatory_hint - driver hint to the wireless core a regulatory domain
7138 * set this to NULL you should still set rd->alpha2 to some accepted
7153 * an -ENOMEM.
7155 * Return: 0 on success. -ENOMEM.
7160 * regulatory_set_wiphy_regd - set regdom info for self managed drivers
7164 * Set the regulatory domain information for self-managed wiphys, only they
7168 * Return: 0 on success. -EINVAL, -EPERM
7174 * regulatory_set_wiphy_regd_sync - set regdom for self-managed drivers
7182 * Return: 0 on success. -EINVAL, -EPERM
7188 * wiphy_apply_custom_regulatory - apply a custom driver regulatory domain
7206 * freq_reg_info - get regulatory information for the given frequency
7218 * value will be -ERANGE if we determine the given center_freq does not even
7220 * See freq_in_rule_band() for our current definition of a band -- this is
7227 * reg_initiator_name - map regulatory request initiator enum to name
7238 * regulatory_pre_cac_allowed - check if pre-CAC allowed in the current regdom
7239 * @wiphy: wiphy for which pre-CAC capability is checked.
7241 * Pre-CAC is allowed only in some regdomains (notable ETSI).
7253 * reg_query_regdb_wmm - Query internal regulatory db for wmm rule
7254 * Regulatory self-managed driver can use it to proactively
7260 * Self-managed wireless drivers can use this function to query
7265 * an -ENODATA.
7267 * Return: 0 on success. -ENODATA.
7278 * cfg80211_scan_done - notify that scan finished
7287 * cfg80211_sched_scan_results - notify that new scan results are available
7295 * cfg80211_sched_scan_stopped - notify that the scheduled scan has stopped
7307 * cfg80211_sched_scan_stopped_locked - notify that the scheduled scan has stopped
7320 * cfg80211_inform_bss_frame_data - inform cfg80211 of a received BSS frame
7354 * cfg80211_gen_new_bssid - generate a nontransmitted BSSID for multi-BSSID
7364 u64 mask = GENMASK_ULL(max_bssid - 1, 0); in cfg80211_gen_new_bssid()
7375 * cfg80211_is_element_inherited - returns if element ID should be inherited
7385 * cfg80211_merge_profile - merges a MBSSID profile if it is split between IEs
7401 * enum cfg80211_bss_frame_type - frame type that the BSS data came from
7416 * cfg80211_get_ies_channel_number - returns the channel number from ies
7421 * Return: the channel number, or -1 if none could be determined.
7427 * cfg80211_ssid_eq - compare two SSIDs
7438 if (a->ssid_len != b->ssid_len) in cfg80211_ssid_eq()
7440 return memcmp(a->ssid, b->ssid, a->ssid_len) ? false : true; in cfg80211_ssid_eq()
7444 * cfg80211_inform_bss_data - inform cfg80211 of a new BSS
7490 * __cfg80211_get_bss - get a BSS reference
7500 * Return: Reference-counted BSS on success. %NULL on error.
7511 * cfg80211_get_bss - get a BSS reference
7522 * Return: Reference-counted BSS on success. %NULL on error.
7546 * cfg80211_ref_bss - reference BSS struct
7555 * cfg80211_put_bss - unref BSS struct
7564 * cfg80211_unlink_bss - unlink BSS from internal data structures
7576 * cfg80211_bss_iter - iterate all BSS entries
7596 * cfg80211_rx_mlme_mgmt - notification of processed MLME management frame
7617 * cfg80211_auth_timeout - notification of timed out authentication
7627 * struct cfg80211_rx_assoc_resp_data - association response data
7635 * @links: per-link information indexed by link ID, use links[0] for
7636 * non-MLO connections
7657 * cfg80211_rx_assoc_resp - notification of processed association response
7670 * struct cfg80211_assoc_failure - association failure data
7672 * @bss: list of BSSes, must use entry 0 for non-MLO connections
7685 * cfg80211_assoc_failure - notification of association failure
7695 * cfg80211_tx_mlme_mgmt - notification of transmitted deauth/disassoc frame
7710 * cfg80211_rx_unprot_mlme_mgmt - notification of unprotected mlme mgmt frame
7727 * cfg80211_michael_mic_failure - notification of Michael MIC failure (TKIP)
7731 * @key_id: Key identifier (0..3). Can be -1 if missing.
7736 * received frame. This matches with MLME-MICHAELMICFAILURE.indication()
7744 * cfg80211_ibss_joined - notify cfg80211 that device joined an IBSS
7755 * with the locally generated beacon -- this guarantees that there is
7762 * cfg80211_notify_new_peer_candidate - notify cfg80211 of a new mesh peer
7795 * wiphy_rfkill_set_hw_state_reason - notify cfg80211 about hw block state
7810 * wiphy_rfkill_start_polling - start polling rfkill
7816 * wiphy_rfkill_stop_polling - stop polling rfkill
7821 rfkill_pause_polling(wiphy->rfkill); in wiphy_rfkill_stop_polling()
7830 * (typically closed-source) userspace and firmware, using nl80211 as
7840 * "normal" functionality that higher-level userspace like connection
7860 * cfg80211_vendor_cmd_alloc_reply_skb - allocate vendor command reply
7865 * This function allocates and pre-fills an skb for a reply to
7869 * The returned skb is pre-filled with some identifying data in
7880 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7890 * cfg80211_vendor_cmd_reply - send the reply skb
7904 * cfg80211_vendor_cmd_get_sender - get the current sender netlink ID
7914 * cfg80211_vendor_event_alloc - allocate vendor-specific event skb
7922 * This function allocates and pre-fills an skb for an event on the
7923 * vendor-specific multicast group.
7932 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7944 * cfg80211_vendor_event_alloc_ucast - alloc unicast vendor-specific event skb
7953 * This function allocates and pre-fills an skb for an event to send to
7965 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7979 * cfg80211_vendor_event - send the event
7996 * interact with driver-specific tools to aid, for instance,
8004 * cfg80211_testmode_alloc_reply_skb - allocate testmode reply
8009 * This function allocates and pre-fills an skb for a reply to
8013 * The returned skb is pre-filled with the wiphy index and set up in
8024 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
8034 * cfg80211_testmode_reply - send the reply skb
8051 * cfg80211_testmode_alloc_event_skb - allocate testmode event
8057 * This function allocates and pre-fills an skb for an event on the
8069 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
8075 NL80211_ATTR_TESTDATA, 0, -1, in cfg80211_testmode_alloc_event_skb()
8080 * cfg80211_testmode_event - send the event
8102 * struct cfg80211_fils_resp_params - FILS connection response params
8126 * struct cfg80211_connect_resp_params - Connection response params
8131 * from the AP) instead of an explicit rejection by the AP, -1 is used to
8150 * using @valid_links. For non-MLO connection, links[0] contains the
8154 * @links.bssid: For MLO connection, MAC address of the AP link. For non-MLO
8157 * For non-MLO connection, links[0].bss points to entry of bss to which STA
8164 * @links.status: per-link status code, to report a status code that's not
8188 * cfg80211_connect_done - notify cfg80211 of connection result
8206 * cfg80211_connect_bss - notify cfg80211 of connection result
8224 * from the AP) instead of an explicit rejection by the AP, -1 is used to
8266 * cfg80211_connect_result - notify cfg80211 of connection result
8297 * cfg80211_connect_timeout - notify cfg80211 of connection timeout
8319 cfg80211_connect_bss(dev, bssid, NULL, req_ie, req_ie_len, NULL, 0, -1, in cfg80211_connect_timeout()
8324 * struct cfg80211_roam_info - driver initiated roaming information
8335 * @valid_links. For non-MLO roaming, links[0] contains the new AP info.
8337 * @links.bssid: For MLO roaming, MAC address of the new AP link. For non-MLO
8342 * roamed. For non-MLO roaming, links[0].bss points to entry of bss to
8363 * cfg80211_roamed - notify cfg80211 of roaming
8376 * rdev->event_work. In case of any failures, the reference is released
8384 * cfg80211_port_authorized - notify cfg80211 of successful security association
8407 * cfg80211_disconnected - notify cfg80211 that connection was dropped
8424 * cfg80211_ready_on_channel - notification of remain_on_channel start
8437 * cfg80211_remain_on_channel_expired - remain_on_channel duration expired
8448 * cfg80211_tx_mgmt_expired - tx_mgmt duration expired
8458 * cfg80211_sinfo_alloc_tid_stats - allocate per-tid statistics.
8463 * Return: 0 on success. Non-zero on error.
8468 * cfg80211_sinfo_release_content - release contents of station info
8471 * Releases any potentially allocated sub-information of the station
8477 kfree(sinfo->pertid); in cfg80211_sinfo_release_content()
8481 * cfg80211_new_sta - notify userspace about station
8492 * cfg80211_del_sta_sinfo - notify userspace about deletion of a station
8502 * cfg80211_del_sta - notify userspace about deletion of a station
8515 * cfg80211_conn_failed - connection request failed notification
8534 * struct cfg80211_rx_info - received management frame info
8560 * cfg80211_rx_mgmt_ext - management frame notification with extended info
8576 * cfg80211_rx_mgmt_khz - notification of received, unprocessed management frame
8608 * cfg80211_rx_mgmt - notification of received, unprocessed management frame
8640 * struct cfg80211_tx_status - TX status for management frame information
8659 * cfg80211_mgmt_tx_status_ext - TX status notification with extended info
8672 * cfg80211_mgmt_tx_status - notification of TX status for management frame
8699 * cfg80211_control_port_tx_status - notification of TX status for control
8717 * cfg80211_rx_control_port - notification about a received control port frame
8720 * is 802.3 formatted (with 802.3 header). The skb can be non-linear.
8723 * skb->protocol is set appropriately.
8725 * @link_id: the link the frame was received on, -1 if not applicable or unknown
8740 * cfg80211_cqm_rssi_notify - connection quality monitoring rssi event
8754 * cfg80211_cqm_pktloss_notify - notify userspace about packetloss to peer
8757 * @num_packets: how many packets were lost -- should be a fixed threshold
8766 * cfg80211_cqm_txe_notify - TX error rate event
8781 * cfg80211_cqm_beacon_loss_notify - beacon loss event
8790 * __cfg80211_radar_event - radar detection event
8819 * cfg80211_sta_opmode_change_notify - STA's ht/vht operation mode change event
8833 * cfg80211_cac_event - Channel availability check (CAC) event
8842 * also by full-MAC drivers.
8850 * cfg80211_background_cac_abort - Channel Availability Check offchan abort event
8859 * cfg80211_gtk_rekey_notify - notify userspace about driver rekeying
8869 * cfg80211_pmksa_candidate_notify - notify about PMKSA caching candidate
8873 * @preauth: Whether AP advertises support for RSN pre-authentication
8880 * cfg80211_rx_spurious_frame - inform userspace about a spurious frame
8895 * cfg80211_rx_unexpected_4addr_frame - inform about unexpected WDS frame
8911 * cfg80211_probe_status - notify userspace about probe status
8914 * @cookie: the cookie filled in @probe_client previously
8925 * cfg80211_report_obss_beacon_khz - report beacon from other APs
8940 * cfg80211_report_obss_beacon - report beacon from other APs
8960 * struct cfg80211_beaconing_check_config - beacon check configuration
8962 * @relax: allow IR-relaxation conditions to apply (e.g. another
8975 * cfg80211_reg_check_beaconing - check if beaconing is allowed
8988 * cfg80211_reg_can_beacon - check if beaconing is allowed
9009 * cfg80211_reg_can_beacon_relax - check if beaconing is allowed with relaxation
9016 * also checks if IR-relaxation conditions apply, to allow beaconing under
9035 * cfg80211_ch_switch_notify - update wdev channel and notify userspace
9038 * @link_id: the link ID for MLO, must be 0 for non-MLO
9048 * cfg80211_ch_switch_started_notify - notify channel switch start
9051 * @link_id: the link ID for MLO, must be 0 for non-MLO
9065 * ieee80211_operating_class_to_band - convert operating class to band
9076 * ieee80211_operating_class_to_chandef - convert operating class to chandef
9089 * ieee80211_chandef_to_operating_class - convert chandef to operation class
9100 * ieee80211_chandef_to_khz - convert chandef to frequency in KHz
9109 return MHZ_TO_KHZ(chandef->center_freq1) + chandef->freq1_offset; in ieee80211_chandef_to_khz()
9113 * cfg80211_tdls_oper_request - request userspace to perform TDLS operation
9132 * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units)
9140 * cfg80211_unregister_wdev - remove the given wdev
9154 * cfg80211_register_netdevice - register the given netdev
9164 * Return: 0 on success. Non-zero on error.
9169 * cfg80211_unregister_netdevice - unregister the given netdev
9182 cfg80211_unregister_wdev(dev->ieee80211_ptr); in cfg80211_unregister_netdevice()
9187 * struct cfg80211_ft_event_params - FT Information Elements
9203 * cfg80211_ft_event - notify userspace about FT IE and RIC IE
9211 * cfg80211_get_p2p_attr - find and copy a P2P attribute from IE buffer
9222 * Return: A negative error code (-%EILSEQ or -%ENOENT) if the data is
9231 * ieee80211_ie_split_ric - split an IE buffer according to ordering (with RIC)
9236 * EID in the list is a sub-element of the EXTENSION IE.
9246 * It assumes that the given IE buffer is well-formed, this
9263 * ieee80211_ie_split - split an IE buffer according to ordering
9268 * EID in the list is a sub-element of the EXTENSION IE.
9276 * It assumes that the given IE buffer is well-formed, this
9294 * ieee80211_fragment_element - fragment the last element in skb
9306 * cfg80211_report_wowlan_wakeup - report wakeup from WoWLAN
9321 * cfg80211_crit_proto_stopped() - indicate critical protocol stopped by driver.
9333 * ieee80211_get_num_supported_channels - get number of channels device has
9341 * cfg80211_check_combinations - check interface combinations
9350 * Return: 0 if combinations are allowed. Non-zero on error.
9356 * cfg80211_iter_combinations - iterate over matching combinations
9367 * Return: 0 on success. Non-zero on error.
9376 * cfg80211_stop_iface - trigger interface disconnection
9391 * cfg80211_shutdown_all_interfaces - shut down all interfaces for a wiphy
9395 * calling dev_close() (and treating non-netdev interfaces as needed).
9405 * wiphy_ext_feature_set - set the extended feature flag
9418 ft_byte = &wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_set()
9423 * wiphy_ext_feature_isset - check the extended feature flag
9439 ft_byte = wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_isset()
9444 * cfg80211_free_nan_func - free NAN function
9452 * struct cfg80211_nan_match_params - NAN match parameters
9476 * cfg80211_nan_match - report a match for a NAN function.
9489 * cfg80211_nan_func_terminated - notify about NAN function termination.
9508 * cfg80211_external_auth_request - userspace request for authentication
9519 * cfg80211_pmsr_report - report peer measurement result data
9531 * cfg80211_pmsr_complete - report peer measurement completed
9544 * cfg80211_iftype_allowed - check whether the interface can be allowed
9561 * cfg80211_assoc_comeback - notification of association that was
9577 dev_printk(level, &(wiphy)->dev, format, ##args)
9579 dev_emerg(&(wiphy)->dev, format, ##args)
9581 dev_alert(&(wiphy)->dev, format, ##args)
9583 dev_crit(&(wiphy)->dev, format, ##args)
9585 dev_err(&(wiphy)->dev, format, ##args)
9587 dev_warn(&(wiphy)->dev, format, ##args)
9589 dev_notice(&(wiphy)->dev, format, ##args)
9591 dev_info(&(wiphy)->dev, format, ##args)
9593 dev_info_once(&(wiphy)->dev, format, ##args)
9596 dev_err_ratelimited(&(wiphy)->dev, format, ##args)
9598 dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
9604 dev_dbg(&(wiphy)->dev, format, ##args)
9626 * cfg80211_update_owe_info_event - Notify the peer's OWE info to user space
9636 * cfg80211_bss_flush - resets all the scan entries
9642 * cfg80211_bss_color_notify - notify about bss color event
9647 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9649 * Return: 0 on success. Non-zero on error.
9656 * cfg80211_obss_color_collision_notify - notify about bss color collision
9659 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9661 * Return: 0 on success. Non-zero on error.
9672 * cfg80211_color_change_started_notify - notify color change start
9675 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9679 * Return: 0 on success. Non-zero on error.
9689 * cfg80211_color_change_aborted_notify - notify color change abort
9691 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9695 * Return: 0 on success. Non-zero on error.
9705 * cfg80211_color_change_notify - notify color change completion
9707 * @link_id: valid link_id in case of MLO or 0 for non-MLO.
9711 * Return: 0 on success. Non-zero on error.
9722 * cfg80211_links_removed - Notify about removed STA MLD setup links.
9727 * AP MLD removing the corresponding affiliated APs with Multi-Link
9735 * struct cfg80211_mlo_reconf_done_data - MLO reconfiguration data
9739 * @links: per-link information indexed by link ID
9757 * cfg80211_mlo_reconf_add_done - Notify about MLO reconfiguration result
9768 * cfg80211_schedule_channels_check - schedule regulatory check if needed
9778 * cfg80211_epcs_changed - Notify about a change in EPCS state
9786 * wiphy_locked_debugfs_read - do a locked read in debugfs
9811 * wiphy_locked_debugfs_write - do a locked write in debugfs