| 1701 | } |
| 1702 | |
| 1703 | static void |
| 1704 | authalgreject(struct ieee80211_node *ni, const struct ieee80211_frame *wh, |
| 1705 | int algo, int seq, int status) |
| 1706 | { |
| 1707 | struct ieee80211vap *vap = ni->ni_vap; |
| 1708 | |
| 1709 | IEEE80211_DISCARD(vap, IEEE80211_MSG_ANY, |
| 1710 | wh, NULL, "unsupported alg %d", algo); |
| 1711 | vap->iv_stats.is_rx_auth_unsupported++; |
| 1712 | ieee80211_send_error(ni, wh->i_addr2, IEEE80211_FC0_SUBTYPE_AUTH, |
| 1713 | seq | (status << 16)); |
| 1714 | } |
| 1715 | |
| 1716 | static __inline int |
| 1717 | ishtmixed(const uint8_t *ie) |
no test coverage detected