Lines Matching +defs:prog +defs:mode
489 ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */
494 IEEE80211_C_MONITOR | /* Monitor mode supported. */
495 IEEE80211_C_IBSS | /* IBSS mode supported */
496 IEEE80211_C_HOSTAP | /* HostAp mode supported */
1634 uint8_t mode;
1670 mode = R92C_RAID_11B;
1672 mode = R92C_RAID_11BG;
1674 DPRINTFN(DBG_INIT, "mode=%#jx", mode, 0, 0, 0);
1688 cmd.mask = htole32((mode << 28) | basicrates);
1703 cmd.mask = htole32((mode << 28) | rates);
2009 /* Back to 20MHz mode */
2117 /* XXX: Set 20MHz mode */
2122 /* Back to 20MHz mode */
2448 * want this in IEEE80211_M_MONITOR mode?
2741 /* data frames in 11n mode */
2955 /* data frames in 11n mode */
3082 * This allows for fast channel switching in monitor mode
3083 * (used by kismet). In IBSS mode, we must explicitly reset
3145 /* Move SPS into PWM mode. */
3342 /* Enable LDO normal mode. */
3828 const struct rtwn_bb_prog *prog;
3864 prog = &rtl8188eu_bb_prog;
3866 prog = &rtl8192eu_bb_prog;
3869 prog = &rtl8188ce_bb_prog;
3871 prog = &rtl8188ru_bb_prog;
3873 prog = &rtl8188cu_bb_prog;
3877 prog = &rtl8192ce_bb_prog;
3879 prog = &rtl8192cu_bb_prog;
3883 for (i = 0; i < prog->count; i++) {
3885 switch (prog->regs[i]) {
3905 urtwn_bb_write(sc, prog->regs[i], prog->vals[i]);
3949 for (i = 0; i < prog->agccount; i++) {
3950 urtwn_bb_write(sc, R92C_OFDM0_AGCRSSITABLE, prog->agcvals[i]);
3992 const struct rtwn_rf_prog *prog;
4000 prog = rtl8188eu_rf_prog;
4002 prog = rtl8192eu_rf_prog;
4005 prog = rtl8188ce_rf_prog;
4007 prog = rtl8188ru_rf_prog;
4009 prog = rtl8188cu_rf_prog;
4012 prog = rtl8192ce_rf_prog;
4044 for (j = 0; j < prog[i].count; j++) {
4045 if (prog[i].regs[j] >= 0xf9 &&
4046 prog[i].regs[j] <= 0xfe) {
4054 urtwn_rf_write(sc, i, prog[i].regs[j], prog[i].vals[j]);
4160 /* TODO: use better filter for monitor mode. */
4664 /* Restore mode. */
4717 /* Set RF mode to standby mode. */
4737 /* Restore Tx mode. */
4739 /* Restore RF mode. */
5230 /* Enter PFM mode */