Lines Matching +full:one +full:- +full:channel
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */
31 * enum qlink_msg_type - QLINK message types
49 * struct qlink_msg_header - common QLINK protocol message header
53 * @type: Message type, one of &enum qlink_msg_type.
65 * enum qlink_hw_capab - device capabilities.
68 * @QLINK_HW_CAPAB_STA_INACT_TIMEOUT: device implements a logic to kick-out
91 * enum qlink_driver_capab - host driver capabilities.
108 * struct qlink_intf_info - information on virtual interface.
112 * @if_type: Mode of interface operation, one of &enum qlink_iface_type
147 * struct qlink_channel - qlink control channel definition
149 * @hw_value: hardware-specific value for the channel
151 * @flags: channel flags from &enum qlink_channel_flags
152 * @band: band this channel belongs to
156 * @dfs_state: current state of this channel.
157 * Only relevant if radar is required on this channel.
159 * has been found on this channel. Use regulatory_hint_found_beacon()
177 * struct qlink_chandef - qlink channel definition
179 * @chan: primary channel definition
182 * @width: channel width, one of @enum qlink_channel_width
211 * struct qlink_sta_info_state - station flags mask/value
222 * enum qlink_sr_ctrl_flags - control flags for spatial reuse parameter set
224 * @QLINK_SR_PSR_DISALLOWED: indicates whether or not PSR-based spatial reuse
227 * Non-SRG OBSS PD spatial reuse transmissions are allowed for STAs associated
229 * @NON_SRG_OFFSET_PRESENT: indicates whether or not Non-SRG OBSS PD Max offset
242 * struct qlink_sr_params - spatial reuse parameters
246 * @non_srg_obss_pd_max: added to -82 dBm to generate the value of the
247 * Non-SRG OBSS PD Max parameter
248 * @srg_obss_pd_min_offset: added to -82 dBm to generate the value of the
250 * @srg_obss_pd_max_offset: added to -82 dBm to generate the value of the
264 * enum qlink_cmd_type - list of supported commands
269 * execution status (one of &enum qlink_cmd_result). Reply message
276 * info on each channel, HT/VHT capabilities, supported rates etc.
282 * @QLINK_CMD_START_CAC: start radar detection procedure on a specified channel.
283 * @QLINK_CMD_TXPWR: get or set current channel transmit power for
329 * struct qlink_cmd - QLINK command message header
334 * @cmd_id: command id, one of &enum qlink_cmd_type.
352 * struct qlink_cmd_init_fw - data for QLINK_CMD_FW_INIT
369 * struct qlink_cmd_manage_intf - interface management command
399 * struct qlink_cmd_mgmt_frame_register - data for QLINK_CMD_REGISTER_MGMT
401 * @frame_type: MGMT frame type the registration request describes, one of
403 * @do_register: 0 - unregister, otherwise register for reception of specified
425 * struct qlink_cmd_frame_tx - data for QLINK_CMD_SEND_FRAME command
429 * @flags: Transmission flags, one of &enum qlink_frame_tx_flags.
441 * struct qlink_cmd_get_sta_info - data for QLINK_CMD_GET_STA_INFO command
452 * struct qlink_cmd_add_key - data for QLINK_CMD_ADD_KEY command.
473 * struct qlink_cmd_del_key_req - data for QLINK_CMD_DEL_KEY command
487 * struct qlink_cmd_set_def_key - data for QLINK_CMD_SET_DEFAULT_KEY command
489 * @key_index: index of the key to be set as default one.
502 * struct qlink_cmd_set_def_mgmt_key - data for QLINK_CMD_SET_DEFAULT_MGMT_KEY
513 * struct qlink_cmd_change_sta - data for QLINK_CMD_CHANGE_STA command
516 * @if_type: Mode of interface operation, one of &enum qlink_iface_type
530 * struct qlink_cmd_del_sta - data for QLINK_CMD_DEL_STA command.
549 * struct qlink_cmd_connect - data for QLINK_CMD_CONNECT command
557 * @flags: one of &enum qlink_sta_connect_flags.
585 * struct qlink_cmd_external_auth - data for QLINK_CMD_EXTERNAL_AUTH command
599 * struct qlink_cmd_disconnect - data for QLINK_CMD_DISCONNECT command
610 * struct qlink_cmd_updown - data for QLINK_CMD_UPDOWN_INTF command
622 * enum qlink_band - a list of frequency bands
635 * struct qlink_cmd_band_info_get - data for QLINK_CMD_BAND_INFO_GET command
637 * @band: a PHY band for which information is queried, one of @enum qlink_band
646 * struct qlink_cmd_get_chan_stats - data for QLINK_CMD_CHAN_STATS command
648 * @channel_freq: channel center frequency
656 * enum qlink_reg_initiator - Indicates the initiator of a reg domain request
668 * enum qlink_user_reg_hint_type - type of user regulatory hint
679 * struct qlink_cmd_reg_notify - data for QLINK_CMD_REG_NOTIFY command
682 * @initiator: which entity sent the request, one of &enum qlink_reg_initiator.
683 * @user_reg_hint_type: type of hint for QLINK_REGDOM_SET_BY_USER request, one
687 * @dfs_region: one of &enum qlink_dfs_regions.
705 * enum qlink_chan_sw_flags - channel switch control flags
708 * channel.
710 * changing a channel.
718 * struct qlink_cmd_chan_switch - data for QLINK_CMD_CHAN_SWITCH command
720 * @channel: channel to switch to.
721 * @flags: flags to control channel switch, bitmap of &enum qlink_chan_sw_flags.
726 struct qlink_chandef channel; member
735 * enum qlink_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
746 * struct qlink_cmd_start_ap - data for QLINK_CMD_START_AP command
751 * @hidden_ssid: whether to hide the SSID, one of &enum qlink_hidden_ssid
780 * struct qlink_cmd_start_cac - data for QLINK_CMD_START_CAC command
782 * @chan: a channel to start a radar detection procedure on.
801 * struct qlink_acl_data - ACL data
803 * @policy: filter policy, one of &enum qlink_acl_policy.
814 * enum qlink_pm_mode - Power Management mode
825 * struct qlink_cmd_pm_set - data for QLINK_CMD_PM_SET command
839 * enum qlink_txpwr_op - transmit power operation type
849 * struct qlink_cmd_txpwr - get or set current transmit power
852 * @txpwr_setting: transmit power setting type, one of
854 * @op_type: type of operation, one of &enum qlink_txpwr_op
869 * @QLINK_WOWLAN_TRIG_PATTERN_PKT: wakeup on user-defined packet
878 * struct qlink_cmd_wowlan_set - data for QLINK_CMD_WOWLAN_SET command
893 * struct qlink_cmd_ndev_event - data for QLINK_CMD_NDEV_EVENT command
895 * @event: type of event, one of &enum qlink_ndev_event_type
909 * struct qlink_cmd_ndev_changeupper - data for QLINK_NDEV_EVENT_CHANGEUPPER
912 * @upper_type: type of upper device, one of &enum qlink_ndev_upper_type
925 * enum qlink_scan_flags - scan request control flags
937 * struct qlink_cmd_scan - data for QLINK_CMD_SCAN command
943 * @active_dwell: time spent on a single channel for an active scan.
944 * @passive_dwell: time spent on a single channel for a passive scan.
945 * @sample_duration: total duration of sampling a single channel during a scan
946 * including off-channel dwell time and operating channel time.
948 * @scan_width: channel width to use, one of &enum qlink_channel_width.
965 * struct qlink_cmd_update_owe - data for QLINK_CMD_UPDATE_OWE_INFO command
993 * struct qlink_resp - QLINK command response message header
998 * @cmd_id: command ID the response corresponds to, one of &enum qlink_cmd_type.
1001 * @result: result of the command execution, one of &enum qlink_cmd_result.
1017 * struct qlink_resp_init_fw - response for QLINK_CMD_FW_INIT
1027 * enum qlink_dfs_regions - regulatory DFS regions
1039 * struct qlink_resp_get_mac_info - response for QLINK_CMD_MAC_INFO command
1057 * @dfs_region: regulatory DFS region, one of &enum qlink_dfs_regions.
1058 * @var_info: variable-length WMAC info data.
1113 * struct qlink_resp_get_hw_info - response for QLINK_CMD_GET_HW_INFO command
1122 * @info: variable-length HW info.
1138 * struct qlink_resp_manage_intf - response for interface management commands
1159 * struct qlink_resp_get_sta_info - response for QLINK_CMD_GET_STA_INFO command
1174 * struct qlink_resp_band_info_get - response for QLINK_CMD_BAND_INFO_GET cmd
1176 * @band: frequency band that the response describes, one of @enum qlink_band.
1179 * @info: variable-length info portion.
1191 * struct qlink_resp_get_chan_stats - response for QLINK_CMD_CHAN_STATS cmd
1193 * @chan_freq: center frequency for a channel the report is sent for.
1194 * @info: variable-length channel info.
1203 * struct qlink_resp_channel_get - response for QLINK_CMD_CHAN_GET command
1205 * @chan: definition of current operating channel.
1213 * struct qlink_resp_txpwr - response for QLINK_CMD_TXPWR command
1244 * struct qlink_event - QLINK event message header
1249 * @event_id: Specifies specific event ID, one of &enum qlink_event_type.
1263 * struct qlink_event_sta_assoc - data for QLINK_EVENT_STA_ASSOCIATED event
1277 * struct qlink_event_sta_deauth - data for QLINK_EVENT_STA_DEAUTH event
1289 * struct qlink_event_bss_join - data for QLINK_EVENT_BSS_JOIN event
1291 * @chan: new operating channel definition
1304 * struct qlink_event_bss_leave - data for QLINK_EVENT_BSS_LEAVE event
1315 * struct qlink_event_freq_change - data for QLINK_EVENT_FREQ_CHANGE event
1317 * @chan: new operating channel definition
1329 * struct qlink_event_rxmgmt - data for QLINK_EVENT_MGMT_RECEIVED event
1346 * struct qlink_event_scan_result - data for QLINK_EVENT_SCAN_RESULTS event
1349 * @freq: Center frequency of the channel where BSS for which the scan result
1374 * enum qlink_scan_complete_flags - indicates result of scan request.
1385 * struct qlink_event_scan_complete - data for QLINK_EVENT_SCAN_COMPLETE event
1405 * struct qlink_event_radar - data for QLINK_EVENT_RADAR event
1407 * @chan: channel on which radar event happened.
1408 * @event: radar event type, one of &enum qlink_radar_event.
1418 * struct qlink_event_external_auth - data for QLINK_EVENT_EXTERNAL_AUTH event
1436 * struct qlink_event_mic_failure - data for QLINK_EVENT_MIC_FAILURE event
1450 * struct qlink_event_update_owe - data for QLINK_EVENT_UPDATE_OWE event
1462 /* QLINK TLVs (Type-Length Values) definitions
1466 * enum qlink_tlv_id - list of TLVs that Qlink messages can carry
1476 * @QTN_TLV_ID_STA_STATS: per-STA statistics as defined by
1533 * enum qlink_reg_rule_flags - regulatory rule flags
1555 * struct qlink_tlv_reg_rule - data for QTN_TLV_ID_REG_RULE TLV
1602 * struct qlink_tlv_channel - data for QTN_TLV_ID_CHANNEL TLV
1604 * Channel settings.
1606 * @channel: ieee80211 channel settings.
1614 * struct qlink_tlv_chandef - data for QTN_TLV_ID_CHANDEF TLV
1616 * Channel definition.
1618 * @chan: channel definition data.
1639 * struct qlink_tlv_ie_set - data for QTN_TLV_ID_IE_SET
1641 * @type: type of MGMT frame IEs belong to, one of &enum qlink_ie_set_type.
1654 * struct qlink_tlv_ext_ie - extension IE
1656 * @eid_ext: element ID extension, one of &enum ieee80211_eid_ext.
1675 * struct qlink_tlv_iftype_data - data for QTN_TLV_ID_IFTYPE_DATA
1688 * enum qlink_chan_stat - channel statistics bitmap
1714 * struct qlink_chan_stats - data for QTN_TLV_ID_CHANNEL_STATS
1716 * Carries a per-channel statistics. Not all fields may be filled with
1721 * @time_on: amount of time radio operated on that channel.
1722 * @time_tx: amount of time radio spent transmitting on the channel.
1723 * @time_rx: amount of time radio spent receiving on the channel.
1724 * @cca_busy: amount of time the primary channel was busy.
1725 * @cca_busy_ext: amount of time the secondary channel was busy.
1726 * @time_scan: amount of radio spent scanning on the channel.
1727 * @chan_noise: channel noise.
1741 * enum qlink_sta_info - station information bitmap
1787 * struct qlink_sta_info_rate - STA rate statistics
1791 * @mcs: 802.11-defined MCS index.
1793 * @bw: bandwidth, one of &enum qlink_channel_width.
1804 * struct qlink_sta_stats - data for QTN_TLV_ID_STA_STATS
1842 * struct qlink_random_mac_addr - data for QTN_TLV_ID_RANDOM_MAC_ADDR TLV
1858 * struct qlink_wowlan_capab_data - data for QTN_TLV_ID_WOWLAN_CAPAB TLV
1874 * struct qlink_wowlan_support - supported WoWLAN capabilities