Lines Matching refs:iw_mode
68 static int iw_mode[MAX_PARM_DEVICES] = { IW_MODE_MASTER, DEF_INTS }; variable
69 module_param_array(iw_mode, int, NULL, 0444);
70 MODULE_PARM_DESC(iw_mode, "Initial operation mode");
1081 if (local->iw_mode != IW_MODE_MASTER || local->essid[0] != '\0') { in prism2_setup_rids()
1965 if (macport == 7 && local->iw_mode == IW_MODE_MONITOR) { in prism2_rx()
2029 if (local->iw_mode == IW_MODE_MONITOR && in hostap_rx_skb()
2046 local->iw_mode != IW_MODE_MONITOR)) in hostap_rx_skb()
2339 if (local->iw_mode == IW_MODE_MASTER || in prism2_txexc()
2340 local->iw_mode == IW_MODE_REPEAT || in prism2_txexc()
2750 if (local->iw_mode == IW_MODE_MASTER && !local->host_encrypt && in prism2_check_sta_fw_version()
2870 (local->iw_mode == IW_MODE_INFRA || in hostap_tick_timer()
2871 local->iw_mode == IW_MODE_ADHOC)) { in hostap_tick_timer()
3139 i = GET_INT_PARM(iw_mode, card_idx); in prism2_init_local_data()
3142 local->iw_mode = i; in prism2_init_local_data()
3146 local->iw_mode = IW_MODE_MASTER; in prism2_init_local_data()
3239 if (local->iw_mode == IW_MODE_INFRA || in hostap_hw_ready()
3240 local->iw_mode == IW_MODE_ADHOC) { in hostap_hw_ready()