Lines Matching defs:mode

233 static int auto_wep /* = 0 */; /* If set, it tries to figure out the wep mode */
265 "If non-zero, the driver will switch into a mode that seems to work better for older cards with some older buses. "
274 MODULE_PARM_DESC(adhoc, "If non-zero, the card will start in adhoc mode.");
540 __le16 opmode; /* operating mode */
555 __le16 rmode; /* receive mode */
559 #define RXMODE_RFMON cpu_to_le16(3) /* wireless monitor mode */
665 __le16 mode;
1641 /* run through AES counter mode to generate context->coeff[] */
2088 * In Ad-Hoc mode, it will be the node address.
2089 * In managed mode, it will be most likely the AP addr
3554 * NOTE: If use with 8bit mode and SMP bad things will happen!
4679 u16 mode;
4693 mode = le16_to_cpu(status_rid.mode);
4696 mode & 1 ? "CFG ": "",
4697 mode & 2 ? "ACT ": "",
4698 mode & 0x10 ? "SYN ": "",
4699 mode & 0x20 ? "LNK ": "",
4700 mode & 0x40 ? "LEAP ": "",
4701 mode & 0x80 ? "PRIV ": "",
4702 mode & 0x100 ? "KEY ": "",
4703 mode & 0x200 ? "WEP ": "",
4704 mode & 0x8000 ? "ERR ": "");
4717 le16_to_cpu(status_rid.mode),
4876 /* Do the name, assume a space between the mode and node name */
5021 static const char *get_rmode(__le16 mode)
5023 switch(mode & RXMODE_MASK) {
5037 __le16 mode;
5056 mode = ai->config.opmode & MODE_CFG_MASK;
5065 mode == MODE_STA_IBSS ? "adhoc" :
5066 mode == MODE_STA_ESS ? get_rmode(ai->config.rmode):
5067 mode == MODE_AP ? "AP" :
5068 mode == MODE_AP_RPTR ? "AP RPTR" : "Error",
5556 /* Since the card doesn't automatically switch to the right WEP mode,
5787 if ((status_rid->mode & cpu_to_le16(0x3f)) != cpu_to_le16(0x3f))
6112 /* -1 designed the max rate (mostly auto mode) */
6138 /* Fixed mode */
6273 __u32 mode = uwrq->mode;
6281 switch (mode) {
6343 uwrq->mode = IW_MODE_INFRA;
6346 uwrq->mode = IW_MODE_MASTER;
6349 uwrq->mode = IW_MODE_REPEAT;
6352 uwrq->mode = IW_MODE_ADHOC;
6445 /* Don't complain if only change the mode */
6483 /* Check encryption mode */
6664 /* Check encryption mode */
6737 * unencrypted mode was requested - so use the
6738 * last mode (of these two) used last time
7137 __le16 mode;
7140 mode = local->config.powerSaveMode;
7141 if ((vwrq->disabled = (mode == POWERSAVE_CAM)))
7367 /* Add mode */
7372 iwe.u.mode = IW_MODE_MASTER;
7374 iwe.u.mode = IW_MODE_ADHOC;
7759 * o Check if work in Ad-Hoc mode (otherwise, use SPY, as in wvlan_cs)
7779 local->wstats.status = le16_to_cpu(status_rid.mode);
8097 * mode
8118 airo_print_info(ai->dev->name, "Waitbusy hang after setflash mode");