NL80211_IFTYPE_AP_VLAN
ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);
ar->hw->wiphy->software_iftypes |= BIT(NL80211_IFTYPE_AP_VLAN);
BIT(NL80211_IFTYPE_AP_VLAN),
BIT(NL80211_IFTYPE_AP_VLAN),
vif->type != NL80211_IFTYPE_AP_VLAN)
vif->type != NL80211_IFTYPE_AP_VLAN) ||
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
result |= BIT(NL80211_IFTYPE_AP_VLAN);
[NL80211_IFTYPE_AP_VLAN] = {
case NL80211_IFTYPE_AP_VLAN:
if (iftype == NL80211_IFTYPE_AP_VLAN)
sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN:
if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
if (type == NL80211_IFTYPE_AP_VLAN && params->use_4addr == 0) {
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->bss))
case NL80211_IFTYPE_AP_VLAN:
if (iter->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
if (sdata && sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta)
sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (vsdata->vif.type != NL80211_IFTYPE_AP_VLAN ||
case NL80211_IFTYPE_AP_VLAN: {
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (type != NL80211_IFTYPE_AP_VLAN &&
else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
(type1 == NL80211_IFTYPE_AP && type2 == NL80211_IFTYPE_AP_VLAN) ||
(type1 == NL80211_IFTYPE_AP_VLAN &&
type2 == NL80211_IFTYPE_AP_VLAN));
if (iftype == NL80211_IFTYPE_AP_VLAN &&
if (iftype == NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN:
WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_AP_VLAN && flushed > 0);
} else if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_AP_VLAN);
hw->wiphy->software_iftypes |= BIT(NL80211_IFTYPE_AP_VLAN);
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
[NL80211_IFTYPE_AP_VLAN] = {
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)) {
(rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type == NL80211_IFTYPE_AP_VLAN && !sdata->u.vlan.sta)
sdata->vif.type == NL80211_IFTYPE_AP_VLAN && sdata->u.vlan.sta)
sdata->vif.type == NL80211_IFTYPE_AP_VLAN) &&
(sdata->vif.type != NL80211_IFTYPE_AP_VLAN || !sdata->u.vlan.sta)) {
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (rx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type == NL80211_IFTYPE_AP_VLAN))
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
(sdata->vif.type != NL80211_IFTYPE_AP_VLAN ||
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN ||
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP_VLAN))
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
tmp_sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN)
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
tx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
(sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
if (sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
sdata->vif.type == NL80211_IFTYPE_AP_VLAN) {
sdata->vif.type != NL80211_IFTYPE_AP_VLAN))
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
wdev->iftype != NL80211_IFTYPE_AP_VLAN)) {
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_AP_VLAN:
if (otype == NL80211_IFTYPE_AP_VLAN)
case NL80211_IFTYPE_AP_VLAN:
bool is_vlan = iftype == NL80211_IFTYPE_AP_VLAN;
iftype != NL80211_IFTYPE_AP_VLAN &&
iftype != NL80211_IFTYPE_AP_VLAN &&
case NL80211_IFTYPE_AP_VLAN: