diff options
| author | Purushottam Kushwaha <pkushwah@qti.qualcomm.com> | 2016-10-17 19:50:36 +0530 |
|---|---|---|
| committer | Purushottam Kushwaha <pkushwah@codeaurora.org> | 2016-10-25 15:05:04 +0530 |
| commit | 0d7846f7e63f9e97c587b1bf34d417dca894cd81 (patch) | |
| tree | e41a1f08e79c7ecc87523af6ae82e7a29827fb8e /include/net | |
| parent | 46aa49c1188a77f52dc4969f82292c176d8f399b (diff) | |
cfg80211: Add support to configure a beacon data rate
This allows an option to configure a single beacon tx rate for an AP.
Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211.git
Git-commit: a7c7fbff6a408d00431c705bbe3dfc5f51e3f1c4
CRs-fixed: 1025311
Change-Id: I5f9627964d86c51cb8fb0c5c5f7c9f5f2e19b3e7
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/cfg80211.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 801315d1d405..9076fd9f92b2 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -695,6 +695,18 @@ struct cfg80211_acl_data { struct mac_address mac_addrs[]; }; +/* + * cfg80211_bitrate_mask - masks for bitrate control + */ +struct cfg80211_bitrate_mask { + struct { + u32 legacy; + u8 ht_mcs[IEEE80211_HT_MCS_MASK_LEN]; + u16 vht_mcs[NL80211_VHT_NSS_MAX]; + enum nl80211_txrate_gi gi; + } control[IEEE80211_NUM_BANDS]; +}; + /** * struct cfg80211_ap_settings - AP configuration * @@ -719,6 +731,7 @@ struct cfg80211_acl_data { * MAC address based access control * @pbss: If set, start as a PCP instead of AP. Relevant for DMG * networks. + * @beacon_rate: masks for setting user configured beacon tx rate. */ struct cfg80211_ap_settings { struct cfg80211_chan_def chandef; @@ -738,6 +751,7 @@ struct cfg80211_ap_settings { bool p2p_opp_ps; const struct cfg80211_acl_data *acl; bool pbss; + struct cfg80211_bitrate_mask beacon_rate; }; /** @@ -1945,17 +1959,6 @@ enum wiphy_params_flags { WIPHY_PARAM_DYN_ACK = 1 << 5, }; -/* - * cfg80211_bitrate_mask - masks for bitrate control - */ -struct cfg80211_bitrate_mask { - struct { - u32 legacy; - u8 ht_mcs[IEEE80211_HT_MCS_MASK_LEN]; - u16 vht_mcs[NL80211_VHT_NSS_MAX]; - enum nl80211_txrate_gi gi; - } control[IEEE80211_NUM_BANDS]; -}; /** * struct cfg80211_pmksa - PMK Security Association * |
