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.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -4280,6 +4280,9 @@ enum nl80211_iface_limit_attrs { · 4279 unmodified lines | ||
| 4280 | 4280 | * of supported channel widths for radar detection. |
| 4281 | 4281 | * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap |
| 4282 | 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 | 4286 | * @NUM_NL80211_IFACE_COMB: number of attributes |
| 4284 | 4287 | * @MAX_NL80211_IFACE_COMB: highest attribute number |
| 4285 | 4288 | * |
| @@ -4287,8 +4290,8 @@ enum nl80211_iface_limit_attrs { · 1 unmodified line | ||
| 4287 | 4290 | * limits = [ #{STA} <= 1, #{AP} <= 1 ], matching BI, channels = 1, max = 2 |
| 4288 | 4291 | * => allows an AP and a STA that must match BIs |
| 4289 | 4292 | * |
| 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 | |
| 4292 | 4295 | * |
| 4293 | 4296 | * numbers = [ #{STA} <= 2 ], channels = 2, max = 2 |
| 4294 | 4297 | * => allows two STAs on different channels |
| @@ -4314,6 +4317,7 @@ enum nl80211_if_combination_attrs { · 19 unmodified lines | ||
| 4314 | 4317 | NL80211_IFACE_COMB_NUM_CHANNELS, |
| 4315 | 4318 | NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS, |
| 4316 | 4319 | NL80211_IFACE_COMB_RADAR_DETECT_REGIONS, |
| 4320 | + NL80211_IFACE_COMB_BI_MIN_GCD, | |
| 4317 | 4321 | |
| 4318 | 4322 | /* keep last */ |
| 4319 | 4323 | NUM_NL80211_IFACE_COMB, |