History

cfg80211: add checks for beacon rate, extend to mesh

The previous commit added support for specifying the beacon rate for AP mode. Add features checks to this, and extend it to also support the rate configuration for mesh networks. For IBSS it's not as simple due to joining etc., so that's not yet supported.

Johannes Berg committed 10 years ago

Commit 8564e381 parent a7c7fbf3 files · +54 −13Browse files

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

Unified · Split

include/net/cfg80211.h+3−1
@@ -712,7 +712,7 @@ struct cfg80211_bitrate_mask { · 711 unmodified lines
712712 * MAC address based access control
713713 * @pbss: If set, start as a PCP instead of AP. Relevant for DMG
714714 * networks.
715− * @beacon_rate: masks for setting user configured beacon tx rate.
715+ * @beacon_rate: bitrate to be used for beacons
716716 */
717717 struct cfg80211_ap_settings {
718718 struct cfg80211_chan_def chandef;
@@ -1365,6 +1365,7 @@ struct mesh_config { · 646 unmodified lines
13651365 * @beacon_interval: beacon interval to use
13661366 * @mcast_rate: multicat rate for Mesh Node [6Mbps is the default for 802.11a]
13671367 * @basic_rates: basic rates to use when creating the mesh
1368+ * @beacon_rate: bitrate to be used for beacons
13681369 *
13691370 * These parameters are fixed when the mesh is created.
13701371 */
@@ -1385,6 +1386,7 @@ struct mesh_setup { · 14 unmodified lines
13851386 u16 beacon_interval;
13861387 int mcast_rate[NUM_NL80211_BANDS];
13871388 u32 basic_rates;
1389+ struct cfg80211_bitrate_mask beacon_rate;
13881390 };
13891391
13901392 /**

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