cfg80211: Add mesh peer AID setting API
Previously, mesh power management functionality works only with kernel MPM. Because user space MPM did not report mesh peer AID to kernel, the kernel could not identify the bit in TIM element. So this patch adds mesh peer AID setting API. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
92b3a28a2b
commit
7d27a0ba7a
@@ -1864,6 +1864,9 @@ enum nl80211_commands {
|
||||
* mandatory. If this flag is not set, the duration is the maximum duration
|
||||
* and the actual measurement duration may be shorter.
|
||||
*
|
||||
* @NL80211_ATTR_MESH_PEER_AID: Association ID for the mesh peer (u16). This is
|
||||
* used to pull the stored data for mesh peer in power save state.
|
||||
*
|
||||
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
|
||||
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||
@@ -2256,6 +2259,8 @@ enum nl80211_attrs {
|
||||
NL80211_ATTR_MEASUREMENT_DURATION,
|
||||
NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY,
|
||||
|
||||
NL80211_ATTR_MESH_PEER_AID,
|
||||
|
||||
/* add attributes here, update the policy in nl80211.c */
|
||||
|
||||
__NL80211_ATTR_AFTER_LAST,
|
||||
|
Reference in New Issue
Block a user