NL80211_IFTYPE_MONITOR
if (priv->mode != NL80211_IFTYPE_MONITOR)
priv->mode = NL80211_IFTYPE_MONITOR;
priv->mode = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
if (!vif || vif->type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (ar->cfg_tx_chainmask && (vif->type != NL80211_IFTYPE_MONITOR)) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
ar->hw->wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MONITOR);
case NL80211_IFTYPE_MONITOR:
if (vif->type != NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR && ar->monitor_vdev_created)
if (vif->type == NL80211_IFTYPE_MONITOR)
if (vif->type == NL80211_IFTYPE_MONITOR) {
wiphy->interface_modes &= ~BIT(NL80211_IFTYPE_MONITOR);
ah->opmode == NL80211_IFTYPE_MONITOR)) {
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
priv->ah->opmode = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
BIT(NL80211_IFTYPE_MONITOR);
{NL80211_IFTYPE_MONITOR, WMI_NETTYPE_ADHOC}, /* FIXME */
case NL80211_IFTYPE_MONITOR:
if (wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (wdev->iftype == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) {
if (vif->wdev.iftype == NL80211_IFTYPE_MONITOR)
if (wdev->iftype == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);
c0_limits[i++].types = BIT(NL80211_IFTYPE_MONITOR);
mbss_limits[i++].types = BIT(NL80211_IFTYPE_MONITOR);
vif = brcmf_alloc_vif(cfg, NL80211_IFTYPE_MONITOR);
if (vif->type == NL80211_IFTYPE_MONITOR)
BIT(NL80211_IFTYPE_ADHOC) | BIT(NL80211_IFTYPE_MONITOR);
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (WARN_ON(vif->type != NL80211_IFTYPE_MONITOR))
if (WARN_ON(vif->type != NL80211_IFTYPE_MONITOR))
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
WARN_ON(vif->type != NL80211_IFTYPE_MONITOR);
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR)
WARN_ON(vif->type != NL80211_IFTYPE_MONITOR);
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
} else if (info.control.vif->type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
priv->mode = NL80211_IFTYPE_MONITOR;
if (priv->mode != NL80211_IFTYPE_MONITOR) {
priv->mode = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
wdev->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR)
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR)
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) {
if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR ||
if (vif->type == NL80211_IFTYPE_MONITOR &&
if (vif->type == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type != NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR &&
if (vif->type == NL80211_IFTYPE_MONITOR)
if (vif->type == NL80211_IFTYPE_MONITOR)
if (vif->type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR)
if (vif->type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (vif->type == NL80211_IFTYPE_MONITOR) {
if (vif->type == NL80211_IFTYPE_MONITOR)
if (type == NL80211_IFTYPE_MONITOR) {
BIT(NL80211_IFTYPE_MONITOR) |
result |= BIT(NL80211_IFTYPE_MONITOR);
case NL80211_IFTYPE_MONITOR:
rtwdev->pure_monitor_mode_vif = vif->type == NL80211_IFTYPE_MONITOR ?
case NL80211_IFTYPE_MONITOR:
if (priv->mode != NL80211_IFTYPE_MONITOR) {
priv->mode == NL80211_IFTYPE_MONITOR ||
priv->mode = NL80211_IFTYPE_MONITOR;
priv->mode = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (vif->type != NL80211_IFTYPE_MONITOR)
if (vif->type != NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
mon_wdev->iftype = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
| BIT(NL80211_IFTYPE_MONITOR)
wiphy->software_iftypes |= BIT(NL80211_IFTYPE_MONITOR);
if (type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
if (sdata->vif.type == NL80211_IFTYPE_MONITOR) {
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
sdata->vif.type == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
sdata->vif.type != NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (iter.iftype == NL80211_IFTYPE_MONITOR) {
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (link->sdata->vif.type == NL80211_IFTYPE_MONITOR ||
if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
(sdata->vif.type == NL80211_IFTYPE_MONITOR &&
(sdata->vif.type == NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR ||
sdata->vif.type == NL80211_IFTYPE_MONITOR)
sdata->vif.type = NL80211_IFTYPE_MONITOR;
sdata->wdev.iftype = NL80211_IFTYPE_MONITOR;
ret = ieee80211_check_queues(sdata, NL80211_IFTYPE_MONITOR);
case NL80211_IFTYPE_MONITOR:
sdata->vif.addr_valid = sdata->vif.type != NL80211_IFTYPE_MONITOR ||
case NL80211_IFTYPE_MONITOR:
if (iter->vif.type == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (sdata->vif.type == NL80211_IFTYPE_MONITOR)
(type != NL80211_IFTYPE_MONITOR ||
if (type == NL80211_IFTYPE_MONITOR)
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
return type1 == NL80211_IFTYPE_MONITOR ||
type2 == NL80211_IFTYPE_MONITOR ||
nsdata->vif.type != NL80211_IFTYPE_MONITOR) ||
(sdata->vif.type != NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_MONITOR);
hw->wiphy->software_iftypes |= BIT(NL80211_IFTYPE_MONITOR);
(sdata->vif.type == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
if (sdata->vif.type != NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (sdata->vif.type == NL80211_IFTYPE_MONITOR ||
if (sdata->vif.type == NL80211_IFTYPE_MONITOR) {
if (sdata->vif.type == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
if (tmp_sdata->vif.type == NL80211_IFTYPE_MONITOR ||
case NL80211_IFTYPE_MONITOR:
if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR))
if (sdata->vif.type != NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
if (sdata->vif.type == NL80211_IFTYPE_MONITOR &&
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
if (iftype == NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
wdev->iftype == NL80211_IFTYPE_MONITOR ||
enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR;
iftype == NL80211_IFTYPE_MONITOR,
case NL80211_IFTYPE_MONITOR:
if (type != NL80211_IFTYPE_MONITOR)
if (type != NL80211_IFTYPE_MONITOR)
if (type != NL80211_IFTYPE_MONITOR)
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
type = NL80211_IFTYPE_MONITOR;
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MONITOR: