nl80211: Get MLO support capability
Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
32b7454485
commit
033a57d262
2 changed files with 5 additions and 0 deletions
|
@ -2189,6 +2189,8 @@ struct wpa_driver_capa {
|
|||
* frames in STA mode
|
||||
*/
|
||||
#define WPA_DRIVER_FLAGS2_PROT_RANGE_NEG_STA 0x0000000000002000ULL
|
||||
/** Driver supports MLO in station/AP mode */
|
||||
#define WPA_DRIVER_FLAGS2_MLO 0x0000000000004000ULL
|
||||
u64 flags2;
|
||||
|
||||
#define FULL_AP_CLIENT_STATE_SUPP(drv_flags) \
|
||||
|
|
|
@ -1140,6 +1140,9 @@ static int wiphy_info_handler(struct nl_msg *msg, void *arg)
|
|||
if (tb[NL80211_ATTR_MBSSID_CONFIG])
|
||||
wiphy_info_mbssid(capa, tb[NL80211_ATTR_MBSSID_CONFIG]);
|
||||
|
||||
if (tb[NL80211_ATTR_MLO_SUPPORT])
|
||||
capa->flags2 |= WPA_DRIVER_FLAGS2_MLO;
|
||||
|
||||
return NL_SKIP;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue