From 9af1257ebb1557b4bfe205d8044b98c9befe9cc4 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 26 Oct 2022 12:00:58 -0700 Subject: [PATCH] fw-api: CL 20071754 - update fw common interface files wlanfw_cmn: fix spelling errors in code comments Fix spelling errors in code comments within the .h files that define the host/target interface. Change-Id: I98c7b607238adacf7b8615b60ffb3bcef482815a CRs-Fixed: 2262693 --- fw/htt.h | 45 +++--- fw/htt_common.h | 3 +- fw/htt_isoc.h | 3 +- fw/htt_ppdu_stats.h | 4 +- fw/htt_stats.h | 56 +++---- fw/wdi_ipa.h | 3 +- fw/wlan_defs.h | 20 +-- fw/wmi.h | 5 +- fw/wmi_services.h | 10 +- fw/wmi_tlv_defs.h | 8 +- fw/wmi_unified.h | 378 ++++++++++++++++++++++---------------------- 11 files changed, 270 insertions(+), 265 deletions(-) diff --git a/fw/htt.h b/fw/htt.h index 67c187debdcc..f94aad50ab84 100644 --- a/fw/htt.h +++ b/fw/htt.h @@ -421,7 +421,7 @@ PREPACK struct htt_option_tlv_ll_bus_addr_size_t { * downloads over the host --> target bus are as slow as or slower than * the transmissions over the WLAN PHY. For cases where the bus is faster * than the WLAN PHY, the target will transmit relatively large A-MPDUs, - * and consquently will send one TX_COMPL_IND message that covers several + * and consequently will send one TX_COMPL_IND message that covers several * tx frames. For cases where the WLAN PHY is faster than the bus, * the target will end up transmitting very short A-MPDUs, and consequently * sending many TX_COMPL_IND messages, which each cover a very small number @@ -464,7 +464,7 @@ PREPACK struct htt_option_tlv_hl_suppress_tx_compl_ind_t { * The MAX_TX_QUEUE_GROUPS TLV can be sent from the target to the host as * a suffix to the VERSION_CONF message. If the host has specified in the * VER_REQ message a limit on the number of tx queue groups the host can - * supprt, the target shall limit its specification of the maximum tx groups + * support, the target shall limit its specification of the maximum tx groups * to be no larger than this host-specified limit. * * If the target does not provide a MAX_TX_QUEUE_GROUPS TLV, then the host @@ -1135,7 +1135,7 @@ PREPACK struct htt_tx_msdu_desc ## _paddr_bits_ ## _t \ A_UINT16 chanfreq; \ \ /* Reason reserved is commented is increasing the htt structure size \ - * leads to some wierd issues. Contact Raj/Kyeyoon for more info \ + * leads to some weird issues. \ * A_UINT32 reserved_dword3_bits0_31; \ */ \ } POSTPACK @@ -2720,7 +2720,7 @@ typedef enum { /** * @brief HTT TX WBM Completion from firmware to host * @details - * This structure is passed from firmware to host overlayed on wbm_release_ring + * This structure is passed from firmware to host overlaid on wbm_release_ring * DWORD 3 and 4 for software based completions (Exception frames and * TQM bypass frames) * For software based completions, wbm_release_ring->release_source_module will @@ -2813,7 +2813,7 @@ PREPACK struct htt_tx_wbm_completion { * @details * This structure applies only to WLAN chips that contain WLAN Buffer Mgmt * (WBM) offload HW. - * This structure is passed from firmware to host overlayed on wbm_release_ring + * This structure is passed from firmware to host overlaid on wbm_release_ring * For software based completions, release_source_module will * be set to WIFIRELEASE_SOURCE_FW_E. Host SW is expected to inspect using * struct wbm_release_ring and then switch to this after looking at @@ -2892,7 +2892,7 @@ PREPACK struct htt_tx_wbm_completion_v2 { * @details * This structure applies only to WLAN chips that contain WLAN Buffer Mgmt * (WBM) offload HW. - * This structure is passed from firmware to host overlayed on wbm_release_ring + * This structure is passed from firmware to host overlaid on wbm_release_ring * For software based completions, release_source_module will * be set to WIFIRELEASE_SOURCE_FW_E. Host SW is expected to inspect using * struct wbm_release_ring and then switch to this after looking at @@ -2979,7 +2979,7 @@ typedef enum { * @details * This structure applies only to WLAN chips that contain WLAN Buffer Mgmt * (WBM) offload HW. - * This structure is passed from firmware to host overlayed on wbm_release_ring. + * This structure is passed from firmware to host overlaid on wbm_release_ring. * used only if tx_status is HTT_TX_FW2WBM_TX_STATUS_OK or HTT_TX_FW2WBM_TX_STATUS_DROP * or HTT_TX_FW2WBM_TX_STATUS_TTL */ @@ -3110,7 +3110,7 @@ PREPACK struct htt_tx_wbm_transmit_status { * @details * This structure applies only to WLAN chips that contain WLAN Buffer Mgmt * (WBM) offload HW. - * This structure is passed from firmware to host overlayed on wbm_release_ring. + * This structure is passed from firmware to host overlaid on wbm_release_ring. * used only if tx_status is HTT_TX_FW2WBM_TX_STATUS_REINJECT. */ PREPACK struct htt_tx_wbm_reinject_status { @@ -3127,7 +3127,7 @@ PREPACK struct htt_tx_wbm_reinject_status { * @details * This structure applies only to WLAN chips that contain WLAN Buffer Mgmt * (WBM) offload HW. - * This structure is passed from firmware to host overlayed on wbm_release_ring. + * This structure is passed from firmware to host overlaid on wbm_release_ring. * used only if tx_status is HTT_TX_FW2WBM_TX_STATUS_MEC_NOTIFY. * FW sends SA addresses to host for all multicast/broadcast packets received on * STA side. @@ -5134,7 +5134,7 @@ enum htt_msi_setup_type { * 3'b010: 4 usec * 3'b011: 8 usec (default) * 3'b100: 16 usec - * Others: Reserverd + * Others: Reserved * b'19 - response_required: * Host needs HTT_T2H_MSG_TYPE_SRING_SETUP_DONE as response * b'20 - ipa_drop_flag: @@ -8317,7 +8317,7 @@ enum htt_ip_da_sa_prefix { * b'9 - DISABLE_TA_CHECK: 1- Disable TA check for MPDU Sequence * num jump * b'10 - DISABLE_QOS_CHECK: 1- Disable checking if qos/nonqos - * data type switch has happend for MPDU Sequence num jump + * data type switch has happened for MPDU Sequence num jump * b'11 - DISABLE_RAW_CHECK: 1- Disable checking for raw packet type * for MPDU Sequence num jump * b'12 - DISABLE_DECRYPT_ERR_CHECK: 1- Disable fisa cache commands @@ -12112,7 +12112,7 @@ PREPACK struct htt_tx_offload_deliver_ind_hdr_t * In certain generations of chips, the peer map message also contains * a HW peer ID. This HW peer ID is used during rx --> tx frame forwarding * to identify which peer the frame needs to be forwarded to (i.e. the - * peer assocated with the Destination MAC Address within the packet), + * peer associated with the Destination MAC Address within the packet), * and particularly which vdev needs to transmit the frame (for cases * of inter-vdev rx --> tx forwarding). The HW peer id here is the same * meaning as AST_INDEX_0. @@ -12255,7 +12255,7 @@ PREPACK struct htt_tx_offload_deliver_ind_hdr_t * * The peer map v2 message also contains a HW peer ID. This HW peer ID * is used during rx --> tx frame forwarding to identify which peer the - * frame needs to be forwarded to (i.e. the peer assocated with the + * frame needs to be forwarded to (i.e. the peer associated with the * Destination MAC Address within the packet), and particularly which vdev * needs to transmit the frame (for cases of inter-vdev rx --> tx forwarding). * This DA-based peer ID that is provided for certain rx frames @@ -13891,7 +13891,7 @@ PREPACK struct htt_txq_group { * Purpose: Indicate whether data ACK RSSI is appended for each MSDU in * TX_COMP_IND message. The order of the per-MSDU ACK RSSI report * matches the order of the MSDU IDs. Although the ACK RSSI is the - * same for all MSDUs witin a single PPDU, the RSSI is duplicated + * same for all MSDUs within a single PPDU, the RSSI is duplicated * for each MSDU, for convenience. * The ACK RSSI values are valid when status is COMPLETE_OK (and * this append2 bit is set). @@ -14526,7 +14526,7 @@ typedef struct { * Purpose: indicate how many 32-bit integers follow the message header * - NUM_CHARS * Bits 31:16 - * Purpose: indicate how many 8-bit charaters follow the series of integers + * Purpose: indicate how many 8-bit characters follow the series of integers */ #define HTT_RX_TEST_NUM_INTS_M 0xff00 #define HTT_RX_TEST_NUM_INTS_S 8 @@ -14729,7 +14729,7 @@ struct rx_reorder_stats { A_UINT32 rxdesc_bmc_msdus_inv_peer; /* Number of MSDUs dropped due to no first MSDU flag */ A_UINT32 rxdesc_no_1st_msdu; - /* Number of MSDUs droped due to ring overflow */ + /* Number of MSDUs dropped due to ring overflow */ A_UINT32 msdu_drop_ring_ov; /* Number of MSDUs dropped due to FC mismatch */ A_UINT32 msdu_drop_fc_mismatch; @@ -16678,7 +16678,7 @@ typedef enum { * * b'0:15 - flow pool ID: Existing flow pool ID * - * b'16:31 - flow pool new size: new pool size for exisiting flow pool ID + * b'16:31 - flow pool new size: new pool size for existing flow pool ID * */ @@ -17307,7 +17307,7 @@ PREPACK struct htt_cfr_dump_compl_ind { * subsequent period (100 ms) as long as the backpressure remains unabated. * This message indicates the ring id along with current head and tail index * locations (i.e. write and read indices). - * The backpressure time indicates the time in ms for which continous + * The backpressure time indicates the time in ms for which continuous * backpressure has been observed in the ring. * * The message format is as follows: @@ -17326,11 +17326,12 @@ PREPACK struct htt_cfr_dump_compl_ind { * (HTT_T2H_MSG_TYPE_BKPRESSURE_EVENT_IND) * b'8:15 - pdev_id: 0 indicates msg is for UMAC ring. * 1, 2, 3 indicates pdev_id 0,1,2 and - the msg is for LMAC ring. + * the msg is for LMAC ring. * b'16:23 - ring_type: Refer to enum htt_backpressure_ring_type. * b'24:31 - ring_id: Refer enum htt_backpressure_umac_ring_id/ * htt_backpressure_lmac_ring_id. This represents - * the ring id for which continous backpressure is seen + * the ring id for which continuous backpressure + * is seen * * dword1 - b'0:15 - head_idx: This indicates the current head index of * the ring indicated by the ring_id @@ -17338,7 +17339,7 @@ PREPACK struct htt_cfr_dump_compl_ind { * dword1 - b'16:31 - tail_idx: This indicates the current tail index of * the ring indicated by the ring id * - * dword2 - b'0:31 - backpressure_time_ms: Indicates how long continous + * dword2 - b'0:31 - backpressure_time_ms: Indicates how long continuous * backpressure has been seen in the ring * indicated by the ring_id. * Units = milliseconds @@ -17846,7 +17847,7 @@ enum HTT_UL_OFDMA_TRIG_TYPE { * Bits 31:16 * Purpose: indicates the secondary channel center frequency, * only for 11acvht 80plus80 mode - * Value: secondary channel center frequeny, in MHz units, if applicable + * Value: secondary channel center frequency, in MHz units, if applicable * * checksum field * - CHECK_SUM diff --git a/fw/htt_common.h b/fw/htt_common.h index aa7c87c41f32..0a6c4ed1a2c5 100644 --- a/fw/htt_common.h +++ b/fw/htt_common.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2016, 2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -62,7 +63,7 @@ enum htt_rx_ind_mpdu_status { HTT_RX_IND_MPDU_STATUS_ERR_INV_PEER, HTT_RX_IND_MPDU_STATUS_UNAUTH_PEER, /* only accept EAPOL frames */ HTT_RX_IND_MPDU_STATUS_OUT_OF_SYNC, - HTT_RX_IND_MPDU_STATUS_MGMT_CTRL, /* Non-data in promiscous mode */ + HTT_RX_IND_MPDU_STATUS_MGMT_CTRL, /* Non-data in promiscuous mode */ HTT_RX_IND_MPDU_STATUS_TKIP_MIC_ERR, HTT_RX_IND_MPDU_STATUS_DECRYPT_ERR, HTT_RX_IND_MPDU_STATUS_MPDU_LENGTH_ERR, diff --git a/fw/htt_isoc.h b/fw/htt_isoc.h index f478935626ac..175d55f77b54 100644 --- a/fw/htt_isoc.h +++ b/fw/htt_isoc.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -237,7 +238,7 @@ enum { * - RMF_ENABLED (R) * Bit 6 * Purpose: specify whether the peer in question has enable robust - * management frames, to encrypt certain managment frames + * management frames, to encrypt certain management frames * Value: HTT_ISOC_RMF enum * Value: HTT_ISOC_NON_QOS or HTT_ISOC_QOS * - VDEV_ID diff --git a/fw/htt_ppdu_stats.h b/fw/htt_ppdu_stats.h index 50f5f8f26207..d5555a12955d 100644 --- a/fw/htt_ppdu_stats.h +++ b/fw/htt_ppdu_stats.h @@ -2732,7 +2732,7 @@ typedef struct { * The size of the actual mgmt payload (in bytes) can be obtained from * the frame_length field. * The size of entire payload including the padding for alignment - * (in bytes) can be derived from the length in tlv parametes, + * (in bytes) can be derived from the length in tlv parameters, * minus the 12 bytes of the above fields. */ A_UINT32 payload[1]; @@ -2774,7 +2774,7 @@ typedef struct { * The size of the actual mgmt payload (in bytes) can be obtained from * the frame_length field. * The size of entire payload including the padding for alignment - * (in bytes) can be derived from the length in tlv parametes, + * (in bytes) can be derived from the length in tlv parameters, * minus the 12 bytes of the above fields. */ A_UINT32 payload[1]; diff --git a/fw/htt_stats.h b/fw/htt_stats.h index 1c48ab8b2796..1c237bede021 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -1954,7 +1954,7 @@ typedef struct { A_UINT32 mu_mimo_mpdus_failed_usr; /** 11AC DL MU MIMO number of mpdus re-queued to HW, per user */ A_UINT32 mu_mimo_mpdus_requeued_usr; - /** 11AC DL MU MIMO BA not receieved, per user */ + /** 11AC DL MU MIMO BA not received, per user */ A_UINT32 mu_mimo_err_no_ba_usr; /** 11AC DL MU MIMO mpdu underrun encountered, per user */ A_UINT32 mu_mimo_mpdu_underrun_usr; @@ -2097,7 +2097,7 @@ typedef struct { A_UINT32 mpdu_ack_fail_cnt; /** This will include sched cmd flush and time based discard */ A_UINT32 mpdu_filt_cnt; - /** Number of MPDUs for which ACK was sucessful but no Tx happened */ + /** Number of MPDUs for which ACK was successful but no Tx happened */ A_UINT32 false_mpdu_ack_count; /** Number of times txq timeout happened */ @@ -2169,7 +2169,7 @@ typedef struct { * completing the burst, we identify the txop used in the burst and * incr the corresponding bin. * Each bin represents 1ms & we have 10 bins in this histogram. - * they are deined in FW using the following macros + * they are defined in FW using the following macros * #define WAL_MAX_TXOP_USED_CNT_HISTOGRAM 10 * #define WAL_TXOP_USED_HISTOGRAM_INTERVAL 1000 ( 1 ms ) * @@ -3336,7 +3336,7 @@ typedef struct { A_UINT32 mu_mimo_mpdus_failed_usr; /** 11AC DL MU MIMO number of mpdus re-queued to HW, per user */ A_UINT32 mu_mimo_mpdus_requeued_usr; - /** 11AC DL MU MIMO BA not receieved, per user */ + /** 11AC DL MU MIMO BA not received, per user */ A_UINT32 mu_mimo_err_no_ba_usr; /** 11AC DL MU MIMO mpdu underrun encountered, per user */ A_UINT32 mu_mimo_mpdu_underrun_usr; @@ -3351,7 +3351,7 @@ typedef struct { A_UINT32 ax_mu_mimo_mpdus_failed_usr; /** 11AX DL MU MIMO number of mpdus re-queued to HW, per user */ A_UINT32 ax_mu_mimo_mpdus_requeued_usr; - /** 11AX DL MU MIMO BA not receieved, per user */ + /** 11AX DL MU MIMO BA not received, per user */ A_UINT32 ax_mu_mimo_err_no_ba_usr; /** 11AX DL MU MIMO mpdu underrun encountered, per user */ A_UINT32 ax_mu_mimo_mpdu_underrun_usr; @@ -3366,7 +3366,7 @@ typedef struct { A_UINT32 ax_ofdma_mpdus_failed_usr; /** 11AX MU OFDMA number of mpdus re-queued to HW, per user */ A_UINT32 ax_ofdma_mpdus_requeued_usr; - /** 11AX MU OFDMA BA not receieved, per user */ + /** 11AX MU OFDMA BA not received, per user */ A_UINT32 ax_ofdma_err_no_ba_usr; /** 11AX MU OFDMA mpdu underrun encountered, per user */ A_UINT32 ax_ofdma_mpdu_underrun_usr; @@ -3498,7 +3498,7 @@ typedef enum { HTT_SCHED_TID_SKIP_UL_TWT_PAUSED, /* Skip ul tid if twt txq is paused */ HTT_SCHED_TID_SKIP_PEER_UL_RX_NOT_ACTIVE, /* Skip ul tid if peer ul rx is not active */ HTT_SCHED_TID_SKIP_NO_FORCE_TRIGGER, /* Skip ul tid if there is no force triggers */ - HTT_SCHED_TID_SKIP_SMART_BASIC_TRIGGER, /* Skip ul tid if smart basic trigger doesnot have enough data */ + HTT_SCHED_TID_SKIP_SMART_BASIC_TRIGGER, /* Skip ul tid if smart basic trigger doesn't have enough data */ HTT_SCHED_INELIGIBILITY_MAX, @@ -3520,7 +3520,7 @@ typedef struct { } htt_sched_txq_sched_ineligibility_tlv_v; typedef enum { - HTT_SCHED_SUPERCYCLE_TRIGGER_NONE = 0, /* Supercycle not triggerd */ + HTT_SCHED_SUPERCYCLE_TRIGGER_NONE = 0, /* Supercycle not triggered */ HTT_SCHED_SUPERCYCLE_TRIGGER_FORCED, /* forced supercycle trigger */ HTT_SCHED_SUPERCYCLE_TRIGGER_LESS_NUM_TIDQ_ENTRIES, /* Num tidq entries is less than max_client threshold */ HTT_SCHED_SUPERCYCLE_TRIGGER_LESS_NUM_ACTIVE_TIDS, /* Num active tids is less than max_client threshold */ @@ -6314,7 +6314,7 @@ typedef enum { HTT_EXPLICIT_TXBF_MU_SIFS_STEER_STATS = 3, /* Multi user random back off steer stats */ HTT_EXPLICIT_TXBF_MU_RBO_STEER_STATS = 4, - /* For backward compatability new modes cannot be added */ + /* For backward compatibility new modes cannot be added */ HTT_TXBF_MAX_NUM_OF_MODES = 5 } htt_txbf_sound_steer_modes; @@ -6486,7 +6486,7 @@ typedef struct { * opportunities created. Incoming OBSS frame RSSI is compared with per * PPDU non-SRG RSSI threshold configured in each PPDU. If incoming OBSS * RSSI < non-SRG RSSI threshold configured in each PPDU, then non-SRG - * tranmission happens. + * transmission happens. */ A_UINT32 num_non_srg_ppdu_tried; /** @@ -6507,7 +6507,7 @@ typedef struct { * Incoming OBSS frame RSSI is compared with per PPDU SRG RSSI * threshold configured in each PPDU. * If incoming OBSS RSSI < SRG RSSI threshold configured in each PPDU, - * then SRG tranmission happens. + * then SRG transmission happens. */ A_UINT32 num_srg_ppdu_tried; /** @@ -6585,15 +6585,15 @@ typedef struct { * histogram showing how many times different degrees of backpressure * duration occurred: * Index 0 indicates the number of times ring was - * continously in backpressure state for 100 - 200ms. + * continuously in backpressure state for 100 - 200ms. * Index 1 indicates the number of times ring was - * continously in backpressure state for 200 - 300ms. + * continuously in backpressure state for 200 - 300ms. * Index 2 indicates the number of times ring was - * continously in backpressure state for 300 - 400ms. + * continuously in backpressure state for 300 - 400ms. * Index 3 indicates the number of times ring was - * continously in backpressure state for 400 - 500ms. + * continuously in backpressure state for 400 - 500ms. * Index 4 indicates the number of times ring was - * continously in backpressure state beyond 500ms. + * continuously in backpressure state beyond 500ms. */ A_UINT32 backpressure_hist[5]; } htt_ring_backpressure_stats_tlv; @@ -7323,27 +7323,27 @@ typedef enum { typedef enum { HTT_STATS_RESET_CAUSE_FIRST_RESET = 0x00000001, /* First reset by application */ - HTT_STATS_RESET_CAUSE_ERROR = 0x00000002, /* Trigered due to error */ + HTT_STATS_RESET_CAUSE_ERROR = 0x00000002, /* Triggered due to error */ HTT_STATS_RESET_CAUSE_DEEP_SLEEP = 0x00000004, /* Reset after deep sleep */ HTT_STATS_RESET_CAUSE_FULL_RESET = 0x00000008, /* Full reset without any optimizations */ HTT_STATS_RESET_CAUSE_CHANNEL_CHANGE = 0x00000010, /* For normal channel change */ - HTT_STATS_RESET_CAUSE_BAND_CHANGE = 0x00000020, /* Trigered due to band change */ - HTT_STATS_RESET_CAUSE_DO_CAL = 0x00000040, /* Trigered due to calibrations */ + HTT_STATS_RESET_CAUSE_BAND_CHANGE = 0x00000020, /* Triggered due to band change */ + HTT_STATS_RESET_CAUSE_DO_CAL = 0x00000040, /* Triggered due to calibrations */ HTT_STATS_RESET_CAUSE_MCI_ERROR = 0x00000080, /* Triggered due to MCI ERROR */ - HTT_STATS_RESET_CAUSE_CHWIDTH_CHANGE = 0x00000100, /* Trigered due to channel width change */ - HTT_STATS_RESET_CAUSE_WARM_RESTORE_CAL = 0x00000200, /* Trigered due to warm reset we want to just restore calibrations */ - HTT_STATS_RESET_CAUSE_COLD_RESTORE_CAL = 0x00000400, /* Trigered due to cold reset we want to just restore calibrations */ - HTT_STATS_RESET_CAUSE_PHY_WARM_RESET = 0x00000800, /* Trigered due to phy warm reset we want to just restore calibrations */ - HTT_STATS_RESET_CAUSE_M3_SSR = 0x00001000, /* Trigered due to SSR Restart */ + HTT_STATS_RESET_CAUSE_CHWIDTH_CHANGE = 0x00000100, /* Triggered due to channel width change */ + HTT_STATS_RESET_CAUSE_WARM_RESTORE_CAL = 0x00000200, /* Triggered due to warm reset we want to just restore calibrations */ + HTT_STATS_RESET_CAUSE_COLD_RESTORE_CAL = 0x00000400, /* Triggered due to cold reset we want to just restore calibrations */ + HTT_STATS_RESET_CAUSE_PHY_WARM_RESET = 0x00000800, /* Triggered due to phy warm reset we want to just restore calibrations */ + HTT_STATS_RESET_CAUSE_M3_SSR = 0x00001000, /* Triggered due to SSR Restart */ HTT_STATS_RESET_CAUSE_FORCE_CAL = 0x00002000, /* Reset to force the calibration */ /* 0x00004000, 0x00008000 reserved */ HTT_STATS_NO_RESET_CHANNEL_CHANGE = 0x00010000, /* No reset, normal channel change */ HTT_STATS_NO_RESET_BAND_CHANGE = 0x00020000, /* No reset, channel change across band */ HTT_STATS_NO_RESET_CHWIDTH_CHANGE = 0x00040000, /* No reset, channel change across channel width */ HTT_STATS_NO_RESET_CHAINMASK_CHANGE = 0x00080000, /* No reset, chainmask change */ - HTT_STATS_RESET_CAUSE_PHY_WARM_RESET_UCODE_TRIG = 0x00100000, /* Trigered due to phy warm reset we want to just restore calibrations */ + HTT_STATS_RESET_CAUSE_PHY_WARM_RESET_UCODE_TRIG = 0x00100000, /* Triggered due to phy warm reset we want to just restore calibrations */ HTT_STATS_RESET_CAUSE_PHY_OFF_TIMEOUT_RESET = 0x00200000, /* Reset ucode because phy off ack timeout*/ - HTT_STATS_RESET_CAUSE_LMAC_RESET_UMAC_NOC_ERR = 0x00400000, /* LMAC reset trigered due to NOC Address/Slave error originating at LMAC */ + HTT_STATS_RESET_CAUSE_LMAC_RESET_UMAC_NOC_ERR = 0x00400000, /* LMAC reset triggered due to NOC Address/Slave error originating at LMAC */ HTT_STATS_NO_RESET_SCAN_BACK_TO_SAME_HOME_CHANNEL_CHANGE = 0x00800000, /* No reset, scan to home channel change */ } HTT_STATS_RESET_CAUSE; @@ -7395,7 +7395,7 @@ typedef struct { A_UINT32 phytx_abort_cnt; /** number of times rx abort initiated by phy */ A_UINT32 phyrx_abort_cnt; - /** number of rx defered count initiated by phy */ + /** number of rx deferred count initiated by phy */ A_UINT32 phyrx_defer_abort_cnt; /** number of sizing events generated at LSTF */ A_UINT32 rx_gain_adj_lstf_event_cnt; /* a.k.a sizing1 */ @@ -8337,7 +8337,7 @@ typedef struct _htt_ml_peer_stats { } htt_ml_peer_stats_t; /* - * ODD Mandatory Stats are grouped together from all the exisitng different + * ODD Mandatory Stats are grouped together from all the existing different * stats, to form a set of stats that will be used by the ODD application to * post the stats to the cloud instead of polling for the individual stats. * This is done to avoid non-mandatory stats to be polled as the data will not diff --git a/fw/wdi_ipa.h b/fw/wdi_ipa.h index 9870426ce414..c6e6d50be5d0 100644 --- a/fw/wdi_ipa.h +++ b/fw/wdi_ipa.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -408,7 +409,7 @@ A_COMPILE_TIME_ASSERT(verify_Pkt_pool_sz, * Purpose: Specify length Ethernet Packet * - VDEV_ID * Bits 23:16 - * Purpose: Specify the VDEV ID corrsponding the the packet + * Purpose: Specify the VDEV ID corresponding to the packet */ diff --git a/fw/wlan_defs.h b/fw/wlan_defs.h index b2f5bcb5dc68..abb978c19516 100755 --- a/fw/wlan_defs.h +++ b/fw/wlan_defs.h @@ -106,7 +106,7 @@ */ #define MAX_SPATIAL_STREAM_ANY MAX_SPATIAL_STREAM_ANY_V2 /* DEPRECATED */ -/* defines to set Packet extension values whic can be 0 us, 8 usec or 16 usec */ +/* defines to set Packet extension values which can be 0, 8, or 16 usec */ /* NOTE: Below values cannot be changed without breaking WMI Compatibility */ #define MAX_HE_NSS 8 #define MAX_HE_MODULATION 8 @@ -477,8 +477,8 @@ typedef struct { /* * Used to update rate-control logic with the status of the tx-completion. - * In host-based implementation of the rate-control feature, this struture is used to - * create the payload for HTT message/s from target to host. + * In host-based implementation of the rate-control feature, this structure + * is used to create the payload for HTT message/s from target to host. */ #ifndef CONFIG_MOVE_RC_STRUCT_TO_MACCORE #if (NUM_SPATIAL_STREAM > 3) @@ -680,7 +680,7 @@ typedef struct { #endif /** - * strucutre describing host memory chunk. + * structure describing host memory chunk. */ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wlan_host_memory_chunk */ @@ -809,9 +809,9 @@ struct wlan_dbg_tx_stats_v1 { A_UINT32 sw_retry_failure; /* illegal rate phy errors */ A_UINT32 illgl_rate_phy_err; - /* wal pdev continous xretry */ + /* wal pdev continuous xretry */ A_UINT32 pdev_cont_xretry; - /* wal pdev continous xretry */ + /* wal pdev continuous xretry */ A_UINT32 pdev_tx_timeout; /* wal pdev resets */ A_UINT32 pdev_resets; @@ -861,9 +861,9 @@ struct wlan_dbg_tx_stats_v2 { A_UINT32 sw_retry_failure; /* illegal rate phy errors */ A_UINT32 illgl_rate_phy_err; - /* wal pdev continous xretry */ + /* wal pdev continuous xretry */ A_UINT32 pdev_cont_xretry; - /* wal pdev continous xretry */ + /* wal pdev continuous xretry */ A_UINT32 pdev_tx_timeout; /* wal pdev resets */ A_UINT32 pdev_resets; @@ -1733,7 +1733,7 @@ typedef struct { */ A_UINT32 link_info; /* This TLV is followed by array of mlo_glb_link: - * mlo_glb_link will have mutiple instances equal to num of hw links + * mlo_glb_link will have multiple instances equal to num of hw links * received by no_of_link * mlo_glb_link glb_link_info[]; */ @@ -1779,7 +1779,7 @@ typedef struct { */ A_UINT32 chip_info; /* This TLV is followed by array of mlo_glb_per_chip_crash_info: - * mlo_glb_per_chip_crash_info will have mutiple instances equal to num of partner chips + * mlo_glb_per_chip_crash_info will have multiple instances equal to num of partner chips * received by no_of_chips * mlo_glb_per_chip_crash_info per_chip_crash_info[]; */ diff --git a/fw/wmi.h b/fw/wmi.h index bf99cd6dfd2d..b3623809d0f8 100644 --- a/fw/wmi.h +++ b/fw/wmi.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2010-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -111,7 +112,7 @@ typedef PREPACK struct { #define WMI_CMD_HDR_PLT_PRIV_OFFSET 0x00000000 /* - * List of Commnands + * List of Commands */ typedef enum { WMI_EXTENSION_CMDID, //used in wmi_svc.c /* Non-wireless extensions */ @@ -168,7 +169,7 @@ typedef enum { } WMI_PHY_CAPABILITY; -/* Deprectated, need clean up */ +/* Deprecated, need clean up */ #define WMI_MAX_RX_META_SZ (12) typedef PREPACK struct { diff --git a/fw/wmi_services.h b/fw/wmi_services.h index fc2b7539c3c9..692bf026d1c5 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -65,10 +65,10 @@ typedef enum { WMI_SERVICE_GPIO=25, /* GPIO service */ WMI_SERVICE_STA_DTIM_PS_MODULATED_DTIM=26, /* Modulated DTIM support */ WMI_STA_UAPSD_BASIC_AUTO_TRIG=27, /* Basic version of station UAPSD AC Trigger Generation Method with - * variable tigger periods (service, delay, and suspend intervals) */ + * variable trigger periods (service, delay, and suspend intervals) */ WMI_STA_UAPSD_VAR_AUTO_TRIG=28, /* Station UAPSD AC Trigger Generation Method with variable * trigger periods (service, delay, and suspend intervals) */ - WMI_SERVICE_STA_KEEP_ALIVE=29, /* Serivce to support the STA KEEP ALIVE mechanism */ + WMI_SERVICE_STA_KEEP_ALIVE=29, /* Service to support the STA KEEP ALIVE mechanism */ WMI_SERVICE_TX_ENCAP=30, /* Packet type for TX encapsulation */ WMI_SERVICE_AP_PS_DETECT_OUT_OF_SYNC=31, /* detect out-of-sync sleeping stations */ WMI_SERVICE_EARLY_RX=32, /* adaptive early-rx feature */ @@ -523,8 +523,8 @@ typedef enum { WMI_SERVICE_WAPI_CONCURRENCY_SUPPORTED = 277, /* Indicates FW support for WAPI concurrency */ WMI_SERVICE_SAP_CONNECTED_D3WOW = 278, /* Indicates FW support for D3WoW for SAP connected case */ WMI_SERVICE_GO_CONNECTED_D3WOW = 279, /* Indicates FW support for D3WoW for P2P GO connected case */ - WMI_SERVICE_EXT_TPC_REG_SUPPORT = 280, /* Support for new 6G TPC power limits */ - WMI_SERVICE_REG_CC_EXT_EVENT_SUPPORT = 281, /* Support for Extended REG_CC Event with additional params for 6G */ + WMI_SERVICE_EXT_TPC_REG_SUPPORT = 280, /* Support for new 6 GHz TPC power limits */ + WMI_SERVICE_REG_CC_EXT_EVENT_SUPPORT = 281, /* Support for Extended REG_CC Event with additional params for 6 GHz */ WMI_SERVICE_NDI_TXBF_SUPPORT = 282, /* Indicates FW support for Tx beamforming with NDI VDEV */ WMI_SERVICE_ENABLE_LOWER_6G_EDGE_CH_SUPP = 283, /* Indicates FW support for enabling lower 6 GHz edge channel 5935 */ WMI_SERVICE_DISABLE_UPPER_6G_EDGE_CH_SUPP = 284, /* Indicates FW support for disabling upper 6 GHz edge channel 7115 */ @@ -602,7 +602,7 @@ typedef enum { WMI_SERVICE_MULTIPLE_VDEV_RESTART_BITMAP_SUPPORT = 349, /* Extended Multiple VDEV Restart with Bitmap Support */ WMI_SERVICE_WMI_SERVICE_WPA3_SHA384_ROAM_SUPPORT = 350, /* Indicates FW supports WPA3 SHA384 roaming */ WMI_SERVICE_ODD_LIVEDUMP_SUPPORT = 351, /* Support for ODD Livedump from the FW */ - WMI_SERVICE_EIRP_PREFERRED_SUPPORT = 352, /* Support for OOBE feature where only EIRP powers will be sent in 6G TPC WMI */ + WMI_SERVICE_EIRP_PREFERRED_SUPPORT = 352, /* Support for OOBE feature where only EIRP powers will be sent in 6 GHz TPC WMI */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 662fe53da422..0e04384905eb 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -3208,7 +3208,7 @@ WMITLV_CREATE_PARAM_STRUC(WMI_DFS_PHYERR_FILTER_DIS_CMDID); WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DFS_PHYERR_OFFLOAD_ENABLE_CMDID); -/* DFS phyerr processing offload disble cmd */ +/* DFS phyerr processing offload disable cmd */ #define WMITLV_TABLE_WMI_PDEV_DFS_PHYERR_OFFLOAD_DISABLE_CMDID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param, wmi_pdev_dfs_phyerr_offload_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) @@ -4419,7 +4419,7 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_SETUP_CMDID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param, wmi_peer_reorder_queue_remove_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID); -/* Filter in monitor mode paramters Cmd */ +/* Filter in monitor mode parameters Cmd */ #define WMITLV_TABLE_WMI_MNT_FILTER_CMDID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param, wmi_mnt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_MNT_FILTER_CMDID); @@ -5637,7 +5637,7 @@ WMITLV_CREATE_PARAM_STRUC(WMI_DIAG_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, WMI_GTK_OFFLOAD_STATUS_EVENT_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_GTK_OFFLOAD_STATUS_EVENTID); -/* DCA interferance Event */ +/* DCA interference Event */ #define WMITLV_TABLE_WMI_DCS_INTERFERENCE_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dcs_interference_event_fixed_param, wmi_dcs_interference_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_dcs_cw_int, cw_int, WMITLV_SIZE_VAR) \ @@ -6066,7 +6066,7 @@ WMITLV_CREATE_PARAM_STRUC(WMI_NDP_CONFIRM_EVENTID); WMITLV_CREATE_PARAM_STRUC(WMI_NDP_END_INDICATION_EVENTID); /** NDL schedule update event - * TLV (tag lenght value ) parameters follow the ndl_schedule_update + * TLV (tag length value) parameters follow the ndl_schedule_update * structure. The TLV's are: * A_UINT32 ndp_instance_list[]; * wmi_channel ndl_channel_list[]; diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index c8b1a662fa5e..1b269a572119 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -56,7 +56,7 @@ * 5. Do not use PACK/UNPACK attributes for the structures as each member variable is * already 4-byte aligned by virtue of being a A_UINT32 type. * 6. Comment each parameter part of the WMI command/event structure by using the - * 2 stars at the begining of C comment instead of one star to enable HTML document + * 2 stars at the beginning of C comment instead of one star to enable HTML document * generation using Doxygen. * */ @@ -137,7 +137,7 @@ extern "C" { /* * Below GET/SET BITS_ARRAY_LEN32_BYTES macros can be used when - * reading/writting bits which are spread across array_len32 entries. + * reading/writing bits which are spread across array_len32 entries. * These can be used to GET/SET maximum of 32 bits only, * also array_len32 length should be limited to maximum of 32. */ @@ -385,7 +385,7 @@ typedef enum { WMI_PDEV_DUMP_CMDID, /* set LED configuration */ WMI_PDEV_SET_LED_CONFIG_CMDID, - /* Get Current temprature of chip in Celcius degree*/ + /* Get Current temperature of chip in Celcius degree*/ WMI_PDEV_GET_TEMPERATURE_CMDID, /* Set LED flashing behavior */ WMI_PDEV_SET_LED_FLASHING_CMDID, @@ -637,7 +637,7 @@ typedef enum { WMI_PEER_ADD_WDS_ENTRY_CMDID, /**remove wds (4 address) entry. used only for testing WDS feature on AP products */ WMI_PEER_REMOVE_WDS_ENTRY_CMDID, - /** set up mcast group infor for multicast to unicast conversion */ + /** set up mcast group info for multicast to unicast conversion */ WMI_PEER_MCAST_GROUP_CMDID, /** request peer info from FW. FW shall respond with PEER_INFO_EVENTID */ WMI_PEER_INFO_REQ_CMDID, @@ -1002,7 +1002,7 @@ typedef enum { /* * Add a CoAP keepalive pattern to send a CoAP broadcast packet - * when configured timeout occured. + * when configured timeout occurred. */ WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID, @@ -1273,7 +1273,7 @@ typedef enum { WMI_STA_SMPS_PARAM_CMDID, /* Wlan HB commands*/ - /* enalbe/disable wlan HB */ + /* enable/disable wlan HB */ WMI_HB_SET_ENABLE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_WLAN_HB), /* set tcp parameters for wlan HB */ WMI_HB_SET_TCP_PARAMS_CMDID, @@ -1593,7 +1593,7 @@ typedef enum { /** track L1SS entry and residency event */ WMI_PDEV_L1SS_TRACK_EVENTID, - /** Report current temprature of the chip in Celcius degree */ + /** Report current temperature of the chip in Celcius degree */ WMI_PDEV_TEMPERATURE_EVENTID, /** Extension of WMI_SERVICE_READY msg with extra target capability info */ @@ -2874,7 +2874,7 @@ typedef struct _wmi_abi_version { } wmi_abi_version; /* - * maximum number of memroy requests allowed from FW. + * maximum number of memory requests allowed from FW. */ #define WMI_MAX_MEM_REQS 16 @@ -2973,7 +2973,7 @@ typedef struct { A_UINT32 max_num_scan_channels; /* Hardware board specific ID. Values defined in enum WMI_HWBOARD_ID. - * Default 0 means tha hw_bd_info[] is invalid(legacy board). + * Default 0 means that hw_bd_info[] is invalid (legacy board). */ A_UINT32 hw_bd_id; A_UINT32 hw_bd_info[HW_BD_INFO_SIZE]; /* Board specific information. Invalid if hw_hd_id is zero. */ @@ -3387,7 +3387,7 @@ typedef struct { /* Following this struct are the TLV's: * WMI_DMA_RING_CAPABILITIES; * wmi_spectral_bin_scaling_params; - * WMI_MAC_PHY_CAPABILITIES_EXT; <-- EHT mac capabilites and phy capabilites info + * WMI_MAC_PHY_CAPABILITIES_EXT; <-- EHT mac capabilities and phy capabilities info * WMI_HAL_REG_CAPABILITIES_EXT2; * wmi_nan_capabilities; * WMI_SCAN_RADIO_CAPABILITIES_EXT2; @@ -3456,7 +3456,7 @@ typedef enum { WMI_FW_NAN_RTT_RESPR = 0x00000200, WMI_FW_SCAN_DBS_POLICY = 0x00000400, /* - * New fw sub feature capabilites before + * New fw sub feature capabilities before * WMI_FW_MAX_SUB_FEAT_CAP */ WMI_FW_MAX_SUB_FEAT_CAP = 0x80000000, @@ -3519,7 +3519,7 @@ typedef struct { } wmi_wlan_avoid_freq_ranges_event; #endif -/** status consists of upper 16 bits fo A_STATUS status and lower 16 bits of module ID that retuned status */ +/** status consists of upper 16 bits fo A_STATUS status and lower 16 bits of module ID that returned status */ #define WLAN_INIT_STATUS_SUCCESS 0x0 #define WLAN_INIT_STATUS_GEN_FAILED 0x1 #define WLAN_GET_INIT_STATUS_REASON(status) ((status) & 0xffff) @@ -3631,7 +3631,7 @@ typedef struct { * @brief In offload mode target supports features like WOW, chatter and other * protocol offloads. In order to support them some functionalities like * reorder buffering, PN checking need to be done in target. This determines - * maximum number of peers suported by target in offload mode + * maximum number of peers supported by target in offload mode */ A_UINT32 num_offload_peers; /* @brief Number of reorder buffers available for doing target based reorder @@ -3819,7 +3819,7 @@ typedef struct { * @details * This parameter controls the max number of Tx fragments per MSDU. * This is sent by the target as part of the WMI_SERVICE_READY event - * and is overriden by the OS shim as required. + * and is overridden by the OS shim as required. */ A_UINT32 max_frag_entries; @@ -4078,7 +4078,7 @@ typedef struct { * @details * 1 - Smart antenna is enabled. * 0 - Smart antenna is disabled. - * In future this can contain smart antenna specifc capabilities. + * In future this can contain smart antenna specific capabilities. */ A_UINT32 smart_ant_cap; @@ -4266,7 +4266,7 @@ typedef struct { * macros. * Bits 5:4 * HTT rx peer metadata version number that host supports. - * Firmware intially sends the target supported version number + * Firmware initially sends the target supported version number * as part of service_ready_ext2 message. * Host can ack the version number that it is using as part of * this message. @@ -4337,7 +4337,7 @@ typedef struct { * * @details * Bit 0 - * The bit will be set when Host HDD supports seperate iface creation + * The bit will be set when Host HDD supports separate iface creation * for NAN. More specifically Host can support creation of NAN vdev * in firmware. * @@ -4435,7 +4435,7 @@ typedef struct { /** @brief max_rnr_neighbours - * The Maximum number of neighbour RNR's from other SoC. * This limits the field @num_bss in @wmi_pdev_tbtt_offset_sync_cmd_fixed_param. - * Value of 0 means crosss SoC TBTT offset syncronization not required and + * Value of 0 means cross SoC TBTT offset synchronization not required and * @PDEV_TBTT_OFFSET_SYNC_CMD wouldn't be used. */ A_UINT32 max_rnr_neighbours; @@ -5010,7 +5010,7 @@ typedef enum { #define WMI_SET_MHS_WPA3_SUPPORT(feature_bitmap, val) \ WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 31, 1, val) -/* Vendor requirement1 supported verison info */ +/* Vendor requirement1 supported version info */ /* enum's WMI_VENDORxx_REQxx_VERSION are the possible vaues for below bitfield*/ #define WMI_GET_VENDOR_REQ_1_VERSION(var, feature_bitmap) \ WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 32, 8) @@ -5067,7 +5067,7 @@ typedef enum { #define WMI_SET_ROAMING_CTRL_GET_CU(feature_bitmap, val) \ WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 51, 1, val) -/* Vendor requirement2 supported verison info */ +/* Vendor requirement2 supported version info */ /* enum's WMI_VENDORxx_REQxx_VERSION are the possible vaues for below bitfield*/ #define WMI_GET_VENDOR_REQ_2_VERSION(var, feature_bitmap) \ WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 52, 8) @@ -5255,7 +5255,7 @@ typedef struct { } wmi_tlv_buf_len_param; /** - * TLV used for specifying the demensions of a multi-dimensional array + * TLV used for specifying the dimensions of a multi-dimensional array * that has been stored in a flat buffer */ typedef struct { @@ -5427,7 +5427,7 @@ typedef struct { * The number of probe requests specified depends on the ssid_list and bssid_list */ A_UINT32 repeat_probe_time; - /** time in msec between 2 consequetive probe requests with in a set. */ + /** time in msec between 2 consecutive probe requests with in a set. */ A_UINT32 probe_spacing_time; /** data inactivity time in msec on bss channel that will be used by scanner for measuring the inactivity */ A_UINT32 idle_time; @@ -5536,7 +5536,7 @@ typedef struct { /**When set, certain errors are ignored and scan continues. * Different FW scan engine may use its own logic to decide what errors to ignore*/ #define WMI_SCAN_CONTINUE_ON_ERROR 0x80 -/** Enable promiscous mode for CCXv4 */ +/** Enable promiscuous mode for CCXv4 */ #define WMI_SCAN_FILTER_PROMISCOUS 0x100 /** allow to send probe req on DFS channel */ #define WMI_SCAN_FLAG_FORCE_ACTIVE_ON_DFS 0x200 @@ -5552,7 +5552,7 @@ typedef struct { #define WMI_SCAN_OFFCHAN_MGMT_TX 0x2000 /** allow data transmission during off channel scan */ #define WMI_SCAN_OFFCHAN_DATA_TX 0x4000 -/** allow capture ppdu with phy errrors */ +/** allow capture ppdu with phy errors */ #define WMI_SCAN_CAPTURE_PHY_ERROR 0x8000 /** always do passive scan on passive channels */ #define WMI_SCAN_FLAG_STRICT_PASSIVE_ON_PCHN 0x10000 @@ -8097,7 +8097,7 @@ typedef enum { /** Set 5G positive and negative Tx power in 0.5dBm * units */ WMI_PDEV_PARAM_SIGNED_TXPOWER_5G, /* 0x70 */ - /** Enable/disble AMSDU for tids */ + /** Enable/disable AMSDU for tids */ WMI_PDEV_PARAM_ENABLE_PER_TID_AMSDU, /* 0x71 */ /** Enable/disable AMPDU for tids */ WMI_PDEV_PARAM_ENABLE_PER_TID_AMPDU, /* 0x72 */ @@ -8127,7 +8127,7 @@ typedef enum { * If this factor is 3, the power is scaled down by 2^3, i.e. 9 dB */ WMI_PDEV_PARAM_CUST_TXPOWER_SCALE, /* 0x7b */ - /** ATF enabe/disabe dynamically */ + /** ATF enabe/disable dynamically */ WMI_PDEV_PARAM_ATF_DYNAMIC_ENABLE, /* 0x7c */ /** Set tx retry limit for control frames. 0 = disable, 31 = max */ WMI_PDEV_PARAM_CTRL_RETRY_LIMIT, /* 0x7d */ @@ -8362,7 +8362,7 @@ typedef enum { /* * Set the base timer for the periodic CFR capture. By default this is 10ms. * The period ('periodicity' param in wmi_peer_cfr_capture_cmd) of - * CFR measurment of other peers will be in multiples of this base timer. + * CFR measurement of other peers will be in multiples of this base timer. * The unit is in milliseconds. */ WMI_PDEV_PARAM_PERIODIC_CFR_BASE_TIMER, @@ -8502,7 +8502,7 @@ typedef enum { * | If not set: The value in lower bits is the duration (in ms), * | from which the UL len is derived. * | Example: if host sets 2000 (2ms), then UL Len in trigger - * | will be derived to accomodate the given duration. + * | will be derived to accommodate the given duration. */ WMI_PDEV_PARAM_SET_TEST_CMD_UL_TRIGGER_LSIG_LEN, @@ -8528,7 +8528,7 @@ typedef enum { /* * Configure test command to set the fc duration in BSR trigger frame. - * value 0 - FW calulates the duration(default). + * value 0 - FW calculates the duration (default). * Non zero Value: Duration to be configured. */ WMI_PDEV_PARAM_SET_TEST_CMD_UL_BSR_FC_DURATION, @@ -8549,7 +8549,7 @@ typedef enum { * (SRG = Spatial Reuse Group) * The accepted values are in between 0x00 and 0xFF, inclusive. * The parameter value is programmed into the appropriate spatial reuse - * regsiter, to specify how low the background signal strength from + * register, to specify how low the background signal strength from * neighboring BSS cells must be, for this AP to employ spatial reuse. * * The value of the parameter is compared against the OBSS RSSI in dB. @@ -8563,7 +8563,7 @@ typedef enum { * BSS cells is no more than 10 dB. * * If Bit 29 is set, then input value will be in dBm. This is used - * for chipsets that uses dBm for comparision across MAC/Phy blocks. + * for chipsets that uses dBm for comparison across MAC/Phy blocks. * Older chipsets support input in dB units. For newer chipsets, dBm * units will be used. * The host will use the WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT @@ -8821,7 +8821,7 @@ typedef enum { * max probe interval. * units = milliseconds * bits | config_mode - * 0-15 | mimimum probe time for MCS + * 0-15 | minimum probe time for MCS * 16-31| maximum probe time for MCS */ WMI_PDEV_PARAM_MIN_MAX_MCS_PROBE_INTERVAL, @@ -9289,7 +9289,7 @@ typedef struct { * 1 | enable/disable SLOW diversity * 5:2 | chain0 slow-diversity weighting factor * 9:6 | chain1 slow-diversity weighting factor - * 31:10| currenty unused (set to 0x0) + * 31:10| currently unused (set to 0x0) * Refer to the above WMI_[FAST/SLOW]_DIVERSITY constants. */ A_UINT32 value; @@ -9735,8 +9735,8 @@ typedef struct { * Implementation details of the API to send the map to the target are as described- * * 1. The function will have 2 arguments- struct ieee80211com, DSCP-to-TID map. - * DSCP-to-TID map is a one dimensional u_int32_t array of length 64 to accomodate - * 64 TID values for 2^6 (64) DSCP ids. + * DSCP-to-TID map is a one dimensional u_int32_t array of length 64 to + * accommodate 64 TID values for 2^6 (64) DSCP ids. * Example: * A_UINT32 dscp_tid_map[WMI_DSCP_MAP_MAX] = { * 0, 0, 0, 0, 0, 0, 0, 0, @@ -9987,7 +9987,7 @@ typedef struct { /* The TLVs will follow. * A_UINT32 diag_events_logs_list[]; 0-15 Bits Diag EVENT/LOG ID, * Bit 16 - DIAG type EVENT/LOG, 0 - Event, 1 - LOG - * Bit 17 - Frequncy of the DIAG EVENT/LOG High Frequency -1, Low Frequency - 0 + * Bit 17 - Frequency of the DIAG EVENT/LOG High Frequency -1, Low Frequency - 0 * Bit 18 - Set if the EVENTS/LOGs are used for EXT DEBUG Framework */ } wmi_diag_event_log_supported_event_fixed_params; @@ -10432,7 +10432,7 @@ typedef struct { A_UINT32 num_peers; /** Indicates the fragment number */ A_UINT32 peer_event_number; - /** Indicates if there are more peers which will be sent as seperate peer_stats event */ + /** Indicates if there are more peers which will be sent as separate peer_stats event */ A_UINT32 more_data; /** Indicates the vdev id of the stats for MLO stats query */ wmi_vdev_id_info vdev_id_info; @@ -10453,7 +10453,7 @@ typedef struct { A_UINT32 tx_mpdu; /** number of received unicast mpdus */ A_UINT32 rx_mpdu; - /** number of succesfully transmitted multicast data packets */ + /** number of successfully transmitted multicast data packets */ /** STA case: implies ACK received from AP for the unicast packet in which mcast pkt was sent */ A_UINT32 tx_mcast; /** number of received multicast data packets */ @@ -11430,7 +11430,7 @@ typedef struct { /** number of peers in peer_stats_info[] */ A_UINT32 num_peers; /** flag to indicate if there are more peers which will - * be sent a following seperate peer_stats_info event */ + * be sent a following separate peer_stats_info event */ A_UINT32 more_data; /* This TLV is followed by another TLV of array of structs * wmi_peer_stats_info peer_stats_info[]; @@ -11925,7 +11925,7 @@ typedef struct { * AWGN pkt drop trigger count * This shows how many times the presence of interference on the * primary BW has been inferred due to pkt drops. - * WMI_DCS_INTERFERENCE_EVENTID wil be sent whenever there is + * WMI_DCS_INTERFERENCE_EVENTID will be sent whenever there is * interference on Primary Channel. */ A_UINT32 awgn_pkt_drop_trigger_cnt; @@ -11935,7 +11935,7 @@ typedef struct { * AWGN bandwidth drop count * This is used to inform count for any frame transmitted on lower BW * than configured BW. - * WMI_DCS_INTERFERENCE_EVENTID wil be sent whenever there is BW drop. + * WMI_DCS_INTERFERENCE_EVENTID will be sent whenever there is BW drop. */ A_UINT32 awgn_bw_drop_cnt; /* AWGN bandwidth drop reset count */ @@ -11943,7 +11943,7 @@ typedef struct { /* * AWGN CCA int count * This is used to inform the interference based on CCA registers. - * WMI_DCS_INTERFERENCE_EVENTID wil be sent whenever there is CCA + * WMI_DCS_INTERFERENCE_EVENTID will be sent whenever there is CCA * interference. */ A_UINT32 awgn_cca_int_cnt; @@ -11954,7 +11954,7 @@ typedef struct { /* AWGN cca ack blk reset count */ A_UINT32 awgn_cca_ack_reset_cnt; /* - * AWGN int BW cnt used to store interference occured at 20/40/80/160MHz + * AWGN int BW cnt used to store interference occurred at 20/40/80/160MHz * bw_cnt[0] counts interference detections in 20 MHz BW, * bw_cnt[1] counts interference detections in 40 MHz BW, * bw_cnt[2] counts interference detections in 80 MHz BW, @@ -12019,7 +12019,7 @@ typedef struct { A_UINT32 pdev_id; /* pdev_id for identifying the MAC/PHY */ - /* Count of new request ID everytime it is generated */ + /* Count of new request ID every time it is generated */ A_UINT32 request_id_count; /* Count of total number of AFC payload received */ A_UINT32 response_count; @@ -12106,11 +12106,11 @@ typedef struct { * Regulatory Compliance check done on the AFC payload * received from server */ - /* Incorrect PSD value recieved in freq Obj */ + /* Incorrect PSD value received in freq Obj */ A_UINT32 psd_failure_count; - /* Incorrect End freq recieved in freq Obj */ + /* Incorrect End freq received in freq Obj */ A_UINT32 psd_end_freq_failure_count; - /* Incorrect Start freq recieved in freq Obj */ + /* Incorrect Start freq received in freq Obj */ A_UINT32 psd_start_freq_failure_count; /* Incorrect EIRP received in channel obj */ A_UINT32 eirp_failure_count; @@ -12375,8 +12375,8 @@ typedef struct { } wmi_vdev_stats; /* - * vdev ext stats with additonal bcn stats - * (Due to backward compatiblity requirements, these new stats fields cannot be + * vdev ext stats with additional bcn stats + * (Due to backward compatibility requirements, these new stats fields cannot be * added inside wmi_vdev_stats.) */ typedef struct { @@ -12755,7 +12755,7 @@ typedef struct { /** VDEV update mac address event response status codes */ typedef enum { - /** VDEV mac address updated sucessfully */ + /** VDEV mac address updated successfully */ WMI_VDEV_UPDATE_MAC_ADDR_CONF_STATUS_SUCCESS = 0, /** Requested VDEV not found */ WMI_VDEV_UPDATE_MAC_ADDR_CONF_STATUS_INVALID_VDEVID = 1, @@ -12832,7 +12832,7 @@ typedef enum { */ #define WMI_UNIFIED_VDEV_SUBTYPE_MESH_11S 0x6 /* Subtype to indicate that the AP VAP is in smart monitor mode - * This is needed to differentiate in firmware betweem normal AP mode + * This is needed to differentiate in firmware between normal AP mode * with smart monitor AP mode */ #define WMI_UNIFIED_VDEV_SUBTYPE_SMART_MON 0x7 @@ -12952,10 +12952,10 @@ typedef enum { #define WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy) WMI_GET_BITS(he_cap_phy[0], 13, 1) #define WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value) WMI_SET_BITS(he_cap_phy[0], 13, 1, value) -/* Below 2 macros are for maintaining backward compatability - Deprecated use WMI_HECAP_PHY_LDPC instead */ +/* Below 2 macros are for maintaining backward compatibility - Deprecated use WMI_HECAP_PHY_LDPC instead */ #define WMI_HECAP_PHY_TXLDPC_GET_D2(he_cap_phy) WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy) #define WMI_HECAP_PHY_TXLDPC_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value) -/* Below 2 macros are for maintaining backward compatability - Deprecated use WMI_HECAP_PHY_LDPC instead */ +/* Below 2 macros are for maintaining backward compatibility - Deprecated use WMI_HECAP_PHY_LDPC instead */ #define WMI_HECAP_PHY_RXLDPC_GET_D2(he_cap_phy) WMI_HECAP_PHY_LDPC_GET_D2(he_cap_phy) #define WMI_HECAP_PHY_RXLDPC_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LDPC_SET_D2(he_cap_phy, value) @@ -13346,13 +13346,13 @@ typedef enum { #define WMI_HECAP_MAC_MBSS_SET_D2(he_cap, value) WMI_SET_BITS(he_cap, 31, 1, value) /* BSRP A-MPDU Aggregation - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_BSRPAMPDU_GET_D2(he_cap) (0) #define WMI_HECAP_MAC_BSRPAMPDU_SET_D2(he_cap, value) {;} /* Quiet Time Period (QTP) operation - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_QTP_GET_D2(he_cap) (0) #define WMI_HECAP_MAC_QTP_SET_D2(he_cap, value) {;} @@ -13360,7 +13360,7 @@ typedef enum { /* support by an AP for receiving an (A-)MPDU that contains a BQR in the * A-Control subfield and support by a non-AP STA for generating an (A-)MPDU * that contains a BQR in the A-Control subfield - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_ABQR_GET_D2(he_cap) (0) #define WMI_HECAP_MAC_ABQR_SET_D2(he_cap, value) {;} @@ -13397,7 +13397,7 @@ typedef enum { #define WMI_HECAP_PHY_CBMODE_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_CBMODE_SET_D2(he_cap_phy, value) -/* Below 2 macros are for maintaining backward compatability - Deprecated use WMI_HECAP_PHY_LTFGIFORHE_GET instead */ +/* Below 2 macros are for maintaining backward compatibility - Deprecated use WMI_HECAP_PHY_LTFGIFORHE_GET instead */ #define WMI_HECAP_PHY_OLTF_GET_D2(he_cap_phy) WMI_HECAP_PHY_LTFGIFORHE_GET_D2(he_cap_phy) #define WMI_HECAP_PHY_OLTF_SET_D2(he_cap_phy, value) WMI_HECAP_PHY_LTFGIFORHE_SET_D2(he_cap_phy, value) @@ -13493,13 +13493,13 @@ typedef struct { A_UINT32 flags; /** ssid field. Only valid for AP/GO/IBSS/BTAmp VDEV type. */ wmi_ssid ssid; - /** beacon/probe reponse xmit rate. Applicable for SoftAP. */ + /** beacon/probe response xmit rate. Applicable for SoftAP. */ /** This field will be invalid and ignored unless the */ /** flags field has the WMI_UNIFIED_VDEV_START_BCN_TX_RATE_PRESENT bit. */ /** When valid, this field contains the fixed tx rate for the beacon */ /** and probe response frames send by the GO or SoftAP */ A_UINT32 bcn_tx_rate; - /** beacon/probe reponse xmit power. Applicable for SoftAP. */ + /** beacon/probe response xmit power. Applicable for SoftAP. */ A_UINT32 bcn_txPower; /** number of p2p NOA descriptor(s) from scan entry */ A_UINT32 num_noa_descriptors; @@ -13533,7 +13533,7 @@ typedef struct { A_UINT32 eht_ops; A_UINT32 puncture_20mhz_bitmap; /* each bit indicates one 20 MHz BW punctured */ - A_UINT32 mbssid_multi_group_flag; /* Flag to indentify whether multi group mbssid is supported */ + A_UINT32 mbssid_multi_group_flag; /* Flag to identify whether multi group mbssid is supported */ A_UINT32 mbssid_multi_group_id; /* Group id of current vdev only valid when multi group mbssid is supported */ /* The TLVs follows this structure: @@ -13760,7 +13760,7 @@ typedef enum { WMI_VDEV_PARAM_BEACON_INTERVAL, /* 0x3 */ /** Listen interval in TUs */ WMI_VDEV_PARAM_LISTEN_INTERVAL, /* 0x4 */ - /** muticast rate in Mbps */ + /** multicast rate in Mbps */ WMI_VDEV_PARAM_MULTICAST_RATE, /* 0x5 */ /** management frame rate in Mbps */ WMI_VDEV_PARAM_MGMT_TX_RATE, /* 0x6 */ @@ -13780,7 +13780,7 @@ typedef enum { WMI_VDEV_PARAM_DTIM_PERIOD, /* 0xd */ /** scheduler air time limit for this VDEV. used by off chan scheduler */ WMI_VDEV_OC_SCHEDULER_AIR_TIME_LIMIT, /* 0xe */ - /** enable/dsiable WDS for this VDEV */ + /** enable/disable WDS for this VDEV */ WMI_VDEV_PARAM_WDS, /* 0xf */ /** ATIM Window */ WMI_VDEV_PARAM_ATIM_WINDOW, /* 0x10 */ @@ -14013,7 +14013,7 @@ typedef enum { WMI_VDEV_PARAM_STATS_AVG_FACTOR, /* 0x4b */ /** disconnect threshold, once the consecutive error for specific peer - * exceed this threhold, FW will send kickout event to host */ + * exceed this threshold, FW will send kickout event to host */ WMI_VDEV_PARAM_DISCONNECT_TH, /* 0x4c */ /** The rate_code of RTS_CTS changed by host. Now FW can support @@ -14337,7 +14337,7 @@ typedef enum { * resides with default BDF setting) & host wants to disable GTX, * the VDEV does not exercise any more TPC changes on the GTX supported * rates & goes to a default GTX SM where all PPDU's sent on default TPC. - * Whenever, host wants to reenable GTX, the enable command resumes the + * Whenever, host wants to re-enable GTX, the enable command resumes the * GTX functionality & TPC convergence to lower power levels can be * attained as long as PER on GTX supported rates is within the pre-defined * PER margin configured through the BDF. @@ -14491,7 +14491,7 @@ typedef enum { * Bits 23:16 - TID_VALID_HI_PRI(8) * Bits 31:24 - TID_VALID_LOW_PRI(8) * - * The below macros can be used to set/get the relevent fields. + * The below macros can be used to set/get the relevant fields. * WMI_MSDU_FLOW_ASTX_MSDU_FLOW_MASKS_GET(msdu_flow_config1, ast_x) * WMI_MSDU_FLOW_ASTX_MSDU_FLOW_MASKS_SET(msdu_flow_config1, ast_x, mask) * WMI_MSDU_FLOW_TID_VALID_HI_MASKS_GET(msdu_flow_config1) @@ -14552,7 +14552,7 @@ typedef enum { * (SRG = Spatial Reuse Group) * The accepted values are in between 0x00 and 0xFF, inclusive. * The parameter value is programmed into the appropriate spatial reuse - * regsiter, to specify how low the background signal strength from + * register, to specify how low the background signal strength from * neighboring BSS cells must be, for this AP to employ spatial reuse. * * The value of the parameter is compared against the OBSS RSSI in dB. @@ -14566,7 +14566,7 @@ typedef enum { * BSS cells is no more than 10 dB. * * If Bit 29 is set, then input value will be in dBm. This is used - * for chipsets that uses dBm for comparision across MAC/Phy blocks. + * for chipsets that use dBm for comparison across MAC/Phy blocks. * Older chipsets support input in dB units. For newer chipsets, dBm * units will be used. * The host will use the WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT @@ -15134,9 +15134,9 @@ WMI_VDEV_PARAM_ROAM_FW_OFFLOAD WMI_VDEV_PARAM **/ /** the definition of different START/RESTART Event response */ typedef enum { - /* Event respose of START CMD */ + /* Event response of START CMD */ WMI_VDEV_START_RESP_EVENT = 0, - /* Event respose of RESTART CMD */ + /* Event response of RESTART CMD */ WMI_VDEV_RESTART_RESP_EVENT, } WMI_START_EVENT_PARAM; @@ -15214,7 +15214,7 @@ typedef struct { } wmi_vdev_bss_max_idle_time_cmd_fixed_param; /** VDEV start response status codes */ -#define WMI_VDEV_START_RESPONSE_STATUS_SUCCESS 0x0 /** VDEV succesfully started */ +#define WMI_VDEV_START_RESPONSE_STATUS_SUCCESS 0x0 /** VDEV successfully started */ #define WMI_VDEV_START_RESPONSE_INVALID_VDEVID 0x1 /** requested VDEV not found */ #define WMI_VDEV_START_RESPONSE_NOT_SUPPORTED 0x2 /** unsupported VDEV combination */ #define WMI_VDEV_START_RESPONSE_DFS_VIOLATION 0x3 /** DFS_VIOLATION since channel in the NOL is selected */ @@ -15650,7 +15650,7 @@ enum wmi_sta_ps_param_tx_wake_threshold { */ enum wmi_sta_ps_param_pspoll_count { WMI_STA_PS_PSPOLL_COUNT_NO_MAX = 0, -/* Values greater than 0 indicate the maximum numer of PS-Poll frames FW +/* Values greater than 0 indicate the maximum number of PS-Poll frames FW * will send before waking up. */ }; @@ -15869,7 +15869,7 @@ typedef struct { A_UINT32 value; } wmi_ap_ps_peer_cmd_fixed_param; -/** Configure peer station 11v U-APSD coexistance +/** Configure peer station 11v U-APSD coexistence * * Two parameters from uaspd coexistence ie info (as specified in 11v) are * sent down to FW along with this command. @@ -15910,7 +15910,7 @@ typedef struct { * 1 -> enabled */ A_UINT32 enabled; - /** Duration/Interval as defined by 11v U-ASPD coexistance */ + /** Duration/Interval as defined by 11v U-ASPD coexistence */ A_UINT32 duration_interval; /** Upper 32 bits of 64-bit TSF offset */ A_UINT32 tsf_offset_high; @@ -15975,7 +15975,7 @@ typedef enum { } wmi_ap_ps_egap_status_type; /** - * send ehanced green ap status to host + * send enhanced green ap status to host */ typedef struct { @@ -16237,7 +16237,7 @@ enum peer_rate_report_cond_phy_type { }; typedef struct { - A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_rate_report_condtion_fixed_param */ + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_rate_report_condition_fixed_param */ A_UINT32 enable_rate_report; /* 1= enable, 0=disable */ A_UINT32 report_backoff_time; /* in unit of msecond */ A_UINT32 report_timer_period; /* in unit of msecond */ @@ -16530,7 +16530,7 @@ typedef struct { /** Number of AC to specify */ A_UINT32 num_ac; /* - * Following this struc is the TLV: + * Following this struct is the TLV: * wmi_sta_uapsd_auto_trig_param ac_param[]; <-- Variable number of AC parameters (defined by field num_ac) */ @@ -16753,7 +16753,7 @@ typedef struct { wmi_mac_addr peer_macaddr; /** parameter id */ A_UINT32 param_id; - /** parametr value */ + /** parameter value */ A_UINT32 param_value; } wmi_peer_set_param_cmd_fixed_param; @@ -16789,10 +16789,10 @@ typedef union { * tx_rate = else: invalid */ enum { - WMI_MAX_CCK_TX_RATE_1M, /* up to 1M CCK Rate avaliable */ - WMI_MAX_CCK_TX_RATE_2M, /* up to 2M CCK Rate avaliable */ - WMI_MAX_CCK_TX_RATE_5_5M, /* up to 5.5M CCK Rate avaliable */ - WMI_MAX_CCK_TX_RATE_11M, /* up to 11M CCK Rate avaliable */ + WMI_MAX_CCK_TX_RATE_1M, /* up to 1M CCK Rate available */ + WMI_MAX_CCK_TX_RATE_2M, /* up to 2M CCK Rate available */ + WMI_MAX_CCK_TX_RATE_5_5M, /* up to 5.5M CCK Rate available */ + WMI_MAX_CCK_TX_RATE_11M, /* up to 11M CCK Rate available */ WMI_MAX_CCK_TX_RATE = WMI_MAX_CCK_TX_RATE_11M, }; @@ -16808,14 +16808,14 @@ enum { * tx_rate = else: invalid */ enum { - WMI_MAX_OFDM_TX_RATE_6M, /* up to 6M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_9M, /* up to 9M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_12M, /* up to 12M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_18M, /* up to 18M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_24M, /* up to 24M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_36M, /* up to 36M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_48M, /* up to 48M OFDM Rate avaliable */ - WMI_MAX_OFDM_TX_RATE_54M, /* up to 54M OFDM Rate avaliable */ + WMI_MAX_OFDM_TX_RATE_6M, /* up to 6M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_9M, /* up to 9M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_12M, /* up to 12M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_18M, /* up to 18M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_24M, /* up to 24M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_36M, /* up to 36M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_48M, /* up to 48M OFDM Rate available */ + WMI_MAX_OFDM_TX_RATE_54M, /* up to 54M OFDM Rate available */ WMI_MAX_OFDM_TX_RATE = WMI_MAX_OFDM_TX_RATE_54M, }; @@ -17109,17 +17109,17 @@ typedef struct { A_UINT32 peer_caps; /** Listen interval */ A_UINT32 peer_listen_intval; - /** HT capabilties of the peer */ + /** HT capabilities of the peer */ A_UINT32 peer_ht_caps; /** maximum rx A-MPDU length */ A_UINT32 peer_max_mpdu; /** mpdu density of the peer in usec(0 to 16) */ A_UINT32 peer_mpdu_density; - /** peer rate capabilties see flags above */ + /** peer rate capabilities see flags above */ A_UINT32 peer_rate_caps; /** num spatial streams */ A_UINT32 peer_nss; - /** VHT capabilties of the peer */ + /** VHT capabilities of the peer */ A_UINT32 peer_vht_caps; /** phy mode */ A_UINT32 peer_phymode; @@ -17217,9 +17217,9 @@ typedef struct { /* 802.11be capabilities and other params */ A_UINT32 puncture_20mhz_bitmap; /* each bit indicates one 20Mhz bw puntured */ - /* EHT mac capabilites from BSS beacon EHT cap IE, total WMI_MAX_EHTCAP_MAC_SIZE*A_UINT32 bits */ + /* EHT mac capabilities from BSS beacon EHT cap IE, total WMI_MAX_EHTCAP_MAC_SIZE*A_UINT32 bits */ A_UINT32 peer_eht_cap_mac[WMI_MAX_EHTCAP_MAC_SIZE]; - /* EHT phy capabilites from BSS beacon EHT cap IE, total WMI_MAX_EHTCAP_PHY_SIZE*A_UINT32 bits */ + /* EHT phy capabilities from BSS beacon EHT cap IE, total WMI_MAX_EHTCAP_PHY_SIZE*A_UINT32 bits */ A_UINT32 peer_eht_cap_phy[WMI_MAX_EHTCAP_PHY_SIZE]; A_UINT32 peer_eht_ops; wmi_ppe_threshold peer_eht_ppet; @@ -17227,7 +17227,7 @@ typedef struct { /* Following this struct are the TLV's: * A_UINT8 peer_legacy_rates[]; * A_UINT8 peer_ht_rates[]; - * wmi_vht_rate_set peer_vht_rates; <-- VHT capabilties of the peer + * wmi_vht_rate_set peer_vht_rates; <-- VHT capabilities of the peer * WMI_he_rate_set_peer_he_rates; <-- HE capabilities of the peer * wmi_peer_assoc_mlo_params mlo_params[0,1]; <-- MLO parameters opt. TLV * Only present for MLO peers. @@ -17433,7 +17433,7 @@ typedef struct _wlan_dcs_im_tgt_stats { A_UINT32 reg_tsf32; /** Known last frame rssi, in case of multiple stations, if - * and at different ranges, this would not gaurantee that + * and at different ranges, this would not guarantee that * this is the least rssi. */ A_UINT32 last_ack_rssi; @@ -17471,7 +17471,7 @@ typedef struct _wlan_dcs_im_tgt_stats { /** total cycle counts MAC_PCU_CYCLE_CNT_ADDRESS */ A_UINT32 reg_cycle_cnt; /* delta cycle count */ - /** extenstion channel rx clear count */ + /** extension channel rx clear count */ A_UINT32 reg_rxclr_ext_cnt; /** OFDM phy error counts, MAC_PCU_PHY_ERR_CNT_1_ADDRESS */ @@ -17540,7 +17540,7 @@ typedef struct { * elements (not arrays). union { wlan_dcs_cw_int cw_int; wlan_dcs_im_tgt_stats_t wlan_stat; } int_event; * * wlan_dcs_cw_int cw_int[]; <-- cw_interference event - * wlan_dcs_im_tgt_stats_t wlan_stat[]; <-- wlan im interfernce stats + * wlan_dcs_im_tgt_stats_t wlan_stat[]; <-- wlan im interference stats * wmi_dcs_awgn_int_t awgn_int[]; <-- Additive white Gaussian noise (awgn) interference */ } wmi_dcs_interference_event_fixed_param; @@ -17642,7 +17642,7 @@ typedef struct { #define WMI_ROAM_SCAN_STOP_CMD 0x1 /** - * WMI_ROAM_SCAN_RSSI_THRESHOLD : set scan rssi thresold + * WMI_ROAM_SCAN_RSSI_THRESHOLD : set scan rssi threshold * scan rssi threshold is the rssi threshold below which the FW will start running Roam scans. * Applicable when WMI_ROAM_SCAN_MODE is not set to none. */ @@ -17779,7 +17779,7 @@ typedef struct { A_UINT32 penalty_algorithm_5g; /** 0 == fixed, 1 == linear, 2 == logarithm ..etc */ A_UINT32 penalty_factor_5g; /** factor by which 5GHz RSSI is penalized */ A_UINT32 max_boost_5g; /** maximum boost that can be applied to a 5GHz RSSI */ - A_UINT32 max_penalty_5g; /** maximum penality that can be applied to a 5GHz RSSI */ + A_UINT32 max_penalty_5g; /** maximum penalty that can be applied to a 5GHz RSSI */ A_UINT32 good_rssi_threshold; /** RSSI below which roam is kicked in by background scan, although rssi is still good */ } wmi_roam_scan_extended_threshold_param; @@ -18217,7 +18217,7 @@ typedef struct { */ A_UINT32 oce_ap_subnet_id_weightage_pcnt; /* - * Give weightage to SAE-PK (Simulataneous Authentication of Equals - + * Give weightage to SAE-PK (Simultaneous Authentication of Equals - * Public Key) enabled network APs. * Only used if sae_pk_ap_weightage_pcnt != 0. */ @@ -18288,11 +18288,11 @@ typedef struct { A_UINT32 flags; /** * rssi threshold value in dB: the value of the candidate AP should - * higher by this threshold than the rssi of the currrently associated AP. + * higher by this threshold than the rssi of the currently associated AP. */ A_UINT32 rssi_threshold; /** - * ssid vlaue to be matched. + * ssid value to be matched. */ wmi_ssid ssid; @@ -18317,7 +18317,7 @@ typedef struct { /** * bg_rssi_threshold value in dB: For background scan the value of * the candidate AP should be higher by this threshold than the rssi - * of the currrently associated AP. + * of the currently associated AP. */ A_UINT32 bg_rssi_threshold; } wmi_ap_profile; @@ -18422,7 +18422,7 @@ typedef struct { */ A_UINT32 flags; /** - * RSSI threshold in dBm above which roaming scan will be supressed + * RSSI threshold in dBm above which roaming scan will be suppressed * during some roaming trigger. */ A_INT32 roam_data_rssi_thres; @@ -18566,7 +18566,7 @@ typedef struct { /** * WMI_OFL_SCAN_PERIOD: period in msec for offload scan. - * 0 will disable ofload scan and a very low value will perform a continous + * 0 will disable ofload scan and a very low value will perform a continuous * scan. */ typedef struct { @@ -18901,7 +18901,7 @@ typedef enum #define WMI_ROAM_NOTIF_SCAN_END 0xc /** indicate roam scan end, notif_params to be sent as WMI_ROAM_TRIGGER_REASON_ID */ /**whenever RIC request information change, host driver should pass all ric related information to firmware (now only support tsepc) -* Once, 11r roaming happens, firmware can generate RIC request in reassoc request based on these informations +* Once, 11r roaming happens, firmware can generate RIC request in reassoc request based on this information */ typedef struct { @@ -19287,7 +19287,7 @@ typedef struct { } wmi_p2p_go_set_probe_resp_ie; /** WMI_P2P_SET_VENDOR_IE_DATA_CMDID: Vendor specific P2P IE data, which will - * be used by the FW to parse the P2P NoA attribute in beacons, probe resposes + * be used by the FW to parse the P2P NoA attribute in beacons, probe responses * and action frames received by the P2P Client. * Note: This command is currently used only for Apple P2P implementation. */ @@ -19304,7 +19304,7 @@ typedef struct { typedef struct { A_UINT32 pattern_type; /** - * TLV (tag length value) paramerters follow the pattern structure. + * TLV (tag length value) parameters follow the pattern structure. * TLV can contain bssid list, ssid list and * ie. the TLV tags are defined above; */ @@ -19334,7 +19334,7 @@ typedef struct { /* p2p find full channel number */ A_UINT32 num_scan_chans; /** - * TLV (tag length value) paramerters follow the pattern structure. + * TLV (tag length value) parameters follow the pattern structure. * TLV contain channel list in MHz */ } wmi_p2p_disc_offload_config_cmd; @@ -19721,7 +19721,7 @@ typedef enum { } WOW_IFACE_STATUS; enum { - WMI_WOW_FLAG_IGNORE_PCIE_RESET = 0x00000001, /* some win10 platfrom will not assert pcie_reset for wow.*/ + WMI_WOW_FLAG_IGNORE_PCIE_RESET = 0x00000001, /* some win10 platform will not assert pcie_reset for wow.*/ /* WMI_WOW_FLAG_SEND_PM_PME * Some platforms have issues if the PM_PME message is sent after WoW, * so don't send PM_PME after WoW unless the host uses this flag @@ -19736,7 +19736,7 @@ enum { WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP = 0x00000010, /* * To differentiate system suspend Vs RTPM BIT set - - * Sytem Suspend WOW, BIT Reset- RTPM (DRV) + * System Suspend WOW, BIT Reset- RTPM (DRV) */ WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW = 0x00000020, /* @@ -19976,7 +19976,7 @@ typedef struct { * If init_state is 0, a low --> high transition * causes a host wakeup interrupt. * If init_state is 1, a high --> low transition - * causes a host wakeup interrrupt. + * causes a host wakeup interrupt. */ } WMI_WOW_HOSTWAKEUP_GPIO_PIN_PATTERN_CONFIG_CMD_fixed_param; @@ -20095,7 +20095,7 @@ typedef struct { A_UINT32 coapmsg_len; /* keeplive CoAP message length */ /* The below TLV (tag length value) parameters follow this fixed_param TLV: * A_UINT8 coapmsg[]; CoAP keepalive message, - * length specifed by coapmsg_len field + * length specified by coapmsg_len field */ } WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMD_fixed_param; @@ -20184,7 +20184,7 @@ typedef struct wow_event_info_section_bitmap_s { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_WOW_EVENT_INFO_SECTION_BITMAP */ A_UINT32 flag; /*This is current reserved.*/ A_UINT32 value; /*This could be the pattern id for bitmap pattern.*/ - A_UINT32 org_len; /*The length of the orginal packet.*/ + A_UINT32 org_len; /*The length of the original packet.*/ } WOW_EVENT_INFO_SECTION_BITMAP; /** @@ -20314,7 +20314,7 @@ typedef struct { A_UINT32 rc4_read_x; A_UINT32 rc4_read_y; - /* used to caculate HMAC hash for transmit packet such as keep-alive */ + /* used to calculate HMAC hash for transmit packet such as keep-alive */ A_UINT8 ssl_write_seq[8]; A_UINT8 ssl_sha1_write_key[64]; A_UINT32 ssl_sha1_write_key_len; @@ -20437,7 +20437,7 @@ typedef struct { A_UINT32 timeout; A_UINT32 length; /*Following this would be the pattern - A_UINT8 pattern[] of length specifed by length + A_UINT8 pattern[] of length specified by length field in the structure.*/ } WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param; @@ -20533,7 +20533,7 @@ typedef struct { A_UINT32 vdev_id; /** Number of requested SSN In the TLV wmi_ba_req_ssn[] */ A_UINT32 num_ba_req_ssn; -/* Following this struc are the TLV's: +/* Following this struct are the TLV's: * wmi_ba_req_ssn ba_req_ssn_list; All peer and tidBitMap for which the ssn is requested */ } wmi_ba_req_ssn_cmd_fixed_param; @@ -20572,7 +20572,7 @@ typedef struct { A_UINT32 status; /** Number of requested SSN In the TLV wmi_ba_req_ssn[] */ A_UINT32 num_ba_event_ssn; -/* Following this struc are the TLV's: +/* Following this struct are the TLV's: * wmi_ba_event_ssn ba_event_ssn_list; All peer and tidBitMap for which the ssn is requested */ } wmi_ba_rsp_ssn_event_fixed_param; @@ -20586,7 +20586,7 @@ enum wmi_aggr_state_req_type { /* * This event is generated by the COEX module - * when esco call is begins the coex module in fw genrated this event to host to + * when esco call is begins the coex module in fw generated this event to host to * disable the RX aggregation and after completion of the esco call fw will indicate to * enable back the Rx aggregation . */ @@ -20759,7 +20759,7 @@ typedef struct nlo_channel_prediction_cfg { A_UINT32 top_k_num; /* Preconfigured stationary threshold. * Lesser value means more conservative. Bigger value means more aggressive. - * Maximum is 100 and mininum is 0. */ + * Maximum is 100 and minimum is 0. */ A_UINT32 stationary_threshold; /* Periodic full channel scan in milliseconds unit. * After full_scan_period_ms since last full scan, channel prediction @@ -21012,11 +21012,11 @@ typedef struct _chatter_pkt_coalescing_hdr_test { /** packet coalescing filter*/ typedef struct _chatter_pkt_coalescing_filter { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_chatter_pkt_coalescing_filter */ - A_UINT32 filter_id; /*unique id assigned by OS*/ - A_UINT32 max_coalescing_delay; /*max miliseconds 1st pkt can be hold*/ - A_UINT32 pkt_type; /*unicast/multicast/broadcast*/ - A_UINT32 num_of_test_field; /*number of field test in table*/ - chatter_pkt_coalescing_hdr_test test_fields[CHATTER_MAX_FIELD_TEST]; /*field test tbl*/ + A_UINT32 filter_id; /* unique id assigned by OS */ + A_UINT32 max_coalescing_delay; /* max milliseconds 1st pkt can be held */ + A_UINT32 pkt_type; /* unicast/multicast/broadcast */ + A_UINT32 num_of_test_field; /* number of field test in table */ + chatter_pkt_coalescing_hdr_test test_fields[CHATTER_MAX_FIELD_TEST]; /* field test tbl */ } chatter_pkt_coalescing_filter; /** packet coalescing filter add command*/ @@ -21156,7 +21156,7 @@ typedef struct { A_UINT32 method; /* keep alive method */ A_UINT32 interval; /* time interval in seconds */ /* - * NOTE: following this structure is the TLV for ARP Resonse: + * NOTE: following this structure is the TLV for ARP Response: * WMI_STA_KEEPALVE_ARP_RESPONSE arp_resp; <-- ARP response */ } WMI_STA_KEEPALIVE_CMD_fixed_param; @@ -21425,7 +21425,7 @@ typedef struct { /** number of NoA desc. In the TLV noa_descriptor[] */ A_UINT32 num_noa; /** - * TLV (tag length value) paramerters follow the pattern structure. + * TLV (tag length value) parameters follow the pattern structure. * TLV contain NoA desc with num of num_noa */ } wmi_p2p_set_noa_cmd_fixed_param; @@ -22765,7 +22765,7 @@ typedef struct { * The number of probe requests specified depends on the ssid_list and bssid_list */ A_UINT32 repeat_probe_time; - /** time in msec between 2 consequetive probe requests with in a set. */ + /** time in msec between 2 consecutive probe requests with in a set. */ A_UINT32 probe_spacing_time; /** data inactivity time in msec on bss channel that will be used by scanner for measuring the inactivity */ A_UINT32 idle_time; @@ -22904,7 +22904,7 @@ typedef struct { A_UINT32 tlv_header; /** gpip pin number */ A_UINT32 gpio_pin_num; - /** gpio interupt type */ + /** gpio interrupt type */ A_UINT32 int_type; /** RF radio status */ A_UINT32 radio_state; @@ -23103,7 +23103,7 @@ typedef struct { * If number of msdus in a queue excess over qdepth_thresh_value value * while queuing msdu's then we drop new msdus. * (Though dropping older (stale) data rather than newer data might be - * preferable, the dropping is performed by MAC HW, and theres no option + * preferable, the dropping is performed by MAC HW, and there's no option * to configure the HW to do head dropping rather than tail dropping.) */ A_UINT32 qdepth_thresh_value; @@ -23449,7 +23449,7 @@ enum wmi_rmc_mode { /** Enable RMC transmitter functionality. Upon * receiving this, the FW shall mutlicast frames with - * reliablity. This is a vendor + * reliability. This is a vendor * proprietary feature. */ typedef struct { /** TLV tag and len; tag equals @@ -23603,7 +23603,7 @@ typedef struct { /** RSSI recorded in the ppdu */ A_UINT8 rssi; - /** extened RSSI info */ + /** extended RSSI info */ A_UINT8 rssi_ext; union { @@ -23726,7 +23726,7 @@ typedef struct { * array of wmi_tpc_chainmask_config structures are passed with the command to specify multiple conditions. * * The set of conditions include bt status, stbc status, band, phy_mode, 1stream/2streams, channel, rate. when all these conditions meet, - * the output(tpc_offset,chainmask) will be applied on per packet basis. ack_offset is applied based on channel condtion only. When multiple + * the output(tpc_offset,chainmask) will be applied on per packet basis. ack_offset is applied based on channel condition only. When multiple * conditions has the same channel ,then the first ack_offset will be applied. It is better for host driver to make sure the * pair is unique. * @@ -23845,8 +23845,8 @@ typedef struct { typedef struct { A_UINT32 tlv_header; /** Basic condition defined as bit map above, bitmap is chosen to save memory. - * Bit0 ~ Bit4: tpc offset which will be adjusted if condtion matches, the unit is 0.5dB. bit4 indicates signed - * Bit5 ~ Bit9: ack offset which will be adjusted if condtion matches, the unit is 0.5dB. bit9 indicates signed + * Bit0 ~ Bit4: tpc offset which will be adjusted if condition matches, the unit is 0.5dB. bit4 indicates signed + * Bit5 ~ Bit9: ack offset which will be adjusted if condition matches, the unit is 0.5dB. bit9 indicates signed * Bit10 ~ Bit11: chainmask b'00: don't care, b'01: force to use chain0, b'10: force to use chain1, b'11: force to use chain0&chain1 * Bit12 ~ Bit13: bt condition b'00: don't care, b'01: apply only when bt on, b'10: apply only when bt off, b'11: reserved * Bit14 ~ Bit15: stbc condition b'00: don't care, b'01: apply only when stbc on, b'10: apply only when stbc off, b'11: reserved @@ -23891,7 +23891,7 @@ typedef struct { typedef struct { A_UINT32 tlv_header; - A_UINT32 enable; /** enable to set tpc & chainmask when condtions meet, 0: disabled, 1: enabled. */ + A_UINT32 enable; /** enable to set tpc & chainmask when conditions meet, 0: disabled, 1: enabled. */ A_UINT32 num_tpc_chainmask_configs; /** following this structure is num_tpc_chainmask_configs number of wmi_tpc_chainmask_config */ } wmi_tpc_chainmask_config_cmd_fixed_param; @@ -25049,7 +25049,7 @@ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_frame_event_fixed_param */ /** Unique id identifying the VDEV on which roaming is done by firmware */ A_UINT32 vdev_id; - /* Exact frame length without considering 4 byte alignement */ + /* Exact frame length without considering 4 byte alignment */ A_UINT32 frame_length; A_INT32 rssi; /* Units in dBm */ /* The frequency on which to transmit. */ @@ -25203,7 +25203,7 @@ enum { typedef struct { /** * TLV tag and len; - * tag equals WMITLV_TAG_STRUC_wmi_obss_scan_enalbe_cmd_fixed_param + * tag equals WMITLV_TAG_STRUC_wmi_obss_scan_enable_cmd_fixed_param */ A_UINT32 tlv_header; A_UINT32 vdev_id; @@ -25243,7 +25243,7 @@ typedef struct { A_UINT32 current_operating_class; /** STA current operating class */ /** length of 2.4GHz channel list to scan at, channel number list in tlv->channels[] */ A_UINT32 channel_len; - /** length of optional ie data to append to probe reqest when active scan, ie data in tlv->ie_field[] */ + /** length of optional ie data to append to probe request when active scan, ie data in tlv->ie_field[] */ A_UINT32 ie_len; /** @@ -25469,7 +25469,7 @@ typedef struct { A_UINT32 n_probes; /** time in msec between 2 sets of probe requests. */ A_UINT32 repeat_probe_time; - /** time in msec between 2 consequetive probe requests with in a set. */ + /** time in msec between 2 consecutive probe requests with in a set. */ A_UINT32 probe_spacing_time; /** data inactivity time in msec on bss channel that will be used by scanner for measuring the inactivity */ A_UINT32 idle_time; @@ -25896,21 +25896,21 @@ typedef enum { typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_ARRAY_STRUC */ - /**bssid */ + /** bssid */ wmi_mac_addr bssid; - /**time stamp in milliseconds */ + /** time stamp in milliseconds */ A_UINT32 tstamp; - /**upper RSSI limit */ + /** upper RSSI limit */ A_UINT32 upper_rssi_limit; - /**lower RSSI limit */ + /** lower RSSI limit */ A_UINT32 lower_rssi_limit; /** channel */ A_UINT32 channel; /* in MHz */ - /**current RSSI average */ + /** current RSSI average */ A_UINT32 rssi_average; - /**flags - wmi_extscan_wlan_change_flags */ + /** flags - wmi_extscan_wlan_change_flags */ A_UINT32 flags; - /**legnth of RSSI history to follow (number of values) */ + /** length of RSSI history to follow (number of values) */ A_UINT32 num_rssi_samples; } wmi_extscan_wlan_change_result_bssid; @@ -26106,7 +26106,7 @@ typedef struct { /** * set a given log level to all the modules specified in the module bitmap. - * and set the log levle for all other modules to DBGLOG_ERR. + * and set the log level for all other modules to DBGLOG_ERR. * value: log levelt to be set. * module_id_bitmap : identifies the modules for which the log level should be set and * modules for which the log level should be reset to DBGLOG_ERR. @@ -26156,7 +26156,7 @@ typedef struct { typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_temperature_event_fixed_param */ - A_INT32 value; /* temprature value in Celcius degree */ + A_INT32 value; /* temperature value in Celcius degree */ /** pdev_id for identifying the MAC * See macros starting with WMI_PDEV_ID_ for values. */ @@ -27837,8 +27837,8 @@ typedef struct { A_UINT32 vdev_id; wmi_mac_addr peer_macaddr; /* peer mac address */ A_UINT32 tid; /* 0 to 15 = QoS TIDs, 16 = non-qos TID */ - A_UINT32 queue_ptr_lo; /* lower 32 bits of queue desc adddress */ - A_UINT32 queue_ptr_hi; /* upper 32 bits of queue desc adddress */ + A_UINT32 queue_ptr_lo; /* lower 32 bits of queue desc address */ + A_UINT32 queue_ptr_hi; /* upper 32 bits of queue desc address */ A_UINT32 queue_no; /* 16-bit number assigned by host for queue, stored in bits 15:0 of queue_no field */ A_UINT32 ba_window_size_valid; /* Is ba_window_size valid? @@ -28338,7 +28338,7 @@ typedef struct { typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_transfer_data_to_flash_cmd_fixed_param */ A_UINT32 offset; /* flash offset to write, starting from 0 */ - A_UINT32 length; /* vaild data length in buffer, unit: byte */ + A_UINT32 length; /* valid data length in buffer, unit: byte */ } wmi_transfer_data_to_flash_cmd_fixed_param; typedef struct { @@ -29756,7 +29756,7 @@ typedef struct { * FLAG_RTSENA 0x00001000 - RTS enabled * FLAG_CTSENA 0x00002000 - CTS enabled * FLAG_LDPC 0x00004000 - LDPC set - * FLAG_SGI 0x00008000 - Short gaurd interval + * FLAG_SGI 0x00008000 - Short guard interval * (0x00010000-0x00080000 unused) *------------------ * 0x00100000-0x00700000 used for SU/MU/OFDMA tx mode @@ -29976,7 +29976,7 @@ typedef struct { A_UINT32 vdev_id; /* LTE-WLAN coexistence scheme bitmap - * Indicates the final schemes applied for the currrent Coex scenario. + * Indicates the final schemes applied for the current Coex scenario. * Bit 0 - TDM policy * Bit 1 - Forced TDM policy * Bit 2 - Dynamic Power Back-off policy @@ -30063,7 +30063,7 @@ typedef struct { A_UINT32 block_count; /* WLAN RSSI level - * WLAN RSSI is devided in to 3 levels i.e. Good/Moderate/Low (configurable inside f/w) + * WLAN RSSI is divided in to 3 levels i.e. Good/Moderate/Low (configurable inside f/w) * 0-Good, 1-Moderate, 2-Low */ A_UINT32 wlan_rssi_level; @@ -30383,7 +30383,7 @@ typedef enum wmi_coex_config_type { WMI_COEX_CONFIG_BTC_MODE = 24, /* config BTC mode, arg1 mode: 0 TDD/1 FDD/2 Hybrid*/ WMI_COEX_CONFIG_ANTENNA_ISOLATION = 25, /* config isolation between BT and WLAN chains * The arguments are interpreted differently - * depending on whether the target suppports + * depending on whether the target supports * WMI_SERVICE_COEX_SUPPORT_UNEQUAL_ISOLATION * If (not COEX_SUPPORT_UNEQUAL_ISOLATION) or arg2 == 0: * arg1 => isolation between BT and WLAN chains, @@ -30597,7 +30597,7 @@ typedef struct { * wlan stats shall be understood as per period. * Generally, it is reported periodically based on the period specified by host. * But if the variation of one stats of compared to the - * pervious notification exceeds a threshold, + * previous notification exceeds a threshold, * FW will report the wlan stats immediately. * The values of the stats becomes the new reference to compute variations. * This threshold can be a global setting or per category. @@ -30612,7 +30612,7 @@ typedef struct { */ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_set_stats_threshold_cmd_fixed_param */ - /** Indicate if threshold mechnism is enabled or disabled. + /** Indicate if threshold mechanism is enabled or disabled. * It is disabled by default. * Host can enable and disable it dynamically. */ @@ -30899,7 +30899,7 @@ typedef struct { * structure. The TLV's are: * * A_UINT32 channel_weight[]; - * values definied by enum 'wmi_pcl_chan_weight' + * values defined by enum 'wmi_pcl_chan_weight' * channel order & size will be as per the list provided in WMI_SCAN_CHAN_LIST_CMDID **/ } wmi_vdev_set_pcl_cmd_fixed_param; @@ -30967,7 +30967,7 @@ typedef enum wmi_hw_mode_config_type { */ WMI_HW_MODE_DBS_OR_SBS = 5, /* One PHY is on 5G and the other PHY can be in 2G or 5G. */ WMI_HW_MODE_DBS_2G_5G = 6, /* Both PHYs are active in different bands. PhyA 2G and PhyB 5G */ - WMI_HW_MODE_2G_PHYB = 7, /* Ony PhyB 2G active */ + WMI_HW_MODE_2G_PHYB = 7, /* Only PhyB 2G active */ WMI_HW_MODE_EMLSR = 8, /* Both PHYs are active in listen mode in 1x1 * and Tx/Rx trigger on any PHY will switch * from 1x1 to 2x2 on that Phy @@ -31046,12 +31046,12 @@ typedef enum wmi_hw_mode_config_type { /* * +-----------------------------+------------------------------------+ - * | Transmitted VHT Capablities | NSS Support of STA | - * | Information Field | transmitted VHT Capablites | + * | Transmitted VHT Capabilities| NSS Support of STA | + * | Information Field | transmitted VHT Capabilites | * +---------------+-------------+------+------+------+------+--------+ * | Supported | Extended | | | | | | * | Channel | NSS BW | | | | | | - * | WidthSet | Suppport |20 Mhz|40 Mhz|80 Mhz|160Mhz|80+80Mhz| + * | WidthSet | Support |20 Mhz|40 Mhz|80 Mhz|160Mhz|80+80Mhz| * +---------------+-------------+------+------+------+------+--------+ * | 0 | 0 | 1 | 1 | 1 | | | * +---------------+-------------+------+------+------+------+--------+ @@ -31556,7 +31556,7 @@ typedef struct { typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_WMI_MAC_PHY_CHAINMASK_COMBO */ A_UINT32 chainmask_table_id; - /* Number of vaild Chainmask in the table */ + /* Number of valid Chainmask in the table */ A_UINT32 num_valid_chainmask; /************************************************************************** @@ -32210,9 +32210,9 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command) WMI_RETURN_STRING(WMI_WOW_HOSTWAKEUP_FROM_SLEEP_CMDID); /* RTT measurement related cmd */ - /* reques to make an RTT measurement */ + /* request to make an RTT measurement */ WMI_RETURN_STRING(WMI_RTT_MEASREQ_CMDID); - /* reques to report a tsf measurement */ + /* request to report a tsf measurement */ WMI_RETURN_STRING(WMI_RTT_TSF_CMDID); /* spectral scan command */ @@ -32351,7 +32351,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command) WMI_RETURN_STRING(WMI_STA_SMPS_PARAM_CMDID); /* Wlan HB commands */ - /* enalbe/disable wlan HB */ + /* enable/disable wlan HB */ WMI_RETURN_STRING(WMI_HB_SET_ENABLE_CMDID); /* set tcp parameters for wlan HB */ WMI_RETURN_STRING(WMI_HB_SET_TCP_PARAMS_CMDID); @@ -33681,7 +33681,7 @@ typedef enum { /** * WMI_BOARD_MCN_STRING_BUF_SIZE : represents the number of elements in board_mcn_detail. * Since board_mcn_detail is of type A_UINT8, the value of WMI_BOARD_MCN_STRING_BUF_SIZE - * should be multiple of 4 for alignement reason. And the last byte byte is reserved for + * should be multiple of 4 for alignment reason. And the last byte byte is reserved for * null-terminator */ #define WMI_BOARD_MCN_STRING_BUF_SIZE (WMI_BOARD_MCN_STRING_MAX_SIZE+1) /* null-terminator */ @@ -33986,7 +33986,7 @@ typedef struct { * The flags are used both in WMI_TWT_ENABLE_CMDID and WMI_TWT_DISABLE_CMDID. * * BIT4 represents whether the it is for REQUESTER or RESPONDER. - * BIT5 represents whether it is invidual or broadcast mode. + * BIT5 represents whether it is individual or broadcast mode. * * For instance, in WMI_TWT_ENABLE_CMDID if BIT4=0 and BIT5=0, then we will * enable only Requester, we will not change any configuration of RESPONDER. @@ -34685,7 +34685,7 @@ typedef struct { /** * The time taken by target in micro seconds to complete the reset routine * and re-initiate the spectral scan. - * If the delay is 0, the WAR to bookkeep the timestamp wont be exercised + * If the delay is 0, the WAR to bookkeep the timestamp won't be exercised * in HOST. */ A_UINT32 reset_delay; @@ -35365,11 +35365,11 @@ typedef enum { WMI_ROAM_FAIL_REASON_REASSOC_INTERNAL_DROP, /* Reassoc request is dropped internally */ WMI_ROAM_FAIL_REASON_EAPOL_M2_SEND, /* Unable to send EAPOL M2 frame */ WMI_ROAM_FAIL_REASON_EAPOL_M2_INTERNAL_DROP, /* EAPOL M2 frame dropped internally */ - WMI_ROAM_FAIL_REASON_EAPOL_M2_NO_ACK, /* No Ack is recieved for EAPOL M2 frame */ + WMI_ROAM_FAIL_REASON_EAPOL_M2_NO_ACK, /* No Ack is received for EAPOL M2 frame */ WMI_ROAM_FAIL_REASON_EAPOL_M3_TIMEOUT, /* M3 is not received */ WMI_ROAM_FAIL_REASON_EAPOL_M4_SEND, /* Unable to send EAPOL M4 frame */ WMI_ROAM_FAIL_REASON_EAPOL_M4_INTERNAL_DROP, /* EAPOL M4 frame dropped internally */ - WMI_ROAM_FAIL_REASON_EAPOL_M4_NO_ACK, /* No Ack is recieved for EAPOL M4 frame */ + WMI_ROAM_FAIL_REASON_EAPOL_M4_NO_ACK, /* No Ack is received for EAPOL M4 frame */ WMI_ROAM_FAIL_REASON_NO_SCAN_FOR_FINAL_BMISS, /* Roam scan is not started for Final Bmiss case */ WMI_ROAM_FAIL_REASON_DISCONNECT, /* Deauth or Disassoc received from AP during roaming handoff */ WMI_ROAM_FAIL_REASON_SYNC, /* when host wakes-up during roaming in-progress, abort current roaming if previous sync is pending */ @@ -35547,7 +35547,7 @@ typedef struct { /* count of full scan */ A_UINT32 roam_full_scan_count; A_INT32 rssi_th; /* unit: dBm */ - A_UINT32 cu_th; /* channel utilization threhold: uses units of percent */ + A_UINT32 cu_th; /* channel utilization threshold: uses units of percent */ /* timer_canceled: * bit0: timer1 canceled * bit1: timer2 canceled @@ -35633,7 +35633,7 @@ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param */ /* * This event is sent asynchronously during FW init. - * It indicates FW roam related capabilites to host. + * It indicates FW roam related capabilities to host. * * scoring_capability_bitmap = Indicates firmware candidate scoring * capabilities. It's a bitmap of values @@ -36248,7 +36248,7 @@ typedef struct { * In the below fields, "OBSS level" refers to the power of the * signals received from "Other BSS". * Spatial reuse will only be permitted if the Other BSS's signal power - * is witin the min to max range specified by the below fields. + * is within the min to max range specified by the below fields. */ /** Minimum OBSS level to use */ A_INT32 obss_min; /* RSSI in dBm */ @@ -36260,7 +36260,7 @@ typedef struct { /* * Below structure is related to WMI CMD that configures the default - * mimimum (OBSS_MIN) and maximum (OBSS_MAX) Other BSS levels (RSSI in dbm) + * minimum (OBSS_MIN) and maximum (OBSS_MAX) Other BSS levels (RSSI in dbm) * for VDEV of a give type (STA or AP). These thresholds are configured * within the Host and passed down to the FW. FW will use these * default OBSS_MIN and OBSS_MAX values during roaming if the assoc response @@ -36275,7 +36275,7 @@ typedef struct { * In the below fields, "OBSS level" refers to the power of the * signals received from "Other BSS". * Spatial reuse will only be permitted if the Other BSS's signal power - * is witin the min to max range specified by the below fields. + * is within the min to max range specified by the below fields. */ /** Minimum OBSS level to use */ A_INT32 obss_min; /* RSSI in dBm */ @@ -36926,13 +36926,13 @@ typedef struct { /* 2nd DWORD of HE MAC Capabilities */ /* BSRP A-MPDU Aggregation - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_BSRPAMPDU_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 0, 1) #define WMI_HECAP_MAC_BSRPAMPDU_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 0, 1, value) /* Quiet Time Period (QTP) operation - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_QTP_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 1, 1) #define WMI_HECAP_MAC_QTP_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 1, 1, value) @@ -36940,7 +36940,7 @@ typedef struct { /* support by an AP for receiving an (A-)MPDU that contains a BQR in the * A-Control subfield and support by a non-AP STA for generating an (A-)MPDU * that contains a BQR in the A-Control subfield - * maintaining compatability since we dont support this now so not wasting memory + * maintaining compatibility since we don't support this now so not wasting memory */ #define WMI_HECAP_MAC_ABQR_GET_D3(he_cap2) WMI_GET_BITS(he_cap2, 2, 1) #define WMI_HECAP_MAC_ABQR_SET_D3(he_cap2, value) WMI_SET_BITS(he_cap2, 2, 1, value) @@ -37737,7 +37737,7 @@ typedef struct { PPM = cfo_measurement(13 bits)/((2^13)/(800e-9)/2/Fc*1e6) PPM ranges from -40 to +40 - Bits 0 : 0 Set to 1 to indicate cfo mesurement value is valid + Bits 0 : 0 Set to 1 to indicate cfo measurement value is valid Bits 1 : 14 14 bits cfo measurement raw data. 14 bit is signed bit. For the above ppm equation , use the first 13 bits to calculate. */ @@ -38681,7 +38681,7 @@ typedef struct { A_UINT32 filter_group_bitmap; /* ul_mu_user_mask_lower: * Bitfields indicates which of the users in the current UL MU - * tranmission are enabled for CFR capture. + * transmission are enabled for CFR capture. * Bits 31 to 0 indicates user indexes for 32 users in a UL MU transmission. * If bit 0 is set, then the CFR capture will happen for user index 0 * in the current UL MU Transmission. @@ -38690,7 +38690,7 @@ typedef struct { */ A_UINT32 ul_mu_user_mask_lower; /* ul_mu_user_mask_upper: - * This is contiuation of the above lower mask. + * This is continuation of the above lower mask. * Bits 4:0 Bitfields indicates user indices from 33 to 37 users. * Bits 31:5 Reserved for future use * If bit 0 is set, then CFR capture is enabled for user index 33 @@ -38744,7 +38744,7 @@ typedef struct { /* Following this structure is the TLV: * A_UINT8 data[]; <-- length in byte given by field data_len. * This data array contains OEM data, the payload begins with a field to tell the HOST regarding the kind of the OEM data. - * A_UINT8 file_name[]; <-- Name of the file to which HOST needs to write this OEM specifc data. + * A_UINT8 file_name[]; <-- Name of the file to which HOST needs to write this OEM specific data. */ } wmi_oem_data_event_fixed_param; @@ -38920,7 +38920,7 @@ typedef struct { /** TLV tag and len **/ A_UINT32 tlv_header; A_UINT32 vdev_id; /* ID of the vdev this response belongs to */ - /** identify which request this resposend to **/ + /** identify which request this responds to **/ A_UINT32 response_id; /* audio frame statistics part - * Use subsequent TLV arrays to list group_stats and peer_stats. @@ -38952,7 +38952,7 @@ typedef struct { A_UINT32 tlv_header; /* Group mac_address */ wmi_mac_addr group_addr; - /* Group indentify */ + /* Group identity */ A_UINT32 group_id; /* Multicast MSDU Data Packets received from Host for this Group */ A_UINT32 mcast_tx; @@ -39573,7 +39573,7 @@ typedef struct wmi_mlo_link_set_active_resp_event typedef struct { /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_mlo_setup_cmd_fixed_param; */ A_UINT32 tlv_header; - /** Unique ID reprsenting the hw_links part of the MLD */ + /** Unique ID representing the hw_links part of the MLD */ A_UINT32 mld_group_id; /** pdev_id for identifying the MAC, See macros starting with WMI_PDEV_ID_ for values. */ A_UINT32 pdev_id; @@ -39855,7 +39855,7 @@ typedef struct { */ A_UINT32 min_thruput_kbps; /* max_thruput_kbps: - * What upper limit on throughput shall be applied to MSDU queues beloning + * What upper limit on throughput shall be applied to MSDU queues belonging * to this service class, if other peer-TIDs are not meeting their QoS * service goals. * Units are kilobits per second.