AP: Add support for full station state
Add support for drivers that support full AP client state, i.e., can handle adding stations that are not associated yet. For such drivers, add a station after processing the authentication request, instead of adding it in the association response callback. Doing so is beneficial in cases where the driver cannot handle the add station request, in which case it is useless to perform the complete connection establishment. Signed-off-by: Ayala Beker <ayala.beker@intel.com>
This commit is contained in:
parent
dc55b6b672
commit
bb598c3bdd
5 changed files with 209 additions and 73 deletions
|
@ -41,7 +41,7 @@ int hostapd_sta_add(struct hostapd_data *hapd,
|
|||
u16 listen_interval,
|
||||
const struct ieee80211_ht_capabilities *ht_capab,
|
||||
const struct ieee80211_vht_capabilities *vht_capab,
|
||||
u32 flags, u8 qosinfo, u8 vht_opmode);
|
||||
u32 flags, u8 qosinfo, u8 vht_opmode, int set);
|
||||
int hostapd_set_privacy(struct hostapd_data *hapd, int enabled);
|
||||
int hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem,
|
||||
size_t elem_len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue