aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@codeaurora.org>2019-04-11 16:47:24 -0400
committerJohannes Berg <johannes.berg@intel.com>2019-04-26 07:02:11 -0400
commit5ab92e7fe49ad74293b50fb9e6f25be5521e2f68 (patch)
tree9b0559ea110d5c01f08adee634d6d36f2ceb771d /include/uapi
parent387bc002250b31cf8012b736e482c9f65cbf7dd5 (diff)
cfg80211: add support to probe unexercised mesh link
Adding support to allow mesh HWMP to measure link metrics on unexercised direct mesh path by sending some data frames to other mesh points which are not currently selected as a primary traffic path but only 1 hop away. The absence of the primary path to the chosen node makes it necessary to apply some form of marking on a chosen packet stream so that the packets can be properly steered to the selected node for testing, and not by the regular mesh path lookup. Tested-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 25f70dd2b583..6f09d1500960 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -1070,6 +1070,21 @@
1070 * OWE AKM by the host drivers that implement SME but rely 1070 * OWE AKM by the host drivers that implement SME but rely
1071 * on the user space for the cryptographic/DH IE processing in AP mode. 1071 * on the user space for the cryptographic/DH IE processing in AP mode.
1072 * 1072 *
1073 * @NL80211_CMD_PROBE_MESH_LINK: The requirement for mesh link metric
1074 * refreshing, is that from one mesh point we be able to send some data
1075 * frames to other mesh points which are not currently selected as a
1076 * primary traffic path, but which are only 1 hop away. The absence of
1077 * the primary path to the chosen node makes it necessary to apply some
1078 * form of marking on a chosen packet stream so that the packets can be
1079 * properly steered to the selected node for testing, and not by the
1080 * regular mesh path lookup. Further, the packets must be of type data
1081 * so that the rate control (often embedded in firmware) is used for
1082 * rate selection.
1083 *
1084 * Here attribute %NL80211_ATTR_MAC is used to specify connected mesh
1085 * peer MAC address and %NL80211_ATTR_FRAME is used to specify the frame
1086 * content. The frame is ethernet data.
1087 *
1073 * @NL80211_CMD_MAX: highest used command number 1088 * @NL80211_CMD_MAX: highest used command number
1074 * @__NL80211_CMD_AFTER_LAST: internal use 1089 * @__NL80211_CMD_AFTER_LAST: internal use
1075 */ 1090 */
@@ -1292,6 +1307,8 @@ enum nl80211_commands {
1292 1307
1293 NL80211_CMD_UPDATE_OWE_INFO, 1308 NL80211_CMD_UPDATE_OWE_INFO,
1294 1309
1310 NL80211_CMD_PROBE_MESH_LINK,
1311
1295 /* add new commands above here */ 1312 /* add new commands above here */
1296 1313
1297 /* used to define NL80211_CMD_MAX below */ 1314 /* used to define NL80211_CMD_MAX below */