• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/

Lines Matching defs:common

157 static void ath_start_ani(struct ath_common *common)
159 struct ath_hw *ah = common->ah;
161 struct ath_softc *sc = (struct ath_softc *) common->priv;
169 common->ani.longcal_timer = timestamp;
170 common->ani.shortcal_timer = timestamp;
171 common->ani.checkani_timer = timestamp;
173 mod_timer(&common->ani.timer,
188 struct ath_common *common = ath9k_hw_common(ah);
189 struct ieee80211_conf *conf = &common->hw->conf;
198 del_timer_sync(&common->ani.timer);
228 ath_print(common, ATH_DBG_CONFIG,
235 ath_print(common, ATH_DBG_FATAL,
244 ath_print(common, ATH_DBG_FATAL,
261 ath_start_ani(common);
273 struct ath_common *common = ath9k_hw_common(ah);
282 if (!(common->tx_chainmask & BIT(chain)))
304 struct ath_common *common = ath9k_hw_common(ah);
338 if (!(common->tx_chainmask & BIT(chain)))
396 struct ath_common *common = ath9k_hw_common(ah);
413 if ((timestamp - common->ani.longcal_timer) >= ATH_LONG_CALINTERVAL) {
415 ath_print(common, ATH_DBG_ANI, "longcal @%lu\n", jiffies);
416 common->ani.longcal_timer = timestamp;
420 if (!common->ani.caldone) {
421 if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) {
423 ath_print(common, ATH_DBG_ANI,
425 common->ani.shortcal_timer = timestamp;
426 common->ani.resetcal_timer = timestamp;
429 if ((timestamp - common->ani.resetcal_timer) >=
431 common->ani.caldone = ath9k_hw_reset_calvalid(ah);
432 if (common->ani.caldone)
433 common->ani.resetcal_timer = timestamp;
438 if ((timestamp - common->ani.checkani_timer) >=
441 common->ani.checkani_timer = timestamp;
452 common->ani.caldone =
455 common->rx_chainmask,
459 common->ani.noise_floor = ath9k_hw_getchan_noise(ah,
462 ath_print(common, ATH_DBG_ANI,
466 common->ani.noise_floor);
482 if (!common->ani.caldone)
485 mod_timer(&common->ani.timer, jiffies + msecs_to_jiffies(cal_interval));
503 struct ath_common *common = ath9k_hw_common(ah);
507 common->tx_chainmask = ah->caps.tx_chainmask;
508 common->rx_chainmask = ah->caps.rx_chainmask;
510 common->tx_chainmask = 1;
511 common->rx_chainmask = 1;
514 ath_print(common, ATH_DBG_CONFIG,
516 common->tx_chainmask,
517 common->rx_chainmask);
566 struct ath_common *common = ath9k_hw_common(ah);
612 ath_print(common, ATH_DBG_PS,
796 struct ath_common *common = ath9k_hw_common(ah);
799 ath_print(common, ATH_DBG_CONFIG,
801 bss_conf->aid, common->curbssid);
804 common->curaid = bss_conf->aid;
821 ath_start_ani(common);
823 ath_print(common, ATH_DBG_CONFIG, "Bss Info DISASSOC\n");
824 common->curaid = 0;
827 del_timer_sync(&common->ani.timer);
834 struct ath_common *common = ath9k_hw_common(ah);
847 ath_print(common, ATH_DBG_FATAL,
855 ath_print(common, ATH_DBG_FATAL,
928 struct ath_common *common = ath9k_hw_common(ah);
933 del_timer_sync(&common->ani.timer);
947 ath_print(common, ATH_DBG_FATAL,
951 ath_print(common, ATH_DBG_FATAL,
984 ath_start_ani(common);
1070 struct ath_common *common = ath9k_hw_common(ah);
1075 ath_print(common, ATH_DBG_CONFIG,
1121 ath_print(common, ATH_DBG_FATAL,
1143 ath_print(common, ATH_DBG_FATAL,
1187 if (common->bus_ops->bt_coex_prep)
1188 common->bus_ops->bt_coex_prep(common);
1205 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
1212 ath_print(common, ATH_DBG_XMIT,
1226 ath_print(common, ATH_DBG_PS, "Add PM=1 for a TX frame "
1242 ath_print(common, ATH_DBG_PS,
1246 ath_print(common, ATH_DBG_PS,
1280 ath_print(common, ATH_DBG_XMIT, "transmitting packet, skb: %p\n", skb);
1283 ath_print(common, ATH_DBG_XMIT, "TX failed\n");
1298 struct ath_common *common = ath9k_hw_common(ah);
1323 ath_print(common, ATH_DBG_ANY, "Device not present\n");
1371 ath_print(common, ATH_DBG_CONFIG, "Driver halt\n");
1380 struct ath_common *common = ath9k_hw_common(ah);
1407 ath_print(common, ATH_DBG_FATAL,
1413 ath_print(common, ATH_DBG_CONFIG,
1454 ath_start_ani(common);
1467 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
1472 ath_print(common, ATH_DBG_CONFIG, "Detach Interface\n");
1478 del_timer_sync(&common->ani.timer);
1532 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
1567 ath_print(common, ATH_DBG_CONFIG,
1615 ath_print(common, ATH_DBG_CONFIG,
1643 ath_print(common, ATH_DBG_CONFIG, "Set channel: %d MHz\n",
1651 ath_print(common, ATH_DBG_FATAL,
1669 ath_print(common, ATH_DBG_CONFIG, "idle: disabling radio\n");
1739 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
1756 ath_print(common, ATH_DBG_CONFIG,
1764 ath_print(common, ATH_DBG_FATAL, "TXQ Update failed\n");
1783 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
1791 ath_print(common, ATH_DBG_CONFIG, "Set HW Key\n");
1795 ret = ath9k_cmn_key_config(common, vif, sta, key);
1808 ath9k_cmn_key_delete(common, key);
1828 struct ath_common *common = ath9k_hw_common(ah);
1837 memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN);
1839 common->curaid = 0;
1849 ath_print(common, ATH_DBG_CONFIG,
1851 common->curbssid, common->curaid);
1907 ath_print(common, ATH_DBG_CONFIG, "BSS Changed PREAMBLE %d\n",
1916 ath_print(common, ATH_DBG_CONFIG, "BSS Changed CTS PROT %d\n",
1926 ath_print(common, ATH_DBG_CONFIG, "BSS Changed ASSOC %d\n",
2024 struct ath_common *common = ath9k_hw_common(ah);
2032 survey->noise = common->ani.noise_floor;