• Daniel Drake's avatar
    [PATCH] softmac: ERP handling and driver-level notifications · 5acd0c41
    Daniel Drake authored
    This patch implements ERP handling in softmac so that the drivers can support
    protection and preambles properly.
    
    I added a new struct, ieee80211softmac_bss_info, which is used for
    BSS-dependent variables like these.
    
    A new hook has been added (bssinfo_change), which allows the drivers to be
    notified when anything in bssinfo changes.
    
    I modified the txrates_change API to match the bssinfo_change API. The
    existing one is a little messy and the usefulness of providing the old rates
    is questionable (and can be implemented at driver level if really necessary).
    No drivers are using this API (yet), so this should be safe.
    Signed-off-by: default avatarDaniel Drake <dsd@gentoo.org>
    Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    5acd0c41
ieee80211softmac.h 12 KB