From f5db5742e4c6008b5bdb4e788cb4b44c6e420f43 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Sat, 9 Feb 2019 14:18:41 +0800 Subject: iw: update to 5.0.1 Refresh patches MIPS IPK size increases: iw-tiny: +3k iw-full: +10k Signed-off-by: Deng Qingfang [Remove sha256, nan, bloom, measurements and ftm from tiny version] [sync nl80211 between backports and iw] Signed-off-by: Hauke Mehrtens --- .../522-mac80211_configure_antenna_gain.patch | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch') diff --git a/package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch b/package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch index 86bd2905ae..fe193cb4fd 100644 --- a/package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch +++ b/package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch @@ -36,20 +36,45 @@ u8 ps_dtim_period; --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h -@@ -2241,6 +2241,9 @@ enum nl80211_commands { +@@ -2241,6 +2241,26 @@ enum nl80211_commands { * association request when used with NL80211_CMD_NEW_STATION). Can be set * only if %NL80211_STA_FLAG_WME is set. * ++ * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include ++ * in %NL80211_CMD_START_AP or %NL80211_CMD_SET_BEACON for fine timing ++ * measurement (FTM) responder functionality and containing parameters as ++ * possible, see &enum nl80211_ftm_responder_attr ++ * ++ * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder ++ * statistics, see &enum nl80211_ftm_responder_stats. ++ * ++ * @NL80211_ATTR_TIMEOUT: Timeout for the given operation in milliseconds (u32), ++ * if the attribute is not given no timeout is requested. Note that 0 is an ++ * invalid value. ++ * ++ * @NL80211_ATTR_PEER_MEASUREMENTS: peer measurements request (and result) ++ * data, uses nested attributes specified in ++ * &enum nl80211_peer_measurement_attrs. ++ * This is also used for capability advertisement in the wiphy information, ++ * with the appropriate sub-attributes. + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce + * transmit power to stay within regulatory limits. u32, dBi. + * * @NUM_NL80211_ATTR: total number of nl80211_attrs available * @NL80211_ATTR_MAX: highest attribute number currently defined * @__NL80211_ATTR_AFTER_LAST: internal use -@@ -2682,6 +2685,8 @@ enum nl80211_attrs { +@@ -2682,6 +2702,16 @@ enum nl80211_attrs { NL80211_ATTR_HE_CAPABILITY, ++ NL80211_ATTR_FTM_RESPONDER, ++ ++ NL80211_ATTR_FTM_RESPONDER_STATS, ++ ++ NL80211_ATTR_TIMEOUT, ++ ++ NL80211_ATTR_PEER_MEASUREMENTS, ++ + NL80211_ATTR_WIPHY_ANTENNA_GAIN, + /* add attributes here, update the policy in nl80211.c */ -- cgit v1.2.3