Home
last modified time | relevance | path

Searched refs:ifmodes (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/wireless/
H A Dcore.c701 u16 ifmodes = wiphy->interface_modes; in wiphy_register() local
814 /* sanity check ifmodes */ in wiphy_register()
815 WARN_ON(!ifmodes); in wiphy_register()
816 ifmodes &= ((1 << NUM_NL80211_IFTYPES) - 1) & ~1; in wiphy_register()
817 if (WARN_ON(ifmodes != wiphy->interface_modes)) in wiphy_register()
818 wiphy->interface_modes = ifmodes; in wiphy_register()
H A Dnl80211.c1596 static int nl80211_put_iftypes(struct sk_buff *msg, u32 attr, u16 ifmodes) in nl80211_put_iftypes() argument
1605 while (ifmodes) { in nl80211_put_iftypes()
1606 if ((ifmodes & 1) && nla_put_flag(msg, i)) in nl80211_put_iftypes()
1608 ifmodes >>= 1; in nl80211_put_iftypes()