nl80211: Use max associated STAs information in AP mode
Propagate max associated STAs in AP mode advertised by the driver to core wpa_supplicant implemantion. This allows wpa_supplicant to update the P2P GO group limit information automatically without having to configure this limit manually. The information (if available) is also used in the generic AP implementation to control maximum number of STA entries. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
2cebdee66d
commit
ea40a575ae
1 changed files with 4 additions and 0 deletions
|
@ -3852,6 +3852,10 @@ static int wiphy_info_handler(struct nl_msg *msg, void *arg)
|
||||||
wiphy_info_wowlan_triggers(capa,
|
wiphy_info_wowlan_triggers(capa,
|
||||||
tb[NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED]);
|
tb[NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED]);
|
||||||
|
|
||||||
|
if (tb[NL80211_ATTR_MAX_AP_ASSOC_STA])
|
||||||
|
capa->max_stations =
|
||||||
|
nla_get_u32(tb[NL80211_ATTR_MAX_AP_ASSOC_STA]);
|
||||||
|
|
||||||
return NL_SKIP;
|
return NL_SKIP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue