Date: Fri, 21 Jan 2005 01:38:06 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 69407 for review Message-ID: <200501210138.j0L1c6lx009993@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=69407 Change 69407 by sam@sam_ebb on 2005/01/21 01:37:51 when ssid suppression is enabled don't respond to probe requests unless our ssid is specified Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_input.c#42 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_input.c#42 (text+ko) ==== @@ -1986,6 +1986,14 @@ IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE); IEEE80211_VERIFY_ELEMENT(ssid, IEEE80211_NWID_LEN); IEEE80211_VERIFY_SSID(ic->ic_bss, ssid); + if ((ic->ic_flags & IEEE80211_F_HIDESSID) && ssid[1] == 0) { + IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT, + wh, ieee80211_mgt_subtype_name[subtype >> + IEEE80211_FC0_SUBTYPE_SHIFT], + "%s", "no ssid with ssid suppression enabled"); + ic->ic_stats.is_rx_ssidmismatch++; /*XXX*/ + return; + } if (ni == ic->ic_bss) { if (ic->ic_opmode == IEEE80211_M_IBSS) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501210138.j0L1c6lx009993>