Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: mac80211, cfg80211: miscellaneous spelling fixes

Correct spelling here and there as suggested by codespell.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20240913084919.118862-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Dmitry Antipov and committed by
Johannes Berg
4b482281 2b73e9ab

+22 -22
+1 -1
net/mac80211/agg-tx.c
··· 797 797 798 798 if (!test_bit(HT_AGG_STATE_SENT_ADDBA, &tid_tx->state)) { 799 799 ieee80211_send_addba_with_timeout(sta, tid_tx); 800 - /* RESPONSE_RECEIVED state whould trigger the flow again */ 800 + /* RESPONSE_RECEIVED state would trigger the flow again */ 801 801 return; 802 802 } 803 803
+2 -2
net/mac80211/chan.c
··· 462 462 continue; 463 463 464 464 /* vif changed to narrow BW and narrow BW for station wasn't 465 - * requested or vise versa */ 465 + * requested or vice versa */ 466 466 if ((new_sta_bw < link_sta->pub->bandwidth) == !narrowed) 467 467 continue; 468 468 ··· 1118 1118 * 1119 1119 * Consider ctx1..3, link1..6, each ctx has 2 links. link1 and 1120 1120 * link2 from ctx1 request new different chandefs starting 2 1121 - * in-place reserations with ctx4 and ctx5 replacing ctx1 and 1121 + * in-place reservations with ctx4 and ctx5 replacing ctx1 and 1122 1122 * ctx2 respectively. Next link5 and link6 from ctx3 reserve 1123 1123 * ctx4. If link3 and link4 remain on ctx2 as they are then this 1124 1124 * fails unless `replace_ctx` from ctx5 is replaced with ctx3.
+1 -1
net/mac80211/ieee80211_i.h
··· 2452 2452 /* 2453 2453 * If quiescing is set, we are racing with __ieee80211_suspend. 2454 2454 * __ieee80211_suspend flushes the workers after setting quiescing, 2455 - * and we check quiescing / suspended before enqueing new workers. 2455 + * and we check quiescing / suspended before enqueuing new workers. 2456 2456 * We should abort the worker to avoid the races below. 2457 2457 */ 2458 2458 if (local->quiescing)
+1 -1
net/mac80211/mesh.c
··· 1482 1482 if (!elems) 1483 1483 return; 1484 1484 1485 - /* ignore non-mesh or secure / unsecure mismatch */ 1485 + /* ignore non-mesh or secure / insecure mismatch */ 1486 1486 if ((!elems->mesh_id || !elems->mesh_config) || 1487 1487 (elems->rsn && sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) || 1488 1488 (!elems->rsn && sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE))
+1 -1
net/mac80211/mesh_plink.c
··· 667 667 /* 668 668 * This STA is valid because sta_info_destroy() will 669 669 * del_timer_sync() this timer after having made sure 670 - * it cannot be readded (by deleting the plink.) 670 + * it cannot be re-added (by deleting the plink.) 671 671 */ 672 672 sta = mesh->plink_sta; 673 673
+1 -1
net/mac80211/mesh_sync.c
··· 175 175 spin_lock_bh(&ifmsh->sync_offset_lock); 176 176 177 177 if (ifmsh->sync_offset_clockdrift_max > TOFFSET_MINIMUM_ADJUSTMENT) { 178 - /* Since ajusting the tsf here would 178 + /* Since adjusting the tsf here would 179 179 * require a possibly blocking call 180 180 * to the driver tsf setter, we punt 181 181 * the tsf adjustment to the mesh tasklet
+1 -1
net/mac80211/rc80211_minstrel_ht.c
··· 1053 1053 * - max_prob_rate must use only one stream, as a tradeoff between delivery 1054 1054 * probability and throughput during strong fluctuations 1055 1055 * - as long as the max prob rate has a probability of more than 75%, pick 1056 - * higher throughput rates, even if the probablity is a bit lower 1056 + * higher throughput rates, even if the probability is a bit lower 1057 1057 */ 1058 1058 static void 1059 1059 minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
+1 -1
net/mac80211/sta_info.h
··· 169 169 * @buf_size: reorder buffer size at receiver 170 170 * @failed_bar_ssn: ssn of the last failed BAR tx attempt 171 171 * @bar_pending: BAR needs to be re-sent 172 - * @amsdu: support A-MSDU withing A-MDPU 172 + * @amsdu: support A-MSDU within A-MDPU 173 173 * @ssn: starting sequence number of the session 174 174 * 175 175 * This structure's lifetime is managed by RCU, assignments to
+1 -1
net/mac80211/tkip.c
··· 313 313 * Record previously received IV, will be copied into the 314 314 * key information after MIC verification. It is possible 315 315 * that we don't catch replays of fragments but that's ok 316 - * because the Michael MIC verication will then fail. 316 + * because the Michael MIC verification will then fail. 317 317 */ 318 318 *out_iv32 = iv32; 319 319 *out_iv16 = iv16;
+1 -1
net/mac80211/tx.c
··· 6214 6214 goto start_xmit; 6215 6215 6216 6216 /* update QoS header to prioritize control port frames if possible, 6217 - * priorization also happens for control port frames send over 6217 + * prioritization also happens for control port frames send over 6218 6218 * AF_PACKET 6219 6219 */ 6220 6220 rcu_read_lock();
+1 -1
net/mac80211/util.c
··· 1010 1010 else 1011 1011 aCWmin = 15; 1012 1012 1013 - /* Confiure old 802.11b/g medium access rules. */ 1013 + /* Configure old 802.11b/g medium access rules. */ 1014 1014 qparam.cw_max = aCWmax; 1015 1015 qparam.cw_min = aCWmin; 1016 1016 qparam.txop = 0;
+2 -2
net/mac80211/vht.c
··· 280 280 /* 281 281 * This is a workaround for VHT-enabled STAs which break the spec 282 282 * and have the VHT-MCS Rx map filled in with value 3 for all eight 283 - * spacial streams, an example is AR9462. 283 + * spatial streams, an example is AR9462. 284 284 * 285 285 * As per spec, in section 22.1.1 Introduction to the VHT PHY 286 - * A VHT STA shall support at least single spactial stream VHT-MCSs 286 + * A VHT STA shall support at least single spatial stream VHT-MCSs 287 287 * 0 to 7 (transmit and receive) in all supported channel widths. 288 288 */ 289 289 if (vht_cap->vht_mcs.rx_mcs_map == cpu_to_le16(0xFFFF)) {
+1 -1
net/wireless/chan.c
··· 289 289 290 290 /* 291 291 * Valid channels are packed from lowest frequency towards higher ones. 292 - * So test that the lower frequency alignes with one of these steps. 292 + * So test that the lower frequency aligns with one of these steps. 293 293 */ 294 294 return (center - bw / 2 - 5945) % step == 0; 295 295 }
+2 -2
net/wireless/nl80211.c
··· 12446 12446 if (info->attrs[NL80211_ATTR_MAC]) { 12447 12447 pmksa.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); 12448 12448 } else if (info->attrs[NL80211_ATTR_SSID]) { 12449 - /* SSID based pmksa flush suppported only for FILS, 12449 + /* SSID based pmksa flush supported only for FILS, 12450 12450 * OWE/SAE OFFLOAD cases 12451 12451 */ 12452 12452 if (info->attrs[NL80211_ATTR_FILS_CACHE_ID] && ··· 15498 15498 if (tsid >= IEEE80211_FIRST_TSPEC_TSID) { 15499 15499 /* TODO: handle 802.11 TSPEC/admission control 15500 15500 * need more attributes for that (e.g. BA session requirement); 15501 - * change the WMM adminssion test above to allow both then 15501 + * change the WMM admission test above to allow both then 15502 15502 */ 15503 15503 return -EINVAL; 15504 15504 }
+1 -1
net/wireless/radiotap.c
··· 200 200 * present fields. @this_arg can be changed by the caller (eg, 201 201 * incremented to move inside a compound argument like 202 202 * IEEE80211_RADIOTAP_CHANNEL). The args pointed to are in 203 - * little-endian format whatever the endianess of your CPU. 203 + * little-endian format whatever the endianness of your CPU. 204 204 * 205 205 * Alignment Gotcha: 206 206 * You must take care when dereferencing iterator.this_arg
+1 -1
net/wireless/reg.c
··· 1147 1147 1148 1148 /* 1149 1149 * Follow the driver's regulatory domain, if present, unless a country 1150 - * IE has been processed or a user wants to help complaince further 1150 + * IE has been processed or a user wants to help compliance further 1151 1151 */ 1152 1152 if (lr->initiator != NL80211_REGDOM_SET_BY_COUNTRY_IE && 1153 1153 lr->initiator != NL80211_REGDOM_SET_BY_USER &&
+1 -1
net/wireless/util.c
··· 743 743 return NULL; 744 744 745 745 /* 746 - * When reusing framents, copy some data to the head to simplify 746 + * When reusing fragments, copy some data to the head to simplify 747 747 * ethernet header handling and speed up protocol header processing 748 748 * in the stack later. 749 749 */
+1 -1
net/wireless/wext-compat.c
··· 1204 1204 switch (wrq->flags & IW_POWER_MODE) { 1205 1205 case IW_POWER_ON: /* If not specified */ 1206 1206 case IW_POWER_MODE: /* If set all mask */ 1207 - case IW_POWER_ALL_R: /* If explicitely state all */ 1207 + case IW_POWER_ALL_R: /* If explicitly state all */ 1208 1208 ps = true; 1209 1209 break; 1210 1210 default: /* Otherwise we ignore */
+1 -1
net/wireless/wext-core.c
··· 1159 1159 /* Check if it's possible */ 1160 1160 if (likely((stream + event_len) < ends)) { 1161 1161 iwe->len = event_len; 1162 - /* Beware of alignement issues on 64 bits */ 1162 + /* Beware of alignment issues on 64 bits */ 1163 1163 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); 1164 1164 memcpy(stream + lcp_len, &iwe->u, 1165 1165 event_len - lcp_len);