Add driver op for disabling 802.11b rates

This commit is contained in:
Jouni Malinen 2010-01-16 12:11:19 +02:00 committed by Jouni Malinen
parent ae58592894
commit 4e5cb1a366
3 changed files with 81 additions and 1 deletions

View file

@ -1694,6 +1694,19 @@ struct wpa_driver_ops {
* reported, e.g., during remain-on-channel operations.
*/
int (*probe_req_report)(void *priv, int report);
/**
* disable_11b_rates - Set whether IEEE 802.11b rates are used for TX
* @priv: Private driver interface data
* @disabled: Whether IEEE 802.11b rates are disabled
* Returns: 0 on success, -1 on failure (or if not supported)
*
* This command is used to disable IEEE 802.11b rates (1, 2, 5.5, and
* 11 Mbps) as TX rates for data and management frames. This can be
* used to optimize channel use when there is no need to support IEEE
* 802.11b-only devices.
*/
int (*disable_11b_rates)(void *priv, int disabled);
};