MCPcopy Create free account
hub / github.com/F-Stack/f-stack / authalgreject

Function authalgreject

freebsd/net80211/ieee80211_hostap.c:1703–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701}
1702
1703static void
1704authalgreject(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
1716static __inline int
1717ishtmixed(const uint8_t *ie)

Callers 1

hostap_recv_mgmtFunction · 0.85

Calls 1

ieee80211_send_errorFunction · 0.85

Tested by

no test coverage detected