ieee80211_input.c (79198e858bc18d64e69aac5a1969ebe0d2bc4827) ieee80211_input.c (a3d1edc2b2c982b08a84cbe1631689afbf674585)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

2109 /*
2110 * Consult the ACL policy module if setup.
2111 */
2112 if (ic->ic_acl != NULL &&
2113 !ic->ic_acl->iac_check(ic, wh->i_addr2)) {
2114 IEEE80211_DISCARD(ic, IEEE80211_MSG_ACL,
2115 wh, "auth", "%s", "disallowed by ACL");
2116 ic->ic_stats.is_rx_acl++;
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

2109 /*
2110 * Consult the ACL policy module if setup.
2111 */
2112 if (ic->ic_acl != NULL &&
2113 !ic->ic_acl->iac_check(ic, wh->i_addr2)) {
2114 IEEE80211_DISCARD(ic, IEEE80211_MSG_ACL,
2115 wh, "auth", "%s", "disallowed by ACL");
2116 ic->ic_stats.is_rx_acl++;
2117 if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
2118 IEEE80211_SEND_MGMT(ic, ni,
2119 IEEE80211_FC0_SUBTYPE_AUTH,
2120 (seq+1) | (IEEE80211_STATUS_UNSPECIFIED<<16));
2121 }
2117 return;
2118 }
2119 if (ic->ic_flags & IEEE80211_F_COUNTERM) {
2120 IEEE80211_DISCARD(ic,
2121 IEEE80211_MSG_AUTH | IEEE80211_MSG_CRYPTO,
2122 wh, "auth", "%s", "TKIP countermeasures enabled");
2123 ic->ic_stats.is_rx_auth_countermeasures++;
2124 if (ic->ic_opmode == IEEE80211_M_HOSTAP) {

--- 641 unchanged lines hidden ---
2122 return;
2123 }
2124 if (ic->ic_flags & IEEE80211_F_COUNTERM) {
2125 IEEE80211_DISCARD(ic,
2126 IEEE80211_MSG_AUTH | IEEE80211_MSG_CRYPTO,
2127 wh, "auth", "%s", "TKIP countermeasures enabled");
2128 ic->ic_stats.is_rx_auth_countermeasures++;
2129 if (ic->ic_opmode == IEEE80211_M_HOSTAP) {

--- 641 unchanged lines hidden ---