Changeset 2344
- Timestamp:
- 05/17/07 00:13:10 (2 years ago)
- Files:
-
- trunk/ath/if_ath.c (modified) (4 diffs)
- trunk/net80211/ieee80211_crypto.c (modified) (2 diffs)
- trunk/net80211/ieee80211_crypto_ccmp.c (modified) (1 diff)
- trunk/net80211/ieee80211_crypto_tkip.c (modified) (1 diff)
- trunk/net80211/ieee80211_linux.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ath/if_ath.c
r2319 r2344 3859 3859 "%s: %s beacons, bslot %d intval %u tsfadjust(Kus) %llu\n", 3860 3860 __func__, sc->sc_stagbeacons ? "stagger" : "burst", 3861 avp->av_bslot, ni->ni_intval, ( long long) tuadjust);3861 avp->av_bslot, ni->ni_intval, (unsigned long long) tuadjust); 3862 3862 3863 3863 wh = (struct ieee80211_frame *) skb->data; … … 4179 4179 DPRINTF(sc, ATH_DEBUG_BEACON_PROC, 4180 4180 "%s: slot %d [tsf %llu tsftu %u intval %u] vap %p\n", 4181 __func__, slot, ( long long) tsf, tsftu, ic->ic_lintval, vap);4181 __func__, slot, (unsigned long long) tsf, tsftu, ic->ic_lintval, vap); 4182 4182 bfaddr = 0; 4183 4183 if (vap != NULL) { … … 4530 4530 "%s: tsf %llu tsf:tu %u intval %u nexttbtt %u dtim %u nextdtim %u bmiss %u sleep %u cfp:period %u maxdur %u next %u timoffset %u\n", 4531 4531 __func__, 4532 ( long long) tsf, tsftu,4532 (unsigned long long) tsf, tsftu, 4533 4533 bs.bs_intval, 4534 4534 bs.bs_nexttbtt, … … 5455 5455 DPRINTF(sc, ATH_DEBUG_STATE, 5456 5456 "ibss merge, rstamp %u tsf %llu " 5457 "tstamp %llu\n", rstamp, ( long long) tsf,5458 ( long long) le64_to_cpu(ni->ni_tstamp.tsf));5457 "tstamp %llu\n", rstamp, (unsigned long long) tsf, 5458 (unsigned long long) le64_to_cpu(ni->ni_tstamp.tsf)); 5459 5459 (void) ieee80211_ibss_merge(ni); 5460 5460 } trunk/net80211/ieee80211_crypto.c
r2277 r2344 450 450 451 451 IEEE80211_DPRINTF(vap, IEEE80211_MSG_CRYPTO, 452 "%s: %s keyix %u flags 0x%x tsc %llu len %u\n", 453 __func__, key->wk_cipher->ic_name, 454 key->wk_keyix, key->wk_flags, 455 key->wk_keytsc, key->wk_keylen); 452 "%s: %s keyix %u flags 0x%x tsc %llu len %u\n", __func__, 453 key->wk_cipher->ic_name, key->wk_keyix, key->wk_flags, 454 (unsigned long long)key->wk_keytsc, key->wk_keylen); 456 455 457 456 keyix = key->wk_keyix; … … 530 529 531 530 IEEE80211_DPRINTF(vap, IEEE80211_MSG_CRYPTO, 532 "%s: %s keyix %u flags 0x%x mac %s tsc %llu len %u\n", 533 __func__, cip->ic_name, key->wk_keyix,534 key->wk_flags, ether_sprintf(macaddr),535 key->wk_key tsc, key->wk_keylen);531 "%s: %s keyix %u flags 0x%x mac %s tsc %llu len %u\n", __func__, 532 cip->ic_name, key->wk_keyix, key->wk_flags, 533 ether_sprintf(macaddr), (unsigned long long)key->wk_keytsc, 534 key->wk_keylen); 536 535 537 536 /* trunk/net80211/ieee80211_crypto_ccmp.c
r2270 r2344 655 655 wh->i_addr2, 656 656 "AES-CCM decrypt failed; MIC mismatch (keyix %u, rsc %llu)", 657 key->wk_keyix, pn);657 key->wk_keyix, (unsigned long long)pn); 658 658 ctx->cc_vap->iv_stats.is_rx_ccmpmic++; 659 659 return 0; trunk/net80211/ieee80211_crypto_tkip.c
r2028 r2344 1039 1039 IEEE80211_DPRINTF(vap, IEEE80211_MSG_CRYPTO, 1040 1040 "[%s] TKIP ICV mismatch on decrypt (keyix %d, rsc %llu)\n", 1041 ether_sprintf(wh->i_addr2), key->wk_keyix, ctx->rx_rsc); 1041 ether_sprintf(wh->i_addr2), key->wk_keyix, 1042 (unsigned long long)ctx->rx_rsc); 1042 1043 vap->iv_stats.is_rx_tkipicv++; 1043 1044 return 0; trunk/net80211/ieee80211_linux.c
r2277 r2344 249 249 "tx_packets=%u\ntx_bytes=%llu\n", tag, 250 250 ether_sprintf(ni->ni_macaddr), ni->ni_stats.ns_rx_data, 251 ni->ni_stats.ns_rx_bytes, ni->ni_stats.ns_tx_data, 252 ni->ni_stats.ns_tx_bytes); 251 (unsigned long long)ni->ni_stats.ns_rx_bytes, 252 ni->ni_stats.ns_tx_data, 253 (unsigned long long)ni->ni_stats.ns_tx_bytes); 253 254 memset(&wreq, 0, sizeof(wreq)); 254 255 wreq.data.length = strlen(buf); … … 282 283 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 283 284 "%s replay detected <keyix %d, rsc %llu >", 284 k->wk_cipher->ic_name, k->wk_keyix, rsc ); 285 k->wk_cipher->ic_name, k->wk_keyix, 286 (unsigned long long)rsc ); 285 287 286 288 /* TODO: needed parameters: count, keyid, key type, src address, TSC */
