History

cfg80211: support RNR for EMA AP

As per IEEE Std 802.11ax-2021, 11.1.3.8.3 Discovery of a nontransmitted BSSID profile, an EMA AP that transmits a Beacon frame carrying a partial list of nontransmitted BSSID profiles should include in the frame a Reduced Neighbor Report element carrying information for at least the nontransmitted BSSIDs that are not present in the Multiple BSSID element carried in that frame. Add new nested attribute NL80211_ATTR_EMA_RNR_ELEMS to support the above. Number of RNR elements must be more than or equal to the number of MBSSID elements. This attribute can be used only when EMA is enabled. Userspace is responsible for splitting the RNR into multiple elements such that each element excludes the non-transmitting profiles already included in the MBSSID element (%NL80211_ATTR_MBSSID_ELEMS) at the same index. Each EMA beacon will be generated by adding MBSSID and RNR elements at the same index. If the userspace provides more RNR elements than the number of MBSSID elements then these will be added in every EMA beacon.

Aloka Dixit committed 3 years ago

Commit dbbb27e1 parent f1024243 files · +104 −7Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+13−0
@@ -2794,6 +2794,17 @@ enum nl80211_commands { · 2793 unmodified lines
27942794 * @NL80211_ATTR_HW_TIMESTAMP_ENABLED: Indicates whether HW timestamping should
27952795 * be enabled or not (flag attribute).
27962796 *
2797+ * @NL80211_ATTR_EMA_RNR_ELEMS: Optional nested attribute for
2798+ * reduced neighbor report (RNR) elements. This attribute can be used
2799+ * only when NL80211_MBSSID_CONFIG_ATTR_EMA is enabled.
2800+ * Userspace is responsible for splitting the RNR into multiple
2801+ * elements such that each element excludes the non-transmitting
2802+ * profiles already included in the MBSSID element
2803+ * (%NL80211_ATTR_MBSSID_ELEMS) at the same index. Each EMA beacon
2804+ * will be generated by adding MBSSID and RNR elements at the same
2805+ * index. If the userspace includes more RNR elements than number of
2806+ * MBSSID elements then these will be added in every EMA beacon.
2807+ *
27972808 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
27982809 * @NL80211_ATTR_MAX: highest attribute number currently defined
27992810 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3328,6 +3339,8 @@ enum nl80211_attrs { · 528 unmodified lines
33283339 NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS,
33293340 NL80211_ATTR_HW_TIMESTAMP_ENABLED,
33303341
3342+ NL80211_ATTR_EMA_RNR_ELEMS,
3343+
33313344 /* add attributes here, update the policy in nl80211.c */
33323345
33333346 __NL80211_ATTR_AFTER_LAST,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t