diff options
author | Sara Sharon <sara.sharon@intel.com> | 2015-03-31 05:24:05 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-04-02 02:29:13 -0400 |
commit | 0d365ae5f2715a4a749e41ce5e75e34f03090db6 (patch) | |
tree | 095ff92f288e9f30111a8ccfddca3795fa303465 /drivers/net/wireless | |
parent | 10a7c028dbf9920ba6781bf1adde1811dc50de86 (diff) |
iwlwifi: fix spelling errors
Fix spelling error across the driver.
Modified only comments and prints.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless')
21 files changed, 42 insertions, 42 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h index bbed8fc010ce..07e999a32a7f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-config.h +++ b/drivers/net/wireless/iwlwifi/iwl-config.h | |||
@@ -228,7 +228,7 @@ struct iwl_pwr_tx_backoff { | |||
228 | 228 | ||
229 | /** | 229 | /** |
230 | * struct iwl_cfg | 230 | * struct iwl_cfg |
231 | * @name: Offical name of the device | 231 | * @name: Official name of the device |
232 | * @fw_name_pre: Firmware filename prefix. The api version and extension | 232 | * @fw_name_pre: Firmware filename prefix. The api version and extension |
233 | * (.ucode) will be added to filename before loading from disk. The | 233 | * (.ucode) will be added to filename before loading from disk. The |
234 | * filename is constructed as fw_name_pre<api>.ucode. | 234 | * filename is constructed as fw_name_pre<api>.ucode. |
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c index b8e5690e5716..7783ac8761c4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-drv.c +++ b/drivers/net/wireless/iwlwifi/iwl-drv.c | |||
@@ -145,7 +145,7 @@ static struct iwlwifi_opmode_table { | |||
145 | #define IWL_DEFAULT_SCAN_CHANNELS 40 | 145 | #define IWL_DEFAULT_SCAN_CHANNELS 40 |
146 | 146 | ||
147 | /* | 147 | /* |
148 | * struct fw_sec: Just for the image parsing proccess. | 148 | * struct fw_sec: Just for the image parsing process. |
149 | * For the fw storage we are using struct fw_desc. | 149 | * For the fw storage we are using struct fw_desc. |
150 | */ | 150 | */ |
151 | struct fw_sec { | 151 | struct fw_sec { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.h b/drivers/net/wireless/iwlwifi/iwl-drv.h index 67a3a241b331..cda746b33db1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-drv.h +++ b/drivers/net/wireless/iwlwifi/iwl-drv.h | |||
@@ -123,7 +123,7 @@ struct iwl_cfg; | |||
123 | * starts the driver: fetches the firmware. This should be called by bus | 123 | * starts the driver: fetches the firmware. This should be called by bus |
124 | * specific system flows implementations. For example, the bus specific probe | 124 | * specific system flows implementations. For example, the bus specific probe |
125 | * function should do bus related operations only, and then call to this | 125 | * function should do bus related operations only, and then call to this |
126 | * function. It returns the driver object or %NULL if an error occured. | 126 | * function. It returns the driver object or %NULL if an error occurred. |
127 | */ | 127 | */ |
128 | struct iwl_drv *iwl_drv_start(struct iwl_trans *trans, | 128 | struct iwl_drv *iwl_drv_start(struct iwl_trans *trans, |
129 | const struct iwl_cfg *cfg); | 129 | const struct iwl_cfg *cfg); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom-read.c b/drivers/net/wireless/iwlwifi/iwl-eeprom-read.c index 25d0105741db..219ca8acca62 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom-read.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom-read.c | |||
@@ -248,7 +248,7 @@ static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, | |||
248 | otpgp = iwl_read32(trans, CSR_OTP_GP_REG); | 248 | otpgp = iwl_read32(trans, CSR_OTP_GP_REG); |
249 | if (otpgp & CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK) { | 249 | if (otpgp & CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK) { |
250 | /* stop in this case */ | 250 | /* stop in this case */ |
251 | /* set the uncorrectable OTP ECC bit for acknowledgement */ | 251 | /* set the uncorrectable OTP ECC bit for acknowledgment */ |
252 | iwl_set_bit(trans, CSR_OTP_GP_REG, | 252 | iwl_set_bit(trans, CSR_OTP_GP_REG, |
253 | CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK); | 253 | CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK); |
254 | IWL_ERR(trans, "Uncorrectable OTP ECC error, abort OTP read\n"); | 254 | IWL_ERR(trans, "Uncorrectable OTP ECC error, abort OTP read\n"); |
@@ -256,7 +256,7 @@ static int iwl_read_otp_word(struct iwl_trans *trans, u16 addr, | |||
256 | } | 256 | } |
257 | if (otpgp & CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK) { | 257 | if (otpgp & CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK) { |
258 | /* continue in this case */ | 258 | /* continue in this case */ |
259 | /* set the correctable OTP ECC bit for acknowledgement */ | 259 | /* set the correctable OTP ECC bit for acknowledgment */ |
260 | iwl_set_bit(trans, CSR_OTP_GP_REG, | 260 | iwl_set_bit(trans, CSR_OTP_GP_REG, |
261 | CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK); | 261 | CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK); |
262 | IWL_ERR(trans, "Correctable OTP ECC error, continue read\n"); | 262 | IWL_ERR(trans, "Correctable OTP ECC error, continue read\n"); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-fh.h b/drivers/net/wireless/iwlwifi/iwl-fh.h index 1f7f15eb86da..d45dc021cda2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fh.h +++ b/drivers/net/wireless/iwlwifi/iwl-fh.h | |||
@@ -445,7 +445,7 @@ static inline unsigned int FH_MEM_CBBC_QUEUE(unsigned int chnl) | |||
445 | #define RX_LOW_WATERMARK 8 | 445 | #define RX_LOW_WATERMARK 8 |
446 | 446 | ||
447 | /** | 447 | /** |
448 | * struct iwl_rb_status - reseve buffer status | 448 | * struct iwl_rb_status - reserve buffer status |
449 | * host memory mapped FH registers | 449 | * host memory mapped FH registers |
450 | * @closed_rb_num [0:11] - Indicates the index of the RB which was closed | 450 | * @closed_rb_num [0:11] - Indicates the index of the RB which was closed |
451 | * @closed_fr_num [0:11] - Indicates the index of the RX Frame which was closed | 451 | * @closed_fr_num [0:11] - Indicates the index of the RX Frame which was closed |
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h b/drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h index 8b926ece0d3a..37652857b8d0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h | |||
@@ -183,7 +183,7 @@ struct iwl_fw_error_dump_info { | |||
183 | * struct iwl_fw_error_dump_fw_mon - FW monitor data | 183 | * struct iwl_fw_error_dump_fw_mon - FW monitor data |
184 | * @fw_mon_wr_ptr: the position of the write pointer in the cyclic buffer | 184 | * @fw_mon_wr_ptr: the position of the write pointer in the cyclic buffer |
185 | * @fw_mon_base_ptr: base pointer of the data | 185 | * @fw_mon_base_ptr: base pointer of the data |
186 | * @fw_mon_cycle_cnt: number of wrap arounds | 186 | * @fw_mon_cycle_cnt: number of wraparounds |
187 | * @reserved: for future use | 187 | * @reserved: for future use |
188 | * @data: captured data | 188 | * @data: captured data |
189 | */ | 189 | */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw-file.h b/drivers/net/wireless/iwlwifi/iwl-fw-file.h index 823938e3b7ef..cc789cb3c052 100644 --- a/drivers/net/wireless/iwlwifi/iwl-fw-file.h +++ b/drivers/net/wireless/iwlwifi/iwl-fw-file.h | |||
@@ -191,7 +191,7 @@ struct iwl_ucode_capa { | |||
191 | * enum iwl_ucode_tlv_flag - ucode API flags | 191 | * enum iwl_ucode_tlv_flag - ucode API flags |
192 | * @IWL_UCODE_TLV_FLAGS_PAN: This is PAN capable microcode; this previously | 192 | * @IWL_UCODE_TLV_FLAGS_PAN: This is PAN capable microcode; this previously |
193 | * was a separate TLV but moved here to save space. | 193 | * was a separate TLV but moved here to save space. |
194 | * @IWL_UCODE_TLV_FLAGS_NEWSCAN: new uCode scan behaviour on hidden SSID, | 194 | * @IWL_UCODE_TLV_FLAGS_NEWSCAN: new uCode scan behavior on hidden SSID, |
195 | * treats good CRC threshold as a boolean | 195 | * treats good CRC threshold as a boolean |
196 | * @IWL_UCODE_TLV_FLAGS_MFP: This uCode image supports MFP (802.11w). | 196 | * @IWL_UCODE_TLV_FLAGS_MFP: This uCode image supports MFP (802.11w). |
197 | * @IWL_UCODE_TLV_FLAGS_P2P: This uCode image supports P2P. | 197 | * @IWL_UCODE_TLV_FLAGS_P2P: This uCode image supports P2P. |
diff --git a/drivers/net/wireless/iwlwifi/iwl-op-mode.h b/drivers/net/wireless/iwlwifi/iwl-op-mode.h index 17de6d46222a..ce1cdd7604e8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-op-mode.h +++ b/drivers/net/wireless/iwlwifi/iwl-op-mode.h | |||
@@ -94,7 +94,7 @@ struct iwl_cfg; | |||
94 | * The operational mode has a very simple life cycle. | 94 | * The operational mode has a very simple life cycle. |
95 | * | 95 | * |
96 | * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the | 96 | * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the |
97 | * capabilities advertized by the fw file (in TLV format). | 97 | * capabilities advertised by the fw file (in TLV format). |
98 | * 2) The driver layer starts the op_mode (ops->start) | 98 | * 2) The driver layer starts the op_mode (ops->start) |
99 | * 3) The op_mode registers mac80211 | 99 | * 3) The op_mode registers mac80211 |
100 | * 4) The op_mode is governed by mac80211 | 100 | * 4) The op_mode is governed by mac80211 |
@@ -116,7 +116,7 @@ struct iwl_cfg; | |||
116 | * May sleep | 116 | * May sleep |
117 | * @rx: Rx notification to the op_mode. rxb is the Rx buffer itself. Cmd is the | 117 | * @rx: Rx notification to the op_mode. rxb is the Rx buffer itself. Cmd is the |
118 | * HCMD this Rx responds to. Can't sleep. | 118 | * HCMD this Rx responds to. Can't sleep. |
119 | * @napi_add: NAPI initialisation. The transport is fully responsible for NAPI, | 119 | * @napi_add: NAPI initialization. The transport is fully responsible for NAPI, |
120 | * but the higher layers need to know about it (in particular mac80211 to | 120 | * but the higher layers need to know about it (in particular mac80211 to |
121 | * to able to call the right NAPI RX functions); this function is needed | 121 | * to able to call the right NAPI RX functions); this function is needed |
122 | * to eventually call netif_napi_add() with higher layer involvement. | 122 | * to eventually call netif_napi_add() with higher layer involvement. |
diff --git a/drivers/net/wireless/iwlwifi/iwl-phy-db.c b/drivers/net/wireless/iwlwifi/iwl-phy-db.c index e893c6eb260c..a105455b6a24 100644 --- a/drivers/net/wireless/iwlwifi/iwl-phy-db.c +++ b/drivers/net/wireless/iwlwifi/iwl-phy-db.c | |||
@@ -125,7 +125,7 @@ struct iwl_phy_db_chg_txp { | |||
125 | } __packed; | 125 | } __packed; |
126 | 126 | ||
127 | /* | 127 | /* |
128 | * phy db - Receieve phy db chunk after calibrations | 128 | * phy db - Receive phy db chunk after calibrations |
129 | */ | 129 | */ |
130 | struct iwl_calib_res_notif_phy_db { | 130 | struct iwl_calib_res_notif_phy_db { |
131 | __le16 type; | 131 | __le16 type; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 11ac5c58527f..6dfed1259260 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h | |||
@@ -77,10 +77,10 @@ | |||
77 | /** | 77 | /** |
78 | * DOC: Transport layer - what is it ? | 78 | * DOC: Transport layer - what is it ? |
79 | * | 79 | * |
80 | * The tranport layer is the layer that deals with the HW directly. It provides | 80 | * The transport layer is the layer that deals with the HW directly. It provides |
81 | * an abstraction of the underlying HW to the upper layer. The transport layer | 81 | * an abstraction of the underlying HW to the upper layer. The transport layer |
82 | * doesn't provide any policy, algorithm or anything of this kind, but only | 82 | * doesn't provide any policy, algorithm or anything of this kind, but only |
83 | * mechanisms to make the HW do something.It is not completely stateless but | 83 | * mechanisms to make the HW do something. It is not completely stateless but |
84 | * close to it. | 84 | * close to it. |
85 | * We will have an implementation for each different supported bus. | 85 | * We will have an implementation for each different supported bus. |
86 | */ | 86 | */ |
@@ -111,10 +111,10 @@ | |||
111 | /** | 111 | /** |
112 | * DOC: Host command section | 112 | * DOC: Host command section |
113 | * | 113 | * |
114 | * A host command is a commaned issued by the upper layer to the fw. There are | 114 | * A host command is a command issued by the upper layer to the fw. There are |
115 | * several versions of fw that have several APIs. The transport layer is | 115 | * several versions of fw that have several APIs. The transport layer is |
116 | * completely agnostic to these differences. | 116 | * completely agnostic to these differences. |
117 | * The transport does provide helper functionnality (i.e. SYNC / ASYNC mode), | 117 | * The transport does provide helper functionality (i.e. SYNC / ASYNC mode), |
118 | */ | 118 | */ |
119 | #define SEQ_TO_QUEUE(s) (((s) >> 8) & 0x1f) | 119 | #define SEQ_TO_QUEUE(s) (((s) >> 8) & 0x1f) |
120 | #define QUEUE_TO_SEQ(q) (((q) & 0x1f) << 8) | 120 | #define QUEUE_TO_SEQ(q) (((q) & 0x1f) << 8) |
@@ -195,7 +195,7 @@ static inline u32 iwl_rx_packet_payload_len(const struct iwl_rx_packet *pkt) | |||
195 | * @CMD_WANT_SKB: Not valid with CMD_ASYNC. The caller needs the buffer of | 195 | * @CMD_WANT_SKB: Not valid with CMD_ASYNC. The caller needs the buffer of |
196 | * the response. The caller needs to call iwl_free_resp when done. | 196 | * the response. The caller needs to call iwl_free_resp when done. |
197 | * @CMD_HIGH_PRIO: The command is high priority - it goes to the front of the | 197 | * @CMD_HIGH_PRIO: The command is high priority - it goes to the front of the |
198 | * command queue, but after other high priority commands. valid only | 198 | * command queue, but after other high priority commands. Valid only |
199 | * with CMD_ASYNC. | 199 | * with CMD_ASYNC. |
200 | * @CMD_SEND_IN_IDLE: The command should be sent even when the trans is idle. | 200 | * @CMD_SEND_IN_IDLE: The command should be sent even when the trans is idle. |
201 | * @CMD_MAKE_TRANS_IDLE: The command response should mark the trans as idle. | 201 | * @CMD_MAKE_TRANS_IDLE: The command response should mark the trans as idle. |
@@ -582,7 +582,7 @@ enum iwl_d0i3_mode { | |||
582 | * @cfg - pointer to the configuration | 582 | * @cfg - pointer to the configuration |
583 | * @status: a bit-mask of transport status flags | 583 | * @status: a bit-mask of transport status flags |
584 | * @dev - pointer to struct device * that represents the device | 584 | * @dev - pointer to struct device * that represents the device |
585 | * @hw_id: a u32 with the ID of the device / subdevice. | 585 | * @hw_id: a u32 with the ID of the device / sub-device. |
586 | * Set during transport allocation. | 586 | * Set during transport allocation. |
587 | * @hw_id_str: a string with info about HW ID. Set during transport allocation. | 587 | * @hw_id_str: a string with info about HW ID. Set during transport allocation. |
588 | * @pm_support: set to true in start_hw if link pm is supported | 588 | * @pm_support: set to true in start_hw if link pm is supported |
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h index 6d3bea5c59d1..d7658d16e965 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-d3.h | |||
@@ -132,7 +132,7 @@ struct iwl_proto_offload_cmd_common { | |||
132 | * @solicited_node_ipv6_addr: broken -- solicited node address exists | 132 | * @solicited_node_ipv6_addr: broken -- solicited node address exists |
133 | * for each target address | 133 | * for each target address |
134 | * @target_ipv6_addr: our target addresses | 134 | * @target_ipv6_addr: our target addresses |
135 | * @ndp_mac_addr: neighbor soliciation response MAC address | 135 | * @ndp_mac_addr: neighbor solicitation response MAC address |
136 | */ | 136 | */ |
137 | struct iwl_proto_offload_cmd_v1 { | 137 | struct iwl_proto_offload_cmd_v1 { |
138 | struct iwl_proto_offload_cmd_common common; | 138 | struct iwl_proto_offload_cmd_common common; |
@@ -150,7 +150,7 @@ struct iwl_proto_offload_cmd_v1 { | |||
150 | * @solicited_node_ipv6_addr: broken -- solicited node address exists | 150 | * @solicited_node_ipv6_addr: broken -- solicited node address exists |
151 | * for each target address | 151 | * for each target address |
152 | * @target_ipv6_addr: our target addresses | 152 | * @target_ipv6_addr: our target addresses |
153 | * @ndp_mac_addr: neighbor soliciation response MAC address | 153 | * @ndp_mac_addr: neighbor solicitation response MAC address |
154 | */ | 154 | */ |
155 | struct iwl_proto_offload_cmd_v2 { | 155 | struct iwl_proto_offload_cmd_v2 { |
156 | struct iwl_proto_offload_cmd_common common; | 156 | struct iwl_proto_offload_cmd_common common; |
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-mac.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-mac.h index aabaedd3b3ee..f3f3ee0a766b 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-mac.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-mac.h | |||
@@ -255,7 +255,7 @@ struct iwl_mac_data_p2p_dev { | |||
255 | /** | 255 | /** |
256 | * enum iwl_mac_filter_flags - MAC context filter flags | 256 | * enum iwl_mac_filter_flags - MAC context filter flags |
257 | * @MAC_FILTER_IN_PROMISC: accept all data frames | 257 | * @MAC_FILTER_IN_PROMISC: accept all data frames |
258 | * @MAC_FILTER_IN_CONTROL_AND_MGMT: pass all mangement and | 258 | * @MAC_FILTER_IN_CONTROL_AND_MGMT: pass all management and |
259 | * control frames to the host | 259 | * control frames to the host |
260 | * @MAC_FILTER_ACCEPT_GRP: accept multicast frames | 260 | * @MAC_FILTER_ACCEPT_GRP: accept multicast frames |
261 | * @MAC_FILTER_DIS_DECRYPT: don't decrypt unicast frames | 261 | * @MAC_FILTER_DIS_DECRYPT: don't decrypt unicast frames |
diff --git a/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h b/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h index a5fbbd637070..4f81dcf57a73 100644 --- a/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h +++ b/drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h | |||
@@ -103,7 +103,7 @@ struct iwl_ssid_ie { | |||
103 | * @SCAN_COMP_STATUS_ERR_COEX: medium was lost ot WiMax | 103 | * @SCAN_COMP_STATUS_ERR_COEX: medium was lost ot WiMax |
104 | * @SCAN_COMP_STATUS_P2P_ACTION_OK: P2P public action frame TX was successful | 104 | * @SCAN_COMP_STATUS_P2P_ACTION_OK: P2P public action frame TX was successful |
105 | * (not an error!) | 105 | * (not an error!) |
106 | * @SCAN_COMP_STATUS_ITERATION_END: indicates end of one repeatition the driver | 106 | * @SCAN_COMP_STATUS_ITERATION_END: indicates end of one repetition the driver |
107 | * asked for | 107 | * asked for |
108 | * @SCAN_COMP_STATUS_ERR_ALLOC_TE: scan could not allocate time events | 108 | * @SCAN_COMP_STATUS_ERR_ALLOC_TE: scan could not allocate time events |
109 | */ | 109 | */ |
@@ -187,11 +187,11 @@ enum scan_framework_client { | |||
187 | * struct iwl_scan_offload_cmd - SCAN_REQUEST_FIXED_PART_API_S_VER_6 | 187 | * struct iwl_scan_offload_cmd - SCAN_REQUEST_FIXED_PART_API_S_VER_6 |
188 | * @scan_flags: see enum iwl_scan_flags | 188 | * @scan_flags: see enum iwl_scan_flags |
189 | * @channel_count: channels in channel list | 189 | * @channel_count: channels in channel list |
190 | * @quiet_time: dwell time, in milisiconds, on quiet channel | 190 | * @quiet_time: dwell time, in milliseconds, on quiet channel |
191 | * @quiet_plcp_th: quiet channel num of packets threshold | 191 | * @quiet_plcp_th: quiet channel num of packets threshold |
192 | * @good_CRC_th: passive to active promotion threshold | 192 | * @good_CRC_th: passive to active promotion threshold |
193 | * @rx_chain: RXON rx chain. | 193 | * @rx_chain: RXON rx chain. |
194 | * @max_out_time: max TUs to be out of assoceated channel | 194 | * @max_out_time: max TUs to be out of associated channel |
195 | * @suspend_time: pause scan this TUs when returning to service channel | 195 | * @suspend_time: pause scan this TUs when returning to service channel |
196 | * @flags: RXON flags | 196 | * @flags: RXON flags |
197 | * @filter_flags: RXONfilter | 197 | * @filter_flags: RXONfilter |
@@ -232,7 +232,7 @@ enum iwl_scan_offload_channel_flags { | |||
232 | * see enum iwl_scan_offload_channel_flags. | 232 | * see enum iwl_scan_offload_channel_flags. |
233 | * __le16 channel_number: channel number 1-13 etc. | 233 | * __le16 channel_number: channel number 1-13 etc. |
234 | * __le16 iter_count: repetition count for the channel. | 234 | * __le16 iter_count: repetition count for the channel. |
235 | * __le32 iter_interval: interval between two innteration on one channel. | 235 | * __le32 iter_interval: interval between two iterations on one channel. |
236 | * u8 active_dwell. | 236 | * u8 active_dwell. |
237 | * u8 passive_dwell. | 237 | * u8 passive_dwell. |
238 | */ | 238 | */ |
@@ -275,8 +275,8 @@ enum iwl_scan_offload_band_selection { | |||
275 | /** | 275 | /** |
276 | * iwl_scan_offload_profile - SCAN_OFFLOAD_PROFILE_S | 276 | * iwl_scan_offload_profile - SCAN_OFFLOAD_PROFILE_S |
277 | * @ssid_index: index to ssid list in fixed part | 277 | * @ssid_index: index to ssid list in fixed part |
278 | * @unicast_cipher: encryption olgorithm to match - bitmap | 278 | * @unicast_cipher: encryption algorithm to match - bitmap |
279 | * @aut_alg: authentication olgorithm to match - bitmap | 279 | * @aut_alg: authentication algorithm to match - bitmap |
280 | * @network_type: enum iwl_scan_offload_network_type | 280 | * @network_type: enum iwl_scan_offload_network_type |
281 | * @band_selection: enum iwl_scan_offload_band_selection | 281 | * @band_selection: enum iwl_scan_offload_band_selection |
282 | * @client_bitmap: clients waiting for match - enum scan_framework_client | 282 | * @client_bitmap: clients waiting for match - enum scan_framework_client |
@@ -748,7 +748,7 @@ enum iwl_umac_scan_general_flags { | |||
748 | * @flags: bitmap - 0-19: directed scan to i'th ssid. | 748 | * @flags: bitmap - 0-19: directed scan to i'th ssid. |
749 | * @channel_num: channel number 1-13 etc. | 749 | * @channel_num: channel number 1-13 etc. |
750 | * @iter_count: repetition count for the channel. | 750 | * @iter_count: repetition count for the channel. |
751 | * @iter_interval: interval between two scan interations on one channel. | 751 | * @iter_interval: interval between two scan iterations on one channel. |
752 | */ | 752 | */ |
753 | struct iwl_scan_channel_cfg_umac { | 753 | struct iwl_scan_channel_cfg_umac { |
754 | __le32 flags; | 754 | __le32 flags; |
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index 2b7e6cb1dbd9..629b8c7da478 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h | |||
@@ -349,7 +349,7 @@ struct iwl_mvm_vif_bf_data { | |||
349 | * @bcast_sta: station used for broadcast packets. Used by the following | 349 | * @bcast_sta: station used for broadcast packets. Used by the following |
350 | * vifs: P2P_DEVICE, GO and AP. | 350 | * vifs: P2P_DEVICE, GO and AP. |
351 | * @beacon_skb: the skb used to hold the AP/GO beacon template | 351 | * @beacon_skb: the skb used to hold the AP/GO beacon template |
352 | * @smps_requests: the SMPS requests of differents parts of the driver, | 352 | * @smps_requests: the SMPS requests of different parts of the driver, |
353 | * combined on update to yield the overall request to mac80211. | 353 | * combined on update to yield the overall request to mac80211. |
354 | * @beacon_stats: beacon statistics, containing the # of received beacons, | 354 | * @beacon_stats: beacon statistics, containing the # of received beacons, |
355 | * # of received beacons accumulated over FW restart, and the current | 355 | * # of received beacons accumulated over FW restart, and the current |
diff --git a/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c b/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c index 192b74bc8cf6..e68a475e3071 100644 --- a/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c +++ b/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #include "fw-api.h" | 67 | #include "fw-api.h" |
68 | #include "mvm.h" | 68 | #include "mvm.h" |
69 | 69 | ||
70 | /* Maps the driver specific channel width definition to the the fw values */ | 70 | /* Maps the driver specific channel width definition to the fw values */ |
71 | u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef) | 71 | u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef) |
72 | { | 72 | { |
73 | switch (chandef->width) { | 73 | switch (chandef->width) { |
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index e00b454c6c17..c1c8c56727d2 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c | |||
@@ -3221,7 +3221,7 @@ static void rs_fill_lq_cmd(struct iwl_mvm *mvm, | |||
3221 | lq_cmd->agg_frame_cnt_limit = mvmsta->max_agg_bufsize; | 3221 | lq_cmd->agg_frame_cnt_limit = mvmsta->max_agg_bufsize; |
3222 | 3222 | ||
3223 | /* | 3223 | /* |
3224 | * In case of low latency, tell the firwmare to leave a frame in the | 3224 | * In case of low latency, tell the firmware to leave a frame in the |
3225 | * Tx Fifo so that it can start a transaction in the same TxOP. This | 3225 | * Tx Fifo so that it can start a transaction in the same TxOP. This |
3226 | * basically allows the firmware to send bursts. | 3226 | * basically allows the firmware to send bursts. |
3227 | */ | 3227 | */ |
@@ -3722,7 +3722,7 @@ void iwl_mvm_rate_control_unregister(void) | |||
3722 | 3722 | ||
3723 | /** | 3723 | /** |
3724 | * iwl_mvm_tx_protection - Gets LQ command, change it to enable/disable | 3724 | * iwl_mvm_tx_protection - Gets LQ command, change it to enable/disable |
3725 | * Tx protection, according to this rquest and previous requests, | 3725 | * Tx protection, according to this request and previous requests, |
3726 | * and send the LQ command. | 3726 | * and send the LQ command. |
3727 | * @mvmsta: The station | 3727 | * @mvmsta: The station |
3728 | * @enable: Enable Tx protection? | 3728 | * @enable: Enable Tx protection? |
diff --git a/drivers/net/wireless/iwlwifi/mvm/sta.c b/drivers/net/wireless/iwlwifi/mvm/sta.c index 231e7dd6c8f0..1845b79487c8 100644 --- a/drivers/net/wireless/iwlwifi/mvm/sta.c +++ b/drivers/net/wireless/iwlwifi/mvm/sta.c | |||
@@ -1714,8 +1714,8 @@ void iwl_mvm_sta_modify_disable_tx_ap(struct iwl_mvm *mvm, | |||
1714 | mvm_sta->disable_tx = disable; | 1714 | mvm_sta->disable_tx = disable; |
1715 | 1715 | ||
1716 | /* | 1716 | /* |
1717 | * Tell mac80211 to start/stop queueing tx for this station, | 1717 | * Tell mac80211 to start/stop queuing tx for this station, |
1718 | * but don't stop queueing if there are still pending frames | 1718 | * but don't stop queuing if there are still pending frames |
1719 | * for this station. | 1719 | * for this station. |
1720 | */ | 1720 | */ |
1721 | if (disable || !atomic_read(&mvm->pending_frames[mvm_sta->sta_id])) | 1721 | if (disable || !atomic_read(&mvm->pending_frames[mvm_sta->sta_id])) |
diff --git a/drivers/net/wireless/iwlwifi/mvm/sta.h b/drivers/net/wireless/iwlwifi/mvm/sta.h index d8f48975ad08..748f5dc3f9f4 100644 --- a/drivers/net/wireless/iwlwifi/mvm/sta.h +++ b/drivers/net/wireless/iwlwifi/mvm/sta.h | |||
@@ -150,7 +150,7 @@ struct iwl_mvm_vif; | |||
150 | * DOC: station table - AP Station in STA mode | 150 | * DOC: station table - AP Station in STA mode |
151 | * | 151 | * |
152 | * %iwl_mvm_vif includes the index of the AP station in the fw's STA table: | 152 | * %iwl_mvm_vif includes the index of the AP station in the fw's STA table: |
153 | * %ap_sta_id. To get the point to the coresponsding %ieee80211_sta, | 153 | * %ap_sta_id. To get the point to the corresponding %ieee80211_sta, |
154 | * &fw_id_to_mac_id can be used. Due to the way the fw works, we must not remove | 154 | * &fw_id_to_mac_id can be used. Due to the way the fw works, we must not remove |
155 | * the AP station from the fw before setting the MAC context as unassociated. | 155 | * the AP station from the fw before setting the MAC context as unassociated. |
156 | * Hence, %fw_id_to_mac_id[%ap_sta_id] will be NULLed when the AP station is | 156 | * Hence, %fw_id_to_mac_id[%ap_sta_id] will be NULLed when the AP station is |
@@ -209,14 +209,14 @@ struct iwl_mvm_vif; | |||
209 | * When a trigger frame is received, mac80211 tells the driver to send frames | 209 | * When a trigger frame is received, mac80211 tells the driver to send frames |
210 | * from the AMPDU queues or sends frames to non-aggregation queues itself, | 210 | * from the AMPDU queues or sends frames to non-aggregation queues itself, |
211 | * depending on which ACs are delivery-enabled and what TID has frames to | 211 | * depending on which ACs are delivery-enabled and what TID has frames to |
212 | * transmit. Note that mac80211 has all the knowledege since all the non-agg | 212 | * transmit. Note that mac80211 has all the knowledge since all the non-agg |
213 | * frames are buffered / filtered, and the driver tells mac80211 about agg | 213 | * frames are buffered / filtered, and the driver tells mac80211 about agg |
214 | * frames). The driver needs to tell the fw to let frames out even if the | 214 | * frames). The driver needs to tell the fw to let frames out even if the |
215 | * station is asleep. This is done by %iwl_mvm_sta_modify_sleep_tx_count. | 215 | * station is asleep. This is done by %iwl_mvm_sta_modify_sleep_tx_count. |
216 | * | 216 | * |
217 | * When we receive a frame from that station with PM bit unset, the driver | 217 | * When we receive a frame from that station with PM bit unset, the driver |
218 | * needs to let the fw know that this station isn't asleep any more. This is | 218 | * needs to let the fw know that this station isn't asleep any more. This is |
219 | * done by %iwl_mvm_sta_modify_ps_wake in response to mac80211 signalling the | 219 | * done by %iwl_mvm_sta_modify_ps_wake in response to mac80211 signaling the |
220 | * station's wakeup. | 220 | * station's wakeup. |
221 | * | 221 | * |
222 | * For a GO, the Service Period might be cut short due to an absence period | 222 | * For a GO, the Service Period might be cut short due to an absence period |
diff --git a/drivers/net/wireless/iwlwifi/mvm/time-event.c b/drivers/net/wireless/iwlwifi/mvm/time-event.c index a32f612a8b59..bd519597eb2d 100644 --- a/drivers/net/wireless/iwlwifi/mvm/time-event.c +++ b/drivers/net/wireless/iwlwifi/mvm/time-event.c | |||
@@ -119,7 +119,7 @@ void iwl_mvm_roc_done_wk(struct work_struct *wk) | |||
119 | 119 | ||
120 | /* | 120 | /* |
121 | * Flush the offchannel queue -- this is called when the time | 121 | * Flush the offchannel queue -- this is called when the time |
122 | * event finishes or is cancelled, so that frames queued for it | 122 | * event finishes or is canceled, so that frames queued for it |
123 | * won't get stuck on the queue and be transmitted in the next | 123 | * won't get stuck on the queue and be transmitted in the next |
124 | * time event. | 124 | * time event. |
125 | * We have to send the command asynchronously since this cannot | 125 | * We have to send the command asynchronously since this cannot |
@@ -778,7 +778,7 @@ void iwl_mvm_stop_roc(struct iwl_mvm *mvm) | |||
778 | * Iterate over the list of aux roc time events and find the time | 778 | * Iterate over the list of aux roc time events and find the time |
779 | * event that is associated with a BSS interface. | 779 | * event that is associated with a BSS interface. |
780 | * This assumes that a BSS interface can have only a single time | 780 | * This assumes that a BSS interface can have only a single time |
781 | * event at any given time and this time event coresponds to a ROC | 781 | * event at any given time and this time event corresponds to a ROC |
782 | * request | 782 | * request |
783 | */ | 783 | */ |
784 | list_for_each_entry(te_data, &mvm->aux_roc_te_list, list) { | 784 | list_for_each_entry(te_data, &mvm->aux_roc_te_list, list) { |
diff --git a/drivers/net/wireless/iwlwifi/mvm/time-event.h b/drivers/net/wireless/iwlwifi/mvm/time-event.h index 6f6b35db3ab8..de4fbc6d57f1 100644 --- a/drivers/net/wireless/iwlwifi/mvm/time-event.h +++ b/drivers/net/wireless/iwlwifi/mvm/time-event.h | |||
@@ -147,7 +147,7 @@ void iwl_mvm_protect_session(struct iwl_mvm *mvm, | |||
147 | * @vif: the virtual interface for which the session is issued | 147 | * @vif: the virtual interface for which the session is issued |
148 | * | 148 | * |
149 | * This functions cancels the session protection which is an act of good | 149 | * This functions cancels the session protection which is an act of good |
150 | * citizenship. If it is not needed any more it should be cancelled because | 150 | * citizenship. If it is not needed any more it should be canceled because |
151 | * the other bindings wait for the medium during that time. | 151 | * the other bindings wait for the medium during that time. |
152 | * This funtions doesn't sleep. | 152 | * This funtions doesn't sleep. |
153 | */ | 153 | */ |
@@ -162,7 +162,7 @@ int iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm, | |||
162 | struct iwl_device_cmd *cmd); | 162 | struct iwl_device_cmd *cmd); |
163 | 163 | ||
164 | /** | 164 | /** |
165 | * iwl_mvm_start_p2p_roc - start remain on channel for p2p device functionlity | 165 | * iwl_mvm_start_p2p_roc - start remain on channel for p2p device functionality |
166 | * @mvm: the mvm component | 166 | * @mvm: the mvm component |
167 | * @vif: the virtual interface for which the roc is requested. It is assumed | 167 | * @vif: the virtual interface for which the roc is requested. It is assumed |
168 | * that the vif type is NL80211_IFTYPE_P2P_DEVICE | 168 | * that the vif type is NL80211_IFTYPE_P2P_DEVICE |
diff --git a/drivers/net/wireless/iwlwifi/mvm/utils.c b/drivers/net/wireless/iwlwifi/mvm/utils.c index 593a810fe53e..54e3556842c4 100644 --- a/drivers/net/wireless/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/iwlwifi/mvm/utils.c | |||
@@ -122,7 +122,7 @@ int iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u8 id, | |||
122 | } | 122 | } |
123 | 123 | ||
124 | /* | 124 | /* |
125 | * We assume that the caller set the status to the sucess value | 125 | * We assume that the caller set the status to the success value |
126 | */ | 126 | */ |
127 | int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, | 127 | int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, |
128 | u32 *status) | 128 | u32 *status) |
@@ -737,7 +737,7 @@ int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq, bool init) | |||
737 | } | 737 | } |
738 | 738 | ||
739 | /** | 739 | /** |
740 | * iwl_mvm_update_smps - Get a requst to change the SMPS mode | 740 | * iwl_mvm_update_smps - Get a request to change the SMPS mode |
741 | * @req_type: The part of the driver who call for a change. | 741 | * @req_type: The part of the driver who call for a change. |
742 | * @smps_requests: The request to change the SMPS mode. | 742 | * @smps_requests: The request to change the SMPS mode. |
743 | * | 743 | * |