if_ath.c (f6dbcc49109c5f41f00e64d36107c1bfd0a35e85) if_ath.c (68025aeb6a082b51abb22489ee8c57ee01305f36)
1/*-
2 * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 2735 unchanged lines hidden (view full) ---

2744 if (ni->ni_txrate + 1 < rs->rs_nrates) {
2745 ni->ni_txrate++;
2746 sc->sc_stats.ast_rate_raise++;
2747 }
2748 break;
2749 }
2750
2751 if (ni->ni_txrate != orate) {
1/*-
2 * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 2735 unchanged lines hidden (view full) ---

2744 if (ni->ni_txrate + 1 < rs->rs_nrates) {
2745 ni->ni_txrate++;
2746 sc->sc_stats.ast_rate_raise++;
2747 }
2748 break;
2749 }
2750
2751 if (ni->ni_txrate != orate) {
2752 printf("%s: %dM -> %dM (%d ok, %d err, %d retr)\n",
2752 DPRINTF(("%s: %dM -> %dM (%d ok, %d err, %d retr)\n",
2753 __func__,
2754 (rs->rs_rates[orate] & IEEE80211_RATE_VAL) / 2,
2755 (rs->rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL) / 2,
2753 __func__,
2754 (rs->rs_rates[orate] & IEEE80211_RATE_VAL) / 2,
2755 (rs->rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL) / 2,
2756 an->an_tx_ok, an->an_tx_err, an->an_tx_retr);
2756 an->an_tx_ok, an->an_tx_err, an->an_tx_retr));
2757 }
2758 if (ni->ni_txrate != orate || enough)
2759 an->an_tx_ok = an->an_tx_err = an->an_tx_retr = 0;
2760}
2761
2762#ifdef AR_DEBUG
2763static int
2764sysctl_hw_ath_dump(SYSCTL_HANDLER_ARGS)

--- 64 unchanged lines hidden ---
2757 }
2758 if (ni->ni_txrate != orate || enough)
2759 an->an_tx_ok = an->an_tx_err = an->an_tx_retr = 0;
2760}
2761
2762#ifdef AR_DEBUG
2763static int
2764sysctl_hw_ath_dump(SYSCTL_HANDLER_ARGS)

--- 64 unchanged lines hidden ---