mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
QCA nl80211 vendor attribute for specific sub-20 MHz channel width
Define a new attribute QCA_WLAN_VENDOR_ATTR_CONFIG_SUB20_CHAN_WIDTH. This attribute can set a station device to work in 5 or 10 MHz channel width while in disconnect state. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
622bc51f5a
commit
21ac782797
@ -1133,6 +1133,14 @@ enum qca_wlan_vendor_attr_config {
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_MISS_THRESHOLD_24 = 37,
|
||||
/* 8-bit unsigned value to set the beacon miss threshold in 5 GHz */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_MISS_THRESHOLD_5 = 38,
|
||||
/* 32-bit unsigned value to configure 5 or 10 MHz channel width for
|
||||
* station device while in disconnect state. The attribute use the
|
||||
* value of enum nl80211_chan_width: NL80211_CHAN_WIDTH_5 means 5 MHz,
|
||||
* NL80211_CHAN_WIDTH_10 means 10 MHz. If set, the device work in 5 or
|
||||
* 10 MHz channel width, the station will not connect to a BSS using 20
|
||||
* MHz or higher bandwidth. Set to NL80211_CHAN_WIDTH_20_NOHT to
|
||||
* clear this constraint. */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_SUB20_CHAN_WIDTH = 39,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
||||
|
Loading…
Reference in New Issue
Block a user