aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-09 02:57:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:44:58 -0500
commit17d7904de85125c62c7258d7cb21207f26d04048 (patch)
tree298d52125b29534c6dfcf79d6eb643c2261e82df /drivers/net/wireless/ath9k/xmit.c
parentee6e8d1c234e62e503f2dd8137643b24cf424886 (diff)
ath9k: Remove all the sc_ prefixes
This patch removes the useless sc_ prefixes for all variables. Also, refer to interfaces as VIFs and not as VAPs anymore. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index 7a3ea92e2ee6..777376094a4a 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -970,14 +970,14 @@ int ath_cabq_update(struct ath_softc *sc)
970 /* 970 /*
971 * Ensure the readytime % is within the bounds. 971 * Ensure the readytime % is within the bounds.
972 */ 972 */
973 if (sc->sc_config.cabqReadytime < ATH9K_READY_TIME_LO_BOUND) 973 if (sc->config.cabqReadytime < ATH9K_READY_TIME_LO_BOUND)
974 sc->sc_config.cabqReadytime = ATH9K_READY_TIME_LO_BOUND; 974 sc->config.cabqReadytime = ATH9K_READY_TIME_LO_BOUND;
975 else if (sc->sc_config.cabqReadytime > ATH9K_READY_TIME_HI_BOUND) 975 else if (sc->config.cabqReadytime > ATH9K_READY_TIME_HI_BOUND)
976 sc->sc_config.cabqReadytime = ATH9K_READY_TIME_HI_BOUND; 976 sc->config.cabqReadytime = ATH9K_READY_TIME_HI_BOUND;
977 977
978 ath_get_beaconconfig(sc, ATH_IF_ID_ANY, &conf); 978 ath_get_beaconconfig(sc, ATH_IF_ID_ANY, &conf);
979 qi.tqi_readyTime = 979 qi.tqi_readyTime =
980 (conf.beacon_interval * sc->sc_config.cabqReadytime) / 100; 980 (conf.beacon_interval * sc->config.cabqReadytime) / 100;
981 ath_txq_update(sc, qnum, &qi); 981 ath_txq_update(sc, qnum, &qi);
982 982
983 return 0; 983 return 0;
@@ -1471,7 +1471,7 @@ static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf)
1471 flags = ATH9K_TXDESC_RTSENA; 1471 flags = ATH9K_TXDESC_RTSENA;
1472 1472
1473 /* FIXME: Handle aggregation protection */ 1473 /* FIXME: Handle aggregation protection */
1474 if (sc->sc_config.ath_aggr_prot && 1474 if (sc->config.ath_aggr_prot &&
1475 (!bf_isaggr(bf) || (bf_isaggr(bf) && bf->bf_al < 8192))) { 1475 (!bf_isaggr(bf) || (bf_isaggr(bf) && bf->bf_al < 8192))) {
1476 flags = ATH9K_TXDESC_RTSENA; 1476 flags = ATH9K_TXDESC_RTSENA;
1477 } 1477 }
@@ -1486,7 +1486,7 @@ static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf)
1486 1486
1487 rix = rates[i].idx; 1487 rix = rates[i].idx;
1488 series[i].Tries = rates[i].count; 1488 series[i].Tries = rates[i].count;
1489 series[i].ChSel = sc->sc_tx_chainmask; 1489 series[i].ChSel = sc->tx_chainmask;
1490 1490
1491 if (rates[i].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) 1491 if (rates[i].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
1492 series[i].Rate = rt->info[rix].ratecode | 1492 series[i].Rate = rt->info[rix].ratecode |
@@ -1513,7 +1513,7 @@ static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf)
1513 !is_pspoll, ctsrate, 1513 !is_pspoll, ctsrate,
1514 0, series, 4, flags); 1514 0, series, 4, flags);
1515 1515
1516 if (sc->sc_config.ath_aggr_prot && flags) 1516 if (sc->config.ath_aggr_prot && flags)
1517 ath9k_hw_set11n_burstduration(sc->sc_ah, bf->bf_desc, 8192); 1517 ath9k_hw_set11n_burstduration(sc->sc_ah, bf->bf_desc, 8192);
1518} 1518}
1519 1519