* usefulness of 802.1X control?
@ 2007-12-19 15:10 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-12-19 15:10 UTC (permalink / raw)
To: Jouni Malinen; +Cc: linux-wireless, Michael Wu
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
Hi,
After a bit of rework in my patches, we only have two places left where
we use the 802.1X flag:
tx.c:
if (unlikely(sdata->ieee802_1x_pac &&
!(sta_flags & WLAN_STA_AUTHORIZED) &&
[...]
rx.c:
if (unlikely(rx->sdata->ieee802_1x_pac &&
(!rx->sta || !(rx->sta->flags & WLAN_STA_AUTHORIZED)))) {
[...]
That has me wondering if the control is actually useful. Instead of
checking this flag, we could simply require that hostapd sets the
WLAN_STA_AUTHORIZED flag on all stations if 802.1X is disabled. Do you
(or anyone else) see any problem with this?
We would of course have to set the WLAN_STA_AUTHORIZED flag on all
stations we add from within mac80211, i.e. the AP we're associating to,
other IBSS stations and the WDS peer, but that's trivial.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-19 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 15:10 usefulness of 802.1X control? Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox