cfg80211: Add new BSS attribute ht_opmode
Add a new BSS attribute to allow hostapd to set the current HT opmode. Otherwise drivers won't be able to set up protection for HT rates in AP mode. Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
7659a193f9
commit
50b12f597b
@@ -605,6 +605,8 @@ struct mpath_info {
|
||||
* (or NULL for no change)
|
||||
* @basic_rates_len: number of basic rates
|
||||
* @ap_isolate: do not forward packets between connected stations
|
||||
* @ht_opmode: HT Operation mode
|
||||
* (u16 = opmode, -1 = do not change)
|
||||
*/
|
||||
struct bss_parameters {
|
||||
int use_cts_prot;
|
||||
@@ -613,6 +615,7 @@ struct bss_parameters {
|
||||
u8 *basic_rates;
|
||||
u8 basic_rates_len;
|
||||
int ap_isolate;
|
||||
int ht_opmode;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user