• Jouni Malinen's avatar
    mac80211: Select lowest rate based on basic rate set in AP mode · e00cfce0
    Jouni Malinen authored
    If the basic rate set is configured to not include the lowest rate
    (e.g., basic rate set = 6, 12, 24 Mbps in IEEE 802.11g mode), the AP
    should not send out broadcast frames at 1 Mbps. This type of
    configuration can be used to optimize channel usage in cases where
    there is no need for backwards compatibility with IEEE 802.11b-only
    devices.
    
    In AP mode, mac80211 was unconditionally using the lowest rate for
    Beacon frames and similarly, with all rate control algorithms that use
    rate_control_send_low(), the lowest rate ended up being used for all
    broadcast frames (and all unicast frames that are sent before
    association). Change this to take into account the basic rate
    configuration in AP mode, i.e., use the lowest rate in the basic rate
    set instead of the lowest supported rate when selecting the rate.
    Signed-off-by: default avatarJouni Malinen <jouni.malinen@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    e00cfce0
tx.c 62.5 KB