Thread (9 messages) 9 messages, 4 authors, 2021-08-10

Re: [PATCH v4 1/3] nl80211: Add support for beacon tx mode

From: Maharaja Kennadyrajan <hidden>
Date: 2021-08-10 08:34:29
Also in: ath11k

On 2021-06-23 16:46, Johannes Berg wrote:
First, I'd like to see some input from other vendors - is this useful?

I have no objections to it and it comes with an in-kernel driver, so 
I'm
inclined to accept it, but maybe we should have other modes, etc.?

quoted
+ * @NL80211_ATTR_BEACON_TX_MODE: used to configure the beacon tx mode 
as
+ *      staggered mode = 1 or burst mode = 2 in %NL80211_CMD_START_AP 
or
+ *      %NL80211_CMD_JOIN_MESH from user-space.
[Maha]: will replace the hard-coded values with enum here.
This should refer to the enum, not the hard-coded constants.
quoted
+/**
+ * enum nl80211_beacon_tx_mode - Beacon Tx Mode enum.
+ *      Used to configure beacon staggered mode or beacon burst mode.
+ */
+enum nl80211_beacon_tx_mode {

That's missing kernel-doc, and you also don't specify what default
means. Why is it even here?
[Maha]: sure, I will add the same in the kernel-doc.
quoted
+	[NL80211_ATTR_BEACON_TX_MODE] = NLA_POLICY_RANGE(NLA_U32, 1,
2),

That really also needs to use the enum, not hard-coded constants...
[Maha]: will replace the hard-coded values with enum also here.
johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help