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/linux (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
4280 * of supported channel widths for radar detection.4280 * of supported channel widths for radar detection.
4281 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap4281 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
4282 * of supported regulatory regions for radar detection.4282 * 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).
4283 * @NUM_NL80211_IFACE_COMB: number of attributes4286 * @NUM_NL80211_IFACE_COMB: number of attributes
4284 * @MAX_NL80211_IFACE_COMB: highest attribute number4287 * @MAX_NL80211_IFACE_COMB: highest attribute number
4285 *4288 *
@@ -4287,8 +4290,8 @@ enum nl80211_iface_limit_attrs { · 1 unmodified line
4287 * limits = [ #{STA} <= 1, #{AP} <= 1 ], matching BI, channels = 1, max = 24290 * limits = [ #{STA} <= 1, #{AP} <= 1 ], matching BI, channels = 1, max = 2
4288 * => allows an AP and a STA that must match BIs4291 * => allows an AP and a STA that must match BIs
4289 *4292 *
4290 * numbers = [ #{AP, P2P-GO} <= 8 ], channels = 1, max = 84293 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
4291 * => allows 8 of AP/GO4294 * => allows 8 of AP/GO that can have BI gcd >= min gcd
4292 *4295 *
4293 * numbers = [ #{STA} <= 2 ], channels = 2, max = 24296 * numbers = [ #{STA} <= 2 ], channels = 2, max = 2
4294 * => allows two STAs on different channels4297 * => allows two STAs on different channels
@@ -4314,6 +4317,7 @@ enum nl80211_if_combination_attrs { · 19 unmodified lines
4314 NL80211_IFACE_COMB_NUM_CHANNELS,4317 NL80211_IFACE_COMB_NUM_CHANNELS,
4315 NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,4318 NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,
4316 NL80211_IFACE_COMB_RADAR_DETECT_REGIONS,4319 NL80211_IFACE_COMB_RADAR_DETECT_REGIONS,
4320 NL80211_IFACE_COMB_BI_MIN_GCD,
4317 4321
4318 /* keep last */4322 /* keep last */
4319 NUM_NL80211_IFACE_COMB,4323 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