Lines Matching refs:iw_mode
1657 if (priv->ieee->iw_mode == IW_MODE_MONITOR) in ipw2100_start_scan()
2462 if (unlikely(priv->ieee->iw_mode != IW_MODE_MONITOR && in isr_rx()
2714 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in __ipw2100_rx_process()
3097 if (priv->ieee->iw_mode == IW_MODE_INFRA) { in ipw2100_tx_send_data()
3102 } else if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw2100_tx_send_data()
3993 if (mode == priv->ieee->iw_mode) in ipw2100_switch_mode()
4012 priv->last_mode = priv->ieee->iw_mode; in ipw2100_switch_mode()
4018 priv->ieee->iw_mode = mode; in ipw2100_switch_mode()
4769 if (priv->ieee->iw_mode == IW_MODE_INFRA) in ipw2100_set_channel()
4822 if (priv->ieee->iw_mode == IW_MODE_ADHOC) in ipw2100_system_config()
5226 if (priv->ieee->iw_mode == IW_MODE_ADHOC) in ipw2100_set_tx_power()
5248 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw2100_set_ibss_beacon_interval()
5638 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw2100_adapter_setup()
5657 err = ipw2100_set_port_type(priv, priv->ieee->iw_mode, batch_mode); in ipw2100_adapter_setup()
5661 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw2100_adapter_setup()
5704 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw2100_adapter_setup()
5828 if (priv->ieee->iw_mode == IW_MODE_MONITOR) in ipw2100_tx_timeout()
6058 priv->ieee->iw_mode = IW_MODE_ADHOC; in ipw2100_alloc_device()
6062 priv->ieee->iw_mode = IW_MODE_MONITOR; in ipw2100_alloc_device()
6067 priv->ieee->iw_mode = IW_MODE_INFRA; in ipw2100_alloc_device()
6591 if (priv->ieee->iw_mode == IW_MODE_INFRA) in ipw2100_wx_set_freq()
6663 if (wrqu->mode == priv->ieee->iw_mode) in ipw2100_wx_set_mode()
6703 wrqu->mode = priv->ieee->iw_mode; in ipw2100_wx_get_mode()
6798 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw2100_wx_get_range()
7188 if (priv->ieee->iw_mode != IW_MODE_ADHOC) in ipw2100_wx_set_txpow()
7782 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw2100_wx_set_promisc()
7789 if (priv->ieee->iw_mode == IW_MODE_MONITOR) in ipw2100_wx_set_promisc()
8340 switch (priv->ieee->iw_mode) { in ipw2100_get_firmware()