| 2916 | } |
| 2917 | |
| 2918 | static void |
| 2919 | printathie(const char *tag, const u_int8_t *ie, size_t ielen, int maxlen) |
| 2920 | { |
| 2921 | |
| 2922 | printf("%s", tag); |
| 2923 | if (verbose) { |
| 2924 | const struct ieee80211_ath_ie *ath = |
| 2925 | (const struct ieee80211_ath_ie *)ie; |
| 2926 | |
| 2927 | printf("<"); |
| 2928 | if (ath->ath_capability & ATHEROS_CAP_TURBO_PRIME) |
| 2929 | printf("DTURBO,"); |
| 2930 | if (ath->ath_capability & ATHEROS_CAP_COMPRESSION) |
| 2931 | printf("COMP,"); |
| 2932 | if (ath->ath_capability & ATHEROS_CAP_FAST_FRAME) |
| 2933 | printf("FF,"); |
| 2934 | if (ath->ath_capability & ATHEROS_CAP_XR) |
| 2935 | printf("XR,"); |
| 2936 | if (ath->ath_capability & ATHEROS_CAP_AR) |
| 2937 | printf("AR,"); |
| 2938 | if (ath->ath_capability & ATHEROS_CAP_BURST) |
| 2939 | printf("BURST,"); |
| 2940 | if (ath->ath_capability & ATHEROS_CAP_WME) |
| 2941 | printf("WME,"); |
| 2942 | if (ath->ath_capability & ATHEROS_CAP_BOOST) |
| 2943 | printf("BOOST,"); |
| 2944 | printf("0x%x>", LE_READ_2(ath->ath_defkeyix)); |
| 2945 | } |
| 2946 | } |
| 2947 | |
| 2948 | |
| 2949 | static void |