mirror_ubuntu-kernels/drivers/net/wireless/rsi
Marek Vasut 31f97cf9f0 rsi: Fix module dev_oper_mode parameter description
The module parameters are missing dev_oper_mode 12, BT classic alone,
add it. Moreover, the parameters encode newlines, which ends up being
printed malformed e.g. by modinfo, so fix that too.

However, the module parameter string is duplicated in both USB and SDIO
modules and the dev_oper_mode mode enumeration in those module parameters
is a duplicate of macros used by the driver. Furthermore, the enumeration
is confusing.

So, deduplicate the module parameter string and use __stringify() to
encode the correct mode enumeration values into the module parameter
string. Finally, replace 'Wi-Fi' with 'Wi-Fi alone' and 'BT' with
'BT classic alone' to clarify what those modes really mean.

Fixes: 898b255339 ("rsi: add module parameter operating mode")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Cc: Angus Ainslie <angus@akkea.ca>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Karun Eagalapati <karun256@gmail.com>
Cc: Martin Fuzzey <martin.fuzzey@flowbird.group>
Cc: Martin Kepplinger <martink@posteo.de>
Cc: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Cc: Siva Rebbagondla <siva8118@gmail.com>
Cc: netdev@vger.kernel.org
Cc: <stable@vger.kernel.org> # 4.17+
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210916144245.10181-1-marex@denx.de
2021-09-21 18:03:48 +03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile rsi: add coex support 2018-03-13 18:36:57 +02:00
rsi_91x_coex.c rsi: File headers are not suitable for kernel-doc 2020-09-01 12:20:17 +03:00
rsi_91x_core.c rsi: fix key enabled check causing unwanted encryption for vap_id > 0 2021-09-21 08:42:37 +03:00
rsi_91x_debugfs.c rsi: make array fsm_state static const, makes object smaller 2021-08-29 11:32:01 +03:00
rsi_91x_hal.c rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_91x_mac80211.c rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_91x_main.c rsi: fix occasional initialisation failure with BT coex 2021-09-21 08:42:36 +03:00
rsi_91x_mgmt.c rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_91x_ps.c rsi: remove unused including <linux/version.h> 2021-04-13 14:51:41 -07:00
rsi_91x_sdio_ops.c rsi: Clean up loop in the interrupt handler 2020-11-10 20:55:06 +02:00
rsi_91x_sdio.c rsi: Fix module dev_oper_mode parameter description 2021-09-21 18:03:48 +03:00
rsi_91x_usb_ops.c rsi: rsi_91x_usb_ops: Source file headers are not good candidates for kernel-doc 2020-11-07 18:02:49 +02:00
rsi_91x_usb.c rsi: Fix module dev_oper_mode parameter description 2021-09-21 18:03:48 +03:00
rsi_boot_params.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_coex.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_common.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_debugfs.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_hal.h rsi: Fix module dev_oper_mode parameter description 2021-09-21 18:03:48 +03:00
rsi_main.h rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_mgmt.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_ps.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_sdio.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_usb.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00