Re: [RFC] iw: add support for retry limit
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-01-24 15:00:05
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-01-24 15:00:05
On Thu, 2014-01-09 at 18:52 +0530, Ujjal Roy wrote: Sorry for the late reply.
@@ -232,6 +232,45 @@ COMMAND(set, rts, "<rts threshold|off>", NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_rts, "Set rts threshold."); +static int handle_retry(struct nl80211_state *state, + struct nl_cb *cb, struct nl_msg *msg, + int argc, char **argv, + enum id_input id)
indentation is a bit off
+COMMAND(set, retry, "<short limit> [<long limit>]", + NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_retry, + "Set retry limit.");
This seems odd to me, why would you want to allow setting the short limit while not changing the long one, but not the other way around? johannes