Thread (11 messages) read the whole thread 11 messages, 2 authors, 2012-01-04

Re: [PATCH v2 3/3] mac80211: add sta_state callback

From: Eliad Peller <hidden>
Date: 2012-01-02 15:02:29

On Mon, Jan 2, 2012 at 4:44 PM, Johannes Berg [off-list ref] wrote:
quoted
if sta_state will be allowed to return an error, instead of adding a
new backward compatibility implementation to mac80211 we can just
change all the current drivers to register for sta_state(), and
operate on auth->assoc and assoc->auth transitions instead of
sta_add/sta_remove.
Right, that's the alternative, but it would be easier to add the code in
mac80211 I think? And if we add a "NOT_EXIST" state we can completely
make sta_add/sta_remove be only there for drivers that don't need more
advanced state?
oh, so sta_/add/remove and sta_state will be 2 different mechanisms?
now it all looks better.

i guess implementing it in mac80211 is easier. hopefully, most of the
drivers will move to the new model and finally we'll be able to delete
the backward compatibility layer (which is always an annoying thing).

Eliad.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help