Lines Matching refs:iw_mode

3440 	switch (priv->ieee->iw_mode) {  in ipw_load()
4445 switch (priv->ieee->iw_mode) { in ipw_rx_notification()
4722 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_rx_notification()
5442 if ((priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_find_adhoc_network()
5577 (priv->ieee->iw_mode == IW_MODE_ADHOC)) { in ipw_merge_adhoc_network()
5597 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_merge_adhoc_network()
5618 if ((priv->ieee->iw_mode == IW_MODE_INFRA && in ipw_best_network()
5620 (priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_best_network()
6290 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_request_scan_helper()
6831 (priv->ieee->iw_mode == IW_MODE_ADHOC) && (active_network == 0)) { in ipw_qos_handle_probe_response()
6880 } else if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_qos_activate()
6964 switch (priv->ieee->iw_mode) { in ipw_qos_association()
7014 if ((priv->ieee->iw_mode != IW_MODE_INFRA)) in ipw_qos_association_resp()
7117 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_is_qos_active()
7287 if (priv->ieee->iw_mode == IW_MODE_ADHOC) in ipw_associate_network()
7311 if ((priv->ieee->iw_mode == IW_MODE_ADHOC) && in ipw_associate_network()
7327 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_associate_network()
7352 if (priv->ieee->iw_mode == IW_MODE_ADHOC) in ipw_associate_network()
7484 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_associate()
7522 priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_associate()
7661 if (priv->ieee->iw_mode != IW_MODE_MONITOR && in ipw_handle_data_packet()
8041 switch (priv->ieee->iw_mode) { in is_network_packet()
8083 switch (priv->ieee->iw_mode) { in is_duplicate_packet()
8158 if (priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_handle_mgmt_packet()
8270 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_rx()
8412 int old_mode = priv->ieee->iw_mode; in ipw_sw_reset()
8454 priv->ieee->iw_mode = IW_MODE_ADHOC; in ipw_sw_reset()
8460 priv->ieee->iw_mode = IW_MODE_MONITOR; in ipw_sw_reset()
8471 priv->ieee->iw_mode = IW_MODE_INFRA; in ipw_sw_reset()
8528 return old_mode == priv->ieee->iw_mode; in ipw_sw_reset()
8564 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_set_channel()
8622 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_wx_set_freq()
8703 if (wrqu->mode == priv->ieee->iw_mode) in ipw_wx_set_mode()
8711 if (priv->ieee->iw_mode == IW_MODE_MONITOR) in ipw_wx_set_mode()
8726 priv->ieee->iw_mode = wrqu->mode; in ipw_wx_set_mode()
8739 wrqu->mode = priv->ieee->iw_mode; in ipw_wx_get_mode()
8811 if ((priv->ieee->iw_mode == IW_MODE_ADHOC) && in ipw_wx_get_range()
8824 if ((priv->ieee->iw_mode == IW_MODE_ADHOC) && in ipw_wx_get_range()
9444 priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_wx_set_encode()
9750 if (priv->ieee->iw_mode != IW_MODE_MONITOR) { in ipw_wx_set_monitor()
9761 if (priv->ieee->iw_mode != IW_MODE_MONITOR) { in ipw_wx_set_monitor()
10060 switch (priv->ieee->iw_mode) { in ipw_tx_skb()
10771 if (priv->ieee->iw_mode == IW_MODE_ADHOC) in ipw_config()
11436 if (priv->ieee->iw_mode != IW_MODE_MONITOR) { in ipw_prom_open()
11455 if (priv->ieee->iw_mode != IW_MODE_MONITOR) { in ipw_prom_stop()
11507 priv->prom_priv->ieee->iw_mode = IW_MODE_MONITOR; in ipw_prom_alloc()