History

cfg80211: support virtual interfaces with different beacon intervals

This commit provides a mechanism for the host drivers to advertise the support for different beacon intervals among the respective interface combinations in a group, through NL80211_IFACE_COMB_BI_MIN_GCD (u32). This value will be compared against GCD of all beaconing interfaces of matching combinations. If the driver doesn't advertise this value, the old behaviour where all beacon intervals must be identical is retained. If it is specified, then any beacon interval for an interface in the interface combination as well as the GCD of all active beacon intervals in the combination must be greater or equal to this value.

Purushottam Kushwaha committed 10 years ago

Commit 0c317a01 parent e2273005 files · +70 −12Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+6−2
@@ -4280,6 +4280,9 @@ enum nl80211_iface_limit_attrs { · 4279 unmodified lines
42804280 * of supported channel widths for radar detection.
42814281 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
42824282 * of supported regulatory regions for radar detection.
4283+ * @NL80211_IFACE_COMB_BI_MIN_GCD: u32 attribute specifying the minimum GCD of
4284+ * different beacon intervals supported by all the interface combinations
4285+ * in this group (if not present, all beacon intervals be identical).
42834286 * @NUM_NL80211_IFACE_COMB: number of attributes
42844287 * @MAX_NL80211_IFACE_COMB: highest attribute number
42854288 *
@@ -4287,8 +4290,8 @@ enum nl80211_iface_limit_attrs { · 1 unmodified line
42874290 * limits = [ #{STA} <= 1, #{AP} <= 1 ], matching BI, channels = 1, max = 2
42884291 * => allows an AP and a STA that must match BIs
42894292 *
4290− * numbers = [ #{AP, P2P-GO} <= 8 ], channels = 1, max = 8
4291− * => allows 8 of AP/GO
4293+ * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
4294+ * => allows 8 of AP/GO that can have BI gcd >= min gcd
42924295 *
42934296 * numbers = [ #{STA} <= 2 ], channels = 2, max = 2
42944297 * => allows two STAs on different channels
@@ -4314,6 +4317,7 @@ enum nl80211_if_combination_attrs { · 19 unmodified lines
43144317 NL80211_IFACE_COMB_NUM_CHANNELS,
43154318 NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,
43164319 NL80211_IFACE_COMB_RADAR_DETECT_REGIONS,
4320+ NL80211_IFACE_COMB_BI_MIN_GCD,
43174321
43184322 /* keep last */
43194323 NUM_NL80211_IFACE_COMB,

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