Thread (3 messages) flat view 3 messages, 2 authors, 2021-09-16

Re: [PATCH] rsi: Fix module dev_oper_mode parameter description

From: Marek Vasut <marex@denx.de>
Date: 2021-09-16 14:39:14
Also in: stable

On 9/16/21 9:03 AM, Sebastian Krzyszkowiak wrote:
On środa, 15 września 2021 10:08:41 CEST Marek Vasut wrote:
quoted
+#define DEV_OPMODE_PARAM_DESC		\
+	__stringify(DEV_OPMODE_WIFI_ALONE)	"[Wi-Fi alone], "	\
+	__stringify(DEV_OPMODE_BT_ALONE)	"[BT classic alone], "	\
+	__stringify(DEV_OPMODE_BT_LE_ALONE)	"[BT LE], "		
\
quoted
+	__stringify(DEV_OPMODE_BT_DUAL)		"[BT Dual], "		
\
quoted
+	__stringify(DEV_OPMODE_STA_BT)		"[Wi-Fi STA + BT
classic], " \
quoted
+	__stringify(DEV_OPMODE_STA_BT_LE)	"[Wi-Fi STA + BT LE], "	\
+	__stringify(DEV_OPMODE_STA_BT_DUAL)	"[Wi-Fi STA + BT
classic + BT LE], " \
quoted
+	__stringify(DEV_OPMODE_AP_BT)		"[AP + BT classic], "	
\
quoted
+	__stringify(DEV_OPMODE_AP_BT_DUAL)	"[AP + BT classic + BT LE]"
There's still some inconsistency in mode naming - how about:

- Wi-Fi STA
This mode is also AP capable
- BT classic
- BT LE
- BT classic + BT LE
- Wi-Fi STA + BT classic
- Wi-Fi STA + BT LE
- Wi-Fi STA + BT classic + BT LE
- Wi-Fi AP + BT classic
- Wi-Fi AP + BT classic + BT LE

"alone" could be added to the first three modes (you missed it in BT LE).
I can add the alone consistently, yes -- that's the point of the first 
three modes, that the "other" radio is disabled by the firmware.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help