Home
last modified time | relevance | path

Searched hist:f2a0290b2df2b0e65ab78b71c4a15e732afd4458 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/wireless/
H A Drdev-ops.hdiff f2a0290b2df2b0e65ab78b71c4a15e732afd4458 Fri Jun 10 04:07:55 CDT 2022 Johannes Berg <johannes.berg@intel.com> wifi: cfg80211: add optional link add/remove callbacks

Add some optional callbacks for link add/remove so that
drivers can react here. Initially, I thought it would be
sufficient to just create the link in start_ap etc., but
it turns out that's not so simple, since there are quite
a few callbacks that can be called: if they're erroneously
without start_ap, things might crash.

Thus it might be easier for drivers to allocate all the
necessary data structures immediately, to not have to
worry about it in each callback, since cfg80211 checks
that the link ID is valid (has been added.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
H A Dtrace.hdiff f2a0290b2df2b0e65ab78b71c4a15e732afd4458 Fri Jun 10 04:07:55 CDT 2022 Johannes Berg <johannes.berg@intel.com> wifi: cfg80211: add optional link add/remove callbacks

Add some optional callbacks for link add/remove so that
drivers can react here. Initially, I thought it would be
sufficient to just create the link in start_ap etc., but
it turns out that's not so simple, since there are quite
a few callbacks that can be called: if they're erroneously
without start_ap, things might crash.

Thus it might be easier for drivers to allocate all the
necessary data structures immediately, to not have to
worry about it in each callback, since cfg80211 checks
that the link ID is valid (has been added.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
H A Dnl80211.cdiff f2a0290b2df2b0e65ab78b71c4a15e732afd4458 Fri Jun 10 04:07:55 CDT 2022 Johannes Berg <johannes.berg@intel.com> wifi: cfg80211: add optional link add/remove callbacks

Add some optional callbacks for link add/remove so that
drivers can react here. Initially, I thought it would be
sufficient to just create the link in start_ap etc., but
it turns out that's not so simple, since there are quite
a few callbacks that can be called: if they're erroneously
without start_ap, things might crash.

Thus it might be easier for drivers to allocate all the
necessary data structures immediately, to not have to
worry about it in each callback, since cfg80211 checks
that the link ID is valid (has been added.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
/openbmc/linux/include/net/
H A Dcfg80211.hdiff f2a0290b2df2b0e65ab78b71c4a15e732afd4458 Fri Jun 10 04:07:55 CDT 2022 Johannes Berg <johannes.berg@intel.com> wifi: cfg80211: add optional link add/remove callbacks

Add some optional callbacks for link add/remove so that
drivers can react here. Initially, I thought it would be
sufficient to just create the link in start_ap etc., but
it turns out that's not so simple, since there are quite
a few callbacks that can be called: if they're erroneously
without start_ap, things might crash.

Thus it might be easier for drivers to allocate all the
necessary data structures immediately, to not have to
worry about it in each callback, since cfg80211 checks
that the link ID is valid (has been added.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>