Skip to content

Commit 3df924c

Browse files
a-gavinjmberg-intel
authored andcommitted
wifi: mac80211_hwsim: Update comments in header
- Reorders 'HWSIM_ATTR_PAD' to after 'HWSIM_ATTR_FREQ', matching order in 'enum hwsim_attrs' - Change references from old commands to new names - Fixes typos Signed-off-by: Alex Gavin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent f7130c9 commit 3df924c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/net/wireless/virtual/mac80211_hwsim.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ enum hwsim_tx_control_flags {
6262
* @HWSIM_CMD_TX_INFO_FRAME: Transmission info report from user space to
6363
* kernel, uses:
6464
* %HWSIM_ATTR_ADDR_TRANSMITTER, %HWSIM_ATTR_FLAGS,
65-
* %HWSIM_ATTR_TX_INFO, %WSIM_ATTR_TX_INFO_FLAGS,
65+
* %HWSIM_ATTR_TX_INFO, %HWSIM_ATTR_TX_INFO_FLAGS,
6666
* %HWSIM_ATTR_SIGNAL, %HWSIM_ATTR_COOKIE
6767
* @HWSIM_CMD_NEW_RADIO: create a new radio with the given parameters,
6868
* returns the radio ID (>= 0) or negative on errors, if successful
@@ -126,32 +126,32 @@ enum hwsim_commands {
126126
* space
127127
* @HWSIM_ATTR_TX_INFO: ieee80211_tx_rate array
128128
* @HWSIM_ATTR_COOKIE: sk_buff cookie to identify the frame
129-
* @HWSIM_ATTR_CHANNELS: u32 attribute used with the %HWSIM_CMD_CREATE_RADIO
129+
* @HWSIM_ATTR_CHANNELS: u32 attribute used with the %HWSIM_CMD_NEW_RADIO
130130
* command giving the number of channels supported by the new radio
131131
* @HWSIM_ATTR_RADIO_ID: u32 attribute used with %HWSIM_CMD_DESTROY_RADIO
132132
* only to destroy a radio
133-
* @HWSIM_ATTR_REG_HINT_ALPHA2: alpha2 for regulatoro driver hint
133+
* @HWSIM_ATTR_REG_HINT_ALPHA2: alpha2 for regulatory driver hint
134134
* (nla string, length 2)
135135
* @HWSIM_ATTR_REG_CUSTOM_REG: custom regulatory domain index (u32 attribute)
136136
* @HWSIM_ATTR_REG_STRICT_REG: request REGULATORY_STRICT_REG (flag attribute)
137137
* @HWSIM_ATTR_SUPPORT_P2P_DEVICE: support P2P Device virtual interface (flag)
138-
* @HWSIM_ATTR_USE_CHANCTX: used with the %HWSIM_CMD_CREATE_RADIO
138+
* @HWSIM_ATTR_USE_CHANCTX: used with the %HWSIM_CMD_NEW_RADIO
139139
* command to force use of channel contexts even when only a
140140
* single channel is supported
141-
* @HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE: used with the %HWSIM_CMD_CREATE_RADIO
141+
* @HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE: used with the %HWSIM_CMD_NEW_RADIO
142142
* command to force radio removal when process that created the radio dies
143143
* @HWSIM_ATTR_RADIO_NAME: Name of radio, e.g. phy666
144144
* @HWSIM_ATTR_NO_VIF: Do not create vif (wlanX) when creating radio.
145-
* @HWSIM_ATTR_PAD: padding attribute for 64-bit values, ignore
146145
* @HWSIM_ATTR_FREQ: Frequency at which packet is transmitted or received.
146+
* @HWSIM_ATTR_PAD: padding attribute for 64-bit values, ignore
147147
* @HWSIM_ATTR_TX_INFO_FLAGS: additional flags for corresponding
148148
* rates of %HWSIM_ATTR_TX_INFO
149149
* @HWSIM_ATTR_PERM_ADDR: permanent mac address of new radio
150150
* @HWSIM_ATTR_IFTYPE_SUPPORT: u32 attribute of supported interface types bits
151151
* @HWSIM_ATTR_CIPHER_SUPPORT: u32 array of supported cipher types
152152
* @HWSIM_ATTR_MLO_SUPPORT: claim MLO support (exact parameters TBD) for
153153
* the new radio
154-
* @HWSIM_ATTR_PMSR_SUPPORT: nested attribute used with %HWSIM_CMD_CREATE_RADIO
154+
* @HWSIM_ATTR_PMSR_SUPPORT: nested attribute used with %HWSIM_CMD_NEW_RADIO
155155
* to provide peer measurement capabilities. (nl80211_peer_measurement_attrs)
156156
* @HWSIM_ATTR_PMSR_REQUEST: nested attribute used with %HWSIM_CMD_START_PMSR
157157
* to provide details about peer measurement request (nl80211_peer_measurement_attrs)

0 commit comments

Comments
 (0)