Skip to content

Commit 074b3cf

Browse files
rddunlapjmberg-intel
authored andcommitted
wifi: nl80211: fix grammar & spellos
Correct spelling as reported by codespell. Correct run-on sentences and other grammar issues. Add hyphenation of adjectives. Correct some punctuation. Signed-off-by: Randy Dunlap <[email protected]> Cc: Johannes Berg <[email protected]> Cc: [email protected] Cc: Kalle Valo <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Link: https://msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 05b2345 commit 074b3cf

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

include/uapi/linux/nl80211.h

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
* For drivers supporting TDLS with external setup (WIPHY_FLAG_SUPPORTS_TDLS
7373
* and WIPHY_FLAG_TDLS_EXTERNAL_SETUP), the station lifetime is as follows:
7474
* - a setup station entry is added, not yet authorized, without any rate
75-
* or capability information, this just exists to avoid race conditions
75+
* or capability information; this just exists to avoid race conditions
7676
* - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
7777
* to add rate and capability information to the station and at the same
7878
* time mark it authorized.
@@ -87,7 +87,7 @@
8787
* DOC: Frame transmission/registration support
8888
*
8989
* Frame transmission and registration support exists to allow userspace
90-
* management entities such as wpa_supplicant react to management frames
90+
* management entities such as wpa_supplicant to react to management frames
9191
* that are not being handled by the kernel. This includes, for example,
9292
* certain classes of action frames that cannot be handled in the kernel
9393
* for various reasons.
@@ -113,7 +113,7 @@
113113
*
114114
* Frame transmission allows userspace to send for example the required
115115
* responses to action frames. It is subject to some sanity checking,
116-
* but many frames can be transmitted. When a frame was transmitted, its
116+
* but many frames can be transmitted. When a frame is transmitted, its
117117
* status is indicated to the sending socket.
118118
*
119119
* For more technical details, see the corresponding command descriptions
@@ -123,7 +123,7 @@
123123
/**
124124
* DOC: Virtual interface / concurrency capabilities
125125
*
126-
* Some devices are able to operate with virtual MACs, they can have
126+
* Some devices are able to operate with virtual MACs; they can have
127127
* more than one virtual interface. The capability handling for this
128128
* is a bit complex though, as there may be a number of restrictions
129129
* on the types of concurrency that are supported.
@@ -135,7 +135,7 @@
135135
* Once concurrency is desired, more attributes must be observed:
136136
* To start with, since some interface types are purely managed in
137137
* software, like the AP-VLAN type in mac80211 for example, there's
138-
* an additional list of these, they can be added at any time and
138+
* an additional list of these; they can be added at any time and
139139
* are only restricted by some semantic restrictions (e.g. AP-VLAN
140140
* cannot be added without a corresponding AP interface). This list
141141
* is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.
@@ -164,7 +164,7 @@
164164
* Packet coalesce feature helps to reduce number of received interrupts
165165
* to host by buffering these packets in firmware/hardware for some
166166
* predefined time. Received interrupt will be generated when one of the
167-
* following events occur.
167+
* following events occurs.
168168
* a) Expiration of hardware timer whose expiration time is set to maximum
169169
* coalescing delay of matching coalesce rule.
170170
* b) Coalescing buffer in hardware reaches its limit.
@@ -174,7 +174,7 @@
174174
* rule.
175175
* a) Maximum coalescing delay
176176
* b) List of packet patterns which needs to be matched
177-
* c) Condition for coalescence. pattern 'match' or 'no match'
177+
* c) Condition for coalescence: pattern 'match' or 'no match'
178178
* Multiple such rules can be created.
179179
*/
180180

@@ -213,7 +213,7 @@
213213
/**
214214
* DOC: FILS shared key authentication offload
215215
*
216-
* FILS shared key authentication offload can be advertized by drivers by
216+
* FILS shared key authentication offload can be advertised by drivers by
217217
* setting @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD flag. The drivers that support
218218
* FILS shared key authentication offload should be able to construct the
219219
* authentication and association frames for FILS shared key authentication and
@@ -239,7 +239,7 @@
239239
* The PMKSA can be maintained in userspace persistently so that it can be used
240240
* later after reboots or wifi turn off/on also.
241241
*
242-
* %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertized by a FILS
242+
* %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertised by a FILS
243243
* capable AP supporting PMK caching. It specifies the scope within which the
244244
* PMKSAs are cached in an ESS. %NL80211_CMD_SET_PMKSA and
245245
* %NL80211_CMD_DEL_PMKSA are enhanced to allow support for PMKSA caching based
@@ -290,12 +290,12 @@
290290
* If the configuration needs to be applied for specific peer then the MAC
291291
* address of the peer needs to be passed in %NL80211_ATTR_MAC, otherwise the
292292
* configuration will be applied for all the connected peers in the vif except
293-
* any peers that have peer specific configuration for the TID by default; if
294-
* the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer specific values
293+
* any peers that have peer-specific configuration for the TID by default; if
294+
* the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer-specific values
295295
* will be overwritten.
296296
*
297-
* All this configuration is valid only for STA's current connection
298-
* i.e. the configuration will be reset to default when the STA connects back
297+
* All this configuration is valid only for STA's current connection,
298+
* i.e., the configuration will be reset to default when the STA connects back
299299
* after disconnection/roaming, and this configuration will be cleared when
300300
* the interface goes down.
301301
*/
@@ -521,7 +521,7 @@
521521
* %NL80211_ATTR_SCHED_SCAN_PLANS. If %NL80211_ATTR_SCHED_SCAN_PLANS is
522522
* not specified and only %NL80211_ATTR_SCHED_SCAN_INTERVAL is specified,
523523
* scheduled scan will run in an infinite loop with the specified interval.
524-
* These attributes are mutually exculsive,
524+
* These attributes are mutually exclusive,
525525
* i.e. NL80211_ATTR_SCHED_SCAN_INTERVAL must not be passed if
526526
* NL80211_ATTR_SCHED_SCAN_PLANS is defined.
527527
* If for some reason scheduled scan is aborted by the driver, all scan
@@ -552,7 +552,7 @@
552552
* %NL80211_CMD_STOP_SCHED_SCAN command is received or when the interface
553553
* is brought down while a scheduled scan was running.
554554
*
555-
* @NL80211_CMD_GET_SURVEY: get survey resuls, e.g. channel occupation
555+
* @NL80211_CMD_GET_SURVEY: get survey results, e.g. channel occupation
556556
* or noise level
557557
* @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
558558
* NL80211_CMD_GET_SURVEY and on the "scan" multicast group)
@@ -563,7 +563,7 @@
563563
* using %NL80211_ATTR_SSID, %NL80211_ATTR_FILS_CACHE_ID,
564564
* %NL80211_ATTR_PMKID, and %NL80211_ATTR_PMK in case of FILS
565565
* authentication where %NL80211_ATTR_FILS_CACHE_ID is the identifier
566-
* advertized by a FILS capable AP identifying the scope of PMKSA in an
566+
* advertised by a FILS capable AP identifying the scope of PMKSA in an
567567
* ESS.
568568
* @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC
569569
* (for the BSSID) and %NL80211_ATTR_PMKID or using %NL80211_ATTR_SSID,
@@ -608,7 +608,7 @@
608608
* BSSID in case of station mode). %NL80211_ATTR_SSID is used to specify
609609
* the SSID (mainly for association, but is included in authentication
610610
* request, too, to help BSS selection. %NL80211_ATTR_WIPHY_FREQ +
611-
* %NL80211_ATTR_WIPHY_FREQ_OFFSET is used to specify the frequence of the
611+
* %NL80211_ATTR_WIPHY_FREQ_OFFSET is used to specify the frequency of the
612612
* channel in MHz. %NL80211_ATTR_AUTH_TYPE is used to specify the
613613
* authentication type. %NL80211_ATTR_IE is used to define IEs
614614
* (VendorSpecificInfo, but also including RSN IE and FT IEs) to be added
@@ -817,7 +817,7 @@
817817
* reached.
818818
* @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ
819819
* and the attributes determining channel width) the given interface
820-
* (identifed by %NL80211_ATTR_IFINDEX) shall operate on.
820+
* (identified by %NL80211_ATTR_IFINDEX) shall operate on.
821821
* In case multiple channels are supported by the device, the mechanism
822822
* with which it switches channels is implementation-defined.
823823
* When a monitor interface is given, it can only switch channel while
@@ -889,7 +889,7 @@
889889
* inform userspace of the new replay counter.
890890
*
891891
* @NL80211_CMD_PMKSA_CANDIDATE: This is used as an event to inform userspace
892-
* of PMKSA caching dandidates.
892+
* of PMKSA caching candidates.
893893
*
894894
* @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
895895
* In addition, this can be used as an event to request userspace to take
@@ -925,7 +925,7 @@
925925
*
926926
* @NL80211_CMD_PROBE_CLIENT: Probe an associated station on an AP interface
927927
* by sending a null data frame to it and reporting when the frame is
928-
* acknowleged. This is used to allow timing out inactive clients. Uses
928+
* acknowledged. This is used to allow timing out inactive clients. Uses
929929
* %NL80211_ATTR_IFINDEX and %NL80211_ATTR_MAC. The command returns a
930930
* direct reply with an %NL80211_ATTR_COOKIE that is later used to match
931931
* up the event with the request. The event includes the same data and
@@ -1847,7 +1847,7 @@ enum nl80211_commands {
18471847
* using %CMD_CONTROL_PORT_FRAME. If control port routing over NL80211 is
18481848
* to be used then userspace must also use the %NL80211_ATTR_SOCKET_OWNER
18491849
* flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1850-
* frames are not forwared over the control port.
1850+
* frames are not forwarded over the control port.
18511851
*
18521852
* @NL80211_ATTR_TESTDATA: Testmode data blob, passed through to the driver.
18531853
* We recommend using nested, driver-specific attributes within this.
@@ -1984,10 +1984,10 @@ enum nl80211_commands {
19841984
* bit. Depending on which antennas are selected in the bitmap, 802.11n
19851985
* drivers can derive which chainmasks to use (if all antennas belonging to
19861986
* a particular chain are disabled this chain should be disabled) and if
1987-
* a chain has diversity antennas wether diversity should be used or not.
1987+
* a chain has diversity antennas whether diversity should be used or not.
19881988
* HT capabilities (STBC, TX Beamforming, Antenna selection) can be
19891989
* derived from the available chains after applying the antenna mask.
1990-
* Non-802.11n drivers can derive wether to use diversity or not.
1990+
* Non-802.11n drivers can derive whether to use diversity or not.
19911991
* Drivers may reject configurations or RX/TX mask combinations they cannot
19921992
* support by returning -EINVAL.
19931993
*
@@ -2557,7 +2557,7 @@ enum nl80211_commands {
25572557
* from successful FILS authentication and is used with
25582558
* %NL80211_CMD_CONNECT.
25592559
*
2560-
* @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP
2560+
* @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertised by a FILS AP
25612561
* identifying the scope of PMKSAs. This is used with
25622562
* @NL80211_CMD_SET_PMKSA and @NL80211_CMD_DEL_PMKSA.
25632563
*
@@ -4200,7 +4200,7 @@ enum nl80211_wmm_rule {
42004200
* (100 * dBm).
42014201
* @NL80211_FREQUENCY_ATTR_DFS_STATE: current state for DFS
42024202
* (enum nl80211_dfs_state)
4203-
* @NL80211_FREQUENCY_ATTR_DFS_TIME: time in miliseconds for how long
4203+
* @NL80211_FREQUENCY_ATTR_DFS_TIME: time in milliseconds for how long
42044204
* this channel is in this DFS state.
42054205
* @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
42064206
* channel as the control channel
@@ -5518,7 +5518,7 @@ enum nl80211_tx_rate_setting {
55185518
* (%NL80211_TID_CONFIG_ATTR_TIDS, %NL80211_TID_CONFIG_ATTR_OVERRIDE).
55195519
* @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
55205520
* per peer instead.
5521-
* @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribue, if set indicates
5521+
* @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, if set indicates
55225522
* that the new configuration overrides all previous peer
55235523
* configurations, otherwise previous peer specific configurations
55245524
* should be left untouched.
@@ -5901,7 +5901,7 @@ enum nl80211_attr_coalesce_rule {
59015901

59025902
/**
59035903
* enum nl80211_coalesce_condition - coalesce rule conditions
5904-
* @NL80211_COALESCE_CONDITION_MATCH: coalaesce Rx packets when patterns
5904+
* @NL80211_COALESCE_CONDITION_MATCH: coalesce Rx packets when patterns
59055905
* in a rule are matched.
59065906
* @NL80211_COALESCE_CONDITION_NO_MATCH: coalesce Rx packets when patterns
59075907
* in a rule are not matched.
@@ -6000,7 +6000,7 @@ enum nl80211_if_combination_attrs {
60006000
* enum nl80211_plink_state - state of a mesh peer link finite state machine
60016001
*
60026002
* @NL80211_PLINK_LISTEN: initial state, considered the implicit
6003-
* state of non existent mesh peer links
6003+
* state of non-existent mesh peer links
60046004
* @NL80211_PLINK_OPN_SNT: mesh plink open frame has been sent to
60056005
* this mesh peer
60066006
* @NL80211_PLINK_OPN_RCVD: mesh plink open frame has been received
@@ -6293,7 +6293,7 @@ enum nl80211_feature_flags {
62936293
* request to use RRM (see %NL80211_ATTR_USE_RRM) with
62946294
* %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
62956295
* the ASSOC_REQ_USE_RRM flag in the association request even if
6296-
* NL80211_FEATURE_QUIET is not advertized.
6296+
* NL80211_FEATURE_QUIET is not advertised.
62976297
* @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
62986298
* sniffer which means that it can be configured to hear packets from
62996299
* certain groups which can be configured by the
@@ -6305,15 +6305,15 @@ enum nl80211_feature_flags {
63056305
* the BSS that the interface that requested the scan is connected to
63066306
* (if available).
63076307
* @NL80211_EXT_FEATURE_BSS_PARENT_TSF: Per BSS, this driver reports the
6308-
* time the last beacon/probe was received. For a non MLO connection, the
6308+
* time the last beacon/probe was received. For a non-MLO connection, the
63096309
* time is the TSF of the BSS that the interface that requested the scan is
63106310
* connected to (if available). For an MLO connection, the time is the TSF
63116311
* of the BSS corresponding with link ID specified in the scan request (if
63126312
* specified).
63136313
* @NL80211_EXT_FEATURE_SET_SCAN_DWELL: This driver supports configuration of
63146314
* channel dwell time.
63156315
* @NL80211_EXT_FEATURE_BEACON_RATE_LEGACY: Driver supports beacon rate
6316-
* configuration (AP/mesh), supporting a legacy (non HT/VHT) rate.
6316+
* configuration (AP/mesh), supporting a legacy (non-HT/VHT) rate.
63176317
* @NL80211_EXT_FEATURE_BEACON_RATE_HT: Driver supports beacon rate
63186318
* configuration (AP/mesh) with HT rates.
63196319
* @NL80211_EXT_FEATURE_BEACON_RATE_VHT: Driver supports beacon rate
@@ -6649,7 +6649,7 @@ enum nl80211_timeout_reason {
66496649
* request parameters IE in the probe request
66506650
* @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses
66516651
* @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at
6652-
* rate of at least 5.5M. In case non OCE AP is discovered in the channel,
6652+
* rate of at least 5.5M. In case non-OCE AP is discovered in the channel,
66536653
* only the first probe req in the channel will be sent in high rate.
66546654
* @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request
66556655
* tx deferral (dot11FILSProbeDelay shall be set to 15ms)
@@ -6685,7 +6685,7 @@ enum nl80211_timeout_reason {
66856685
* received on the 2.4/5 GHz channels to actively scan only the 6GHz
66866686
* channels on which APs are expected to be found. Note that when not set,
66876687
* the scan logic would scan all 6GHz channels, but since transmission of
6688-
* probe requests on non PSC channels is limited, it is highly likely that
6688+
* probe requests on non-PSC channels is limited, it is highly likely that
66896689
* these channels would passively be scanned. Also note that when the flag
66906690
* is set, in addition to the colocated APs, PSC channels would also be
66916691
* scanned if the user space has asked for it.
@@ -7017,7 +7017,7 @@ enum nl80211_nan_func_term_reason {
70177017
* The instance ID for the follow up Service Discovery Frame. This is u8.
70187018
* @NL80211_NAN_FUNC_FOLLOW_UP_REQ_ID: relevant if the function's type
70197019
* is follow up. This is a u8.
7020-
* The requestor instance ID for the follow up Service Discovery Frame.
7020+
* The requester instance ID for the follow up Service Discovery Frame.
70217021
* @NL80211_NAN_FUNC_FOLLOW_UP_DEST: the MAC address of the recipient of the
70227022
* follow up Service Discovery Frame. This is a binary attribute.
70237023
* @NL80211_NAN_FUNC_CLOSE_RANGE: is this function limited for devices in a
@@ -7407,7 +7407,7 @@ enum nl80211_peer_measurement_attrs {
74077407
* @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
74087408
* trigger based ranging measurement is supported
74097409
* @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7410-
* if non trigger based ranging measurement is supported
7410+
* if non-trigger-based ranging measurement is supported
74117411
*
74127412
* @NUM_NL80211_PMSR_FTM_CAPA_ATTR: internal
74137413
* @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
@@ -7461,7 +7461,7 @@ enum nl80211_peer_measurement_ftm_capa {
74617461
* if neither %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED nor
74627462
* %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
74637463
* ranging will be used.
7464-
* @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non trigger based
7464+
* @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non-trigger-based
74657465
* ranging measurement (flag)
74667466
* This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
74677467
* mutually exclusive.
@@ -7539,7 +7539,7 @@ enum nl80211_peer_measurement_ftm_failure_reasons {
75397539
* @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS: number of FTM Request frames
75407540
* transmitted (u32, optional)
75417541
* @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES: number of FTM Request frames
7542-
* that were acknowleged (u32, optional)
7542+
* that were acknowledged (u32, optional)
75437543
* @NL80211_PMSR_FTM_RESP_ATTR_BUSY_RETRY_TIME: retry time received from the
75447544
* busy peer (u32, seconds)
75457545
* @NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP: actual number of bursts exponent

0 commit comments

Comments
 (0)